[U-Boot-Users] USB Host support

Hi All, Just an inquiry on the USB host support. I've been thinking about ading USB host support to my u-boot port but I'm not sure what current infrastructure is there to make this painless. Is there a generic interface for this, or is this done on a platform by platform basis?
My motive here is to be able to detect a usb memory stick and be able to read and write to to it. Have anyone been suscessfull in doing this? This would be done on an ARM9 platform.
Thanks, --Jr.

Junior,
Junior ejr@inbox.com writes:
Just an inquiry on the USB host support. I've been thinking about ading USB host support to my u-boot port but I'm not sure what current infrastructure is there to make this painless. Is there a generic interface for this, or is this done on a platform by platform basis?
The higher level interfaces are all in place and there are drivers for different controllers such as OHCI and UHCI. Some of these controller drivers are still board dependant, but we're in the progress of merging them together into one generic driver. If you happen to have an OHCI Controller, don't miss "doc/README.generic_usb_ohci".
My motive here is to be able to detect a usb memory stick and be able to read and write to to it. Have anyone been suscessfull in doing this? This would be done on an ARM9 platform.
Writing is not supported so far, but reading works fine on a number of architectures and boards.
Best regards
Markus Klotzbuecher
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de

Junior ejr@inbox.com writes:
Just an inquiry on the USB host support. I've been thinking about ading USB host support to my u-boot port but I'm not sure what current infrastructure is there to make this painless. Is there a generic interface for this, or is this done on a platform by platform basis?
The higher level interfaces are all in place and there are drivers for different controllers such as OHCI and UHCI. Some of these controller drivers are still board dependant, but we're in the progress of merging them together into one generic driver. If you happen to have an OHCI Controller, don't miss "doc/README.generic_usb_ohci".
Hi Markus, I could not find this README document in any source and I just pulled the git source. Any idea where it is?
My motive here is to be able to detect a usb memory stick and be able to read and write to to it. Have anyone been suscessfull in doing this? This would be done on an ARM9 platform.
Writing is not supported so far, but reading works fine on a number of architectures and boards.
reading is really what I'm primary looking for.
Thanks, --Jr.
____________________________________________________________ PREVENT ACCESSING DANGEROUS WEBSITES - Protect your computer with Free Web Security Guard! More information at http://www.inbox.com/wsg

Hi Junior,
Just an inquiry on the USB host support. I've been thinking about ading USB host support to my u-boot port but I'm not sure what current infrastructure is there to make this painless. Is there a generic interface for this, or is this done on a platform by platform basis?
The higher level interfaces are all in place and there are drivers for different controllers such as OHCI and UHCI. Some of these controller drivers are still board dependant, but we're in the progress of merging them together into one generic driver. If you happen to have an OHCI Controller, don't miss "doc/README.generic_usb_ohci".
Hi Markus, I could not find this README document in any source and I just pulled the git source. Any idea where it is?
This is in Markus' u-boot-usb custodian[1] repository and not yet merged into mainline. You can check out an online version here[2].
Cheers Detlev
[1] http://www.denx.de/wiki/UBoot/Custodians [2] http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot/u-boot-usb.git;a=blob;f=doc/R...
participants (3)
-
Detlev Zundel
-
Junior
-
Markus Klotzbücher