<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 18, 2014 at 12:52 AM, <span style="font-family:arial,sans-serif;font-size:13px">Ky?sti M?lkki</span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

On 01/17/2014 01:01 PM, Timothy Potter wrote:<br>
> Hi,<br>
>    I'm trying to get Coreboot with SeaBIOS running on a Chromebox. I<br>
> followed the page about compiling Coreboot for a Chomebook 550, assuming<br>
> they are similar in some respects.  Unfortunately none of the builds have<br>
> booted. Just the blue power light comes on at best.<br>
>    I'm wondering if anyone knows which is the USB Debug Port or the pin out<br>
> of the LPC bus connector?  I've got one of those cheap Mini PCI Express<br>
> POST diagnostic cards but can't work out how to wire up.  I've also got an<br>
> old Android phone with the ECHI debug gadget compiled into the kernel. I've<br>
> tried connecting that to every USB port on the Chromebox but never get any<br>
> output.<br>
><br>
> Hope someone can help.<br>
><br>
> Cheers,<br>
>    Tim.<br>
<br>
Hi Tim<br>
<br>
Did you apply the two patches for EHCI gadget available here:<br>
<a href="http://www.coreboot.org/EHCI_Gadget_Debug" target="_blank">http://www.coreboot.org/EHCI_Gadget_Debug</a><br>
<br>
Try this without Chromebox first: Connect phone with any normal USB<br>
host. Run lsusb -v on the host to verify your Android exports USB debug<br>
descriptor. Then post system logs from both sides of the connection.<br>
<br>
<br>
Now for the physical USB port to use. If you can boot your Chromebox<br>
with the original flash image, a working port should appear as "usb<br>
1-1.2" or "usb 2-1.2" in the system log when you connect any USB device.<br>
<br>
For coreboot configuration with Intel platform, HCD_INDEX=1 maps to<br>
0:1d.0 and HCD_INDEX=2 maps to 0:1a.0. It's reversed order, like in the<br>
datasheets.<br><br></blockquote><div> </div><div>Hi Kyösti,</div><div>  Yes, I applied the patches, although I'm using kernel 2.6.32 so I had to add some of the chunks manually.  You can see the changes here:</div><div>
<br></div><div><a href="https://github.com/DengueTim/jordan-kernel/commit/9c2420d8e82c2e122fb56b5480f1801829cfc40c">https://github.com/DengueTim/jordan-kernel/commit/9c2420d8e82c2e122fb56b5480f1801829cfc40c</a></div><div>
<br></div><div>I may have got something wrong. </div><div><br></div><div>I suspect it's a problem on the phone side as the EHCI debug gadget doesn't show up in lsusb.  When I have more time I'll post the system logs and try patching and building a 3.0.3 kernel for the phone.  It's a Motorola Defy. There doesn't appear to be any working kernel new than that.</div>
<div><br></div><div>Regards,</div><div> Tim.</div></div></div></div>