Hi Maxim, I'm no expert in kernel build, just sharing my own experience.

2014-07-18 4:52 GMT-03:00 Maxim Podbereznyy <[email protected]>:

> Hi!
>
> I need to compile a minimal kernel v3.8 for BBB. With instructions from
> RCN the kernel builds with the final size of 5.5M for zImage and 32M for
> modules. I need to reduce this size but yet don't want to lose any capes
> support.
> ​​
> ​
>
​
I'm currently using buildroot, and (almost) default beaglebone
configuration. The result is a kernel image has 3.5 Mb, and about 0.5 Mb
for modules. So it's possible. But, no cape manager support.

​

> ​
> Can any
> ​​
> ​​
> body
> ​​
> suggest how to reduce it? Looking into defconfig drives me crazy because
> it seems that anything could be
> ​​
> ​​
> enabled
> ​​
> was
> ​​
> enabled statically or dynamically.
> ​
>
​

I'd say, try to check the biggest folders at modules, and start checking if
you really need that module(s) on your system.
For example, I just check some tests that I've made with RCN kernel (using
default configuration), the result is about 103 Mb of modules. 14Mb of
those, are at the 'fs', in this case I won't use anything but ext2/4, so
disable it. And so on. First check the "big villains".
​

> ​
>
>
> --
> LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
> Company - http://www.linkedin.com/company/mentorel
> Facebook - https://www.facebook.com/mentorel.company
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to