Re: Failed to mount rootfs

3 messages, 2 authors, 2008-01-26 · open the first message on its own page

Re: Failed to mount rootfs

From: Heiko Schocher <hidden>
Date: 2008-01-25 07:36:33

Hello Bizhan,

"Bizhan Gholikhamseh (bgholikh)" [off-list ref] 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@e0000000/serial@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@e0000000/serial@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.

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

RE: Failed to mount rootfs

From: Bizhan Gholikhamseh (bgholikh) <hidden>
Date: 2008-01-26 00:00:05

=20
Hi Heiko,=20
"Bizhan Gholikhamseh (bgholikh)" [off-list ref] wrote:
quoted
Our custom board is leveraged from MPC8541cds from freescale.
We have been running Linux 2.6.11 on it recently I have=20
tried to boot=20
quoted
the system with the latest Linux 2.6.22-rc4 from PowerPC git tree.
=20
I did ported the libfdt to our older version of the uboot and were=20
able to
=20
Hmm... why you didnt use actual code?
=20
[...]
quoted
    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
Here is your problem, you have 2 choosen nodes:
=20
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 ...
=20
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

Re: Failed to mount rootfs

From: Heiko Schocher <hidden>
Date: 2008-01-26 07:37:14

Hello Bizhan,

Bizhan Gholikhamseh (bgholikh) wrote:
quoted
"Bizhan Gholikhamseh (bgholikh)" [off-list ref] wrote:
quoted
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 
quoted
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?

[...]
quoted
    chosen {
        linux,stdout-path = "/soc8541@e0000000/serial@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@e0000000/serial@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?
Yes, read the README in the U-Boot root. CONFIG_OF_FLAT_TREE is deprecated,
you should use CONFIG_OF_LIBFDT.

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help