[Buildroot] [PATCH v2 1/4] boot/uboot: add stm32 binary format

Shlomi Vaknin shlomi.39sd at gmail.com
Fri Oct 2 14:24:23 UTC 2020


Add `.stm32` binary format that uboot generates for the trusted configuration.

Signed-off-by: Shlomi Vaknin <shlomi.39sd at gmail.com>
---
 boot/uboot/Config.in | 4 ++++
 boot/uboot/uboot.mk  | 5 +++++
 2 files changed, 9 insertions(+)

diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in
index a87a642581..d317624fb6 100644
--- a/boot/uboot/Config.in
+++ b/boot/uboot/Config.in
@@ -267,6 +267,10 @@ config BR2_TARGET_UBOOT_FORMAT_KWB
 	bool "u-boot.kwb (Marvell)"
 	depends on BR2_arm
 
+config BR2_TARGET_UBOOT_FORMAT_STM32
+        bool "u-boot.stm32"
+        depends on BR2_arm
+
 config BR2_TARGET_UBOOT_FORMAT_ELF
 	bool "u-boot.elf"
 
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 1831466780..080e6beb08 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -62,6 +62,11 @@ UBOOT_BINS += u-boot.kwb
 UBOOT_MAKE_TARGET += u-boot.kwb
 endif
 
+ifeq ($(BR2_TARGET_UBOOT_FORMAT_STM32),y)
+UBOOT_BINS += u-boot.stm32
+UBOOT_MAKE_TARGET += u-boot.stm32
+endif
+
 ifeq ($(BR2_TARGET_UBOOT_FORMAT_AIS),y)
 UBOOT_BINS += u-boot.ais
 UBOOT_MAKE_TARGET += u-boot.ais
-- 
2.25.1




More information about the buildroot mailing list