This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

U-Boot, load kernel image from usb stick instead of sd card

Other Parts Discussed in Thread: AM3517

Hi all,

Hardware AM3517evm

Linux SDK 05.02.00.00

 

The procedure I would like to accomplish:

Power on -> ROM Boot -> X-loader (NAND) -> U-boot (NAND) -> Kernel (USB) -> File system (USB)

When booting.. if USB stick is connected, U-boot loads the kernel image and file system from USB to RAM to NAND... or skips the RAM!

The same for file system.

 

The same procedure is already possible for SD cards..

Is it possible from an usb stick instead?

 

When connecting an usb memory stick (FAT32) to usb host port on the evm board..

I'm not able to find any devices when entering:

AM3517_EVM # usb start
(Re)start USB...
USB:   scanning bus for devices... No USB Device found
       scanning bus for storage devices... 0 Storage Device(s) found

from u-boot prompt.

 

After booting the kernel+file system, when connecting the usb stick it is detected immediately.

Can you assist on configuring u-boot to play as host.. to detect the usb memory stick?

 

Regards
Palsson

 

  • USB host port support is not present in uboot so far but support for USB2.0 OTG port is available. You need to connect the MSC stick to MUSB port through  a mini-A connector (Note mini-A is different than mini-B).

    Ajay