From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 13 Feb 2023 08:42:24 +0100 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 1pRTTm-005zYc-4m for lore@lore.pengutronix.de; Mon, 13 Feb 2023 08:42:24 +0100 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 1pRTTj-0000LF-A9; Mon, 13 Feb 2023 08:42:23 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pRTTh-0000L1-D1; Mon, 13 Feb 2023 08:42:21 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pRTTf-004bXG-Ib; Mon, 13 Feb 2023 08:42:20 +0100 Received: from localhost ([127.0.0.1]) by ptz.office.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pRTTf-0036AR-Mg; Mon, 13 Feb 2023 08:42:19 +0100 Message-ID: <64f32276b6335ee9693e90fb8ca8a914b0afe1db.camel@pengutronix.de> From: Jan =?ISO-8859-1?Q?L=FCbbe?= To: Roland Hieber , distrokit@pengutronix.de Date: Mon, 13 Feb 2023 08:42:19 +0100 In-Reply-To: <20230212221449.1644628-9-rhi@pengutronix.de> References: <20230212221449.1644628-1-rhi@pengutronix.de> <20230212221449.1644628-9-rhi@pengutronix.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.3 (by Flathub.org) MIME-Version: 1.0 Subject: Re: [DistroKit] [PATCH 8/8] v7a: enable RAUC bundle creation 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: , 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 On Sun, 2023-02-12 at 23:14 +0100, Roland Hieber wrote: > Signed-off-by: Roland Hieber > --- > configs/platform-v7a/platformconfig | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) >=20 > diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/p= latformconfig > index 5bd6cebcbf9c..ec430ff1e5e5 100644 > --- a/configs/platform-v7a/platformconfig > +++ b/configs/platform-v7a/platformconfig > @@ -269,7 +269,12 @@ PTXCONF_IMAGE_KERNEL_INSTALL_EARLY=3Dy > # end of Generate images/linuximage =20 > =20 > PTXCONF_IMAGE_LXA_MC1=3Dy > -# PTXCONF_IMAGE_RAUC is not set > +PTXCONF_IMAGE_RAUC=3Dy > +PTXCONF_IMAGE_RAUC_DESCRIPTION=3D"DistroKit" > +# PTXCONF_IMAGE_RAUC_BUNDLE_FORMAT_PLAIN is not set > +PTXCONF_IMAGE_RAUC_BUNDLE_FORMAT_VERITY=3Dy > +# PTXCONF_IMAGE_RAUC_BUNDLE_FORMAT_CRYPT is not set Does this use ext4 or tar? If ext4, you should enable adaptive updates: https://rauc.readthedocs.io/en/latest/advanced.html#adaptive-updates You only need to set adaptive=3Dblock-hash-index in the [image.*] section o= f the manifest. Depending on how your ext4 is configured, you may need to align t= he size to 4KiB. > +# PTXCONF_IMAGE_RAUC_INTERMEDIATE is not set > PTXCONF_IMAGE_RIOTBOARD=3Dy > # PTXCONF_IMAGE_ROOT_CPIO is not set > PTXCONF_IMAGE_ROOT_EXT=3Dy > @@ -316,6 +321,7 @@ PTXCONF_HOST_EXTRACT_CERT=3Dy > PTXCONF_HOST_FLEX=3Dy > PTXCONF_HOST_GENEXT2FS=3Dy > PTXCONF_HOST_GENIMAGE=3Dy > +PTXCONF_HOST_GLIB=3Dy > PTXCONF_HOST_LIBCONFUSE=3Dy > PTXCONF_HOST_LIBFFI=3Dy > PTXCONF_HOST_LIBKMOD=3Dy > @@ -330,12 +336,16 @@ PTXCONF_HOST_NINJA=3Dy > PTXCONF_HOST_OPENSC=3Dy > PTXCONF_HOST_OPENSSL=3Dy > PTXCONF_HOST_P11_KIT=3Dy > +PTXCONF_HOST_PCRE2=3Dy > +PTXCONF_HOST_RAUC=3Dy > PTXCONF_HOST_SOFTHSM=3Dy > PTXCONF_HOST_SQLITE=3Dy > +PTXCONF_HOST_SQUASHFS_TOOLS=3Dy > PTXCONF_HOST_SYSTEM_BC=3Dy > PTXCONF_HOST_SYSTEM_PYTHON3=3Dy > PTXCONF_HOST_SYSTEM_PYTHON3_SETUPTOOLS=3Dy > PTXCONF_HOST_UTIL_LINUX=3Dy > +PTXCONF_HOST_ZLIB=3Dy > PTXCONF_HOST_TF_A=3Dy > =20 > # --=20 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 |