Skip to contentSkip to conversation

How can I use USB command?

U-Boot A. Geisreiter 2 participants 2 messages Jan 12, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

I have made the following defines in the config header file:

#define CONFIG_CMD_USB

#define CONFIG_USB_OHCI_NEW 1

#define CFG_USB_OHCI_BOARD_INIT 1

#define CFG_USB_OHCI_MAX_ROOT_PORTS 3

#define CFG_USB_OHCI_REGS_BASE 0x4C000000

#define CFG_USB_OHCI_SLOT_NAME "pxa270"

#define CONFIG_USB_STORAGE 1

#define CFG_USB_OHCI_CPU_INIT 1

How can I use now the usb command? I have a usb stick with a FAT32 file format and an binary file on it. I will download the file to the SDRAM. How can I do this?

And if I enter ?usb start? in the command line, then I get

1 USB device(s) found

0 storage device(s) found

Does U-Boot support a FAT32 file format on the usb stick?

Thank you,

Andreas

______________________________________________________________

Andreas Geisreiter

Entwicklung

DH electronics GmbH - Am Anger 8 - 83346 Bergen - Germany

HRB Traunstein 9602 - Ust ID Nr.: DE 174 205 805

Gesch?ftsf?hrung Dipl.-Ing. Stefan Daxenberger, Dipl.-Ing. Helmut Henschke

Email: <blocked::mailto:[email protected]> ageisreiter at dh-electronics.de

Web: www.dh-electronics.de <blocked::www.dh-electronics.de>

Phone: +49 8662 4882 61

Fax: +49 8662 4882 99

#1 lore raw

Dear "A. Geisreiter",

Quoted 2 lines · In message <[email protected]> you wrote:

How can I use now the usb command? I have a usb stick with a FAT32 file

Try "help usb" ?

Quoted 2 lines

format and an binary file on it. I will download the file to the SDRAM. How can I do this?

With the "fatload" command?

Quoted 5 lines

And if I enter ?usb start? in the command line, then I get

1 USB device(s) found

0 storage device(s) found

Without storage devices nothing will work, though. Seems you have a problem (but you already said you were using USB, so this is already known).

Quoted 1 line

Does U-Boot support a FAT32 file format on the usb stick?

Yes.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You don't have to worry about me. I might have been born yesterday...
but I stayed up all night.