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