All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bartosz Bilas <b.bilas@grinn-global.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/4] boot/uboot: add stm32 binary format
Date: Sun, 4 Oct 2020 13:59:46 +0200	[thread overview]
Message-ID: <a059c60c-b081-7753-50b3-e6f4d5533022@grinn-global.com> (raw)
In-Reply-To: <20201002142426.1375026-1-shlomi.39sd@gmail.com>

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@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@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

      parent reply	other threads:[~2020-10-04 11:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-27  6:16 [Buildroot] [PATCH 1/1] configs/stm32mp157c_dk2_trusted_defconfig: new platform Shlomi Vaknin
2020-09-27  9:57 ` Thomas Petazzoni
2020-09-27 13:43   ` Bartosz Bilas
2020-10-02 14:24 ` [Buildroot] [PATCH v2 1/4] boot/uboot: add stm32 binary format Shlomi Vaknin
2020-10-02 14:24   ` [Buildroot] [PATCH v2 2/4] configs/stm32mp157*: use trusted configuration Shlomi Vaknin
2020-10-02 19:24     ` Bartosz Bilas
2020-10-02 14:24   ` [Buildroot] [PATCH v2 3/4] configs/stm32mp157*: bump kernel version Shlomi Vaknin
2020-10-02 19:26     ` Bartosz Bilas
     [not found]       ` <CALxJ29RWRdx3RCJW1tx7P_J7ynow=X97OWVvZSZXRTvC_2KKSg@mail.gmail.com>
2020-10-03  9:36         ` Bartosz Bilas
2020-10-02 14:24   ` [Buildroot] [PATCH v2 4/4] configs/stm32mp157c-dk2: add support for wifi Shlomi Vaknin
2020-10-02 20:13     ` Bartosz Bilas
2020-10-04 11:59   ` Bartosz Bilas [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=a059c60c-b081-7753-50b3-e6f4d5533022@grinn-global.com \
    --to=b.bilas@grinn-global.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.