[coreboot] Libpayload USB support

bifferos bifferos at yahoo.co.uk
Fri Feb 5 13:35:18 CET 2010

--- On Fri, 5/2/10, Patrick Georgi <patrick at georgi-clan.de> wrote:
> > It seems OHCI and EHCI support is commented out in:
> > 
> > https://svn.coreboot.org/coreboot/trunk/payloads/libpayload/drivers/usb/usbinit.c
> > 
> > And the files aren't there if you try to comment it
> back in.
> OHCI and EHCI don't exist at this time. There's an OHCI
> driver available
> as patch on the list, but it has licensing issues (it's
> GPL, while
> libpayload is BSD-licensed)

Thanks, that makes sense.  I can see why you don't want to 
merge it.

> > using FILO, it seems it's  necessary to use UHCI
> if I want the new 
> > USB stack, if requiring OHCI, I have to switch to the
> old (obsolete) 
> > USB stuff.
> Are you sure that it even works? 

No, not at all, but it seems to read back a descriptor or two,
which is a start.  I don't have to use FILO, all I am looking
for is a way of getting a boot of Linux from my bootloader off 
a USB device, but I have two problems:

(1) I need to boot from an OHCI device
(2) I don't have VGA display hardware (only serial console)

(2) Seems to rule out solutions involving the more advanced 
payloads like SeaBIOS, maybe someone can correct me if I'm 
wrong, so I ended up with FILO.

I don't know too many other solutions to this problem.  OFW 
seems a little heavy-weight for this, and I'd prefer a C 
solution if possible.



More information about the coreboot mailing list