From: Oleksij Rempel <o.rempel@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [DistroKit] [PATCH v1 4/9] mipsel: kernel-malta: enable SQUASHFS
Date: Fri, 16 Aug 2024 14:52:12 +0200 [thread overview]
Message-ID: <20240816125217.1900626-4-o.rempel@pengutronix.de> (raw)
In-Reply-To: <20240816125217.1900626-1-o.rempel@pengutronix.de>
squashfs and loop support is needed to mount rauc bundles.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
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
next prev parent reply other threads:[~2024-08-16 12:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-16 12:52 [DistroKit] [PATCH v1 1/9] mipsel: kernel-malta: set page size to 4k Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 2/9] mipsel: kernel-malta: enable UBIFS Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 3/9] reason: MIPS malta has pci, but distrokit no pciutils Oleksij Rempel
2024-08-16 12:52 ` Oleksij Rempel [this message]
2024-08-16 12:52 ` [DistroKit] [PATCH v1 5/9] mipsel: kernel-malta: disable BLOCK_LEGACY_AUTOLOAD Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 6/9] mipsel: barebox-malta: enable MMU Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 7/9] mipsel: barebox-malta: use MALLOC_TLSF Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 8/9] mipsel: barebox-malta: disable FS_CRAMFS Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 9/9] mipsel: barebox-malta: use CONSOLE_ACTIVATE_NONE Oleksij Rempel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240816125217.1900626-4-o.rempel@pengutronix.de \
--to=o.rempel@pengutronix.de \
--cc=distrokit@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox