Compile new kernel for 5200B w/ ELDK
Wolfgang Denk
wd at denx.de
Wed Sep 3 15:18:18 EST 2008
Dear Albrecht,
In message <1220375903l.5712l.0l at antares> you wrote:
>
> Thanks a lot for your hint, but unfortunately it doesn't solve my
> problem:
> - downloaded 2.6.26.3 from kernel.org;
> - called "make ARCH=powerpc CROSS_COMPILE=ppc_6xx-
> 52xx/lite5200b_defconfig";
> - called "make ARCH=powerpc CROSS_COMPILE=ppc_6xx- uImage".
Missing step: build the device tree blob.
> However, even with "console=ttyPSC0,115200 verbose panic=1" in the
> bootargs, the kernel simply doesn't say /anything/ after decompression:
>
> <snip>
> => bootm
> ## Booting kernel from Legacy Image at 01000000 ...
> Image Name: Linux-2.6.26.3
> Created: 2008-09-02 9:11:12 UTC
> Image Type: PowerPC Linux Kernel Image (gzip compressed)
> Data Size: 1341904 Bytes = 1.3 MB
> Load Address: 00000000
> Entry Point: 00000000
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
> </snip>
The "bootm" command without arguments does just start the Linux kernel
image. In this form, it does NOT pass the device tree to the Linux
kernel. You must use
=> bootm 01000000 - <dtb_addr>
instead (after downloading the DTB to the <dtb_addr> address).
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
A right is not what someone gives you; it's what no one can take from
you. - Ramsey Clark
More information about the Linuxppc-embedded
mailing list