[U-Boot] Kernel Uncompressing failed under Uboot

Gurumurthy Gowdar gurumurthy.gm at gmail.com
Fri Feb 6 06:55:26 CET 2009


Dear Wolfgang,

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

waiting for the earliest reply,

thanking you

with Regards,
Gurumurthy Gowdar
Bangalore,INDIA



On Thu, Feb 5, 2009 at 7:15 PM, Wolfgang Denk <wd at denx.de> wrote:

> Dear Gurumurthy Gowdar,
>
> In message <adaf92990902050501u6de38d31m5b7ec8ada78c22eb at mail.gmail.com>
> you wrote:
> >
> > i have created a image using mkimage tool which gives boardname.img,
> later
> > using tftpboot i am downloading ..when i use bootm command am getting the
> > following error message.
> >
> > CRC ...OK
> > Uncompressing kernel image .......Error bad gzipped data
>
> Please always provide a complete log with ALL commands you type and
> ALL output. With such a tiny snippet we can only guess.
>
> > if anybody got same error or sort out this problem ..do reply with the
> > solution
>
> He. Do reply with $$$ first !
>
> > please let me know the solution for this.
>
> See http://www.denx.de/wiki/view/DULG/LinuxUncompressingError
>
>
> Note that you are supposed to read the FAQ before posting.
>
> 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
> You could end up being oddly sad and full of a strange, diffuse  com-
> passion  which would lead you to believe that it might be a good idea
> to wipe out the whole human race and start again with amoebas.
>                                 - Terry Pratchett, _Guards! Guards!_
>



-- 
Gurumurthy Gowdar


More information about the U-Boot mailing list