Skip to contentSkip to conversation

boot/uboot: allow to build u-boot.itb image

PATCH New Dario Binacchi 2 participants 2 messages Dec 3, 2019 – Dec 8, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boot/uboot: allow to build u-boot.itb image

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.

---
 boot/uboot/Config.in | 3 +++
 boot/uboot/uboot.mk  | 5 +++++
 2 files changed, 8 insertions(+)
boot/uboot/Config.in +3 -0
index 68a915cdae..15cae8045a 100644
@@ -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"
 
boot/uboot/uboot.mk +5 -0
index 5e0f614024..0ebda6588c 100644
@@ -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
Signature · 1 line
2.24.0
#1 lore raw

PATCH 1/1 boot/uboot: allow to build u-boot.itb image

Quoted 9 lines · On Tue, 3 Dec 2019 22:36:22 +0100 Dario Binacchi <[email protected]> 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.

---
 boot/uboot/Config.in | 3 +++
 boot/uboot/uboot.mk  | 5 +++++
 2 files changed, 8 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com