[Battlemesh] wshaper equivalent and smaller - (making the firmware smaller)

cmsv cmsv at wirelesspt.net
Wed Oct 16 02:53:15 CEST 2013



On 10/13/2013 06:36 AM, Bastian Bittorf wrote:
> * cmsv <cmsv at wirelesspt.net> [13.10.2013 12:29]:
>> wget get can fetch but what is the mechanism that is used by opkg ?
> 
> untar'ing a tarball over filesystem and write metadata.
> 
>> for example removing
>> [ ] Remove ipkg/opkg status data files in final images
>> also helps but seems to break the possibility of installing an upgrade
>> package or a package. Am i correct ?
> 
> yes
> 
>> I also wondered if it is a good or bad idea to remove:
>> [*] Compile the kernel with Debug FileSystem enabled
> 
> do you use the debugfs?
I have been using it because it been set by default.
Unless it will interfere with dmesg, logread  and other syslog useful
information regarding normal functionality; i do not need it.

> 
>>>> let us know, if it helps. for 4mb routers, the image
>>>> should not exceed 3.6mb
>> right now and for my testing model:
>> 3.8M openwrt-ar71xx-generic-dir-615-c1-squashfs-factory.bin
>> 3.2M openwrt-ar71xx-generic-dir-615-c1-squashfs-sysupgrade.bin
>> (includes some extra needed packages and scrips)
> 
> ok, the looks good - and you can even add 800k (400k compressed)
> and you still have a useable image.
> 
> bye, bastian
> 



More information about the Battlemesh mailing list