[LEDE-DEV] Build ar71xx / 4MB with IPv6, Luci, OpenVPN (PolarSSL), Command, Watchcat, relay and printk without debug ?

Daniel Petre daniel.petre at posteo.net
Fri Sep 30 08:39:39 PDT 2016


On 09/28/2016 01:54 AM, Martin Tippmann wrote:
> On Tue, Sep 27, 2016 at 8:22 PM, Břetislav Kubesa
> <bretislav.kubesa at gmail.com> wrote:
>> Hi,
>>
>> sorry if this is not the right place to ask but there is currently no other
>> as for LEDE and do not want to hijack other forum (of Openwrt). I'm trying
>> already longer time to build myself a ar71xx variant (MR3020, WA850RE etc.)
>> with combination of : IPv6, Luci, OpenVPN (PolarSSL), Command, Watchcat,
>> relay and printk without debug,ppp,usb but I'm still little over sized by
>> 8000-6000 bytes ;-) Is there some way, can you give me please some
>> recommendation ? I don't want to get rid of some key components like mtd,
>> uci, do not want really to touch busybox etc. and I have the good reasons
>> why to keep the rest eventually.
>>
>> [mktplinkfw] *** error: images are too big by 6178 bytes
>>
>> Link to my config : http://pastebin.com/43xKZpif
>
> Just some ideas what else to disable from your config:
>
>
> CONFIG_TARGET_ROOTFS_SQUASHFS=y
> CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=256
>
> You could try setting the blocksize to 1024 - this should make a
> noticeable difference as squashfs can compress better.

Awesome! I saved like 70K on a 4MB wr841n v8 by going from 256 to 1024 !

> regards
> Martin
>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev
>




More information about the Lede-dev mailing list