From 6992b19c30489ae81dd63cfd93fd643021170d7a Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Thu, 18 Apr 2024 10:15:50 -0600 Subject: meta-xilinx-core: xrt: Add older versions 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 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'meta-xilinx-core/conf') diff --git a/meta-xilinx-core/conf/layer.conf b/meta-xilinx-core/conf/layer.conf index a51a5259..6509b724 100644 --- a/meta-xilinx-core/conf/layer.conf +++ b/meta-xilinx-core/conf/layer.conf @@ -105,6 +105,15 @@ 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" +XRT_ZOCL_VERSION[v2024.1] = "202410.2.17.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