From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 06 Mar 2024 10:25: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 1rhnWu-00AkfB-0m for lore@lore.pengutronix.de; Wed, 06 Mar 2024 10:25: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 1rhnWt-0003gD-Nv; Wed, 06 Mar 2024 10:25:39 +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 1rhnWp-0003aJ-DM; Wed, 06 Mar 2024 10:25:35 +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 1rhnWp-004iYY-0m; Wed, 06 Mar 2024 10:25:35 +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 1rhnWo-0065XD-1K; Wed, 06 Mar 2024 10:25:34 +0100 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Wed, 6 Mar 2024 10:25:30 +0100 Message-Id: <20240306092530.1448784-4-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240306092530.1448784-1-a.fatoum@pengutronix.de> References: <20240306092530.1448784-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH v2 3/3] platform: v7a: barebox: Enable FIT image support 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: Alexander Dahl , Ahmad Fatoum , Roland Hieber 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 From: Alexander Dahl Already enabled for v8a. Tested on Beaglebone Black and RIoTboard. Signed-off-by: Alexander Dahl Signed-off-by: Ahmad Fatoum --- v1 -> v2: - no changes --- configs/platform-v7a/barebox-am335x.config | 8 ++++++-- configs/platform-v7a/barebox-am335x.config.diff | 2 +- configs/platform-v7a/barebox-at91.config | 8 ++++++-- configs/platform-v7a/barebox-at91.config.diff | 2 +- configs/platform-v7a/barebox-mx6.config | 8 ++++++-- configs/platform-v7a/barebox-mx6.config.diff | 2 +- configs/platform-v7a/barebox-rpi2.config | 8 ++++++-- configs/platform-v7a/barebox-rpi2.config.diff | 2 +- configs/platform-v7a/barebox-stm32mp.config | 8 ++++++-- configs/platform-v7a/barebox-stm32mp.config.diff | 2 +- configs/platform-v7a/barebox-vexpress.config | 8 ++++++-- configs/platform-v7a/barebox-vexpress.config.diff | 2 +- configs/platform-v7a/barebox.config | 8 ++++++-- 13 files changed, 48 insertions(+), 20 deletions(-) diff --git a/configs/platform-v7a/barebox-am335x.config b/configs/platform-v7a/barebox-am335x.config index fbcdc25e2f16..c1ed4742a879 100644 --- a/configs/platform-v7a/barebox-am335x.config +++ b/configs/platform-v7a/barebox-am335x.config @@ -101,6 +101,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 @@ -179,7 +180,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 @@ -987,6 +989,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_HAVE_DIGEST_HMAC=y # CONFIG_DIGEST_CRC32_GENERIC is not set CONFIG_DIGEST_MD5_GENERIC=y @@ -997,7 +1001,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y # CONFIG_DIGEST_SHA512_GENERIC is not set CONFIG_DIGEST_HMAC_GENERIC=y # CONFIG_DIGEST_SHA1_ARM is not set -# CONFIG_DIGEST_SHA256_ARM is not set +CONFIG_DIGEST_SHA256_ARM=y CONFIG_CRYPTO_KEYSTORE=y # end of Crypto support diff --git a/configs/platform-v7a/barebox-am335x.config.diff b/configs/platform-v7a/barebox-am335x.config.diff index c0c929c239a3..08263f1550e4 100644 --- a/configs/platform-v7a/barebox-am335x.config.diff +++ b/configs/platform-v7a/barebox-am335x.config.diff @@ -1,4 +1,4 @@ -60c98fdd624cc491e6ab694be209074e +d3e92d2ec90d9be624961ebc5d6342c0 # CONFIG_AM33XX_NET_BOOT is not set CONFIG_ARCH_AM33XX=y # CONFIG_ARCH_BCM283X is not set diff --git a/configs/platform-v7a/barebox-at91.config b/configs/platform-v7a/barebox-at91.config index a8bef5382f57..e72af942d5e1 100644 --- a/configs/platform-v7a/barebox-at91.config +++ b/configs/platform-v7a/barebox-at91.config @@ -109,6 +109,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 @@ -187,7 +188,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 @@ -994,6 +996,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 is not set CONFIG_DIGEST_MD5_GENERIC=y CONFIG_DIGEST_SHA1_GENERIC=y @@ -1003,7 +1007,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y # CONFIG_DIGEST_SHA512_GENERIC is not set # CONFIG_DIGEST_HMAC_GENERIC is not set # CONFIG_DIGEST_SHA1_ARM is not set -# CONFIG_DIGEST_SHA256_ARM is not set +CONFIG_DIGEST_SHA256_ARM=y # CONFIG_CRYPTO_KEYSTORE is not set # end of Crypto support diff --git a/configs/platform-v7a/barebox-at91.config.diff b/configs/platform-v7a/barebox-at91.config.diff index 34e71cbee6ee..b79f60e95cd2 100644 --- a/configs/platform-v7a/barebox-at91.config.diff +++ b/configs/platform-v7a/barebox-at91.config.diff @@ -1,4 +1,4 @@ -60c98fdd624cc491e6ab694be209074e +d3e92d2ec90d9be624961ebc5d6342c0 CONFIG_ARCH_AT91=y # CONFIG_ARCH_BCM283X is not set # CONFIG_ARCH_IMX is undefined diff --git a/configs/platform-v7a/barebox-mx6.config b/configs/platform-v7a/barebox-mx6.config index 5e2d64903720..42d90a59ee41 100644 --- a/configs/platform-v7a/barebox-mx6.config +++ b/configs/platform-v7a/barebox-mx6.config @@ -192,6 +192,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 @@ -271,7 +272,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 @@ -1174,6 +1176,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_HAVE_DIGEST_HMAC=y # CONFIG_DIGEST_CRC32_GENERIC is not set CONFIG_DIGEST_MD5_GENERIC=y @@ -1184,7 +1188,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y # CONFIG_DIGEST_SHA512_GENERIC is not set CONFIG_DIGEST_HMAC_GENERIC=y # CONFIG_DIGEST_SHA1_ARM is not set -# CONFIG_DIGEST_SHA256_ARM is not set +CONFIG_DIGEST_SHA256_ARM=y CONFIG_CRYPTO_KEYSTORE=y # end of Crypto support diff --git a/configs/platform-v7a/barebox-mx6.config.diff b/configs/platform-v7a/barebox-mx6.config.diff index dd4df80b7ade..80ca60d3c9f6 100644 --- a/configs/platform-v7a/barebox-mx6.config.diff +++ b/configs/platform-v7a/barebox-mx6.config.diff @@ -1,4 +1,4 @@ -60c98fdd624cc491e6ab694be209074e +d3e92d2ec90d9be624961ebc5d6342c0 # CONFIG_ARCH_BCM283X is not set CONFIG_ARCH_HAS_FEC_IMX=y CONFIG_ARCH_HAS_IMX_GPT=y diff --git a/configs/platform-v7a/barebox-rpi2.config b/configs/platform-v7a/barebox-rpi2.config index 43e5ba62ff0d..6ed303661e5e 100644 --- a/configs/platform-v7a/barebox-rpi2.config +++ b/configs/platform-v7a/barebox-rpi2.config @@ -94,6 +94,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 @@ -172,7 +173,8 @@ CONFIG_BOOTM_OFTREE=y # CONFIG_BOOTM_OFTREE_UIMAGE is not set # 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 @@ -968,6 +970,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 is not set CONFIG_DIGEST_MD5_GENERIC=y CONFIG_DIGEST_SHA1_GENERIC=y @@ -977,7 +981,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y # CONFIG_DIGEST_SHA512_GENERIC is not set # CONFIG_DIGEST_HMAC_GENERIC is not set # CONFIG_DIGEST_SHA1_ARM is not set -# CONFIG_DIGEST_SHA256_ARM is not set +CONFIG_DIGEST_SHA256_ARM=y # CONFIG_CRYPTO_KEYSTORE is not set # end of Crypto support diff --git a/configs/platform-v7a/barebox-rpi2.config.diff b/configs/platform-v7a/barebox-rpi2.config.diff index 692f645fd4c9..9b287d415fd5 100644 --- a/configs/platform-v7a/barebox-rpi2.config.diff +++ b/configs/platform-v7a/barebox-rpi2.config.diff @@ -1,4 +1,4 @@ -60c98fdd624cc491e6ab694be209074e +d3e92d2ec90d9be624961ebc5d6342c0 CONFIG_ARM_ASM_UNIFIED=y # CONFIG_CMD_NVMEM is not set CONFIG_DRIVER_NET_BCMGENET=y diff --git a/configs/platform-v7a/barebox-stm32mp.config b/configs/platform-v7a/barebox-stm32mp.config index 539f0a9dcd08..69fd19862896 100644 --- a/configs/platform-v7a/barebox-stm32mp.config +++ b/configs/platform-v7a/barebox-stm32mp.config @@ -91,6 +91,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 @@ -168,7 +169,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 is not set @@ -941,6 +943,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 is not set CONFIG_DIGEST_MD5_GENERIC=y CONFIG_DIGEST_SHA1_GENERIC=y @@ -950,7 +954,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y # CONFIG_DIGEST_SHA512_GENERIC is not set # CONFIG_DIGEST_HMAC_GENERIC is not set # CONFIG_DIGEST_SHA1_ARM is not set -# CONFIG_DIGEST_SHA256_ARM is not set +CONFIG_DIGEST_SHA256_ARM=y # CONFIG_CRYPTO_KEYSTORE is not set # end of Crypto support diff --git a/configs/platform-v7a/barebox-stm32mp.config.diff b/configs/platform-v7a/barebox-stm32mp.config.diff index f5b6775cee10..3536924668d3 100644 --- a/configs/platform-v7a/barebox-stm32mp.config.diff +++ b/configs/platform-v7a/barebox-stm32mp.config.diff @@ -1,4 +1,4 @@ -60c98fdd624cc491e6ab694be209074e +d3e92d2ec90d9be624961ebc5d6342c0 # CONFIG_ARCH_BCM283X is not set CONFIG_ARCH_HAS_RESET_CONTROLLER=y CONFIG_ARCH_NR_GPIO=416 diff --git a/configs/platform-v7a/barebox-vexpress.config b/configs/platform-v7a/barebox-vexpress.config index 4fde5e020bc7..06b9ee62b7ef 100644 --- a/configs/platform-v7a/barebox-vexpress.config +++ b/configs/platform-v7a/barebox-vexpress.config @@ -78,6 +78,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 @@ -155,7 +156,8 @@ CONFIG_BOOTM_OFTREE=y # CONFIG_BOOTM_OFTREE_UIMAGE is not set # 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 @@ -908,6 +910,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 is not set CONFIG_DIGEST_MD5_GENERIC=y CONFIG_DIGEST_SHA1_GENERIC=y @@ -917,7 +921,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y # CONFIG_DIGEST_SHA512_GENERIC is not set # CONFIG_DIGEST_HMAC_GENERIC is not set # CONFIG_DIGEST_SHA1_ARM is not set -# CONFIG_DIGEST_SHA256_ARM is not set +CONFIG_DIGEST_SHA256_ARM=y # CONFIG_CRYPTO_KEYSTORE is not set # end of Crypto support diff --git a/configs/platform-v7a/barebox-vexpress.config.diff b/configs/platform-v7a/barebox-vexpress.config.diff index 2d9168e02dbc..9ed9b5a6e4d3 100644 --- a/configs/platform-v7a/barebox-vexpress.config.diff +++ b/configs/platform-v7a/barebox-vexpress.config.diff @@ -1,4 +1,4 @@ -60c98fdd624cc491e6ab694be209074e +d3e92d2ec90d9be624961ebc5d6342c0 CONFIG_AMBA_SP804=y # CONFIG_ARCH_BCM283X is not set CONFIG_ARCH_VEXPRESS=y diff --git a/configs/platform-v7a/barebox.config b/configs/platform-v7a/barebox.config index 375aa9ab3915..a4ee3a1c619a 100644 --- a/configs/platform-v7a/barebox.config +++ b/configs/platform-v7a/barebox.config @@ -93,6 +93,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 @@ -171,7 +172,8 @@ CONFIG_BOOTM_OFTREE=y # CONFIG_BOOTM_OFTREE_UIMAGE is not set # 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 @@ -959,6 +961,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 is not set CONFIG_DIGEST_MD5_GENERIC=y CONFIG_DIGEST_SHA1_GENERIC=y @@ -968,7 +972,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y # CONFIG_DIGEST_SHA512_GENERIC is not set # CONFIG_DIGEST_HMAC_GENERIC is not set # CONFIG_DIGEST_SHA1_ARM is not set -# CONFIG_DIGEST_SHA256_ARM is not set +CONFIG_DIGEST_SHA256_ARM=y # CONFIG_CRYPTO_KEYSTORE is not set # end of Crypto support -- 2.39.2