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

2009-06-16 Thread Rick Thomas
On May 27, 2009, at 5:14 AM, David Given wrote: Martin Michlmayr wrote: [...] 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

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

2009-06-16 Thread David Given
Rick Thomas wrote: [...] Is there some way of communicating with the developers of Uboot to see if they could patch it to optionally look for labels or UUIDs when searching for its boot device? Maybe. U-boot's USB support certainly needs work. [...] Booting from SD is discussed on the

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

2009-05-27 Thread David Given
Martin Michlmayr wrote: [...] 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

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

2009-05-27 Thread Martin Michlmayr
* David Given d...@cowlark.com [2009-05-27 10:14]: (Doesn't Linux have a system call to allow kernel chain-loading? Would this allow a basic kernel to be loaded from flash that then invokes a kernel read from a file system elsewhere?) Yes, it's called kexec. -- Martin Michlmayr

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

2009-05-27 Thread David Given
Martin Michlmayr wrote: * David Given d...@cowlark.com [2009-05-27 10:14]: (Doesn't Linux have a system call to allow kernel chain-loading? Would this allow a basic kernel to be loaded from flash that then invokes a kernel read from a file system elsewhere?) Yes, it's called kexec. Alas,

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

2009-05-24 Thread Martin Michlmayr
* Rick Thomas rbthoma...@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

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

2009-05-20 Thread Rick Thomas
My plug is now working very nicely thanks! It boots from a USB stick. Since it's the only USB mass storage device, it's /dev/sda. I'd like to add a USB hub and use it to connect another USB device (a hard disk) for use as /var, /home, /tmp, and swap. But then there would be a confusion