[U-Boot-Users] Problems booting a uImage on sequoia (PPC440EPx with fdt/powerpc)

Hi
I would like to run the DENX-v2.6.23.1 linux kernel (ARCH=powerpc) as a base to run some tests with xenomai. I had no problem to create a git branch and to run git checkout -b sequoia-DENX-v2.6.23.1 DENX-v2.6.23.1 make ARCH=powerpc CROSS_COMPILE=ppc_4xx- O=../build sequoia_defconfig make ARCH=powerpc CROSS_COMPILE=ppc_4xx- O=../build uImage
As the resulting kernel could not be loaded with my 1.2.0 u-Boot I spent some time reading the linux/Documentation/powerpc/booting-without-of.txt, http://www.denx.de/wiki/UBoot/UBootFdtInfo http://www.denx.de/wiki/DULG/LinuxFDTBlob
Downloading the dtc and installing it was a snap. I used the arch/powerpc/boot/dts/sequoia.dts as contained DENX-v2.6.23.1 release.
I discovered in Stefan's Roese u-boot-ppc4xx his for-1.3.1 branch which contains some fdt patches (as of today).
I patched sequoia following the example of the kilauea board, enabled the debugging output in cpu/ppc4xx/fdt.c. The patch is attached.
Now I am stuck here:
Bytes transferred = 12288 (3000 hex) ## Booting image at 00200000 ... Image Name: Linux-2.6.23.1 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1461812 Bytes = 1.4 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Booting using the fdt at 0x400000 Updating property '/cpus/PowerPC,440EPx@0/timebase-frequency' = 1f 78 a4 08(528000008) Updating property '/cpus/PowerPC,440EPx@0/clock-frequency' = 1f 78 a4 08(528000008) Updating property '/plb/clock-frequency' = 07 de 29 02(132000002) Updating property '/plb/opb/clock-frequency' = 03 ef 14 81(66000001) Updating property '/plb/opb/ebc/clock-frequency' = 03 ef 14 81(66000001) Updating /memory node to 0:268435456 Updating node UART0: clock-frequency=11059200 Updating node UART1: clock-frequency=11059200 Updating node UART2: clock-frequency=11059200 Updating node UART3: clock-frequency=11059200 Updating node EMAC0 Updating node EMAC1
I would appreciate if somebody could point out where I made a mistake and what the next hurdle to tackle is.
Thanks in advance.

Dear Niklaus,
in message 200711202042.35481.niklaus.giger@member.fsf.org you wrote:
As the resulting kernel could not be loaded with my 1.2.0 u-Boot I spent some
Version 1.2.0 on Sequoia? Ummm. Please try 1.3.0 instead.
I discovered in Stefan's Roese u-boot-ppc4xx his for-1.3.1 branch which contains some fdt patches (as of today).
Right, but this is still somewhat experimental.
The recommended way do far is to boot an ARCH=powerpc kernel on the Sequoia by using the boot wrapper (i. e. use cuImage instead of uImage).
Best regards,
Wolfgang Denk

Dear Wolfgang,
Wolfgang Denk wrote:
Dear Niklaus,
in message 200711202042.35481.niklaus.giger@member.fsf.org you wrote:
As the resulting kernel could not be loaded with my 1.2.0 u-Boot I spent some
Version 1.2.0 on Sequoia? Ummm. Please try 1.3.0 instead.
I discovered in Stefan's Roese u-boot-ppc4xx his for-1.3.1 branch which contains some fdt patches (as of today).
Right, but this is still somewhat experimental.
The recommended way do far is to boot an ARCH=powerpc kernel on the Sequoia by using the boot wrapper (i. e. use cuImage instead of uImage).
Thanks a lot for your answer. I just had to figure out that zImage is the name of the generated image (e.g. http://www.nabble.com/-PATCH--add-cuImage-comment-for-%27make-help%27-t47609...) Now my kernel boots!
Thanks a lot for your prompt answer! (Now, I owe you a beer)
participants (2)
-
Niklaus Giger
-
Wolfgang Denk