[Battlemesh] wshaper equivalent ans smaller

Pau hakais at gmail.com
Tue Oct 8 09:47:50 UTC 2013


Another trick is to disable "opkg" since (probably) you are not gonna
use it if the flash memory is so small.
--
./p4u


On Tue, Oct 8, 2013 at 11:39 AM, Bastian Bittorf <bittorf at bluebottle.com> wrote:
> * cmsv <cmsv at wirelesspt.net> [08.10.2013 10:45]:
>> Total: 169.8 KB
>>
>> Does anyone uses, recommend or know about a smaller equivalent script or
>> package ?
>
> there are a lot of things where can screw to get your image smaller.
>
> first do this:
> disbale debugging stuff in 'make menuconfig'
> -> Global build settings
> -> [ ] Compile the kernel with symbol table information
>
> (you can even disable wireless-debug for your driver)
>
> additionally, ou can disable printk and swap, which saves ~100k:
>
> make kernel_menuconfig
> -> General setup
> [ ] Support for paging of anonymous memory (swap)
> -> Configure standard kernel features (expert users)
> [ ] Enable support for printk
>
> let us know, if it helps. for 4mb routers, the image
> should not exceed 3.6mb
>
> bye, bastian
> _______________________________________________
> Battlemesh mailing list
> Battlemesh at ml.ninux.org
> http://ml.ninux.org/mailman/listinfo/battlemesh


More information about the Battlemesh mailing list