On Wed, Apr 29, 2009 at 8:41 AM, pattykirsch <> wrote:
> So I'm trying to mount a usb device at boot, and having problems... I found
> this post:
> http://tech.groups.yahoo.com/group/ts-7000/message/13921
> about adding to the kernel command line.... but I can't find where the kernel
> command line is to edit it. Where is it? Thanks.
The command line is compiled into the kernel. You need to edit
CONFIG_CMDLINE in your kernel config and rebuild your kernel. Then you
need to load the kernel to your initial boot media (SD card or
internal flash).
You will most likely need to make sure that the USB drivers needed are
compiled into the kernel image instead of being loaded as modules.
This will allow you to boot directly to the USB root device without
having to use an initrd to load the modules and then pivotroot +
chroot to the USB root.
I test root images using NFS root and bypass the initrd completely and
it works nicely. You might want to have a look at this page for notes
on booting without initrd:
http://ts78xx.digriz.org.uk/fpga/getready
Ted Roth
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|