Skip to contentSkip to conversation

mpc83xx boot error

U-Boot-Users Russell McGuire 3 participants 4 messages Dec 12, 2007 – Dec 13, 2007

lore
Share & tools
lore
#0 lore raw

All,

I have downloaded the latest U-boot 1.3.0 dirty <a week old> and compiled it up for a 8360E-MDS board.
I have downloaded the latest version of the DTC 1.0.0-ge1109207 today, and compiled up a preconfigured dts file
and burnt that into flash. Also I have downloaded denx's latest linux-git tree 2.6.23.1 and configured it for said board.

However, when I try to boot Linux, I get an immediate error as follows:

Quoted 1 line

bootm $kerneladdr - $blobaddr

.. Bla bla standard printf..

Uncompressing the Kernel Image . OK
Booting using the fdt at 0xe0080000
Loading device tree to 0x007fe000, end 0x007ff432 . ERROR: fdt move failed - must reset board to recover. Resetting the board.

I am coming at this from my experience with U-boot 1.1.2 and 1.1.6 and a 1 yr old version of the dtc compiler.
Are there new options, or less options that should be used with the dtc compiler to avoid this error?
I know before we had to fix the version of the blob, so perhaps I am compiling the blob wrong? The dts file compiles fine with no warnings.

dtc -I dts -O dtb -f -V 0x10

Using this without -V 0x10 gives me a different error dtc -I dts -O dtb -f

WARNING: could not create /chosen FDT_ERR_NOSPACE
ERROR: /chosen node create failed - must RESET the board to recover

Anybody have any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071212/eb38ff1f/attachment.htm

#1 lore raw
Quoted 2 lines · On Wed, 12 Dec 2007 15:17:20 -0800 "Russell McGuire"…

Are there new options, or less options that should be used with the dtc compiler to avoid this error?

I use

dtc -I dts -O dtb -R 8 -S 0x3000

Kim

#2 lore raw
In reply to Russell McGuire
Quoted 37 lines · Russell McGuire

All,

I have downloaded the latest U-boot 1.3.0 dirty <a week old> and compiled it up for a 8360E-MDS board.

I have downloaded the latest version of the DTC 1.0.0-ge1109207 today, and compiled up a preconfigured dts file

and burnt that into flash. Also I have downloaded denx?s latest linux-git tree 2.6.23.1 and configured it for said board.

However, when I try to boot Linux, I get an immediate error as follows:

Quoted 1 line

bootm $kerneladdr - $blobaddr

?. Bla bla standard printf??

Uncompressing the Kernel Image ? OK

Booting using the fdt at 0xe0080000

Loading device tree to 0x007fe000, end 0x007ff432 ? ERROR: fdt move failed ? must reset board to recover. Resetting the board.

I am coming at this from my experience with U-boot 1.1.2 and 1.1.6 and a 1 yr old version of the dtc compiler.

Are there new options, or less options that should be used with the dtc compiler to avoid this error?

I know before we had to fix the version of the blob, so perhaps I am compiling the blob wrong? The dts file compiles fine with no warnings.

dtc ?I dts ?O dtb ?f ?V 0x10

Using this without ?V 0x10 gives me a different error

Quoted 7 lines

dtc ?I dts ?O dtb -f

WARNING: could not create /chosen FDT_ERR_NOSPACE

ERROR: /chosen node create failed - must RESET the board to recover

Anybody have any ideas?

Hi Russell,

* You need to use version 17 (simply don't specify -V 0x10).
* As Kim mentioned, you need -S padding to allow extra space for the /chosen node.
* Since you burned the blob into flash, bootm has to relocate the blob to RAM. This is what is giving you the "fdt move failed" error in your first example, it is moving the blob to 0x007fe000 - is this a valid address (seems like it should be)? Perhaps it is simply because you didn't pad it? Perhaps we let a bug slip in?

Good luck,
gvb

#3 lore raw
Quoted 56 lines · gvb.uboot
Quoted 36 lines · Russell McGuire

All,

I have downloaded the latest U-boot 1.3.0 dirty <a week old> and compiled it up for a 8360E-MDS board.

I have downloaded the latest version of the DTC 1.0.0-ge1109207 today, and compiled up a preconfigured dts file

and burnt that into flash. Also I have downloaded denx?s latest linux-git tree 2.6.23.1 and configured it for said board.

However, when I try to boot Linux, I get an immediate error as follows:

Quoted 1 line

bootm $kerneladdr - $blobaddr

?. Bla bla standard printf??

Uncompressing the Kernel Image ? OK

Booting using the fdt at 0xe0080000

Loading device tree to 0x007fe000, end 0x007ff432 ? ERROR: fdt move failed ? must reset board to recover. Resetting the board.

I am coming at this from my experience with U-boot 1.1.2 and 1.1.6 and a 1 yr old version of the dtc compiler.

Are there new options, or less options that should be used with the dtc compiler to avoid this error?

I know before we had to fix the version of the blob, so perhaps I am compiling the blob wrong? The dts file compiles fine with no warnings.

dtc ?I dts ?O dtb ?f ?V 0x10

Using this without ?V 0x10 gives me a different error

Quoted 7 lines

dtc ?I dts ?O dtb -f

WARNING: could not create /chosen FDT_ERR_NOSPACE

ERROR: /chosen node create failed - must RESET the board to recover

Anybody have any ideas?

Hi Russell,

* You need to use version 17 (simply don't specify -V 0x10).
* As Kim mentioned, you need -S padding to allow extra space for the /chosen node.
* Since you burned the blob into flash, bootm has to relocate the blob to RAM. This is what is giving you the "fdt move failed" error in your first example, it is moving the blob to 0x007fe000 - is this a valid address (seems like it should be)? Perhaps it is simply because you didn't pad it? Perhaps we let a bug slip in?

Quoted 2 lines

Good luck,
gvb

Oops, I missed the -R 8 that Kim recommended (very correctly). This makes more reserved map entries which is important as well as the -S extra space.

gvb