Re: [OpenWrt-Devel] [PATCH] config: extend small_flash feature

2018-06-03 Thread Martin Tippmann
On Fri, Jun 1, 2018 at 8:05 PM, Alex Maclean wrote: > On 01/06/18 12:34, Lucian Cristian wrote: > >> On 30.05.2018 20:22, Martin Tippmann wrote: >>> find /usr | >>> xargs md5sum >> >> I made the test on tl-wr841n-v9 with luci selected >> >> these are the changes to squashfs >> >> ---

Re: [OpenWrt-Devel] [PATCH] config: extend small_flash feature

2018-06-01 Thread Alex Maclean
On 01/06/18 12:34, Lucian Cristian wrote: > On 30.05.2018 20:22, Martin Tippmann wrote: >> find /usr | >> xargs md5sum > > I made the test on tl-wr841n-v9 with luci selected > > these are the changes to squashfs > > --- a/config/Config-images.in > +++ b/config/Config-images.in > @@ -149,8 +149,15

Re: [OpenWrt-Devel] [PATCH] config: extend small_flash feature

2018-06-01 Thread Lucian Cristian
On 30.05.2018 20:22, Martin Tippmann wrote: find /usr | xargs md5sum I made the test on tl-wr841n-v9 with luci selected these are the changes to squashfs --- a/config/Config-images.in +++ b/config/Config-images.in @@ -149,8 +149,15 @@ menu "Target Images"     int "Block

Re: [OpenWrt-Devel] [PATCH] config: extend small_flash feature

2018-05-30 Thread Martin Tippmann
On Wed, May 30, 2018 at 3:21 PM, Alex Maclean wrote: > change the squashfs block size to 1024KiB. This might cause a problem with memory. You might also want to change CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE from 3 to 1 in the kernel config.

[OpenWrt-Devel] [PATCH] config: extend small_flash feature

2018-05-30 Thread Alex Maclean
Extend the small_flash feature to disable swap, core dumps, and kernel debug info, and change the squashfs block size to 1024KiB. This saves approximately 18K in the kernel image on ath79, and 64K in the rootfs. Signed-off-by: Alex Maclean --- config/Config-images.in | 1 +