From 4b2aa9d31af0ad57fcd70b4081d0192b92e9f9ff Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Thu, 23 Jan 2025 14:45:03 -0600 Subject: [PATCH] config: ubuntu is shipping firmware with zstd compression now Signed-off-by: Robert Nelson --- 04_build_linux.sh | 4 ++++ patches/linux/mpfs_defconfig | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/04_build_linux.sh b/04_build_linux.sh index 7274d6e..a4a1eda 100755 --- a/04_build_linux.sh +++ b/04_build_linux.sh @@ -75,6 +75,10 @@ if [ -f arch/riscv/configs/mpfs_defconfig ] ; then ./scripts/config --enable CONFIG_SENSORS_TVS_MPFS + ./scripts/config --enable CONFIG_FW_LOADER_COMPRESS + ./scripts/config --enable CONFIG_FW_LOADER_COMPRESS_XZ + ./scripts/config --enable CONFIG_FW_LOADER_COMPRESS_ZSTD + echo "make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig" make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig else diff --git a/patches/linux/mpfs_defconfig b/patches/linux/mpfs_defconfig index d4c320b..4909e1b 100644 --- a/patches/linux/mpfs_defconfig +++ b/patches/linux/mpfs_defconfig @@ -1535,7 +1535,9 @@ CONFIG_EXTRA_FIRMWARE="regulatory.db regulatory.db.p7s" CONFIG_EXTRA_FIRMWARE_DIR="firmware" CONFIG_FW_LOADER_USER_HELPER=y # CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set -# CONFIG_FW_LOADER_COMPRESS is not set +CONFIG_FW_LOADER_COMPRESS=y +CONFIG_FW_LOADER_COMPRESS_XZ=y +CONFIG_FW_LOADER_COMPRESS_ZSTD=y # CONFIG_FW_UPLOAD is not set # end of Firmware loader