From mboxrd@z Thu Jan 1 00:00:00 1970 From: rhabarber1848 Date: Mon, 27 Jul 2009 22:13:33 +0200 Subject: [U-Boot] [PATCH] zlib: allow 0 as destination pointer References: <200907271730.36098.sr@denx.de> <05a201ca0ec5@st.com> <20090727150928.GA433@mail.gnudd.com> <20090727164031.GA3963@mail.gnudd.com> <20090727181551.89F34832E416@gemini.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > I wonder why you do not create a patch between the old original > version and what wd have in U-Boot now (which should clearly show > what has been changed to adapt this code for U-Boot), and then apply > (if necessary, manually) that patch to the current version? Hi Wolfgang, I did exactly that, I took rc1, downloaded the zlib-1.2.3 patch from the newsgroup[1] and added the patch by Alessandro[2]. The WATCHDOG_RESET code in gunzip.c is not touched by either patches, but I still get a WATCHDOG_RESET when the kernel image is decompressed with the new code. Though is seems that if (z->outcb != Z_NULL) (*z->outcb)(Z_NULL, 0); is not used anymore in zlib.c so the WATCHDOG_RESET calls are silently ignored. I will try to re-add them tomorrow. Besides this, rc1 is working fine here. Cheers, rhabarber1848 [1] http://article.gmane.org/gmane.comp.boot-loaders.u-boot/64727 [2] http://article.gmane.org/gmane.comp.boot-loaders.u-boot/64969