From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Booting uncompressed uImages
Date: Wed, 15 Jun 2011 23:20:30 +0200 [thread overview]
Message-ID: <20110615212030.BCAB419E5ABC@gemini.denx.de> (raw)
In-Reply-To: <BANLkTikRLXMdZoWUwR0wDnUzGM8mPEcAqQ@mail.gmail.com>
Dear David Peverley,
In message <BANLkTikRLXMdZoWUwR0wDnUzGM8mPEcAqQ@mail.gmail.com> you wrote:
>
> I've got an interesting issue with a MIPS board I'm working on. The
> uncompressed uImage has been created with a Load Address of 0x80500000
> and an Entry Point of 0x80504590. This gets TFTP's into RAM at
> 0x8055b728. When I run a "bootm 0x8055b728" this image fails to run.
Why using such an odd address as 0x8055b728?
Please be aware that is just 365 KB above your load address, and I
guess your kernel image is way bigger than 365 KB.
> This actually copies the image 'payload' instead of the whole uImage
> thereby dropping 64 bytes from the front of the copy and moving the
> entry point. (I've verified this by breaking into the process and
It does not "move the entry point". The entry point address is a
constant address and does never move.
> Can anyone sanity-check my reasoning here and tell me if this is the
> correct fix or if I'm being mislead by something more insidious that
> just happens to present itself in this way....?
Just follow the rules and never download the image to an address range
that overlaps with the area where the image will be unpacked / loaded
to.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The use of Microsoft crippleware systems is a sin that carries with
it its own punishment.
-- Tom Christiansen in <6bo3fr$pj8$5@csnews.cs.colorado.edu>
next prev parent reply other threads:[~2011-06-15 21:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-15 17:00 [U-Boot] Booting uncompressed uImages David Peverley
2011-06-15 21:20 ` Wolfgang Denk [this message]
2011-06-17 8:48 ` David Peverley
2011-06-17 0:15 ` Mike Frysinger
2011-06-17 8:42 ` David Peverley
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=20110615212030.BCAB419E5ABC@gemini.denx.de \
--to=wd@denx.de \
--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