Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v6 1/6] boot/uboot: binman generates u-boot.itb
@ 2025-01-25 22:49 Neal Frager
  2025-01-25 22:49 ` [Buildroot] [PATCH v6 2/6] boot/uboot: add qspi.bin file support Neal Frager
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Neal Frager @ 2025-01-25 22:49 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

[Tested on Kria KV260 starter kit]
Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>

Signed-off-by: Neal Frager <neal.frager@amd.com>
---
V1->V6:
 - 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 cb745413e4..efecf2ca47 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] 17+ messages in thread

end of thread, other threads:[~2025-02-04 13:33 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-25 22:49 [Buildroot] [PATCH v6 1/6] boot/uboot: binman generates u-boot.itb Neal Frager
2025-01-25 22:49 ` [Buildroot] [PATCH v6 2/6] boot/uboot: add qspi.bin file support Neal Frager
2025-02-04 13:27   ` Peter Korsgaard
2025-01-25 22:49 ` [Buildroot] [PATCH v6 3/6] board/zynqmp/patches: add zynqmp binman patches Neal Frager via buildroot
2025-02-04 13:28   ` Peter Korsgaard
2025-01-25 22:49 ` [Buildroot] [PATCH v6 4/6] configs/zynqmp_*: migrate to binman Neal Frager via buildroot
2025-01-25 22:58   ` Frager, Neal
2025-01-31 13:10   ` Luca Ceresoli via buildroot
2025-02-04 13:29   ` Peter Korsgaard
2025-01-25 22:49 ` [Buildroot] [PATCH v6 5/6] board/zynqmp: add new qspi.bin binary to images Neal Frager
2025-01-31 13:11   ` Luca Ceresoli via buildroot
2025-02-04 13:30   ` Peter Korsgaard
2025-02-04 13:33     ` Frager, Neal via buildroot
2025-01-25 22:49 ` [Buildroot] [PATCH v6 6/6] board/zynqmp/kria: update readme.txt Neal Frager via buildroot
2025-01-31 13:12   ` Luca Ceresoli via buildroot
2025-02-04 13:30   ` Peter Korsgaard
2025-02-04 13:27 ` [Buildroot] [PATCH v6 1/6] boot/uboot: binman generates u-boot.itb Peter Korsgaard

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