public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] mpc83xx boot error
@ 2007-12-12 23:17 Russell McGuire
  2007-12-12 23:21 ` Kim Phillips
  2007-12-13  0:44 ` gvb.uboot
  0 siblings, 2 replies; 7+ messages in thread
From: Russell McGuire @ 2007-12-12 23:17 UTC (permalink / raw)
  To: u-boot

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:

> 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 

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [U-Boot-Users] mpc83xx boot error
@ 2008-02-28 12:06 Marc Leeman
  2008-02-28 12:36 ` Jerry Van Baren
  0 siblings, 1 reply; 7+ messages in thread
From: Marc Leeman @ 2008-02-28 12:06 UTC (permalink / raw)
  To: u-boot

>> * 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?
>>
> 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.

I don't think this fully describes it, I just came across the same error
when porting from 1.3.1 to 1.3.2-rc2:

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

with dtc 1.1.0 

still gives the following when booting u-boot-1.3.2-rc2:

## Booting image at fe700000 ...
   Image Name:   Linux-2.6.24
   Created:      2008-02-25  15:38:37 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    930624 Bytes = 908.8 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
   Booting using the fdt at 0xfefe0000
   Loading Device Tree to 007fe000, end 007ff4e1 ... OK
WARNING: could not create /chosen FDT_ERR_NOSPACE.
ERROR: /chosen node create failed - must RESET the board to recover.
Resetting the board.


-- 
  greetz, marc
You made me drink piss?
	Jool - Different Destinations
chiana 2.6.18-4-ixp4xx #1 Tue Mar 27 18:01:56 BST 2007 GNU/Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080228/d55f5132/attachment.pgp 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-02-28 13:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12 23:17 [U-Boot-Users] mpc83xx boot error Russell McGuire
2007-12-12 23:21 ` Kim Phillips
2007-12-13  0:44 ` gvb.uboot
2007-12-13  0:54   ` gvb.uboot
  -- strict thread matches above, loose matches on Subject: below --
2008-02-28 12:06 Marc Leeman
2008-02-28 12:36 ` Jerry Van Baren
2008-02-28 13:03   ` Marc Leeman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox