Re: Mounting a USB flash stick based root FS directly.

2009-07-19 Thread Cristian Axenie
Hello ! If you properly set the root fs on your USB flash you should try to set it up using some uBoot bootargs : e.g. : setenv usbstick_args setenv bootargs root=/dev/sdXX ro rootdelay=$HOW_MANY_SECONDS_TO_WAIT rootfstype=$YOUR_FS_TYPE init=/sbin/init console=$consoledev,$baudrate; setenv usbst

Mounting a USB flash stick based root FS directly.

2009-07-19 Thread Dushara Jayasinghe
Hi all, I'm attempting to mount the root file system directly from a USB flash stick (thus avoiding a ram-disk). The init thread is delayed until the USB device is enumerated. However, I find the call to sys_mount() in line 218 @ http://git.denx.de/?p=linux-2.6-denx.git;a=blob;f=init/do_mounts.