From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 12 Jan 2024 18:05:40 +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.96) (envelope-from ) id 1rOKyS-00Elq3-2Q for lore@lore.pengutronix.de; Fri, 12 Jan 2024 18:05:40 +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 1rOKyS-00018l-64; Fri, 12 Jan 2024 18:05:40 +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 1rOKyJ-00011T-QO; Fri, 12 Jan 2024 18:05:31 +0100 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.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 1rOKyJ-002CLD-D2; Fri, 12 Jan 2024 18:05:31 +0100 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1rOKyJ-008GoT-12; Fri, 12 Jan 2024 18:05:31 +0100 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Fri, 12 Jan 2024 18:05:29 +0100 Message-Id: <20240112170529.1970537-6-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240112170529.1970537-1-a.fatoum@pengutronix.de> References: <20240112170529.1970537-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH v2 6/6] v8a: barebox: enable support for booting FIT images 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: Ahmad Fatoum 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 There's ongoing work to have Linux generate a FIT image with all enabled DTs[1]. Let's prepare for that by enabling FIT image support for the ARMv8 boards. [1]: https://lore.kernel.org/all/20231202035511.487946-1-sjg@chromium.org/ Signed-off-by: Ahmad Fatoum --- v1 -> v2: - no change --- configs/platform-v8a/barebox.config | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configs/platform-v8a/barebox.config b/configs/platform-v8a/barebox.config index f90264d489b3..02d314fb20bc 100644 --- a/configs/platform-v8a/barebox.config +++ b/configs/platform-v8a/barebox.config @@ -129,6 +129,7 @@ CONFIG_BLOCK_WRITE=y CONFIG_FILETYPE=y CONFIG_BINFMT=y CONFIG_UIMAGE=y +CONFIG_FITIMAGE=y CONFIG_LOGBUF=y CONFIG_STDDEV=y CONFIG_MENUTREE=y @@ -205,7 +206,8 @@ CONFIG_BOOTM_OFTREE=y CONFIG_BOOTM_OFTREE_UIMAGE=y # CONFIG_BOOTM_AIMAGE is not set # CONFIG_BOOTM_ELF is not set -# CONFIG_BOOTM_FITIMAGE is not set +CONFIG_BOOTM_FITIMAGE=y +# CONFIG_BOOTM_FITIMAGE_SIGNATURE is not set CONFIG_BLSPEC=y CONFIG_FLEXIBLE_BOOTARGS=y CONFIG_MMCBLKDEV_ROOTARG=y @@ -1081,6 +1083,8 @@ CONFIG_CRC32=y CONFIG_DIGEST=y CONFIG_HAVE_DIGEST_MD5=y CONFIG_HAVE_DIGEST_SHA1=y +CONFIG_HAVE_DIGEST_SHA224=y +CONFIG_HAVE_DIGEST_SHA256=y CONFIG_DIGEST_CRC32_GENERIC=y CONFIG_DIGEST_MD5_GENERIC=y CONFIG_DIGEST_SHA1_GENERIC=y @@ -1090,7 +1094,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y # CONFIG_DIGEST_SHA512_GENERIC is not set # CONFIG_DIGEST_HMAC_GENERIC is not set CONFIG_DIGEST_SHA1_ARM64_CE=y -# CONFIG_DIGEST_SHA256_ARM64_CE is not set +CONFIG_DIGEST_SHA256_ARM64_CE=y # CONFIG_CRYPTO_KEYSTORE is not set # end of Crypto support -- 2.39.2