From bc1944bac62bc56e6ead747fe4a1e463b8dbf377 Mon Sep 17 00:00:00 2001 From: kszaq Date: Fri, 3 May 2019 00:20:02 +0200 Subject: [PATCH] Allwinner: don't use initramfs compression Kernel image is already compressed with bzip2, there is no point in having compressed initramfs inside a compressed image. Initramfs compression is discouraged: https://github.com/torvalds/linux/blob/v5.0/usr/Kconfig#L137-L143 --- projects/Allwinner/linux/linux.arm.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/Allwinner/linux/linux.arm.conf b/projects/Allwinner/linux/linux.arm.conf index cdb175ae28..6d2ab076d8 100644 --- a/projects/Allwinner/linux/linux.arm.conf +++ b/projects/Allwinner/linux/linux.arm.conf @@ -148,7 +148,9 @@ CONFIG_RD_GZIP=y # CONFIG_RD_XZ is not set # CONFIG_RD_LZO is not set # CONFIG_RD_LZ4 is not set -CONFIG_INITRAMFS_COMPRESSION=".gz" +CONFIG_INITRAMFS_COMPRESSION_NONE=y +# CONFIG_INITRAMFS_COMPRESSION_GZIP is not set +CONFIG_INITRAMFS_COMPRESSION="" CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y