* [U-Boot-Users] Problems booting a uImage on sequoia (PPC440EPx with fdt/powerpc)
@ 2007-11-20 19:42 Niklaus Giger
2007-11-20 20:34 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Niklaus Giger @ 2007-11-20 19:42 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] Problems booting a uImage on sequoia (PPC440EPx with fdt/powerpc)
2007-11-20 19:42 [U-Boot-Users] Problems booting a uImage on sequoia (PPC440EPx with fdt/powerpc) Niklaus Giger
@ 2007-11-20 20:34 ` Wolfgang Denk
2007-11-20 22:15 ` Niklaus Giger
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2007-11-20 20:34 UTC (permalink / raw)
To: u-boot
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
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's certainly convenient the way the crime (or condition) of
stupidity carries with it its own punishment, automatically
admisistered without remorse, pity, or prejudice. :-)
-- Tom Christiansen in <559seq$ag1$1@csnews.cs.colorado.edu>
^ permalink raw reply [flat|nested] 3+ messages in thread* [U-Boot-Users] Problems booting a uImage on sequoia (PPC440EPx with fdt/powerpc)
2007-11-20 20:34 ` Wolfgang Denk
@ 2007-11-20 22:15 ` Niklaus Giger
0 siblings, 0 replies; 3+ messages in thread
From: Niklaus Giger @ 2007-11-20 22:15 UTC (permalink / raw)
To: u-boot
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-'make-help'-t4760921.html)
Now my kernel boots!
Thanks a lot for your prompt answer! (Now, I owe you a beer)
--
Niklaus Giger
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-20 22:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-20 19:42 [U-Boot-Users] Problems booting a uImage on sequoia (PPC440EPx with fdt/powerpc) Niklaus Giger
2007-11-20 20:34 ` Wolfgang Denk
2007-11-20 22:15 ` Niklaus Giger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox