linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: haojian.zhuang@gmail.com (Haojian Zhuang)
To: linux-arm-kernel@lists.infradead.org
Subject: Maximum bootable kernel size in current ARM linux
Date: Mon, 13 Sep 2010 17:56:30 +0800	[thread overview]
Message-ID: <AANLkTimti4ajAOR0_aZ8aeGu9PN4a0MX8dbpg6dpZJYf@mail.gmail.com> (raw)
In-Reply-To: <201009131043.48688.marek.vasut@gmail.com>

On Mon, Sep 13, 2010 at 4:43 PM, Marek Vasut <marek.vasut@gmail.com> wrote:
> Dne Po 13. z??? 2010 09:40:56 Bruce M. Penrod napsal(a):
>> This seems like a pretty straightforward question, but extensive web
>> searching hasn't shown a really clear, up-to-date answer. ?The most
>> recent info is circa 2004 and states that 4MB is the largest
>> uncompressed ARM kernel that may be loaded. ?Not being an ARM assembly
>> guru (head.S baffles me), I'd like to know if that is still true in
>> 2010, and if it is, why?
>>
>> I'm having one hell of a time compiling a monolithic kernel and keeping
>> it under 4M without leaving out some core networking features I need.
>> ?From my searching, it looks like x86 has either removed the limit or
>> raised it to a much higher number. ?It's not clear to me why a 32 bit
>> processor would not be able to boot a kernel larger than 4 MB.
>
> Hey, CCed Russell.
>
> Btw. this shouldn't be true anymore. On the other hand, why do you need such a
> huge kernel?
>
> It's not even possible to create kernel that big if you don't have some kind of
> initramfs in, right? Besides, you can use some kind of a compression, like LZMA
> or something to keep the size down.
>
> Cheers

If initramfs is built in, we'll get a huge kernel. Even using LZMA, my
kernel size is near 5MB.

  reply	other threads:[~2010-09-13  9:56 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-13  7:40 Maximum bootable kernel size in current ARM linux Bruce M. Penrod
2010-09-13  8:43 ` Marek Vasut
2010-09-13  9:56   ` Haojian Zhuang [this message]
2010-09-13 10:10     ` Simon Guinot
2010-09-13 10:15       ` Russell King - ARM Linux
2010-09-13 11:58         ` Matthieu CASTET
2010-09-13 12:38           ` Russell King - ARM Linux
2010-09-14 12:35       ` Dave P. Martin
2010-09-14 12:54         ` Catalin Marinas
2010-09-14 17:37           ` Nicolas Pitre
2010-09-16 17:16             ` Catalin Marinas
2010-09-16 17:51               ` Russell King - ARM Linux
2010-09-16 18:37                 ` Nicolas Pitre
2010-09-17 10:09                 ` Catalin Marinas
2010-09-16 17:58               ` Nicolas Pitre
2010-09-17 10:09                 ` Catalin Marinas
2010-09-13 10:01 ` Russell King - ARM Linux
2010-09-13 19:43   ` Bruce M. Penrod
2010-09-14 17:32     ` Nicolas Pitre
2010-09-14 17:55       ` Bruce M. Penrod
2010-09-14 18:46         ` Nicolas Pitre
2010-09-15 20:30           ` Bruce M. Penrod
2010-09-15 22:02             ` Alexander Clouter
2010-09-15 22:19             ` Nicolas Pitre

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=AANLkTimti4ajAOR0_aZ8aeGu9PN4a0MX8dbpg6dpZJYf@mail.gmail.com \
    --to=haojian.zhuang@gmail.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).