Secret Sauce for booting from USB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Secret Sauce for booting from USB

1,013 Views
john_reed
Contributor II

Followed this thread:  "LS1043ARDB SDK v0.5 support USB".     Didn't quite work for me.

Corner case where I need to boot from USB so that I can free up the sdcard slot.     Then I use an adapter in the sdcard slot to access a wifi/bluetooth device.

I boot to:  NOR Flash Bank 4, and then break into uboot.

I Issue this command:     run bootcmd_usb0

What happens is it waits forever for the root device to be mounted ( rootwait is a boot arg ), but it never happens, so it just hangs.

I removed the "rootwait" from the bootscript, and then made a few attempts with changes to the "root=" argument:

     - root=PARTUUID=$partuuidr

     - root=/dev/sda4

     - root=/dev/sdb4

Note that my sdcard has the 4 standardard partitions:    misc, boot, backup, system

Is there a magic bootargs that provides a correct "root=" parameter for booting from usb??

JR

0 Kudos
Reply
1 Reply

968 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello john Reed,

Please run the following command to check the content in USB device.

=> usb start

=> ext2ls usb 0:4

=> setenv bootargs "console=ttyS0,115200 root=/dev/sda4 rw rootwait earlycon=uart8250,mmio,0x21c0500"

=> ext2load usb 0:4 0xa0000000 /boot/Image

=>ext2load usb 0:4 0xb0000000 /boot/fsl-ls1043a-rdb-sdk.dtb

=> booti 0xa0000000 - 0xb0000000

Thanks,

Yiping

0 Kudos
Reply