From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 16 Aug 2024 14:52:38 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sewRa-00ADKN-16 for lore@lore.pengutronix.de; Fri, 16 Aug 2024 14:52:38 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sewRR-000280-KB; Fri, 16 Aug 2024 14:52:29 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sewRG-00024Q-UL; Fri, 16 Aug 2024 14:52:18 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sewRG-000q7T-EA; Fri, 16 Aug 2024 14:52:18 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1sewRG-007yRz-1F; Fri, 16 Aug 2024 14:52:18 +0200 From: Oleksij Rempel To: distrokit@pengutronix.de Date: Fri, 16 Aug 2024 14:52:12 +0200 Message-Id: <20240816125217.1900626-4-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240816125217.1900626-1-o.rempel@pengutronix.de> References: <20240816125217.1900626-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH v1 4/9] mipsel: kernel-malta: enable SQUASHFS X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Oleksij Rempel Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false squashfs and loop support is needed to mount rauc bundles. Signed-off-by: Oleksij Rempel --- configs/platform-mipsel/kernelconfig-malta | 27 ++++++++++++++++--- .../platform-mipsel/kernelconfig-malta.diff | 24 +++-------------- 2 files changed, 27 insertions(+), 24 deletions(-) diff --git a/configs/platform-mipsel/kernelconfig-malta b/configs/platform-mipsel/kernelconfig-malta index aacb935c..66255873 100644 --- a/configs/platform-mipsel/kernelconfig-malta +++ b/configs/platform-mipsel/kernelconfig-malta @@ -1731,9 +1731,9 @@ CONFIG_MD_MULTIPATH=m CONFIG_MD_FAULTY=m # CONFIG_BCACHE is not set CONFIG_BLK_DEV_DM_BUILTIN=y -CONFIG_BLK_DEV_DM=m +CONFIG_BLK_DEV_DM=y # CONFIG_DM_DEBUG is not set -CONFIG_DM_BUFIO=m +CONFIG_DM_BUFIO=y # CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING is not set # CONFIG_DM_UNSTRIPED is not set CONFIG_DM_CRYPT=m @@ -1755,9 +1755,12 @@ CONFIG_DM_MULTIPATH=m # CONFIG_DM_MULTIPATH_IOA is not set # CONFIG_DM_DELAY is not set # CONFIG_DM_DUST is not set +# CONFIG_DM_INIT is not set # CONFIG_DM_UEVENT is not set # CONFIG_DM_FLAKEY is not set -# CONFIG_DM_VERITY is not set +CONFIG_DM_VERITY=y +# CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG is not set +# CONFIG_DM_VERITY_FEC is not set # CONFIG_DM_SWITCH is not set # CONFIG_DM_LOG_WRITES is not set # CONFIG_DM_INTEGRITY is not set @@ -3262,7 +3265,23 @@ CONFIG_UBIFS_FS_XATTR=y CONFIG_UBIFS_FS_SECURITY=y # CONFIG_UBIFS_FS_AUTHENTICATION is not set # CONFIG_CRAMFS is not set -# CONFIG_SQUASHFS is not set +CONFIG_SQUASHFS=y +# CONFIG_SQUASHFS_FILE_CACHE is not set +CONFIG_SQUASHFS_FILE_DIRECT=y +CONFIG_SQUASHFS_DECOMP_SINGLE=y +CONFIG_SQUASHFS_DECOMP_MULTI=y +CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y +CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT=y +CONFIG_SQUASHFS_MOUNT_DECOMP_THREADS=y +# CONFIG_SQUASHFS_XATTR is not set +CONFIG_SQUASHFS_ZLIB=y +# CONFIG_SQUASHFS_LZ4 is not set +# CONFIG_SQUASHFS_LZO is not set +# CONFIG_SQUASHFS_XZ is not set +# CONFIG_SQUASHFS_ZSTD is not set +# CONFIG_SQUASHFS_4K_DEVBLK_SIZE is not set +# CONFIG_SQUASHFS_EMBEDDED is not set +CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3 # CONFIG_VXFS_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_OMFS_FS is not set diff --git a/configs/platform-mipsel/kernelconfig-malta.diff b/configs/platform-mipsel/kernelconfig-malta.diff index a81e7543..da5d3886 100644 --- a/configs/platform-mipsel/kernelconfig-malta.diff +++ b/configs/platform-mipsel/kernelconfig-malta.diff @@ -79,7 +79,6 @@ CONFIG_BLK_DEV_3W_XXXX_RAID=m CONFIG_BLK_DEV_BSG=y CONFIG_BLK_DEV_BSGLIB=y CONFIG_BLK_DEV_BSG_COMMON=y -CONFIG_BLK_DEV_DM=m CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_MD=m # CONFIG_BLK_DEV_NVME is not set @@ -241,9 +240,7 @@ CONFIG_DEVPORT=y # CONFIG_DEVTMPFS_MOUNT is not set CONFIG_DEV_APPLETALK=m # CONFIG_DL2K is not set -CONFIG_DM_BUFIO=m CONFIG_DM_CRYPT=m -# CONFIG_DM_INIT is undefined # CONFIG_DM_LOG_USERSPACE is not set CONFIG_DM_MIRROR=m CONFIG_DM_MULTIPATH=m @@ -252,9 +249,6 @@ CONFIG_DM_MULTIPATH=m # CONFIG_DM_MULTIPATH_QL is not set # CONFIG_DM_MULTIPATH_ST is not set CONFIG_DM_SNAPSHOT=m -# CONFIG_DM_VERITY is not set -# CONFIG_DM_VERITY_FEC is undefined -# CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG is undefined CONFIG_DM_ZERO=m CONFIG_DNOTIFY=y # CONFIG_DNS_RESOLVER is not set @@ -1505,23 +1499,13 @@ CONFIG_SKB_EXTENSIONS=y CONFIG_SMSC_PHY=m # CONFIG_SOFT_WATCHDOG is undefined # CONFIG_SOLARIS_X86_PARTITION is undefined -# CONFIG_SQUASHFS is not set -# CONFIG_SQUASHFS_4K_DEVBLK_SIZE is undefined -# CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT is undefined +CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT=y # CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI is undefined # CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI_PERCPU is undefined # CONFIG_SQUASHFS_COMPILE_DECOMP_SINGLE is undefined -# CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU is undefined -# CONFIG_SQUASHFS_EMBEDDED is undefined -# CONFIG_SQUASHFS_FILE_CACHE is undefined -# CONFIG_SQUASHFS_FILE_DIRECT is undefined -# CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE is undefined -# CONFIG_SQUASHFS_LZ4 is undefined -# CONFIG_SQUASHFS_LZO is undefined -# CONFIG_SQUASHFS_XATTR is undefined -# CONFIG_SQUASHFS_XZ is undefined -# CONFIG_SQUASHFS_ZLIB is undefined -# CONFIG_SQUASHFS_ZSTD is undefined +CONFIG_SQUASHFS_DECOMP_MULTI=y +CONFIG_SQUASHFS_DECOMP_SINGLE=y +CONFIG_SQUASHFS_MOUNT_DECOMP_THREADS=y # CONFIG_STAGING is not set # CONFIG_STAGING_BOARD is undefined # CONFIG_STAGING_MEDIA is undefined -- 2.39.2