[U-Boot-Users] Uncompressing Kernel Image ... Error: inflate() returned -3

Christian Darnell Christian.Darnell at se.flextronics.com
Thu Apr 1 20:47:31 CEST 2004


Hi All.

We are working with the development KIT from Atmel AT91RM9200DK
and have problem when the U-Boot tries to uncompress the kernel
Image.

We have done the following steps. 

We started to configure the kernel with menuconfig
and after that we run make dep and that was OK, then we performed
the following sequence.

1. make Image
2. /usr/local/arm/2.95.3/bin/arm-linux-objcopy -O binary -S vmlinux
linux.bin
3. gzip -v9 linux.bin
4. mkimage -A arm -O linux -C gzip -a 0x21000000 -e 0x21000000 -d
linux.bin.gz uImage

Version of the programs.
[root at localhost linux-2.4.19-rmk7]#
/usr/local/arm/2.95.3/bin/arm-linux-objcopy -V
GNU objcopy 2.11.2

[root at localhost linux-2.4.19-rmk7]# gzip -V
gzip 1.3.3

mkimage version: 0.3.0-1

Printing from U-Boot

Uboot> tftp 21000000 uImage
Eth_Init
TFTP from server 192.168.1.10; our IP address is 192.168.1.19
Filename 'uImage'.
Load address: 0x21000000
Loading: #################################################################
         #################################################################
         ##################
done
Bytes transferred = 754911 (b84df hex)
Uboot> bootm
## Booting image at 21000000 ...
   Image Name:
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    754847 Bytes = 737.2 kB
   Load Address: 21000000
   Entry Point:  21000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover
OK

Starting kernel ...

Best Regards
Christian Darnell




More information about the U-Boot mailing list