
Dear rhabarber1848,
In message h4kq2v$eoj$1@ger.gmane.org you wrote:
this patch solves the inflate() error but now a watchdog reset is triggered during decompression:
...
The neither the old nor the new code incorporate WATCHDOG_RESET() so the new
You are wrong. The urrent code installs WATCHDOG_RESET as s.outcb() callback; see function zunzip() in "lib_generic/gunzip.c".
code seems to be slower than the old one which works. I have yet to dig through the zlib code to insert some WATCHDOG_RESET() here and there like I did with the LZMA code.
I think this is the wrong thing to do. Use the provided callback instead.
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?
Best regards,
Wolfgang Denk