Re: [U-Boot] [PATCH v5] zlib: updated to v.1.2.3
On Wed, Jul 29, 2009 at 6:05 AM, Giuseppe CONDORELLI giuseppe.condore...@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.condore...@st.com Reviewed-by: Angelo Castello angelo.caste...@st.com Reviewed-by: Alessandro Rubini rubini-l...@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: 1000 NIP: 1FFA1CF0 XER: LR: REGS: 1f99a6a8 TRAP: 0200 DAR: MSR: 00101030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11 GPR00: 00D8 1F99A798 1F99AF80 00B8 002C 00D0 0001BAF6 00D3 GPR08: 1FEA0D60 002B 0014 0011 1001A25C 1FFE5E00 GPR16: 01FF 003F 011D658B 007FFEFE 0001 GPR24: 1FEA02C8 1FEA0C88 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 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH v5] zlib: updated to v.1.2.3
Dear Timur Tabi, In message ed82fe3e1001220908j5887b625te5efd2b432891...@mail.gmail.com you wrote: 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 What is your exact boot command? Eventually you are just using a too low load address? 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: w...@denx.de Computers are not intelligent. They only think they are. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH v5] zlib: updated to v.1.2.3
Wolfgang Denk wrote: What is your exact boot command? Eventually you are just using a too low load address? bootm 100 - c0 It's possible my addresses are bad, but I tried some other addresses and it didn't fix anything. I may still be using bad addresses = print bootcmd bootcmd=run tftpboot = print tftpboot tftpboot=run tftpimage; run hdbootarg; bootm $loadaddr - $dtbaddr = print loadaddr loadaddr=100 = print dtbaddr dtbaddr=c0 = print hdbootarg hdbootarg=setenv bootargs root=$rfsdev console=$consoledev,$baudrate $othbootargs $single -- Timur Tabi Linux kernel developer at Freescale ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH v5] zlib: updated to v.1.2.3
Dear Giuseppe CONDORELLI, In message 1248869108-15570-1-git-send-email-giuseppe.condore...@st.com you 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.condore...@st.com Reviewed-by: Angelo Castello angelo.caste...@st.com Reviewed-by: Alessandro Rubini rubini-l...@gnudd.com --- include/u-boot/zlib.h | 718 ++--- lib_generic/zlib.c| 3933 + 2 files changed, 2466 insertions(+), 2185 deletions(-) Applied, thanks. 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: w...@denx.de Crash programs fail because they are based on the theory that, with nine women pregnant, you can get a baby a month. - Wernher von Braun ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH v5] zlib: updated to v.1.2.3
Giuseppe CONDORELLI wrote: This patch updates zlib to the latest stable version. Hi, this patch finally works for me, thank you. Reviewed-by: rhabarber1848 rhabarber1...@web.de Cheers, rhabarber1848 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot