From 60ef311fa966283ee711762f60f8fd014dea3410 Mon Sep 17 00:00:00 2001 From: Stefan Hansson Date: Wed, 31 Jul 2024 11:39:22 +0200 Subject: [PATCH] linux-postmarketos-qcom-sm6350: enable zstd firmware compression support (MR 5445) See https://gitlab.com/postmarketOS/pmaports/-/merge_requests/5380 [ci:skip-build]: already built successfully in CI --- device/community/linux-postmarketos-qcom-sm6350/APKBUILD | 4 ++-- .../config-postmarketos-qcom-sm6350.aarch64 | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/device/community/linux-postmarketos-qcom-sm6350/APKBUILD b/device/community/linux-postmarketos-qcom-sm6350/APKBUILD index 63f45d019..fc864bc24 100644 --- a/device/community/linux-postmarketos-qcom-sm6350/APKBUILD +++ b/device/community/linux-postmarketos-qcom-sm6350/APKBUILD @@ -3,7 +3,7 @@ _flavor="postmarketos-qcom-sm6350" pkgname=linux-$_flavor pkgver=6.9.7 -pkgrel=2 +pkgrel=3 pkgdesc="Mainline Kernel fork for SM6350/SM7225 devices" arch="aarch64" _carch="arm64" @@ -55,5 +55,5 @@ package() { sha512sums=" 2d432d2e9cf681c55a8406d1c9122ebdde8fdd0dee12815b785bfc9446527bec25a812b297e88d893685fa32b45afd752ae13ae2c28bf6e53f9699e4f7021dae linux-v6.9.7-sm6350.tar.gz -1a82f804ead5676cabe4f5112cb4585a22b2ca2b3a6362a9e3b528592ea0c8962105d6c810eacebe29b1e96da720b77e1be4236b61672a846f5104b9866a791e config-postmarketos-qcom-sm6350.aarch64 +06f71580b32172ffe6e46b6b7032ea03bd6deeece7a1f1ad777e4de7bf3d31588b4d75062ccb0c2cb3330124f3d49423bab79e73c1637ceedf44d10e104e3572 config-postmarketos-qcom-sm6350.aarch64 " diff --git a/device/community/linux-postmarketos-qcom-sm6350/config-postmarketos-qcom-sm6350.aarch64 b/device/community/linux-postmarketos-qcom-sm6350/config-postmarketos-qcom-sm6350.aarch64 index 4711c12ff..010bf0794 100644 --- a/device/community/linux-postmarketos-qcom-sm6350/config-postmarketos-qcom-sm6350.aarch64 +++ b/device/community/linux-postmarketos-qcom-sm6350/config-postmarketos-qcom-sm6350.aarch64 @@ -1552,7 +1552,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y CONFIG_FW_LOADER=y CONFIG_EXTRA_FIRMWARE="" # CONFIG_FW_LOADER_USER_HELPER is not set -# CONFIG_FW_LOADER_COMPRESS is not set +CONFIG_FW_LOADER_COMPRESS=y +# CONFIG_FW_LOADER_COMPRESS_XZ is not set +CONFIG_FW_LOADER_COMPRESS_ZSTD=y CONFIG_FW_CACHE=y # CONFIG_FW_UPLOAD is not set # end of Firmware loader @@ -5720,9 +5722,9 @@ CONFIG_LZO_COMPRESS=m CONFIG_LZO_DECOMPRESS=m CONFIG_LZ4_COMPRESS=m CONFIG_LZ4_DECOMPRESS=m -CONFIG_ZSTD_COMMON=m +CONFIG_ZSTD_COMMON=y CONFIG_ZSTD_COMPRESS=m -CONFIG_ZSTD_DECOMPRESS=m +CONFIG_ZSTD_DECOMPRESS=y CONFIG_XZ_DEC=y CONFIG_XZ_DEC_X86=y CONFIG_XZ_DEC_POWERPC=y