Failed to mount rootfs

Bizhan Gholikhamseh (bgholikh) bgholikh at cisco.com
Fri Jan 25 09:25:27 EST 2008


Hi Jochen, 

> 
> > device-tree: Duplicate name in /, renamed to "chosen#1"
> 
> > And here is the device tree:
> >     chosen {
> >         linux,stdout-path = "/soc8541 at e0000000/serial at 4600";
> >     };
> >     chosen {
> >         name = "chosen";
> >         bootargs = "root=/dev/ram rw console=ttyS1,115200";
> >         linux,platform = <600>;
> >         linux,initrd-start = <1ef33000>;
> >         linux,initrd-end = <1fe190aa>;
> >         linux,stdout-path = "/soc8541 at e0000000/serial at 4600";
> >     };
> 
> you can't have two chosen nodes. Linux renames the second one 
> 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: 
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??
 
Thanks,
Bizhan


More information about the Linuxppc-embedded mailing list