public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Norbert van Bolhuis <nvbolhuis@aimvalley.nl>
To: u-boot@lists.denx.de
Subject: [U-Boot] Nasty gunzip problem on MPC8313E-RDB
Date: Tue, 27 Jan 2009 14:33:54 +0100	[thread overview]
Message-ID: <497F0D42.7030503@aimvalley.nl> (raw)
In-Reply-To: <497EDC59.3080405@aimvalley.nl>


We have 2 MPC8313E-RDB REVA4 boards.

u-boot always fails to uncompress certain compressed files.
Either the board will hang or a checkstop occurs.
The problem occurs on both our MPC8313E-RDB REVA4 boards.
Probably memory is overwritten at the end of RAM (where
u-boot is relocated to). When using a jtag debugger no
problem occurs.

The stock u-boot (shipped by Freescale) has the problem,
any custom built u-boot (v2008.10 or v2009-rc3) also
has the problem.

I tested with u-boot.v2009-rc3 on another board (a PQ2FADS
board). The problem doesn't occur on this board.

I would like to find this problem and I could use all the
help I can get. I'm a bit stuck at the moment.

It's not the watchdog, nor the compiler toolchain. The
watchdog is completely disabled anyway and other compiler
toolchains (including the ones from Freescale) make no
difference.
I already tried to raise the u-boot malloc() area, it makes no
difference either.

when compressing using bzip2 (either --best or --fast) no problem
occurs.
The problem occurs only for gzip compressed files which have
one or more dynamic codes blocks and a final fixed codes block.
I made a very small one, it's attached. It's only 5802 bytes and
md5sum = d5e5a4c95451d256520f1b2a7ace8fa5
Btw. mostly gzip compressed files have dynamic codes blocks only.

This file is in fact a collection of random bytes compressed
with "gzip -9" and a u-boot header in front. If I load this
file into RAM (with tftp) and try to uncompress it (by trying to
bootm it) the problem always occurs.

If anybody is willing to try this file on a MPC8313E-RDB
and/or help me with this problem please reply.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: uImage
Type: application/octet-stream
Size: 5802 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090127/b3d8f843/attachment-0001.obj 

  reply	other threads:[~2009-01-27 13:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-19 11:55 [U-Boot] u-boot fails to uncompress a "gzip'ed -9" kernel N. van Bolhuis
2009-01-19 13:07 ` Wolfgang Denk
2009-01-19 13:59   ` N. van Bolhuis
2009-01-27 10:05     ` Norbert van Bolhuis
2009-01-27 13:33       ` Norbert van Bolhuis [this message]
2009-01-27 14:44       ` Tor Krill
2009-03-24 16:37         ` Norbert van Bolhuis
2009-09-30  8:21           ` [U-Boot] gunzip fails sometimes on MPC8343 André Schwarz

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=497F0D42.7030503@aimvalley.nl \
    --to=nvbolhuis@aimvalley.nl \
    --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