[Battlemesh] wshaper equivalent ans smaller

Bastian Bittorf bittorf at bluebottle.com
Tue Oct 8 11:39:04 CEST 2013


* 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



More information about the Battlemesh mailing list