Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v4 1/6] boot/uboot: binman generates u-boot.itb
@ 2025-01-07  6:31 Neal Frager via buildroot
  2025-01-07  6:31 ` [Buildroot] [PATCH v4 2/6] boot/uboot: add qspi.bin file support Neal Frager via buildroot
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Neal Frager via buildroot @ 2025-01-07  6:31 UTC (permalink / raw)
  To: buildroot
  Cc: 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>
---
V1->V4:
 - 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 d8faef648f..fd0323bb71 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] 13+ messages in thread

end of thread, other threads:[~2025-01-07 17:28 UTC | newest]

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

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