[coreboot] [PATCH]libpayload: USB stack
Patrick Georgi
patrick at georgi-clan.de
Tue Sep 2 11:06:32 CEST 2008
Hi there,
This patch adds USB capabilities to libpayload. It requires some
memalign implementation (eg. the one I sent yesterday).
Features:
- UHCI controller driver
- UHCI root hub driver
- USB MSC (Mass Storage Class) driver
- skeleton of a USB HID driver (requires better interrupt transfer
handling, which is TODO)
- skeleton of a USB hub driver (needs several blank spots filled in,
eg. power management. Again: TODO)
OHCI and EHCI are not supported, though OHCI support should be rather
easy as the stack provides reasonable abstractions (or so I hope). EHCI
will probably be more complicated.
Isochronous transfers (eg. webcams, audio stuff, ...) are not supported
- they can be, but I doubt we'll have a reason for that in the boot
environment.
The MSC driver was tested against a couple of USB flash drives, and
should be reasonably tolerant by now. Though I probably underestimate
the amount of bugs present in USB flash drives, so feedback is welcome.
Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>
Regards,
Patrick Georgi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20080902-libpayload-usb.diff
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080902/65a01130/attachment.ksh>
More information about the coreboot
mailing list