Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v4 1/4] boot/xilinx-prebuilt: add support for plmfw.elf filename
@ 2025-09-04 21:12 Neal Frager via buildroot
  2025-09-04 21:12 ` [Buildroot] [PATCH v4 2/4] boot/xilinx-prebuilt: add hash for xilinx_v2025.1_update1 tag Neal Frager via buildroot
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Neal Frager via buildroot @ 2025-09-04 21:12 UTC (permalink / raw)
  To: buildroot
  Cc: ibai.erkiaga-elorza, luca.ceresoli, yann.morin, brandon.maier,
	ju.o, Neal Frager, thomas.petazzoni, romain.naour, michal.simek,
	romain.naour

AMD / Xilinx has made the decision to change the name of plm.elf to plmfw.elf
in the prebuilt binaries repo starting with the next update.

This patch updates the xilinx-prebuilt package to support either the old
plm.elf filename or the new plmfw.elf filename.

Signed-off-by: Neal Frager <neal.frager@amd.com>
---
V1->V2:
- no changes
V2->V3:
- removed unnecessary comment about Ubuntu and Yocto from commit message
V3->V4:
- no changes
---
 boot/xilinx-prebuilt/xilinx-prebuilt.mk | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/boot/xilinx-prebuilt/xilinx-prebuilt.mk b/boot/xilinx-prebuilt/xilinx-prebuilt.mk
index 62b60b88fa..5d984c4f82 100644
--- a/boot/xilinx-prebuilt/xilinx-prebuilt.mk
+++ b/boot/xilinx-prebuilt/xilinx-prebuilt.mk
@@ -28,7 +28,8 @@ XILINX_PREBUILT_BOARD_DIR = $(@D)/$(XILINX_PREBUILT_BOARD)-$(XILINX_PREBUILT_FAM
 
 ifeq ($(BR2_TARGET_XILINX_PREBUILT_VERSAL),y)
 ifeq ($(BR2_TARGET_XILINX_PREBUILT_VERSAL_XSA),y)
-XILINX_PREBUILT_PLM = $(@D)/pdi_files/gen_files/plm.elf
+# Supports either plm.elf or plmfw.elf filenames
+XILINX_PREBUILT_PLM = $(@D)/pdi_files/gen_files/plm*.elf
 # Unlike the psmfw.elf file for Xilinx development boards,
 # AMD Vivado Design Suite currently generates a file named psm_fw.elf.
 # Future versions of AMD Vivado will generate a file named psmfw.elf,
@@ -60,7 +61,8 @@ define XILINX_PREBUILT_INSTALL_VERSAL_XSA_PLD_PDI
 endef
 endif # BR2_TARGET_XILINX_PREBUILT_VERSAL_PLD_PDI
 else # BR2_TARGET_XILINX_PREBUILT_VERSAL_XSA
-XILINX_PREBUILT_PLM = $(XILINX_PREBUILT_BOARD_DIR)/plm.elf
+# Supports either plm.elf or plmfw.elf filenames
+XILINX_PREBUILT_PLM = $(XILINX_PREBUILT_BOARD_DIR)/plm*.elf
 XILINX_PREBUILT_PSMFW = $(XILINX_PREBUILT_BOARD_DIR)/psmfw.elf
 # We need the *.pdi glob, because the file has different names for the
 # different boards, and it has to be named boot.pdi when installed.
-- 
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-09-26 17:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-04 21:12 [Buildroot] [PATCH v4 1/4] boot/xilinx-prebuilt: add support for plmfw.elf filename Neal Frager via buildroot
2025-09-04 21:12 ` [Buildroot] [PATCH v4 2/4] boot/xilinx-prebuilt: add hash for xilinx_v2025.1_update1 tag Neal Frager via buildroot
2025-09-10  7:47   ` Luca Ceresoli via buildroot
2025-09-04 21:12 ` [Buildroot] [PATCH v4 3/4] configs/versal_vek280: bump xilinx-prebuilt to xilinx_v2025.1_update1 Neal Frager via buildroot
2025-09-10  7:48   ` Luca Ceresoli via buildroot
2025-09-04 21:12 ` [Buildroot] [PATCH v4 4/4] boot/xilinx-prebuilt: bump default version " Neal Frager via buildroot
2025-09-10  7:51   ` Luca Ceresoli via buildroot
2025-09-10  7:46 ` [Buildroot] [PATCH v4 1/4] boot/xilinx-prebuilt: add support for plmfw.elf filename Luca Ceresoli via buildroot
2025-09-10  8:03   ` Frager, Neal via buildroot
2025-09-26 17:25 ` Julien Olivain via buildroot

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