[Buildroot] [PATCH v2 1/4] boot/uboot: add stm32 binary format
Bartosz Bilas
b.bilas at grinn-global.com
Sun Oct 4 11:59:46 UTC 2020
Hi Shlomi,
On 02.10.2020 16:24, Shlomi Vaknin wrote:
> 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
> +
The indents seem to be wrong and that option is not sorted alphabetically.
Anyway here is my:
Tested-by: Bartosz Bilas <b.bilas at grinn-global.com>
Best
Bartek
> 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
More information about the buildroot
mailing list