public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: J.Hwan Kim <frog1120@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Limit of kernel size
Date: Sun, 16 Sep 2012 22:18:41 +0900	[thread overview]
Message-ID: <5055D1B1.6090302@gmail.com> (raw)
In-Reply-To: <50556036.8030608@denx.de>

2012? 09? 16? 14:14, Heiko Schocher ? ?:
> Hello J.Hwan,
>
> On 16.09.2012 01:40, J.Hwan Kim wrote:
>> Hi, everyone
>>
>> Is there limitation of the kernel size which u-boot loads?
>
> Only as I know the maximum RAM size (minus the size U-Boot needs)
>
>> My kernel is very big, because I included the ramdisk into the kernel.
>> My kernel size is over 40MB.
>> When I load the kernel through u-boot, the prcedure hangs in the boot 
>> step.
>> The step is "Uncompressing Linux.... done, booting the kernel"
>
> On which board with which RAM size? Please provide more Information
> including a u-boot log from reset, your environment ...
>
> and maybe it is a Linux problem ...

I'm using ARM(Cortex A8) architecture and my memory size 512MB.
I used both uImage and zImage, but the result was same.

I found this article in the web.
http://www.simtec.co.uk/products/SWLINUX/files/booting_article.html

It says that
"The zImage code is Position Independent Code (PIC) so may be loaded
anywhere within the available address space.
The maximum kernel size after decompression is 4Megabytes.
This is a hard limit and would include the initrd if a bootpImage target 
was used."

If that article is not so obsolete, my kernel size which include initramfs
should be smaller than 4MB.

Best Regards,
J.Hwan Kim

      reply	other threads:[~2012-09-16 13:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-15 23:40 [U-Boot] Limit of kernel size J.Hwan Kim
2012-09-16  2:48 ` Dan Malek
2012-09-16  5:14 ` Heiko Schocher
2012-09-16 13:18   ` J.Hwan Kim [this message]

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=5055D1B1.6090302@gmail.com \
    --to=frog1120@gmail.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