[ELDK] yosemite's UBOOT unable to boot vanilla linux kernel (2.6.27-rc6) due to inflate() error?

Wang, Baojun wangbj at lzu.edu.cn
Thu Sep 11 05:44:51 CEST 2008


Sorry, Problem resolved by specify ${loadaddr} to 0x600000 in u-boot.
sounds like the load address can not be the same from mkimage (-a) and
uboot's ${loadaddr}..


在 2008-09-11四的 11:27 +0800,Wang, Baojun写道:
> hi,
> 
> U-Boot version is 1.1.4, kernel version is 2.6.27-rc6, config is almost
> identical to 
> 
> make ARCH=powerpc ppc44x_defconfig 
> 
> with only yosemite board support.
> 
> after the kernel is built, kbuild create cuImage.yosemite under
> arch/powerpc/boot, and I'm using that file for booting (uImage is a
> symlink to cuImage.yosemite)
> 
> here is the way how linux reate cuImage.yosemite:
> 
> mkimage -A ppc -O linux -T kernel -C gzip -a 0x00400000 -e 0x0040045c -n
> Linux-2.6.27-rc6 -d arch/powerpc/boot/cuImage.yosemite.gz
> arch/powerpc/boot/cuImage.yosemite
> 
> mkimage version is 1.2.0 but I also tried 1.1.4 both with the same
> problem:
> 
> the board reboot continueusly due to error:
> 
> Uncompressing Kernel Image ... Error: inflate() returned -3
> 
> here is a sample session:
> 
> U-Boot 1.1.4-gb9b2480f (May 30 2006 - 18:00:51)
> 
> CPU:   AMCC PowerPC 440EP Rev. C at 533.333 MHz (PLB=133, OPB=66, EBC=66
> MHz)
>        I2C boot EEPROM enabled
>        Internal PCI arbiter disabled, PCI async ext clock used
>        32 kB I-Cache 32 kB D-Cache
> Board: Yosemite - AMCC PPC440EP Evaluation Board
> I2C:   ready
> DRAM:  256 MB
> FLASH: 64 MB
> PCI:   Bus Dev VenId DevId Class Int
> In:    serial
> Out:   serial
> Err:   serial
> Net:   ppc_4xx_eth0, ppc_4xx_eth1
> Hit any key to stop autoboot:  0 
> ENET Speed is 100 Mbps - FULL duplex connection
> Using ppc_4xx_eth0 device
> TFTP from server 192.168.2.108; our IP address is 192.168.1.31; sending
> through gateway 192.168.1.239
> Filename 'uImage'.
> Load address: 0x400000
> Loading:
> #################################################################
> 
> #################################################################
> 
> #################################################################
> 
> #################################################################
> 
> #################################################################
>          #####################################################
> done
> Bytes transferred = 1933253 (1d7fc5 hex)
> ## Booting image at 00400000 ...
>    Image Name:   Linux-2.6.27-rc6
>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>    Data Size:    1933189 Bytes =  1.8 MB
>    Load Address: 00400000
>    Entry Point:  0040045c
>    Verifying Checksum ... OK
>    Uncompressing Kernel Image ... Error: inflate() returned -3
> �UNZIP ERROR - must RESET board to recover
> 
> 
> Could anybody give me some hints, please? Thanks very much!
> 
>   Regards
> _______________________________________________
> eldk mailing list
> eldk at lists.denx.de
> http://lists.denx.de/mailman/listinfo/eldk
-- 
Wang, Baojun                                                Lanzhou University
Distributed & Embedded System Lab                      http://dslab.lzu.edu.cn
School of Information Science and Engeneering          wangbj at dslab.lzu.edu.cn
Tianshui South Road 222. Lanzhou 730000                             .P.R.China
Tel: +86-931-8912025                                      Fax: +86-931-8912022

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: 
	=?gb2312?Q?=D5=E2=CA=C7=D0=C5=BC=FE=B5=C4=CA=FD=D7=D6=C7=A9?=
	=?gb2312?Q?=C3=FB=B2=BF=B7=D6?=
Url : http://lists.denx.de/pipermail/eldk/attachments/20080911/c094ab11/attachment.pgp 


More information about the eldk mailing list