Re: [coreboot] ThinkPad W520 support

2018-02-05 Thread Nico Rikken
On Tue, 2018-02-06 at 00:20 +0300, Evgeny wrote:
> This is really great news, thank you!

I got some remarks on my initial patch, so I'll be expanding on that.
You get a running system as it stands, but without working USB3.0 ports
and the VGA-port is not working. But I intend to work out these details
in the upcoming months. I've adopted it as my daily machine, so these
remaining issues will nag me repeatedly :D

> Do you have any plans to support W530? I would be happy to help in any
> way I can. I have the W530, the flashing hardware and (I think) the
> debugging hardware (just need to figure out how to turn my Raspberry Pi
> into EHCI debug dongle).

Perhaps in the future. For now I'm satisfied with my W520. But as the
boards are pretty similar, I suggest you to first try the T530 firmware
and see if you can get it working with just 2 RAM-slots. Than add the
other 2 RAM-slots like I did in my patch. And than work out the
remaining details like ports and stuff. If you have a firmware backup,
you can always return to that point.

If I understand correctly you'd best use a Beaglebone Black or a
combination or FTDI/RS232-board for EHCI-debugging. I didn't see the
RaspberryPi listed anywhere. But then again, my EHCI-debugging setup
(FTDI-based) is still underway, but the patch was straightforward
enough to try it without that ability. So I suggest to just give it a
go.

If you don't feel like making a patch, just dump the progress on the
mailinglist. The previous work of Charlotte Plusplus, which didn't
result in a proper patched, helped me a great deal regardless.

Kind regards,
Nico Rikken

-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] ThinkPad W520 support

2018-02-05 Thread Evgeny
This is really great news, thank you!

Do you have any plans to support W530? I would be happy to help in any
way I can. I have the W530, the flashing hardware and (I think) the
debugging hardware (just need to figure out how to turn my Raspberry Pi
into EHCI debug dongle).


On 02/02/2018 09:48 PM, Nico Rikken wrote:
> I'm happy to announce a working patch for the ThinkPad W520:
> https://review.coreboot.org/#/c/coreboot/+/23564/
>
> Further details on this mainboard can be found on the wiki:
> https://www.coreboot.org/Board:lenovo/w520
>
> Kind regards,
> Nico Rikken
>


-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] ENE KB3940Q-A1 embedded controller custom firmware

2018-02-05 Thread Youness Alaoui
Hi Marty,

Unfortunately, the EC firmware on the Librems is not open and we have
someone working on that aspect, but with everything we have to handle,
I think it's only being done part time.
We found something similar to you with the private submodule for the
PS/2 module on the OLPC code.
More specifically :
http://lists.laptop.org/pipermail/openec/2011-January/000158.html
And http://dev.laptop.org/git/users/rsmith/ec-1.75/tree/?h=3930-A1

I had opened a ticket a while ago here :
https://tracker.pureos.net/T178 which mentions Origami-EC. I don't
know the status of that project, maybe you can contact the developer
(Paul Kocialkowski) and see where he's at with his development of that
project (which, I need to mention, hasn't been publicly launched yet,
as far as I know) and he might benefit from your help if you are
interested in doing that.
The last time we spoke he said :
"The OLPC code is nowhere close to usable on any other platform.
Additionally, it is so poorly written that I don't think it is a
suitable codebase for any future development. On the other hand, my
Origami-EC project (that I will publicly launch soon) should provide a
flexible codebase to add support for new devices."

Note that the tracker ticket above is quite outdated, we know how to
dump the EC (the problem was that it can't be done via hardware
because the EC is on the same power rail as the 64KB flash chip, so
when we power the flash via hardware, the EC boots and takes control
of the SPI lines) but for some reason, we could only dump it via
software (using ectool) through the AMI BIOS firmware, with coreboot,
we only get 0xFF returned, I don't believe we had time to investigate
the cause for that.

Sorry for not having any better news for you, but I hope this helps a
little you at least.

Good luck,
Youness.


On Fri, Feb 2, 2018 at 10:17 AM, Marty E. Plummer
 wrote:
> Greetings,
>
> Currently working on a port for the hp g7-2247us laptop, which features
> an ene kb3940q ec, which hopefully should be very similar to the kb3930
> ec, which has a datasheet available to the public in a few places.
>
> Said similar ec is used in some OLPC devices, as well as some purism
> devices, and I was hoping someone in the list would have some contacts
> with those guys so as to be able to use their ec firmware as a bit of a
> reference design, but the OLPC ec firmware repo has a 'private'
> submodule which I cannot access and I simply cannot find a repo for the
> purism ec firmware to reference.
>
> Any assistance you could provide on this matter would be greatly
> appreciated.
>
> Marty E. Plummer
>
> --
> coreboot mailing list: coreboot@coreboot.org
> https://mail.coreboot.org/mailman/listinfo/coreboot

-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot