public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Geir Thomassen <chaos@in.fer.no>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] booting linux kernel problem...
Date: Wed, 19 Feb 2003 23:52:30 +0100	[thread overview]
Message-ID: <3E540AAE.1070406@in.fer.no> (raw)
In-Reply-To: <830C870A-4448-11D7-B791-00039390D626@pepper.com>

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

  reply	other threads:[~2003-02-19 22:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-19 17:04 [U-Boot-Users] booting linux kernel problem Michael Frey
2003-02-19 20:14 ` Wolfgang Denk
2003-02-19 20:16 ` Kyle Harris
2003-02-19 20:27   ` Michael Frey
2003-02-19 22:52     ` Geir Thomassen [this message]
2003-02-19 23:22     ` Kyle Harris
2003-02-21 20:31 ` Robert Schwebel

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=3E540AAE.1070406@in.fer.no \
    --to=chaos@in.fer.no \
    --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