[U-Boot] uboot kernel rejects filesystem

Wolfgang Denk wd at denx.de
Thu May 14 22:01:36 CEST 2009


Dear Bharat Bhushan,

In message <a29be8140905141245r10b62c47u3a27a28b93bdba19 at mail.gmail.com> you wrote:
> 
> u-b>mtdparts
> device nor0 <m25p80>, # parts =3D 5
>  #: name                        size            offset          mask_flags
>  0: boot                0x00040000      0x00000000      0
>  1: boot_config         0x00010000      0x00040000      0
>  2: board_config        0x00010000      0x00050000      0
>  3: kernel              0x00200000      0x00060000      0
>  4: filesystem          0x00400000      0x00260000      0
> 
> active partition: nor0,0 - (boot) 0x00040000 @ 0x00000000
> 
> defaults:
> mtdids  : nor0=3Dm25p80
> mtdparts:
> mtdparts=m25p80:256k(boot),64k(boot_config),64k(board_config),2048k(kernel),4m(filesystem)

If this is what you want, you should let the kenrel know about that...

> Log messages from kernel:
...
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
> Kernel command line: root=/dev/mtdpart4 rootfstype=squashfs,yaffs,jffs2
> noinitrd console=ttyS0,115200 init=/etc/preinit

... but your kernel's boot arguments show no trace of any mtdparts=
argument.

> I am sure I am doing something wrong here.....? It is MIPS Architecture +
> Linux 2.6.28...

Indeed. You did not read what Detlev explained to you:

> > So if you have this support in your Linux configuration, you can pass
-------------------------------------------------------------^^^^^^^^^^^^
> > the whole "mtdpart=.." through the linux commandline.  A nasty part here
----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Seems you also didn't read Detlev's PS:


> > PS: And please stop quoting the full text of the whole e-mail thread as
> >    this is considered to be impolite on mailing lists.


:-(

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Anyone who isn't confused here doesn't really know what's going on.


More information about the U-Boot mailing list