[U-Boot] Limit of kernel size
J.Hwan Kim
frog1120 at gmail.com
Sun Sep 16 15:18:41 CEST 2012
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
More information about the U-Boot
mailing list