From 3b75089c9711eb46e0eb0175740f48c927fde605 Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Sat, 5 Jan 2019 20:52:56 +0000 Subject: [PATCH 1/4] scripts/image: zstd: use a 1MB blocksize by default Signed-off-by: Ian Leonard --- scripts/image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/image b/scripts/image index 362f7e5bc7e..841803de0d8 100755 --- a/scripts/image +++ b/scripts/image @@ -226,7 +226,7 @@ if [ -z "$SQUASHFS_COMPRESSION_OPTION" ]; then elif [ "$SQUASHFS_COMPRESSION" = "lzo" ]; then SQUASHFS_COMPRESSION_OPTION="-Xcompression-level 9 -b 524288" elif [ "$SQUASHFS_COMPRESSION" = "zstd" ]; then - SQUASHFS_COMPRESSION_OPTION="-Xcompression-level 22 -b 262144" + SQUASHFS_COMPRESSION_OPTION="-Xcompression-level 22 -b 1048576" fi fi From a11b1fd4cf712ba69e71d75898a4803839183333 Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Sat, 5 Jan 2019 20:48:10 +0000 Subject: [PATCH 2/4] rpi: switch to zstd squashfs images Signed-off-by: Ian Leonard --- projects/RPi/options | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/RPi/options b/projects/RPi/options index 172f569997c..66dea707e61 100644 --- a/projects/RPi/options +++ b/projects/RPi/options @@ -68,7 +68,7 @@ PROJECT_CFLAGS="" # SquashFS compression method (gzip / lzo / xz / zstd) - SQUASHFS_COMPRESSION="lzo" + SQUASHFS_COMPRESSION="zstd" ################################################################################ # setup project defaults From 4815eece2b886cc57adef83457b4cf73049def1e Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Fri, 3 May 2019 23:49:51 +0000 Subject: [PATCH 3/4] generic: use zstd compression by default Signed-off-by: Ian Leonard --- projects/Generic/options | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/Generic/options b/projects/Generic/options index 7c4e1691fc5..9b6884406e0 100644 --- a/projects/Generic/options +++ b/projects/Generic/options @@ -52,7 +52,7 @@ PROJECT_CFLAGS="" # SquashFS compression method (gzip / lzo / xz / zstd) - SQUASHFS_COMPRESSION="gzip" + SQUASHFS_COMPRESSION="zstd" ################################################################################ From 9a285decca31a24df04633006ec23d4bdd7eb9f5 Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Mon, 6 May 2019 22:16:26 +0000 Subject: [PATCH 4/4] rockchip: default to zstd compression Signed-off-by: Ian Leonard --- projects/Rockchip/options | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/Rockchip/options b/projects/Rockchip/options index 4d9e18fab60..8c6fd3755c6 100644 --- a/projects/Rockchip/options +++ b/projects/Rockchip/options @@ -19,8 +19,8 @@ # Project CFLAGS PROJECT_CFLAGS="" - # SquashFS compression method (gzip / lzo / xz) - SQUASHFS_COMPRESSION="lzo" + # SquashFS compression method (gzip / lzo / xz / zstd) + SQUASHFS_COMPRESSION="zstd" ################################################################################ # setup project defaults