From: tixy@linaro.org (Jon Medhurst (Tixy))
To: linux-arm-kernel@lists.infradead.org
Subject: [Question] Any restriction for the location of initramdisk?
Date: Fri, 08 Jan 2016 10:22:24 +0000 [thread overview]
Message-ID: <1452248544.3006.2.camel@linaro.org> (raw)
In-Reply-To: <CAK7LNAQS--QobTNyAvxqqZY2gvy4zB_eBOGju69Pjs-1FAJ+tQ@mail.gmail.com>
On Fri, 2016-01-08 at 16:16 +0900, Masahiro Yamada wrote:
> Hi.
>
>
> I know DTB should be located within the reach of the kernel
> so that the kernel can get access to it at the early boot stage.
> In other words, DTB should be put in the low memory area.
>
> Does initramdisk has the similar restriction?
I assume so, as that's what Documentation/arm/Booting says ...
5. Load initramfs.
------------------
Existing boot loaders: OPTIONAL
New boot loaders: OPTIONAL
If an initramfs is in use then, as with the dtb, it must be placed in
a region of memory where the kernel decompressor will not overwrite it
while also with the region which will be covered by the kernel's
low-memory mapping.
A safe location is just above the device tree blob which itself will
be loaded just above the 128MiB boundary from the start of RAM as
recommended above.
--
Tixy
next prev parent reply other threads:[~2016-01-08 10:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-08 7:16 [Question] Any restriction for the location of initramdisk? Masahiro Yamada
2016-01-08 10:22 ` Jon Medhurst (Tixy) [this message]
2016-01-08 16:13 ` Masahiro Yamada
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=1452248544.3006.2.camel@linaro.org \
--to=tixy@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).