[uClinux-dev] finding the root device

Richard Cochran richardcochran at gmail.com
Sat Sep 22 00:52:18 EDT 2012

On Fri, Sep 21, 2012 at 04:18:02PM +1000, Greg Ungerer wrote:
> But you can always build command line options into your kernel config.
> Look in the "Kernel Hacking" -> "Compiled-in Kernel Boot Parameter".
> I always do this with stock kernels, setting the command line to
> "root=/dev/mtdblock0" in the config.

Thanks, this is just what I was looking for. BTW, arch arm has the
same idea, CONFIG_CMDLINE, but in a different place. 

  Prompt: Default kernel command string
    Defined at arch/arm/Kconfig:2025
      -> Boot options


More information about the uClinux-dev mailing list