From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 02 Nov 2023 10:42:48 +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 1qyUDw-00F7Yz-Kl for lore@lore.pengutronix.de; Thu, 02 Nov 2023 10:42:48 +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 1qyUDv-0000c1-Gv; Thu, 02 Nov 2023 10:42:47 +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 1qyUDs-0000bq-DM; Thu, 02 Nov 2023 10:42:44 +0100 Received: from [2a0a:edc0:2:b01:1d::c5] (helo=pty.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 1qyUDs-0062QW-15; Thu, 02 Nov 2023 10:42:44 +0100 Received: from rhi by pty.whiteo.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qyUDr-002vXL-OB; Thu, 02 Nov 2023 10:42:43 +0100 Date: Thu, 2 Nov 2023 10:42:43 +0100 From: Roland Hieber To: Bastian Krause Message-ID: <20231102094243.b36mt3kw6pojlhfk@pengutronix.de> References: <20231101121129.652030-1-rhi@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [DistroKit] [PATCH] 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 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 On Wed, Nov 01, 2023 at 04:02:14PM +0100, Bastian Krause wrote: > On 11/1/23 13:11, Roland Hieber wrote: > > RAUC support for a lot v7a platforms has been available for some time > > now (see e.g. commits 559e482a643e to 8e204806f616, b869997d64ee5, > > 5f00115de864), but building the RAUC bundle 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 > > --- > > 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..ee22eff29cbe 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="${PTXDIST_VENDOR}-${PTXDIST_PROJECT}" > > Is this correct? I don't see where these variables are defined. > > Maybe you meant "${PTXCONF_PROJECT_VENDOR}-${PTXCONF_PROJECT}"? Huh yes, that makes no sense what I wrote, and the part from where I copied it is wrong too… - Roland > Regards, > bst > > > +# 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 > > # > > -- > Pengutronix e.K. | | > Steuerwalder Str. 21 | http://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > > -- 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 |