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

Adrian Schmutzler mail at adrianschmutzler.de
Mi Mär 11 19:05:05 CET 2020


Hi,

> -----Original Message-----
> From: franken-dev [mailto:franken-dev-bounces at freifunk.net] On Behalf Of
> Fabian Bläse
> Sent: Mittwoch, 11. März 2020 18:11
> To: franken-dev at freifunk.net
> Subject: [PATCH 3/5] Use OpenWRT default for squashfs blocksize
> 
> 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.

Entweder 18.06 oder 19.07.

Ansonsten

Reviewed-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>

Muss das für die anderen configs auch entfernt werden, wenn ja, dann bitte auf einmal.

Grüße

Adrian

> 
> 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
> --
> 2.25.1




Mehr Informationen über die Mailingliste franken-dev