From: Jim Potter <jpotter@dualg4.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] XIP question
Date: Fri, 28 Feb 2003 15:17:11 -0800 [thread overview]
Message-ID: <3E5FEDF8.B15DEF5@dualg4.com> (raw)
I've got a u-boot question -- even though I've been tracking it down in
the ppcboot-2.0.0 sources (they're very close). Perhaps my copy of
mkimage is doing the wrong thing, but I've noticed that ppcboot-2.0.0
fails to strip the header from an uncompressed kernel image, when the
entire image (header and all) is placed at the desired execution
address. This traces down to this area of do-bootm:
case IH_COMP_NONE:
if (hdr->ih_load == addr)
printf (" XIP %s ... ", name);
In my case, the image (with header) is loaded at addr 0, and
hdr->ih_load points to the header start at addr 0 (not the data start at
addr 0x40). Is ih_load supposed to point to the start of the header, or
the start of the data? If it points to the header, then we may want to
do this instead:
case IH_COMP_NONE:
if (data == addr)
printf (" XIP %s ... ", name);
Again, it's also possible that ih_load points to the wrong thing.
--
Sincerely,
Jim Potter
45th Parallel Processing, Inc.
Volunteer Firefighting: Bustin' ours, Savin' yours.
next reply other threads:[~2003-02-28 23:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-28 23:17 Jim Potter [this message]
2003-03-01 0:53 ` [U-Boot-Users] XIP question Wolfgang Denk
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=3E5FEDF8.B15DEF5@dualg4.com \
--to=jpotter@dualg4.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.