DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [DistroKit] [PATCH 6/6] v8a: barebox: enable support for booting FIT images
Date: Tue,  2 Jan 2024 16:46:03 +0100	[thread overview]
Message-ID: <20240102154603.3678357-6-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20240102154603.3678357-1-a.fatoum@pengutronix.de>

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




      parent reply	other threads:[~2024-01-02 15:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-02 15:45 [DistroKit] [PATCH 1/6] v8a: barebox: disable RATP support Ahmad Fatoum
2024-01-02 15:45 ` [DistroKit] [PATCH 2/6] v8a: barebox: disable unnecessary commands Ahmad Fatoum
2024-01-02 15:46 ` [DistroKit] [PATCH 3/6] v8a: barebox: disable RAVE SP coprocessor support Ahmad Fatoum
2024-01-02 15:46 ` [DistroKit] [PATCH 4/6] v8a: barebox: version bump v2023.09.0 -> v2023.12.0 Ahmad Fatoum
2024-01-02 15:46 ` [DistroKit] [PATCH 5/6] v7a: update barebox to " Ahmad Fatoum
2024-01-02 21:31   ` Ahmad Fatoum
2024-01-02 15:46 ` Ahmad Fatoum [this message]

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=20240102154603.3678357-6-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=distrokit@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