From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 15 Feb 2024 16:05:46 +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 1radJ4-007Z9j-1z for lore@lore.pengutronix.de; Thu, 15 Feb 2024 16:05:46 +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 1radJ4-0006SI-2L; Thu, 15 Feb 2024 16:05:46 +0100 Received: from mail.thorsis.com ([92.198.35.195]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1radIt-0006Q7-I2 for distrokit@pengutronix.de; Thu, 15 Feb 2024 16:05:38 +0100 From: Alexander Dahl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thorsis.com; s=default; t=1708009535; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SaGSPyPpq2qwHkGejzoFIeIqbXuCRZ3Bm/FNlgTdLsM=; b=CnKOWQgwY6y1sQUdSlUntTe7A3/Z+jvV68T3IyFh7X2B5PlyiyQBAoQEbJt/dLvuj2N7X8 Yz3RQntYThnmajIWYByaxee2LFH3DtetF+Mpe+x0wQmO8Bjw7bPCeHJKLaNr/Z0vvixhIz awr7IkCSLnIV7GAwze6RfWb+W24Tm8kLT0a1VwgSInND7Hzq38zy2JUqXHavc8J0pbJZYZ hWec/wVcyEXEAWupXcZvskGnOzpKvK6KHW9JWvCYBhq9X/0ZfNR/uHKn/nxusP/1CDoSik paB3tQBH2ngSahYlp5E5ErEyXoSJAKfbF1lkr00wdoYGpyVeg2PP0EuNwQMrow== To: distrokit@pengutronix.de Date: Thu, 15 Feb 2024 16:05:32 +0100 Message-Id: <20240215150532.2702910-4-ada@thorsis.com> In-Reply-To: <20240215150532.2702910-1-ada@thorsis.com> References: <20240215150532.2702910-1-ada@thorsis.com> Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Subject: [DistroKit] [PATCH 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: , 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 Already enabled for v8a. Tested on Beaglebone Black and RIoTboard. Signed-off-by: Alexander Dahl --- 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 fbcdc25..c1ed474 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 c0c929c..08263f1 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 a8bef53..e72af94 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 34e71cb..b79f60e 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 5e2d649..42d90a5 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 dd4df80..80ca60d 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 43e5ba6..6ed3036 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 692f645..9b287d4 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 539f0a9..69fd198 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 f5b6775..3536924 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 4fde5e0..06b9ee6 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 2d9168e..9ed9b5a 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 375aa9a..a4ee3a1 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