Failed to mount rootfs

Bizhan Gholikhamseh (bgholikh) bgholikh at cisco.com
Sat Jan 26 03:47:12 EST 2008


 
Hi Heiko, 
> "Bizhan Gholikhamseh (bgholikh)" <bgholikh at cisco.com> wrote:
> > Our custom board is leveraged from MPC8541cds from freescale.
> > We have been running Linux 2.6.11 on it recently I have 
> tried to boot 
> > the system with the latest Linux 2.6.22-rc4 from PowerPC git tree.
> >  
> > I did ported the libfdt to our older version of the uboot and were 
> > able to
> 
> Hmm... why you didnt use actual code?
> 
> [...]
> >     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";
> >     };
> > };
> 
> Here is your problem, you have 2 choosen nodes:
> 
> 64k data, 108k bss, 116k init) Mount-cache hash table entries: 512
> device-tree: Duplicate name in /, renamed to "chosen#1"
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> -> Linux didnt find your commandline ...
> 
> Hmm... do you have CONFIG_OF_FLAT_TREE and CONFIG_OF_LIBFDT defined?
> If so, this would explain, why you have 2 choosen nodes.

Yes I do have both CONFIG_OF_FLAT_TREE and CONFIG_OF_LIBFDT defined. Is
there a document to tell more about these options please?

Thanks,
Bizhan


More information about the Linuxppc-embedded mailing list