Maximum bootable kernel size in current ARM linux

Matthieu CASTET matthieu.castet at parrot.com
Mon Sep 13 07:58:14 EDT 2010


Russell King - ARM Linux a écrit :
> On Mon, Sep 13, 2010 at 10:10:39AM +0000, Simon Guinot wrote:
>> On Mon, Sep 13, 2010 at 05:56:30PM +0800, Haojian Zhuang wrote:
>>> On Mon, Sep 13, 2010 at 4:43 PM, Marek Vasut <marek.vasut at gmail.com> wrote:
>>>> Cheers
>>> If initramfs is built in, we'll get a huge kernel. Even using LZMA, my
>>> kernel size is near 5MB.
>> The initramfs is located at the end of the init section and before the
>> text section. Because the kernel must be able to 'branch' between the
>> init and text sections, the initramfs size can't be greater than the
>> 'branch' maximum offset. 32MB ?
>>
>> I guess that relocate the initramfs just after the text section should
>> break this limitation.
> 
> But then means that it won't be freed after init time.
And why not putting it before init section ?

Matthieu



More information about the linux-arm-kernel mailing list