[ELDK] Canyonlands Freezes after "Uncompressing Kernel Image ... OK"
wd at denx.de
Sat Oct 3 08:50:36 CEST 2009
Dear camel joe,
In message <b460ec330910021655pd643326y408558f3e82df770 at mail.gmail.com> you wrote:
> Can someone help see(the boot log included at the end) what I did
> wrong in booting Canyonlands board with my own compiled kernel?
I guess you should read the FAQ here:
(2.6 kernel images are even bigger than 2.4 ones).
> My situation: I "git pull" the kernel source from DENX and use ELDK
> (a proven toolchain that has been working successfully with Makalu,
> Kilauea, etc. boards), and follow exactly the Canyonlands document for
> compiling the kernel, and use the same NFS/TFTP servers (the same
You may have followed the instructions for compiling, but you did not
follow the instructions for booting.
> => printenv
> Environment size: 1807/16379 bytes
These are very old settings. I recommend you erase the whole
environment (both copies of it) and restart with the current default
environment, which contains for example "kernel_addr_r=1000000" as
default load address for the kernel image.
> ## Booting kernel from Legacy Image at 00200000 ...
> Image Name: Linux-2.6.31-00020-gc94e8c9
> Created: 2009-10-01 1:14:02 UTC
> Image Type: PowerPC Linux Kernel Image (gzip compressed)
> Data Size: 1831647 Bytes = 1.7 MB
Your compressed kernel is 1.7 MB, so the uncompressed one will be some
4.2...4.5 MB. This is bigger than 0x00200000 and even than 0x400000,
i. e. when uncompressing the kernel image you overwrite both parts of
the kernel, and the fdt.
Note that the examples in the documentation use higher load addresses,
too - see for example
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
"Life and death are seldom logical."
"But attaining a desired goal always is."
-- McCoy and Spock, "The Galileo Seven", stardate 2821.7
More information about the eldk