
I follow these steps: $ make zImage $ arm-linux-objcopy -S -O binary vmlinux linux $ gzip -vf9 linux $ mkimage -n name -A arm -O linux -T kernel -C gzip -a a0008000 -e a0008000 -d linux.gz linuxgz.image
then load it follow these steps: =>loadb 0xa1000000 =>bootm 0xa1000000 ## Booting image at a1000000 ... Image Name: akzhd crazy Image Type: ARM Linux Kernel Image (gzip compressed) Data Size: 791658 Bytes = 773.1 kB Load Address: a0008000 Entry Point: a0008000 Verifying Checksum ... OK Uncompressing Kernel Image ... Error: inflateInit2() returned -4 GUNZIP ERROR - must RESET board to recover
please help me, thanks.
Hongda Zhao ----- Original Message ----- From: "Wolfgang Denk" wd@denx.de To: "Zhao Hongda" zhaohd@vis.cs.tsinghua.edu.cn Cc: "Kyle Harris" kharris@nexus-tech.net; u-boot-users@lists.sourceforge.net Sent: Wednesday, April 09, 2003 1:00 AM Subject: Re: [U-Boot-Users] Why my image isn't boot?
In message 014901c2feb4$185ece70$fe02a8c0@esd11 you wrote:
Thanks for your help, But when I follow your step, after bootm, u-boot complain that :
=> loadb 0xa0008000 ## Ready for binary (kermit) download to 0xA0008000 at 115200 bps... ## Total Size = 0x000c14aa = 791722 Bytes ## Start Addr = 0xA0008000 => bootm 0xa0008000 ## Booting image at a0008000 ... Image Name: U-boot Linux Image Type: ARM Linux Kernel Image (gzip compressed) Data Size: 791658 Bytes = 773.1 kB Load Address: a0008000 Entry Point: a0008000 Verifying Checksum ... OK Uncompressing Kernel Image ... Error: inflate() returned -3 GUNZIP ERROR - must RESET board to recover reseting ...
what should I do?
Fix your image. The addrress where it is stored in RAM (as used by " bootm 0xa0008000" must be different from the "Load Address: a0008000" and "Entry Point: a0008000" values, or it will overwerite itself when it gets uncompressed.
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de What about WRITING it first and rationalizing it afterwords? :-) - Larry Wall in 8162@jpl-devvax.JPL.NASA.GOV