DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: Robert Schwebel <r.schwebel@pengutronix.de>
Cc: distrokit@pengutronix.de
Subject: Re: [DistroKit] [PATCH 09/14] v7a: kernel: enable features necessary for RAUC
Date: Fri, 25 Aug 2023 13:06:38 +0200	[thread overview]
Message-ID: <20230825110638.lnx4nbxsp5mbivmj@pengutronix.de> (raw)
In-Reply-To: <ZNs7nbe+PakF9+N9@pengutronix.de>

On Tue, Aug 15, 2023 at 10:47:25AM +0200, Robert Schwebel wrote:
> 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.

Workarounded in PATCH v5.

 - Roland

> 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 <rhi@pengutronix.de>
> > > ---
> > >  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    |
> 
> 

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |



  reply	other threads:[~2023-08-25 11:06 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-23 12:47 [DistroKit] [PATCH 00/14] v7a: add redundant update support via RAUC Roland Hieber
2023-06-23 12:47 ` [DistroKit] [PATCH 01/14] platforms: revert to default systemd loglevel Roland Hieber
2023-08-14 15:39   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 02/14] ptxconfig: enable more tools for debugging Roland Hieber
2023-08-14 16:03   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 03/14] rauc-udev: add a compatibility layer for mapping partitions Roland Hieber
2023-08-14 16:36   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 04/14] v7a: barebox: include generic bootstate node in device tree Roland Hieber
2023-08-14 16:36   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 05/14] v7a: add RAUC support for qemu-vexpress Roland Hieber
2023-08-14 16:36   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 06/14] v7a: add RAUC support for beaglebone black Roland Hieber
2023-08-14 16:36   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 07/14] v7a: add RAUC support for rpi3 Roland Hieber
2023-08-14 16:37   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 08/14] v7a: add RAUC support for riotboard Roland Hieber
2023-08-14 16:37   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 09/14] v7a: kernel: enable features necessary for RAUC Roland Hieber
2023-08-14 16:37   ` Robert Schwebel
2023-08-15  8:47     ` Robert Schwebel
2023-08-25 11:06       ` Roland Hieber [this message]
2023-06-23 12:47 ` [DistroKit] [PATCH 10/14] rauc: add initial support Roland Hieber
2023-08-14 16:37   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 11/14] v7a: enable RAUC bundle creation Roland Hieber
2023-08-14 16:37   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 12/14] image-rauc: fork config from PTXdist 2023.04.0 Roland Hieber
2023-08-14 16:38   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 13/14] image-rauc: use ext4 rootfs instead of tar.gz Roland Hieber
2023-08-14 16:38   ` Robert Schwebel
2023-08-15  8:14     ` Robert Schwebel
2023-08-15  8:18       ` Robert Schwebel
2023-08-25 11:04         ` Roland Hieber
2023-06-23 12:47 ` [DistroKit] [PATCH 14/14] v7a: run: start with barebox by default Roland Hieber
2023-08-14 16:38   ` Robert Schwebel
2023-06-23 12:49 ` [DistroKit] [PATCH v4 00/14] v7a: add redundant update support via RAUC Roland Hieber

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=20230825110638.lnx4nbxsp5mbivmj@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=r.schwebel@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