[Buildroot] ext2+isofs initrd too big

Roberto A. Foglietta roberto.foglietta at gmail.com
Sun Oct 19 10:00:13 UTC 2008


2008/10/19 Roberto A. Foglietta <roberto.foglietta at gmail.com>:
> 2008/10/18 Roberto A. Foglietta <roberto.foglietta at gmail.com>:
>> 2008/10/18 Roberto A. Foglietta <roberto.foglietta at gmail.com>:
>>> Hi,
>>>
>>>  using buildroot I have compiled a system which is big enough to not
>>> fit in the initrd image (default size is 4Mb but could be enlarged by
>>> kernel .config). Attached patch prepare a initrd of 16Mb and I can
>>> enlarge it more in order to put all my system inside. However this is
>>> not the best solution because has no future itself, initrd image could
>>> not enlarged forever.
>>
>>  _Attached patch_ forgot, until now
>>
>
>
>  a) stripping modules (previous patch was wrong, see below)
>
>  Using strip on .ko does not work at all without --strip-unneeded.
>
>  http://mailman.uclinux.org/pipermail/uclinux-dev/2007-January/041616.html
>
>  strip -R  .comment -R .note -g --strip-unneeded
>

 Stripping modules belong to the kernel Makefile.in and Makefile.in.advanced

 Declaring INSTALL_MOD_STRIP=1 in modules_install should be enough,
however find,xargs,strip has been added also.

 Ciao,
-- 
/roberto
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: buildroot-svn_r23719.diff
Url: http://lists.busybox.net/pipermail/buildroot/attachments/20081019/9a33bd4f/attachment.diff 


More information about the buildroot mailing list