From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geir Thomassen Date: Wed, 19 Feb 2003 23:52:30 +0100 Subject: [U-Boot-Users] booting linux kernel problem... In-Reply-To: <830C870A-4448-11D7-B791-00039390D626@pepper.com> References: <830C870A-4448-11D7-B791-00039390D626@pepper.com> Message-ID: <3E540AAE.1070406@in.fer.no> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Michael Frey wrote: > Verifying Checksum ... OK > Uncompressing Kernel Image ... Error: inflate() returned -2 -2 = Z_STREAM_ERROR, meaning the data is corrupt (truncated ?). Quick workaround: Compress the kernel instead (make zImage). You don't gain anything by compressing your image twice. I saw a similar problem and traced it back to troubles with malloc() because armboot_real_end wasn't initialized correctly. See my mail: "Memory layout on PXA" a couple of days ago. If you are going to use initrd (eg. bootm 0x30000 0x40000) you need to modify the initrd loading code also (at least I had to...), since the code doesn't load the initrd to RAM. It passes a pointer to the image in flash to the kernel instead. Geir