.dtb file for mpc8641_hpcn failing on recent kernel/u-boot.
Hi,
I'm trying to boot a recent (2.6.25.4) kernel with a recent u-boot (1.3.3) and it's getting stuck very early in the boot.
I'm using
../dtc -I dts -O dtb mpc8641_hpcn.dts > mpc8641_hpcn.dtb
in arch/powerpc/boot/dts/ to create the .dtb file.
=> boot
Speed: 100, full duplex
Using eTSEC1 device
TFTP from server 192.41.172.8; our IP address is 192.41.172.157 Filename 'pluto.uImage'.
Load address: 0x1000000
Loading: #################################################################
#################################################################
###############################done
Bytes transferred = 2352548 (23e5a4 hex)
Speed: 100, full duplex
Using eTSEC1 device
TFTP from server 192.41.172.8; our IP address is 192.41.172.157 Filename 'pluto.dtb'.
Load address: 0xc00000
Loading: #
done
Bytes transferred = 8722 (2212 hex)
## Booting kernel from Legacy Image at 01000000 ...
Image Name: Linux-2.6.25.4 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2352484 Bytes = 2.2 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
WARNING: adjusting available memory to 10000000
## Flattened Device Tree blob at 00c00000
Booting using the fdt blob at 0xc00000
Loading Device Tree to 007fd000, end 007ff211 ... OK
WARNING: could not create /chosen FDT_ERR_NOSPACE.
ERROR: /chosen node create failed - must RESET the board to recover.
U-Boot 1.3.3 (May 19 2008 - 15:59:50)
Freescale PowerPC
CPU:
Core: E600 Core 0, Version: 0.2, (0x80040202)
System: Unknown, Version: 2.0, (0x80900120)
Clocks: CPU:1000 MHz, MPX: 400 MHz, DDR: 200 MHz, LBC: 50 MHz
L2: EnabledBoard: MPC8641HPCN
Results I get when booting are...
.
.
.
Continues in an infinite loop.
I've not changed anything in the kernel or u-boot source.
Do I need to add anything to u-boot's environment? Am I using the .dtb file incorrectly?
Am I missing a flag on the dtc?
Thanks for any pointers,
Gary Hannon
CSPI
[email protected]
Quoted 1 line · On Mon, 19 May 2008 22:57:29 +0000 (UTC) Gary Hannon <[email protected]> wrote:
Am I missing a flag on the dtc?
try adding -R 8 -S 0x3000 to the dtc command line.
Kim
Quoted 7 lines · Kim Phillips
Quoted 1 line · On Mon, 19 May 2008 22:57:29 +0000 (UTC) Gary Hannon <[email protected]> wrote:
Am I missing a flag on the dtc?
try adding -R 8 -S
0x3000to the dtc command line.
Maybe we should be making this the default for dtc? After all, it's needed for any modern U-boot.
Signature · 2 lines
Timur Tabi Linux kernel developer at Freescale
Quoted 10 lines · Timur Tabi
Quoted 6 lines · Kim Phillips
Quoted 1 line · On Mon, 19 May 2008 22:57:29 +0000 (UTC) Gary Hannon <[email protected]> wrote:
Am I missing a flag on the dtc?
try adding -R 8 -S
0x3000to the dtc command line.Maybe we should be making this the default for dtc? After all, it's needed for any modern U-boot.
How about fixing u-boot's deficiencies in u-boot? It knows better than dtc how much extra space it's going to need.
-Scott
Quoted 2 lines · Scott Wood
How about fixing u-boot's deficiencies in u-boot? It knows better than dtc how much extra space it's going to need.
Then what's the point of the -R and -S options if U-boot doesn't really need them?
This sounds like another example of a bug in U-Boot that everyone knows about but no one is fixing.
Signature · 2 lines
Timur Tabi Linux kernel developer at Freescale