From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 02 Nov 2023 13:56:20 +0100 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.94.2) (envelope-from ) id 1qyXFF-00FL9P-39 for lore@lore.pengutronix.de; Thu, 02 Nov 2023 13:56:20 +0100 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 1qyXFE-0000Jd-3s; Thu, 02 Nov 2023 13:56:20 +0100 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 1qyXF7-0000JF-LI; Thu, 02 Nov 2023 13:56:13 +0100 Received: from [2a0a:edc0:2:b01:1d::c0] (helo=ptx.whiteo.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 1qyXF7-0064jg-90; Thu, 02 Nov 2023 13:56:13 +0100 Received: from rsc by ptx.whiteo.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1qyXF7-00017y-6t; Thu, 02 Nov 2023 13:56:13 +0100 Date: Thu, 2 Nov 2023 13:56:13 +0100 From: Robert Schwebel To: Roland Hieber Message-ID: <20231102125613.GT4122768@pengutronix.de> References: <20231101121129.652030-1-rhi@pengutronix.de> <20231102095229.3096032-1-rhi@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231102095229.3096032-1-rhi@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [DistroKit] [PATCH v2] v7a: build the RAUC update bundle too 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, Bastian Krause 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 Replaced v1 with v2 in next. On Thu, Nov 02, 2023 at 10:52:30AM +0100, Roland Hieber wrote: > RAUC support for a lot of v7a platforms has been available for some time > now (see e.g. commits 559e482a643e to 8e204806f616, b869997d64ee5, > 5f00115de864), but building the RAUC bundle that is actually needed to > update the targets has somehow slipped through. Enable the image, and > put something useful in the bundle description. > > Reported-by: Bastian Krause > Signed-off-by: Roland Hieber > --- > PATCH v2: > - fix variable names > > PATCH v1: https://lore.distrokit.org/distrokit/20231101121129.652030-1-rhi@pengutronix.de > --- > configs/platform-v7a/platformconfig | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig > index 14e6903ec5a5..5516e1ae2b87 100644 > --- a/configs/platform-v7a/platformconfig > +++ b/configs/platform-v7a/platformconfig > @@ -260,7 +260,12 @@ PTXCONF_IMAGE_KERNEL_INSTALL_EARLY=y > # end of Generate images/linuximage > > PTXCONF_IMAGE_LXA_MC1=y > -# PTXCONF_IMAGE_RAUC is not set > +PTXCONF_IMAGE_RAUC=y > +PTXCONF_IMAGE_RAUC_DESCRIPTION="${PTXCONF_PROJECT_VENDOR} ${PTXCONF_PROJECT}" > +# PTXCONF_IMAGE_RAUC_BUNDLE_FORMAT_PLAIN is not set > +PTXCONF_IMAGE_RAUC_BUNDLE_FORMAT_VERITY=y > +# PTXCONF_IMAGE_RAUC_BUNDLE_FORMAT_CRYPT is not set > +# PTXCONF_IMAGE_RAUC_INTERMEDIATE is not set > PTXCONF_IMAGE_RIOTBOARD=y > PTXCONF_IMAGE_ROOT_CPIO=y > # PTXCONF_IMAGE_ROOT_CPIO_COMPRESSION_MODE_NONE is not set > @@ -316,6 +321,7 @@ PTXCONF_HOST_EXTRACT_CERT=y > PTXCONF_HOST_FLEX=y > PTXCONF_HOST_GENEXT2FS=y > PTXCONF_HOST_GENIMAGE=y > +PTXCONF_HOST_GLIB=y > PTXCONF_HOST_LIBCONFUSE=y > PTXCONF_HOST_LIBFFI=y > PTXCONF_HOST_LIBKMOD=y > @@ -330,6 +336,7 @@ PTXCONF_HOST_NINJA=y > PTXCONF_HOST_OPENSC=y > PTXCONF_HOST_OPENSSL=y > PTXCONF_HOST_P11_KIT=y > +PTXCONF_HOST_PCRE2=y > PTXCONF_HOST_PYTHON3_FLIT_CORE=y > PTXCONF_HOST_PYTHON3_INSTALLER=y > PTXCONF_HOST_PYTHON3_PACKAGING=y > @@ -337,12 +344,15 @@ PTXCONF_HOST_PYTHON3_PYBUILD=y > PTXCONF_HOST_PYTHON3_PYPROJECT_HOOKS=y > PTXCONF_HOST_PYTHON3_TOMLI=y > PTXCONF_HOST_PYTHON3_WHEEL=y > +PTXCONF_HOST_RAUC=y > PTXCONF_HOST_SOFTHSM=y > PTXCONF_HOST_SQLITE=y > +PTXCONF_HOST_SQUASHFS_TOOLS=y > PTXCONF_HOST_SYSTEM_BC=y > PTXCONF_HOST_SYSTEM_PYTHON3=y > PTXCONF_HOST_SYSTEM_PYTHON3_SETUPTOOLS=y > PTXCONF_HOST_UTIL_LINUX=y > +PTXCONF_HOST_ZLIB=y > PTXCONF_HOST_TF_A=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 |