
Dear rhabarber1848,
In message Xns9C4B5B82BFB56rhabarber1848webde@80.91.229.13 you wrote:
this is correct, the unpatched version of lib_generic/lzma/LzmaTools.c has this code in line 137:
*uncompressedSize = outProcessed;
I added the same code to the lzma465 patch and it works for me:
Aha!
Attached you will find a patch which also includes the watchdog stuff I need along with the formentioned patch. I do not know if all WATCHDOG_RESET() calls are really necessary but I have a 66 MHz CPU here which takes 12s to decompress a 550kb LZMA-compressed kernel.
Cheers, rhabarber1848
=ybegin line=128 size=3334 name=u-boot-2009.06_lzma_watchdog.diff JWxJWW\ZZcXZ`XYY¤Yv¤nXJWW\ZZcXZ`YY¤Yv¤nX4WWWJWW\ZZcXZ`XY Y¤Yv¤nX3\ZZcWZaW[aJZbd[\d_\XZZZZZZZZZJUZ\ZZ4UUUJWW\ZZcXZ`YY¤Yv¤nX3\ZZcWZaW[aJZbd[]d_XZZZZZZ
This patch is completely garbled. And please do not mix unrelated feature in one patch. Keep the update of the lzma code and the watchdog stuff separated in two patches - and use git-format-patch to create and git-send-email to post the patches, please.
Best regards,
Wolfgang Denk