All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] boot/uboot: allow to build u-boot.itb image
@ 2019-12-03 21:36 Dario Binacchi
  2019-12-08 21:22 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Dario Binacchi @ 2019-12-03 21:36 UTC (permalink / raw)
  To: buildroot

It allows you to add the u-boot.itb to the list of U-Boot images that
can be created.
Like the others, this one is also copied to the image folder.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
---
 boot/uboot/Config.in | 3 +++
 boot/uboot/uboot.mk  | 5 +++++
 2 files changed, 8 insertions(+)

diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in
index 68a915cdae..15cae8045a 100644
--- a/boot/uboot/Config.in
+++ b/boot/uboot/Config.in
@@ -225,6 +225,9 @@ config BR2_TARGET_UBOOT_FORMAT_DTB_IMX
 config BR2_TARGET_UBOOT_FORMAT_IMG
 	bool "u-boot.img"
 
+config BR2_TARGET_UBOOT_FORMAT_ITB
+	bool "u-boot.itb"
+
 config BR2_TARGET_UBOOT_FORMAT_IMX
 	bool "u-boot.imx"
 
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 5e0f614024..0ebda6588c 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -85,6 +85,11 @@ UBOOT_BINS += u-boot.img
 UBOOT_MAKE_TARGET += u-boot.img
 endif
 
+ifeq ($(BR2_TARGET_UBOOT_FORMAT_ITB),y)
+UBOOT_BINS += u-boot.itb
+UBOOT_MAKE_TARGET += u-boot.itb
+endif
+
 ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMX),y)
 UBOOT_BINS += u-boot.imx
 UBOOT_MAKE_TARGET += u-boot.imx
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] boot/uboot: allow to build u-boot.itb image
  2019-12-03 21:36 [Buildroot] [PATCH 1/1] boot/uboot: allow to build u-boot.itb image Dario Binacchi
@ 2019-12-08 21:22 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-12-08 21:22 UTC (permalink / raw)
  To: buildroot

On Tue,  3 Dec 2019 22:36:22 +0100
Dario Binacchi <dariobin@libero.it> wrote:

> It allows you to add the u-boot.itb to the list of U-Boot images that
> can be created.
> Like the others, this one is also copied to the image folder.
> 
> Signed-off-by: Dario Binacchi <dariobin@libero.it>
> ---
>  boot/uboot/Config.in | 3 +++
>  boot/uboot/uboot.mk  | 5 +++++
>  2 files changed, 8 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-08 21:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-03 21:36 [Buildroot] [PATCH 1/1] boot/uboot: allow to build u-boot.itb image Dario Binacchi
2019-12-08 21:22 ` Thomas Petazzoni

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.