[U-Boot] Uncompressing Kernel Image ... Error: Bad gzipped data

Gurumurthy Gowdar gurumurthy.gm at gmail.com
Fri Feb 6 14:22:01 CET 2009


Hi,

We are using ELDK 4.0 with U-boot-1.1.4 and Linux kernel 2.6.15
we have ported u-boot to our MPC7447a based VME SBC board, it is working
fine.
but  now we have compiled  Linux kernel for our board.
we have used u-boot mkimage utility to create image file, by  using
following commmand

./tools/mkimage -A ppc -O  linux   -T  kernel  -a 00000000 -e  00000000  -n
"linux_svme7447a"  -d
/opt/svme_bsp/ppc_74xx/usr/src/linux-2.6.15/arch/powerpc/zImage
/tftpboot/linux_svme7447a.img

once this image is created we are using tftpboot command to download  and
bootm  command to  boot image here it is giving problem.

the error log is attached below.



U-Boot 1.1.4 (Mar 22 2007 - 13:22:19)

CPU:   MPC7447A v1.1 @ 600 MHz
Board: SVME7447A  SLN Technologies Pvt Ltd
I2C:   ready
DRAM:  256 MB
FLASH: ## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB
## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB
512 kB
*** Warning - bad CRC, using default environment
        00  0d  10ec  8139  0200  ff
        00  0e  10b5  9030  0680  00
        00  0f  10e3  0000  0680  ff
In:    serial
Out:   serial
Err:   serial
Net:   RTL8139#0
svme7447a->
svme7447a->setenv ipaddr 192.168.1.5
svme7447a->setenv serverip 192.168.1.4
svme7447a->tftpboot 0x00100000 linux_svme7447a.img
Using RTL8139#0 device
TFTP from server 192.168.1.4; our IP address is 192.168.1.5
Filename 'linux_svme7447a.img'.
Load address: 0x100000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###
done
Bytes transferred = 1342152 (147ac8 hex)
svme7447a->bootm
## Booting image at 00100000 ...
   Image Name:   linux_svme7447a
   Created:      2009-02-05  16:57:46 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1342088 Bytes =  1.3 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... Error: Bad gzipped data
GUNZIP ERROR - must RESET board to recover

we have read FAQ also and we have given higher address i.e. we tried load at
32 MB( 0x02000000) still it is same problem

waiting for the earliest reply,

With Regards,
Gurumurthy



-- 
Gurumurthy Gowdar


More information about the U-Boot mailing list