Thread (5 messages) flat view 5 messages, 4 authors, 2008-01-25

RE: Failed to mount rootfs

From: Bizhan Gholikhamseh (bgholikh) <hidden>
Date: 2008-01-24 22:36:20

Hi Jochen,=20
=20
quoted
device-tree: Duplicate name in /, renamed to "chosen#1"
=20
quoted
And here is the device tree:
    chosen {
        linux,stdout-path =3D "/soc8541@e0000000/serial@4600";
    };
    chosen {
        name =3D "chosen";
        bootargs =3D "root=3D/dev/ram rw console=3DttyS1,115200";
        linux,platform =3D <600>;
        linux,initrd-start =3D <1ef33000>;
        linux,initrd-end =3D <1fe190aa>;
        linux,stdout-path =3D "/soc8541@e0000000/serial@4600";
    };
=20
you can't have two chosen nodes. Linux renames the second one=20
to chosen#1 and thus can't find the kernel arguments.
I do not know why it is creating two chosen node. In my dts file I have
placed one empty chosen node:=20
chosen{
	};
If I do not do this,  I get the following error during boot process:

libfdt: FDT_ERR_TRUNCATED
Failed creating the /chosen node (0x00C00000), aborting.

Any reason??
=20
Thanks,
Bizhan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help