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

Niklaus Giger niklaus.giger at member.fsf.org
Tue Nov 20 20:42:34 CET 2007


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 at 0/timebase-frequency' =  1f 78 a4
> 08(528000008) Updating property '/cpus/PowerPC,440EPx at 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.

-- 
Niklaus Giger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-fdt-support-for-the-sequoia-board.patch
Type: text/x-diff
Size: 1990 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20071120/e3f75921/attachment.patch 


More information about the U-Boot mailing list