[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to make sure my plug boots from the USB flash-stick instead of the USB hard-disk?

* Rick Thomas <rbthomas55@pobox.com> [2009-05-20 19:18]:
> How do I inform the boot firmware which USB mass storage device it
> should boot from?

If you look at bootcmd_usb you'll see something like "ext2load usb
0:1".  0:1 defines the device and partition.

Unfortunately, I don't know whether you can force any consistent
device naming in u-boot.  I suppose you could run:
 ext2load usb 0:1 ....
 ext2load usb 1:1 ....
and in some cases the first command would fail and then the second
would succeed (or the other way around).
Martin Michlmayr

Reply to: