[U-Boot] [PATCH v3] zlib: updated to v.1.2.3

Giuseppe CONDORELLI giuseppe.condorelli at st.com
Mon Jul 27 16:24:13 CEST 2009


Hi All,

unfortunately currently I'm not able to reproduce this issue because boards
I'm using are not ported
to the best so far u-boot tree.
However:
- I worked with zlib-1.2.3 patch on my current u-boot version (1.3.1)
without problem with sh boards.
- This u-boot version is a little bit different about decompression, e.g.
here we have gunzip inside cmd_bootm and in the bsf it is
  in a different file (gunzip.c)
- Given this, I backported these into 1.3.1 and tested again, with success.
I mean, I tested an old u-boot version
  with newest decompression code. I think it should be a good test, the one
I modified is common code and should be self contained.

I'm wondering if something is going wrong only with PPC arch (errors are
related to this arch), and in this case I cannot
reproduce the issue at all.
Please, is there somebody that can test this patch on a differen arch than
PPC?

What's your thinking about?

Best regards and, please, let me know.
Giuseppe Condorelli

-----Original Message-----
From: Wolfgang Denk [mailto:wd at denx.de] 
Sent: Friday, July 24, 2009 2:27 PM
To: Stefan Roese
Cc: u-boot at lists.denx.de; rhabarber1848 at web.de; Giuseppe CONDORELLI
Subject: Re: [U-Boot] [PATCH v3] zlib: updated to v.1.2.3

Dear Stefan Roese,

In message <200907241356.06963.sr at denx.de> you wrote:
>
> >    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:
...
> 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?

I reverted the patch.

Giuseppe, please resubmit, but unly after *thorough* testing, please.

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
Harrisberger's Fourth Law of the Lab:
	Experience is directly proportional to the
	amount of equipment ruined.



More information about the U-Boot mailing list