[PATCH v3 3/5] ar71xx: Use OpenWRT default for squashfs blocksize

Fabian Bläse fabian at blaese.de
So Mär 15 15:48:18 CET 2020


Previously, the squashfs blocksize has been increased to 512 bytes,
to increase compression efficiency, because the OpenWRT default blocksize
has been only 256 bytes.

Since OpenWRT 18.06 the blocksize has been increased to 1024 bytes for
devices with a small flash. Because increased blocksize gives us additional
headroom for devices with only 4 MiB flash, our own 512 byte override is removed.

The default blocksize for the other targets in our firmware is 256, which is lower
than our current override. Therefore it is not changed in this commit.

Signed-off-by: Fabian Bläse <fabian at blaese.de>
Reviewed-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
Reviewed-by: Robert Langhammer <rlanghammer at web.de>
---
 bsp/ar71xx/.config | 1 -
 1 file changed, 1 deletion(-)

diff --git a/bsp/ar71xx/.config b/bsp/ar71xx/.config
index 4ea9bcd..1529445 100644
--- a/bsp/ar71xx/.config
+++ b/bsp/ar71xx/.config
@@ -101,4 +101,3 @@ CONFIG_PACKAGE_hostapd-mini=y
 CONFIG_PACKAGE_opkg=m
 CONFIG_PACKAGE_wpad-mini=m
 CONFIG_STRIP_KERNEL_EXPORTS=y
-CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=512
-- 
2.25.1



Mehr Informationen über die Mailingliste franken-dev