
On Friday 24 July 2009 09:25:23 rhabarber1848 wrote:
yesterday morning I could use the U-Boot git code to successfully decompress a gzip compressed image, using today's git checkout this does not work anymore:
## Booting kernel from Legacy Image at 00200000 ... Image Name: Linux-2.4.37.2-dbox2 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 748627 Bytes = 731.1 kB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... Error: inflate() returned -2 GUNZIP: uncompress, out-of-mem or overwrite error - must RESET board to recover
Maybe the zlib update is responsible?
Yes, I'm just noticing the same behaviour:
## Booting kernel from Legacy Image at 00200000 ... Image Name: Linux-2.6.30 Created: 2009-06-30 7:45:03 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1350151 Bytes = 1.3 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 00800000 Booting using the fdt blob at 0x800000 Uncompressing Kernel Image ... Error: inflate() returned -2 GUNZIP: uncompress, out-of-mem or overwrite error - must RESET board to recover
I checked and verified that commit b201171f2b4d509f3ad510b214bee70ff902e3d6 [zlib: updated to v.1.2.3] is responsible for this.
So we should probably revert this patch for now. Wolfgang, what do you think?
Thanks.
Best regards, Stefan
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de =====================================================================