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

Robert Langhammer rlanghammer at web.de
Sa Mär 14 23:32:44 CET 2020


Reviewed-by: Robert Langhammer <rlanghammer at web.de>

Am 11.03.20 um 18:11 schrieb Fabian Bläse:
> 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.07 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.
>
> Signed-off-by: Fabian Bläse <fabian at blaese.de>
> ---
>  bsp/ar71xx/.config | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/bsp/ar71xx/.config b/bsp/ar71xx/.config
> index eaf5ea4..e453386 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


Mehr Informationen über die Mailingliste franken-dev