[ELDK] linux 2.6.24 hangs after print "Uncompressing Kernel Image ... OK"

Wolfgang Denk wd at denx.de
Fri Oct 16 12:58:29 CEST 2009


Dear solyn123,

In message <8148211e0910160216g7cb534b2tf88985d8456ac207 at mail.gmail.com> you wrote:
>
> I am using ELDK4.1
> Uboot1.3.1 can boot linux2.4 kernel successfully.
> But when I boot the 2.6.24 kernel, It hangs after print

Please note that all these are pretty old versions. Please consider
updating your code and use recent versions instead (for example ELDK
4.2, U-Boot v2009.08, Linux v2.6.31.4).

> => tftpboot 0x2000000 uImage
> Trying FCC1 ETHERNET
> Using FCC1 ETHERNET device
> TFTP from server 10.1.26.128; our IP address is 10.1.0.4
> Filename 'uImage_10.14_2'.
> Load address: 0x2000000
> Loading: #################################################################
>          ###################################
> done
> Bytes transferred = 1461513 (164d09 hex)
> => bootm 0x2000000
> ## Booting image at 02000000 ...
>    Image Name:   Linux-2.6.24.2
>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>    Data Size:    1461449 Bytes =  1.4 MB
>    Load Address: 00000000
>    Entry Point:  00000000
>    Verifying Checksum ... OK
>    Uncompressing Kernel Image ... OK
> 
> and it stops forever

You are running into several problems here.

First, your load address is too low. Please see the FAQ at
http://www.denx.de/wiki/view/DULG/LinuxUncompressingError and use a
higher load address (say, 0x400000).

> 2.6.24 kernel is directly produced by invoke:
> make mpc8272_ads_defconfig   (which is in the directory
> linux-2.6.24/arch/powerpc/configs/mpc8272_ads_defconfig)

Your second problem is that this is a kernel in arch/powerpc
configuration, which needs a device tree for correct operation. You
will have to build the device tree blob (mpc8272_ads.dtb), download
it as well, and then use the three-argument for of the bootm command,
i. e. something like

	=> tftp 400000 uImage
	=> tftp 800000 mpc8272_ads.dtb
	=> bootm 400000 - 800000

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
Computers are not intelligent. They only think they are.


More information about the eldk mailing list