public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Zhao Hongda <zhaohd@vis.cs.tsinghua.edu.cn>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Why my image isn't boot?
Date: Wed, 9 Apr 2003 16:09:25 -0700	[thread overview]
Message-ID: <004401c2feed$105a68e0$fe02a8c0@esd11> (raw)
In-Reply-To: 20030409080042.96F87C5877@atlas.denx.de

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 at denx.de
> What about WRITING it first and rationalizing it afterwords?  :-)
>                        - Larry Wall in <8162@jpl-devvax.JPL.NASA.GOV>

  reply	other threads:[~2003-04-09 23:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <00c601c2fe49$d82ab360$fe02a8c0@esd11>
2003-04-08 12:44 ` [U-Boot-Users] Why my image isn't boot? richard at uclinux.net
2003-04-09  4:05   ` Zhao Hongda
2003-04-08 13:06     ` richard at uclinux.net
2003-04-09 16:23       ` Zhao Hongda
     [not found]     ` <E192tZ6-00014h-00@hall.mail.mindspring.net>
2003-04-09 16:21       ` Zhao Hongda
2003-04-09  8:00         ` Wolfgang Denk
2003-04-09 23:09           ` Zhao Hongda [this message]
2003-04-09  3:12 Zhao Hongda
2003-04-08 12:30 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2003-04-09  3:43 Zhao Hongda
2003-04-09  3:44 Zhao Hongda
     [not found] <r01050400-1024-D710B80969BC11D7BCB400039387ACB6@[10.0.1.2]>
2003-04-09  3:52 ` Zhao Hongda
     [not found] <20030408124843.DAA8EC5877@atlas.denx.de>
2003-04-09  3:56 ` Zhao Hongda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='004401c2feed$105a68e0$fe02a8c0@esd11' \
    --to=zhaohd@vis.cs.tsinghua.edu.cn \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox