From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 15 Aug 2023 10:47:31 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qVpi8-004vTr-5N for lore@lore.pengutronix.de; Tue, 15 Aug 2023 10:47:31 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qVpi6-0006o8-9y; Tue, 15 Aug 2023 10:47:30 +0200 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qVpi1-0006nu-MV; Tue, 15 Aug 2023 10:47:25 +0200 Received: from rsc by pty.hi.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qVpi1-00E2V8-79; Tue, 15 Aug 2023 10:47:25 +0200 Date: Tue, 15 Aug 2023 10:47:25 +0200 From: Robert Schwebel To: Roland Hieber Message-ID: References: <20230623124755.2292833-1-rhi@pengutronix.de> <20230623124755.2292833-10-rhi@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [DistroKit] [PATCH 09/14] v7a: kernel: enable features necessary for RAUC 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: distrokit@pengutronix.de 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.ext.pengutronix.de); SAEximRunCond expanded to false Hi, This sort of changes is necessary for all other platforms as well. Otherwhise our QA tooling ('reason') claims that we have missing prerequisites for RAUC. rsc On Mon, Aug 14, 2023 at 06:37:30PM +0200, Robert Schwebel wrote: > Applied to next. > > On Fri, Jun 23, 2023 at 02:47:50PM +0200, Roland Hieber wrote: > > Enable the following kernel features: > > > > * ARM SHA256 acceleration (CRYPTO_SHA256_ARM) > > * Device mapper support (MD, BLK_DEV_DM) > > * Verity target support (DM_VERITY), needed for the verity bundle format > > * squashfs file system (MISC_FILESYSTEMS, SQUASHFS*, XZ_DEC_*, LZ4_*), > > also having multiple compression algorithms enabled for squashfs makes > > it easy to change the compression of the RAUC bundle in the future > > * Network block device support (BLK_DEV_NBD), needed for HTTPS streaming > > > > Signed-off-by: Roland Hieber > > --- > > configs/platform-v7a/kernelconfig | 70 ++++++++++++++++++++++++++++--- > > 1 file changed, 65 insertions(+), 5 deletions(-) > > > > diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig > > index 1141b92d0346..5ff83d77fffe 100644 > > --- a/configs/platform-v7a/kernelconfig > > +++ b/configs/platform-v7a/kernelconfig > > @@ -794,6 +794,8 @@ CONFIG_EFI_PARTITION=y > > > > CONFIG_BLK_MQ_VIRTIO=y > > CONFIG_BLK_PM=y > > +CONFIG_BLOCK_HOLDER_DEPRECATED=y > > +CONFIG_BLK_MQ_STACKING=y > > > > # > > # IO Schedulers > > @@ -1401,7 +1403,7 @@ CONFIG_BLK_DEV=y > > CONFIG_BLK_DEV_LOOP=y > > CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 > > # CONFIG_BLK_DEV_DRBD is not set > > -# CONFIG_BLK_DEV_NBD is not set > > +CONFIG_BLK_DEV_NBD=y > > # CONFIG_BLK_DEV_RAM is not set > > # CONFIG_ATA_OVER_ETH is not set > > # CONFIG_VIRTIO_BLK is not set > > @@ -1477,7 +1479,37 @@ CONFIG_SCSI_MOD=y > > # end of SCSI device support > > > > # CONFIG_ATA is not set > > -# CONFIG_MD is not set > > +CONFIG_MD=y > > +# CONFIG_BLK_DEV_MD is not set > > +# CONFIG_BCACHE is not set > > +CONFIG_BLK_DEV_DM_BUILTIN=y > > +CONFIG_BLK_DEV_DM=y > > +# CONFIG_DM_DEBUG is not set > > +CONFIG_DM_BUFIO=y > > +# CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING is not set > > +# CONFIG_DM_UNSTRIPED is not set > > +# CONFIG_DM_CRYPT is not set > > +# CONFIG_DM_SNAPSHOT is not set > > +# CONFIG_DM_THIN_PROVISIONING is not set > > +# CONFIG_DM_CACHE is not set > > +# CONFIG_DM_WRITECACHE is not set > > +# CONFIG_DM_ERA is not set > > +# CONFIG_DM_CLONE is not set > > +# CONFIG_DM_MIRROR is not set > > +# CONFIG_DM_RAID is not set > > +# CONFIG_DM_ZERO is not set > > +# CONFIG_DM_MULTIPATH 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=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 > > # CONFIG_TARGET_CORE is not set > > CONFIG_NETDEVICES=y > > CONFIG_MII=y > > @@ -3595,7 +3627,24 @@ CONFIG_UBIFS_FS_XATTR=y > > # CONFIG_UBIFS_FS_SECURITY is not set > > # 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_MULTI=y > > +# CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT is not set > > +# CONFIG_SQUASHFS_COMPILE_DECOMP_SINGLE is not set > > +CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI=y > > +# CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI_PERCPU is not set > > +# CONFIG_SQUASHFS_MOUNT_DECOMP_THREADS is not set > > +# CONFIG_SQUASHFS_XATTR is not set > > +CONFIG_SQUASHFS_ZLIB=y > > +CONFIG_SQUASHFS_LZ4=y > > +# CONFIG_SQUASHFS_LZO is not set > > +CONFIG_SQUASHFS_XZ=y > > +CONFIG_SQUASHFS_ZSTD=y > > +CONFIG_SQUASHFS_4K_DEVBLK_SIZE=y > > +# 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 > > @@ -3904,7 +3953,7 @@ CONFIG_CRYPTO_BLAKE2S_ARM=y > > # CONFIG_CRYPTO_SHA1_ARM_NEON is not set > > # CONFIG_CRYPTO_SHA1_ARM_CE is not set > > # CONFIG_CRYPTO_SHA2_ARM_CE is not set > > -# CONFIG_CRYPTO_SHA256_ARM is not set > > +CONFIG_CRYPTO_SHA256_ARM=y > > # CONFIG_CRYPTO_SHA512_ARM is not set > > CONFIG_CRYPTO_AES_ARM=y > > CONFIG_CRYPTO_AES_ARM_BS=y > > @@ -4006,10 +4055,21 @@ CONFIG_CRC32_SLICEBY8=y > > # CONFIG_CRC8 is not set > > CONFIG_XXHASH=y > > # CONFIG_RANDOM32_SELFTEST is not set > > +CONFIG_ZLIB_INFLATE=y > > +CONFIG_LZ4_DECOMPRESS=y > > CONFIG_ZSTD_COMMON=y > > CONFIG_ZSTD_COMPRESS=y > > CONFIG_ZSTD_DECOMPRESS=y > > -# CONFIG_XZ_DEC is not set > > +CONFIG_XZ_DEC=y > > +# CONFIG_XZ_DEC_X86 is not set > > +# CONFIG_XZ_DEC_POWERPC is not set > > +# CONFIG_XZ_DEC_IA64 is not set > > +CONFIG_XZ_DEC_ARM=y > > +# CONFIG_XZ_DEC_ARMTHUMB is not set > > +# CONFIG_XZ_DEC_SPARC is not set > > +# CONFIG_XZ_DEC_MICROLZMA is not set > > +CONFIG_XZ_DEC_BCJ=y > > +# CONFIG_XZ_DEC_TEST is not set > > CONFIG_GENERIC_ALLOCATOR=y > > CONFIG_ASSOCIATIVE_ARRAY=y > > CONFIG_HAS_IOMEM=y > > -- > > 2.39.2 > > > > > > > > -- > Pengutronix e.K. | Dipl.-Ing. Robert Schwebel | > Steuerwalder Str. 21 | https://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 | > > -- Pengutronix e.K. | Dipl.-Ing. Robert Schwebel | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |