From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: update advice on kernel and FDT load address.
Date: Tue, 30 Jul 2013 15:18:06 +0200 [thread overview]
Message-ID: <20130730151806.33ee3081@skate> (raw)
In-Reply-To: <20130730094118.GF11527@mudshark.cambridge.arm.com>
Dear Will Deacon,
On Tue, 30 Jul 2013 10:41:18 +0100, Will Deacon wrote:
> > The initial page table is therefore (in most cases again) just below the
> > decompressed kernel location i.e. either Ffrom 16KB from start of RAM,
> > or from 12KB if using LPAE.
> >
> > You can therefore load everything (zImage, initrd, DTB) sequentially
> > from the 32MB mark in RAM and be safe. By loading zImage that high, it
> > most certainly won't need to relocate itself (unless the decompressed
> > kernel is larger than 32MB which is very unlikely as I mentioned) and
> > that will also make the boot process slightly faster.
>
> Hmm, how does that work with CONFIG_INITRAMFS_SOURCE, where the initramfs
> is built into the zImage? Would this impose a 32MB uncompressed limit on the
> size of the kernel + initramfs?
I've recently had troubles with a kernel + bundled initramfs, when the
compressed size of both exceeds something like 6 MB or so. I haven't
done any serious testing as compressing with XZ worked around the
problem, but I think there's some limit somewhere, but I guess 6 MB
compressed isn't going to expand to 32 MB uncompressed so I'm not sure
it's the limit you're referring to that I'm seeing.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2013-07-30 13:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-29 12:56 [PATCH] arm: update advice on kernel and FDT load address Ian Campbell
2013-07-29 13:50 ` Will Deacon
2013-07-29 14:03 ` Ian Campbell
2013-07-30 3:05 ` Nicolas Pitre
2013-07-30 9:41 ` Will Deacon
2013-07-30 10:23 ` Russell King - ARM Linux
2013-07-30 13:18 ` Thomas Petazzoni [this message]
2013-07-30 13:56 ` Ian Campbell
2013-07-30 14:04 ` Russell King - ARM Linux
2013-07-30 14:30 ` Ian Campbell
2013-07-30 14:42 ` Russell King - ARM Linux
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=20130730151806.33ee3081@skate \
--to=thomas.petazzoni@free-electrons.com \
--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).