Subject: Re: problem in booting kernel with mpc836x_mds.dtb

From: Jerry Van Baren <[email-masked]>
Date: Thu, 07 Aug 2008 22:24:41 -0400

[email-masked] wrote:
> Hi,
>    I have the following problem, when i am trying to boot linux on
> MPC8360E MDS board with the mpc836x_mds.dtb created using dtc and
> mpc836x_mds.dts in from /arch/powerpc/boot/platforms/dts/ directory of
> linux-2.6.22 version.
> 
> fdt_chosen: FDT_ERR_BADMAGIC
> 
> after this it is trying to re boot.
> how to resolve this issue, so i need to apply any pathces to
> mpc836x_mds.dts file.
> NOTE: i am using dtc compiled from linux-2.6.26 version.
> 
> Regards
> Surendra

Hi Surendra,

Is the error message coming from u-boot or linux?  More lines from the 
boot sequence (like most or all of them) would be useful.

The error message is saying that whatever you are passing to the kernel 
(or setting in u-boot with "fdt addr") for your dtb blob is not a valid 
dtb blob.  Display memory where you think your blob resides: if it 
doesn't have 0xd00dfeed in that location, it isn't a valid binary blob. 
  I suspect you will find either you didn't compile your .dts file 
correctly or your blob address is wrong.

If you gave us your dtc command line, that might be helpful.

HTH,
gvb