All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v1 1/1] boot/xilinx-embeddedsw: versal2_plm: configure xilpm runtime lib correctly
@ 2026-08-19 17:14 Neal Frager via buildroot
  2026-08-21 22:49 ` Julien Olivain via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Neal Frager via buildroot @ 2026-08-19 17:14 UTC (permalink / raw)
  To: buildroot
  Cc: ibai.erkiaga-elorza, luca.ceresoli, Neal Frager, brandon.maier,
	ju.o, thomas.petazzoni, romain.naour, michal.simek, romain.naour

The xilpm_runtime_lib is not enabled by default in the versal2_plm Makefile:
https://github.com/Xilinx/embeddedsw/blob/97f2baf7f69e9d5f447650110af0d8841e501277/lib/sw_apps/versal_plm/src/versal_2ve_2vm/Makefile#L13

Without it, there is a silent runtime failure.

Add config XILPM_RUNTIME_LIB=SUBSYS to make sure the xilpm_runtime_lib is
correctly configured and included to fix the problem.

Signed-off-by: Neal Frager <neal.frager@amd.com>
---
 boot/xilinx-embeddedsw/xilinx-embeddedsw.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/boot/xilinx-embeddedsw/xilinx-embeddedsw.mk b/boot/xilinx-embeddedsw/xilinx-embeddedsw.mk
index 5fb442ee2a..b19c420d32 100644
--- a/boot/xilinx-embeddedsw/xilinx-embeddedsw.mk
+++ b/boot/xilinx-embeddedsw/xilinx-embeddedsw.mk
@@ -53,7 +53,8 @@ define XILINX_EMBEDDEDSW_BUILD_VERSAL2_PLM
 		COMPILER=$(XILINX_EMBEDDEDSW_MICROBLAZE_CC) \
 		ARCHIVER=$(XILINX_EMBEDDEDSW_MICROBLAZE_AR) \
 		CC=$(XILINX_EMBEDDEDSW_MICROBLAZE_CC) \
-		CFLAGS=$(XILINX_EMBEDDEDSW_CFLAGS)
+		CFLAGS=$(XILINX_EMBEDDEDSW_CFLAGS) \
+		XILPM_RUNTIME_LIB=SUBSYS
 endef
 
 define XILINX_EMBEDDEDSW_INSTALL_VERSAL2_PLM
-- 
2.25.1

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

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

* Re: [Buildroot] [PATCH v1 1/1] boot/xilinx-embeddedsw: versal2_plm: configure xilpm runtime lib correctly
  2026-08-19 17:14 [Buildroot] [PATCH v1 1/1] boot/xilinx-embeddedsw: versal2_plm: configure xilpm runtime lib correctly Neal Frager via buildroot
@ 2026-08-21 22:49 ` Julien Olivain via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Olivain via buildroot @ 2026-08-21 22:49 UTC (permalink / raw)
  To: Neal Frager
  Cc: buildroot, ibai.erkiaga-elorza, luca.ceresoli, brandon.maier,
	thomas.petazzoni, romain.naour, michal.simek, romain.naour

On 19/08/2026 19:14, Neal Frager via buildroot wrote:
> The xilpm_runtime_lib is not enabled by default in the versal2_plm 
> Makefile:
> https://github.com/Xilinx/embeddedsw/blob/97f2baf7f69e9d5f447650110af0d8841e501277/lib/sw_apps/versal_plm/src/versal_2ve_2vm/Makefile#L13
> 
> Without it, there is a silent runtime failure.
> 
> Add config XILPM_RUNTIME_LIB=SUBSYS to make sure the xilpm_runtime_lib 
> is
> correctly configured and included to fix the problem.
> 
> Signed-off-by: Neal Frager <neal.frager@amd.com>

Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2026-08-21 22:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-19 17:14 [Buildroot] [PATCH v1 1/1] boot/xilinx-embeddedsw: versal2_plm: configure xilpm runtime lib correctly Neal Frager via buildroot
2026-08-21 22:49 ` Julien Olivain via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.