From 8db695adaffffa7f64acda36ec7780a629b09868 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Thu, 18 Apr 2024 10:15:50 -0600 Subject: meta-xilinx-core: xrt: Rename and add older versions Version/rename XRT for the current version. Zocl is tied to XRT, and to the kernel sources. So provide an older XRT/Zocl combination to allow for older configurations. Note, 2022.1 -> 2023.1 do not currently work. Zocl builds, but XRT fails due to issues with gcc 12 and beyond. Signed-off-by: Mark Hatle --- meta-xilinx-core/conf/layer.conf | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'meta-xilinx-core/conf') diff --git a/meta-xilinx-core/conf/layer.conf b/meta-xilinx-core/conf/layer.conf index bb97d7a0..ccc5e253 100644 --- a/meta-xilinx-core/conf/layer.conf +++ b/meta-xilinx-core/conf/layer.conf @@ -98,6 +98,14 @@ PREFERRED_VERSION_kernel-module-vcu = "1.0.0-xilinx-${XILINX_RELEASE_VERSION}+gi # VDU kernel module PREFERRED_VERSION_kernel-module-vdu = "1.0.0-xilinx-${XILINX_RELEASE_VERSION}+git%" +# XRT/ZOCL +XRT_ZOCL_VERSION[v2022.1] = "202210.2.13.479" +XRT_ZOCL_VERSION[v2022.2] = "202220.2.14.0" +XRT_ZOCL_VERSION[v2023.1] = "202310.2.15.0" +XRT_ZOCL_VERSION[v2023.2] = "202320.2.16.0" +PREFERRED_VERSION_xrt ?= "${@d.getVarFlag('XRT_ZOCL_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" +PREFERRED_VERSION_zocl ?= "${@d.getVarFlag('XRT_ZOCL_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" + # Add support to eSDK for gen-machine-conf if it exists PLNX_SCRIPTS_PATH = "${LAYERDIR}/gen-machine-conf/gen-machine-scripts" BB_HASHEXCLUDE_COMMON:append = " PLNX_SCRIPTS_PATH" -- cgit v1.2.3-54-g00ecf