Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v5 1/6] boot/uboot: binman generates u-boot.itb
@ 2025-01-17  8:00 Neal Frager
  2025-01-17  8:00 ` [Buildroot] [PATCH v5 2/6] boot/uboot: add qspi.bin file support Neal Frager via buildroot
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Neal Frager @ 2025-01-17  8:00 UTC (permalink / raw)
  To: buildroot
  Cc: ibai.erkiaga-elorza, luca.ceresoli, brandon.maier, ju.o,
	thomas.petazzoni, Neal Frager, romain.naour, michal.simek

When using binman to generate u-boot images, there will no longer be a make
rule for generating files produced by binman.  However, these files will still
need to be installed to the output/images directory.

One such file is the u-boot.itb.  If the u-boot.itb is generated by binman,
then the file still needs to be copied, but without the make rule.

Here is an example of how binman generates the u-boot.itb:
https://source.denx.de/u-boot/u-boot/-/commit/a4c98119109a60b9b236996f47065aa8fc0de9ca

Signed-off-by: Neal Frager <neal.frager@amd.com>
[Tested on Kria KV260 starter kit]
Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>

---
V1->V5:
 - no changes
---
 boot/uboot/uboot.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index b3094029e7..d06ee2a792 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -103,8 +103,10 @@ endif
 
 ifeq ($(BR2_TARGET_UBOOT_FORMAT_ITB),y)
 UBOOT_BINS += u-boot.itb
+ifneq ($(BR2_TARGET_UBOOT_USE_BINMAN),y)
 UBOOT_MAKE_TARGET += u-boot.itb
 endif
+endif
 
 ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMX),y)
 UBOOT_BINS += u-boot.imx
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2025-01-20 21:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-17  8:00 [Buildroot] [PATCH v5 1/6] boot/uboot: binman generates u-boot.itb Neal Frager
2025-01-17  8:00 ` [Buildroot] [PATCH v5 2/6] boot/uboot: add qspi.bin file support Neal Frager via buildroot
2025-01-17  8:00 ` [Buildroot] [PATCH v5 3/6] board/zynqmp/patches: add zynqmp binman patches Neal Frager via buildroot
2025-01-17  8:00 ` [Buildroot] [PATCH v5 4/6] configs/zynqmp_*: migrate to binman Neal Frager via buildroot
2025-01-17  8:26   ` Frager, Neal via buildroot
2025-01-20 20:59     ` Luca Ceresoli via buildroot
2025-01-17  8:00 ` [Buildroot] [PATCH v5 5/6] board/zynqmp: add new qspi.bin binary to images Neal Frager via buildroot
2025-01-20 20:59   ` Luca Ceresoli
2025-01-17  8:00 ` [Buildroot] [PATCH v5 6/6] board/zynqmp/kria: update readme.txt Neal Frager via buildroot
2025-01-20 21:02   ` Luca Ceresoli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox