[U-Boot] [PATCH v5] zlib: updated to v.1.2.3
Timur Tabi
timur at freescale.com
Fri Jan 22 18:08:22 CET 2010
On Wed, Jul 29, 2009 at 6:05 AM, Giuseppe CONDORELLI
<giuseppe.condorelli at st.com> wrote:
> This patch updates zlib to the latest stable version.
> Only relevant zlib parts were ported to u-boot tree, as already did for the
> current zlib (0.95). New zlib guarantees a faster inflate performances
> other then others improvements as explained at www.zlib.net.
> It also includes Alessandro Rubini's patches to allow 0 as destination pointer
> and to call watchdog reset if required by architecture.
>
> Signed-off-by: Giuseppe Condorelli <giuseppe.condorelli at st.com>
> Reviewed-by: Angelo Castello <angelo.castello at st.com>
> Reviewed-by: Alessandro Rubini <rubini-list at gnudd.com>
> ---
This patch has broken MPC8610. I discovered it with git bisect.
After applying this patch, I get this error when I try to boot the
kernel:
Uncompressing Kernel Image ... Error: inflate() returned -2
GUNZIP: uncompress, out-of-mem or overwrite error - must RESET board to recover
The latest U-Boot is worse - instead of displaying an error, I get a
machine check:
Uncompressing Kernel Image ... Machine check in kernel mode.
Caused by (from msr): regs 1f99a6a8 MSS error. MSSSR0: 00001000
NIP: 1FFA1CF0 XER: 00000000 LR: 00000000 REGS: 1f99a6a8 TRAP: 0200 DAR: 00000000
MSR: 00101030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
GPR00: 000000D8 1F99A798 1F99AF80 000000B8 0000002C 000000D0 0001BAF6 000000D3
GPR08: 00000000 1FEA0D60 0000002B 00000014 00000011 1001A25C 1FFE5E00 FFFFFFFF
GPR16: 000001FF 0000003F 00000000 011D658B 007FFEFE 00000000 00000000 00000001
GPR24: 1FEA02C8 1FEA0C88 FFFFFFFF 00000000 1F99A890 0100015C 1FFE5F14 1FE9FD98
Call backtrace:
001A001A 1FFA3C1C 1FFC7B74 1FFC7C9C 1FFB0C60 1FFB1050 1FFBEDD4
1FFBE3DC 1FFBE6A0 1FFBED00 1FFBE3DC 1FFBE664 1FFC011C 1FFBEDD4
1FFBE3DC 1FFBE664 1FFB061C 1FFBEDD4 1FFBE3DC 1FFBE5A8 1FFC11F8
1FFA7338 1FF9F568
machine check
My guess is that the machine check and the -2 error are related. Does
anyone have a clue what the problem really is?
--
Timur Tabi
Linux kernel developer at Freescale
More information about the U-Boot
mailing list