From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] fastboot boot base address behaviour
Date: Wed, 29 Apr 2015 11:46:05 -0400 [thread overview]
Message-ID: <20150429154605.GD16702@bill-the-cat> (raw)
In-Reply-To: <CAL_JsqLqarG6KTfOYJV0_qJgfiR-gg+zLeYpzUNxSsUUB5AZSg@mail.gmail.com>
On Wed, Apr 29, 2015 at 09:30:17AM -0500, Rob Herring wrote:
> On Wed, Apr 29, 2015 at 9:25 AM, Tom Rini <trini@konsulko.com> wrote:
> > On Wed, Apr 29, 2015 at 09:11:03AM -0500, Rob Herring wrote:
> >
> > [snip]
> >> >> For arm64 Image, the image header defines the offset and u-boot must
> >> >> load it to that offset or you won't boot. There's only 1 correct
> >> >> address and 2^32 - 1 wrong addresses the boot.img could have.
> >> >
> >> > Ok, so the simplest thing to do would be to always relocate the kernel
> >> > then.
> >>
> >> Probably so as it is likely smaller than the ramdisk and needing
> >> decompression also (once we support arm64 Image.gz).
> >
> > Not to side-track things much but we "support" Image.gz today but yes as
> > a two-step thing. I think there was some talk about trying to be clever
> > enough to decompress the first page so we could peek at the Image
> > header, see where things needed to end up, and then decompress to that
> > location but it either wasn't feasible or more likely didn't get too
> > high in priority.
>
> Is that documented how somewhere? Presumably it is load, gunzip,
> booti? This would not work if contained within a boot.img. We'd need
> the auto detect as you mention.
That we have 'unzip' as a command? No, that's a little "hidden" I
suppose, but it's enabled for Juno and the Xilinx ARMv8 platforms.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150429/5f9d814e/attachment.sig>
next prev parent reply other threads:[~2015-04-29 15:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-22 13:04 [U-Boot] fastboot boot base address behaviour Maxime Ripard
2015-04-22 15:56 ` Marek Vasut
2015-04-23 7:41 ` Maxime Ripard
2015-04-23 12:00 ` Marek Vasut
2015-04-25 6:22 ` Maxime Ripard
2015-04-25 15:53 ` Marek Vasut
2015-04-28 22:24 ` Rob Herring
2015-04-29 8:12 ` Maxime Ripard
2015-04-29 14:11 ` Rob Herring
2015-04-29 14:25 ` Tom Rini
2015-04-29 14:30 ` Rob Herring
2015-04-29 15:46 ` Tom Rini [this message]
2015-05-01 20:30 ` Maxime Ripard
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=20150429154605.GD16702@bill-the-cat \
--to=trini@konsulko.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox