diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2024-11-21 13:54:05 -0600 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-11-21 13:54:05 -0600 |
| commit | 1241013c7bce4262a6128eb4ccb3db410831746d (patch) | |
| tree | da79ab94a5b4ae9abf6211d8289a4bf5dbdcde9f /meta-xilinx-core/recipes-xrt | |
| parent | 6e3a214d268c7d75a42a9a329b5621fb5a49a89a (diff) | |
| parent | 10531c26195f97f9565e9770c21977805e53c46b (diff) | |
| download | meta-xilinx-1241013c7bce4262a6128eb4ccb3db410831746d.tar.gz | |
Merge remote-tracking branch 'origin/scarthgap' into yocto-master
This moves the system to scarthgap. It is known to NOT work with Styhead and master,
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/recipes-xrt')
16 files changed, 137 insertions, 14 deletions
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xclbinutil-native_202320.2.16.0.bb b/meta-xilinx-core/recipes-xrt/xrt/xclbinutil-native_202320.2.16.0.bb index 60df24e3..6cf10817 100644 --- a/meta-xilinx-core/recipes-xrt/xrt/xclbinutil-native_202320.2.16.0.bb +++ b/meta-xilinx-core/recipes-xrt/xrt/xclbinutil-native_202320.2.16.0.bb | |||
| @@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = " \ | |||
| 15 | file://runtime_src/core/common/elf/LICENSE.txt;md5=b996e8b74af169e7e72e22d9e7d05b06 \ | 15 | file://runtime_src/core/common/elf/LICENSE.txt;md5=b996e8b74af169e7e72e22d9e7d05b06 \ |
| 16 | " | 16 | " |
| 17 | 17 | ||
| 18 | S = "${UNPACKDIR}/git/src" | 18 | S = "${WORKDIR}/git/src" |
| 19 | 19 | ||
| 20 | inherit cmake pkgconfig native | 20 | inherit cmake pkgconfig native |
| 21 | 21 | ||
| @@ -25,5 +25,5 @@ EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMANDS=ON" | |||
| 25 | 25 | ||
| 26 | do_install() { | 26 | do_install() { |
| 27 | install -d ${D}${bindir} | 27 | install -d ${D}${bindir} |
| 28 | install -Dm 0755 ${UNPACKDIR}/build/runtime_src/tools/xclbinutil/xclbinutil ${D}${bindir} | 28 | install -Dm 0755 ${WORKDIR}/build/runtime_src/tools/xclbinutil/xclbinutil ${D}${bindir} |
| 29 | } | 29 | } |
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xclbinutil-native_202410.2.17.319.bb b/meta-xilinx-core/recipes-xrt/xrt/xclbinutil-native_202410.2.17.319.bb index 21291925..37f32a23 100644 --- a/meta-xilinx-core/recipes-xrt/xrt/xclbinutil-native_202410.2.17.319.bb +++ b/meta-xilinx-core/recipes-xrt/xrt/xclbinutil-native_202410.2.17.319.bb | |||
| @@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = " \ | |||
| 15 | file://runtime_src/core/common/elf/LICENSE.txt;md5=b996e8b74af169e7e72e22d9e7d05b06 \ | 15 | file://runtime_src/core/common/elf/LICENSE.txt;md5=b996e8b74af169e7e72e22d9e7d05b06 \ |
| 16 | " | 16 | " |
| 17 | 17 | ||
| 18 | S = "${UNPACKDIR}/git/src" | 18 | S = "${WORKDIR}/git/src" |
| 19 | 19 | ||
| 20 | inherit cmake pkgconfig native | 20 | inherit cmake pkgconfig native |
| 21 | 21 | ||
| @@ -25,5 +25,5 @@ EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMANDS=ON" | |||
| 25 | 25 | ||
| 26 | do_install() { | 26 | do_install() { |
| 27 | install -d ${D}${bindir} | 27 | install -d ${D}${bindir} |
| 28 | install -Dm 0755 ${UNPACKDIR}/build/runtime_src/tools/xclbinutil/xclbinutil ${D}${bindir} | 28 | install -Dm 0755 ${WORKDIR}/build/runtime_src/tools/xclbinutil/xclbinutil ${D}${bindir} |
| 29 | } | 29 | } |
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xclbinutil-native_202420.2.18.0.bb b/meta-xilinx-core/recipes-xrt/xrt/xclbinutil-native_202420.2.18.0.bb new file mode 100644 index 00000000..6e280009 --- /dev/null +++ b/meta-xilinx-core/recipes-xrt/xrt/xclbinutil-native_202420.2.18.0.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | SUMMARY = "Xilinx Runtime(XRT) - minimal native build for xclbinutil" | ||
| 2 | DESCRIPTION = "Native build of xclbinutil using XRT codebase" | ||
| 3 | |||
| 4 | require xrt-${PV}.inc | ||
| 5 | |||
| 6 | FILESEXTRAPATHS:append := ":${THISDIR}/xrt" | ||
| 7 | |||
| 8 | LICENSE = "GPL-2.0-or-later & Apache-2.0 & MIT" | ||
| 9 | LIC_FILES_CHKSUM = " \ | ||
| 10 | file://../LICENSE;md5=de2c993ac479f02575bcbfb14ef9b485 \ | ||
| 11 | file://runtime_src/core/edge/drm/zocl/LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8 \ | ||
| 12 | file://runtime_src/core/pcie/driver/linux/xocl/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 13 | file://runtime_src/core/pcie/linux/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | ||
| 14 | file://runtime_src/core/tools/xbutil2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | ||
| 15 | file://runtime_src/core/common/elf/LICENSE.txt;md5=b996e8b74af169e7e72e22d9e7d05b06 \ | ||
| 16 | " | ||
| 17 | |||
| 18 | S = "${WORKDIR}/git/src" | ||
| 19 | |||
| 20 | inherit cmake pkgconfig native | ||
| 21 | |||
| 22 | DEPENDS = "libdrm-native opencl-headers-native ocl-icd-native boost-native rapidjson-native protobuf-native python3-pybind11-native systemtap-native" | ||
| 23 | |||
| 24 | EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMANDS=ON" | ||
| 25 | |||
| 26 | do_install() { | ||
| 27 | install -d ${D}${bindir} | ||
| 28 | install -Dm 0755 ${WORKDIR}/build/runtime_src/tools/xclbinutil/xclbinutil ${D}${bindir} | ||
| 29 | } | ||
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt-202420.2.18.0.inc b/meta-xilinx-core/recipes-xrt/xrt/xrt-202420.2.18.0.inc new file mode 100644 index 00000000..27522dd8 --- /dev/null +++ b/meta-xilinx-core/recipes-xrt/xrt/xrt-202420.2.18.0.inc | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | REPO ?= "gitsm://github.com/Xilinx/XRT.git;protocol=https" | ||
| 2 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
| 3 | SRC_URI = "${REPO};${BRANCHARG};name=xrt" | ||
| 4 | |||
| 5 | BRANCH = "2024.2" | ||
| 6 | SRCREV_xrt = "d05b18dc38cc6804ecb4b3dbe6de23f158319567" | ||
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt_202210.2.13.479.bb b/meta-xilinx-core/recipes-xrt/xrt/xrt_202210.2.13.479.bb index 49cfa228..0e9dd3db 100644 --- a/meta-xilinx-core/recipes-xrt/xrt/xrt_202210.2.13.479.bb +++ b/meta-xilinx-core/recipes-xrt/xrt/xrt_202210.2.13.479.bb | |||
| @@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://../LICENSE;md5=da5408f748bce8a9851dac18e66f4bcf \ | |||
| 13 | file://runtime_src/core/pcie/tools/xbutil/LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87 \ | 13 | file://runtime_src/core/pcie/tools/xbutil/LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87 \ |
| 14 | file://runtime_src/core/edge/tools/xbutil/LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87 " | 14 | file://runtime_src/core/edge/tools/xbutil/LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87 " |
| 15 | 15 | ||
| 16 | S = "${UNPACKDIR}/git/src" | 16 | S = "${WORKDIR}/git/src" |
| 17 | 17 | ||
| 18 | inherit cmake pkgconfig | 18 | inherit cmake pkgconfig |
| 19 | 19 | ||
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt_202220.2.14.0.bb b/meta-xilinx-core/recipes-xrt/xrt/xrt_202220.2.14.0.bb index f686a746..7107c3df 100644 --- a/meta-xilinx-core/recipes-xrt/xrt/xrt_202220.2.14.0.bb +++ b/meta-xilinx-core/recipes-xrt/xrt/xrt_202220.2.14.0.bb | |||
| @@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://../LICENSE;md5=da5408f748bce8a9851dac18e66f4bcf \ | |||
| 12 | file://runtime_src/core/pcie/linux/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | 12 | file://runtime_src/core/pcie/linux/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ |
| 13 | file://runtime_src/core/tools/xbutil2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 " | 13 | file://runtime_src/core/tools/xbutil2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 " |
| 14 | 14 | ||
| 15 | S = "${UNPACKDIR}/git/src" | 15 | S = "${WORKDIR}/git/src" |
| 16 | 16 | ||
| 17 | inherit cmake pkgconfig | 17 | inherit cmake pkgconfig |
| 18 | 18 | ||
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt_202310.2.15.0.bb b/meta-xilinx-core/recipes-xrt/xrt/xrt_202310.2.15.0.bb index 8a78d2f9..0ee4d137 100644 --- a/meta-xilinx-core/recipes-xrt/xrt/xrt_202310.2.15.0.bb +++ b/meta-xilinx-core/recipes-xrt/xrt/xrt_202310.2.15.0.bb | |||
| @@ -17,7 +17,7 @@ COMPATIBLE_MACHINE:zynqmp = ".*" | |||
| 17 | COMPATIBLE_MACHINE:versal = ".*" | 17 | COMPATIBLE_MACHINE:versal = ".*" |
| 18 | COMPATIBLE_MACHINE:versal-net = ".*" | 18 | COMPATIBLE_MACHINE:versal-net = ".*" |
| 19 | 19 | ||
| 20 | S = "${UNPACKDIR}/git/src" | 20 | S = "${WORKDIR}/git/src" |
| 21 | 21 | ||
| 22 | inherit cmake pkgconfig | 22 | inherit cmake pkgconfig |
| 23 | 23 | ||
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt_202320.2.16.0.bb b/meta-xilinx-core/recipes-xrt/xrt/xrt_202320.2.16.0.bb index abb0190d..946b6551 100644 --- a/meta-xilinx-core/recipes-xrt/xrt/xrt_202320.2.16.0.bb +++ b/meta-xilinx-core/recipes-xrt/xrt/xrt_202320.2.16.0.bb | |||
| @@ -18,7 +18,7 @@ COMPATIBLE_MACHINE:zynqmp = ".*" | |||
| 18 | COMPATIBLE_MACHINE:versal = ".*" | 18 | COMPATIBLE_MACHINE:versal = ".*" |
| 19 | COMPATIBLE_MACHINE:versal-net = ".*" | 19 | COMPATIBLE_MACHINE:versal-net = ".*" |
| 20 | 20 | ||
| 21 | S = "${UNPACKDIR}/git/src" | 21 | S = "${WORKDIR}/git/src" |
| 22 | 22 | ||
| 23 | inherit cmake pkgconfig | 23 | inherit cmake pkgconfig |
| 24 | 24 | ||
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt_202410.2.17.319.bb b/meta-xilinx-core/recipes-xrt/xrt/xrt_202410.2.17.319.bb index c88450c2..ff058db3 100644 --- a/meta-xilinx-core/recipes-xrt/xrt/xrt_202410.2.17.319.bb +++ b/meta-xilinx-core/recipes-xrt/xrt/xrt_202410.2.17.319.bb | |||
| @@ -18,7 +18,7 @@ COMPATIBLE_MACHINE:zynqmp = ".*" | |||
| 18 | COMPATIBLE_MACHINE:versal = ".*" | 18 | COMPATIBLE_MACHINE:versal = ".*" |
| 19 | COMPATIBLE_MACHINE:versal-net = ".*" | 19 | COMPATIBLE_MACHINE:versal-net = ".*" |
| 20 | 20 | ||
| 21 | S = "${UNPACKDIR}/git/src" | 21 | S = "${WORKDIR}/git/src" |
| 22 | 22 | ||
| 23 | inherit cmake pkgconfig | 23 | inherit cmake pkgconfig |
| 24 | 24 | ||
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt_202420.2.18.0.bb b/meta-xilinx-core/recipes-xrt/xrt/xrt_202420.2.18.0.bb new file mode 100644 index 00000000..d538f947 --- /dev/null +++ b/meta-xilinx-core/recipes-xrt/xrt/xrt_202420.2.18.0.bb | |||
| @@ -0,0 +1,60 @@ | |||
| 1 | SUMMARY = "Xilinx Runtime(XRT) libraries" | ||
| 2 | DESCRIPTION = "Xilinx Runtime User Space Libraries and headers" | ||
| 3 | |||
| 4 | require xrt-${PV}.inc | ||
| 5 | |||
| 6 | LICENSE = "GPL-2.0-or-later & Apache-2.0 & MIT" | ||
| 7 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=de2c993ac479f02575bcbfb14ef9b485 \ | ||
| 8 | file://runtime_src/core/edge/drm/zocl/LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8 \ | ||
| 9 | file://runtime_src/core/pcie/driver/linux/xocl/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 10 | file://runtime_src/core/pcie/linux/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | ||
| 11 | file://runtime_src/core/tools/xbutil2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | ||
| 12 | file://runtime_src/core/common/elf/LICENSE.txt;md5=b996e8b74af169e7e72e22d9e7d05b06 " | ||
| 13 | |||
| 14 | COMPATIBLE_HOST = "^$" | ||
| 15 | COMPATIBLE_HOST:aarch64 = ".*" | ||
| 16 | |||
| 17 | S = "${WORKDIR}/git/src" | ||
| 18 | |||
| 19 | inherit cmake pkgconfig | ||
| 20 | |||
| 21 | BBCLASSEXTEND = "native nativesdk" | ||
| 22 | |||
| 23 | PACKAGECONFIG ??= "aie" | ||
| 24 | PACKAGECONFIG[aie] = ",,libxaiengine aiefal,libxaiengine aiefal" | ||
| 25 | |||
| 26 | # util-linux is for libuuid-dev. | ||
| 27 | DEPENDS = "libdrm opencl-headers ocl-icd opencl-clhpp boost util-linux git-replacement-native protobuf-native protobuf elfutils libffi rapidjson systemtap libdfx" | ||
| 28 | RDEPENDS:${PN} = "bash ocl-icd boost-system boost-filesystem zocl (= ${PV})" | ||
| 29 | |||
| 30 | EXTRA_OECMAKE += " \ | ||
| 31 | -DCMAKE_BUILD_TYPE=Release \ | ||
| 32 | -DCMAKE_EXPORT_COMPILE_COMANDS=ON \ | ||
| 33 | -DXRT_LIBDFX=true \ | ||
| 34 | " | ||
| 35 | |||
| 36 | EXTRA_OECMAKE .= "${@bb.utils.contains('PACKAGECONFIG', 'aie', ' -DXRT_AIE_BUILD=true', '', d)}" | ||
| 37 | TARGET_CXXFLAGS .= "${@bb.utils.contains('PACKAGECONFIG', 'aie', ' -DXRT_ENABLE_AIE -DFAL_LINUX=on', '', d)}" | ||
| 38 | |||
| 39 | # Systems with AIE also require libmetal, this is implemented in the dynamic-layers | ||
| 40 | # See: meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt_gt.bbappend | ||
| 41 | # Note: If meta-openamp is not available, AIE will not be enabled. | ||
| 42 | |||
| 43 | FILES_SOLIBSDEV = "" | ||
| 44 | FILES:${PN} += "\ | ||
| 45 | ${libdir}/lib*.so \ | ||
| 46 | ${libdir}/lib*.so.* \ | ||
| 47 | ${libdir}/ps_kernels_lib \ | ||
| 48 | /lib/*.so* \ | ||
| 49 | ${datadir}" | ||
| 50 | INSANE_SKIP:${PN} += "dev-so" | ||
| 51 | |||
| 52 | pkg_postinst_ontarget:${PN}() { | ||
| 53 | #!/bin/sh | ||
| 54 | if [ ! -e /etc/OpenCL/vendors/xilinx.icd ]; then | ||
| 55 | echo "INFO: Creating ICD entry for Xilinx Platform" | ||
| 56 | mkdir -p /etc/OpenCL/vendors | ||
| 57 | echo "libxilinxopencl.so" > /etc/OpenCL/vendors/xilinx.icd | ||
| 58 | chmod -R 755 /etc/OpenCL | ||
| 59 | fi | ||
| 60 | } | ||
diff --git a/meta-xilinx-core/recipes-xrt/zocl/zocl_202210.2.13.479.bb b/meta-xilinx-core/recipes-xrt/zocl/zocl_202210.2.13.479.bb index 464b96fd..7063178a 100644 --- a/meta-xilinx-core/recipes-xrt/zocl/zocl_202210.2.13.479.bb +++ b/meta-xilinx-core/recipes-xrt/zocl/zocl_202210.2.13.479.bb | |||
| @@ -11,7 +11,7 @@ LICENSE = "GPLv2 & Apache-2.0" | |||
| 11 | # Patch is applied as -p 4 to the src/runtime_src/core/edge directory | 11 | # Patch is applied as -p 4 to the src/runtime_src/core/edge directory |
| 12 | SRC_URI += "file://0001-Fixed-ZOCL-dtbo-path-len-issue-6966.patch;striplevel=5;patchdir=./../../" | 12 | SRC_URI += "file://0001-Fixed-ZOCL-dtbo-path-len-issue-6966.patch;striplevel=5;patchdir=./../../" |
| 13 | 13 | ||
| 14 | S = "${UNPACKDIR}/git/src/runtime_src/core/edge/drm/zocl" | 14 | S = "${WORKDIR}/git/src/runtime_src/core/edge/drm/zocl" |
| 15 | 15 | ||
| 16 | inherit module | 16 | inherit module |
| 17 | 17 | ||
diff --git a/meta-xilinx-core/recipes-xrt/zocl/zocl_202220.2.14.0.bb b/meta-xilinx-core/recipes-xrt/zocl/zocl_202220.2.14.0.bb index 7643b42a..39e9f9fb 100644 --- a/meta-xilinx-core/recipes-xrt/zocl/zocl_202220.2.14.0.bb +++ b/meta-xilinx-core/recipes-xrt/zocl/zocl_202220.2.14.0.bb | |||
| @@ -8,7 +8,7 @@ require recipes-xrt/xrt/xrt-${PV}.inc | |||
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8" |
| 9 | LICENSE = "GPL-2.0-or-later & Apache-2.0" | 9 | LICENSE = "GPL-2.0-or-later & Apache-2.0" |
| 10 | 10 | ||
| 11 | S = "${UNPACKDIR}/git/src/runtime_src/core/edge/drm/zocl" | 11 | S = "${WORKDIR}/git/src/runtime_src/core/edge/drm/zocl" |
| 12 | 12 | ||
| 13 | inherit module | 13 | inherit module |
| 14 | 14 | ||
diff --git a/meta-xilinx-core/recipes-xrt/zocl/zocl_202310.2.15.0.bb b/meta-xilinx-core/recipes-xrt/zocl/zocl_202310.2.15.0.bb index 998ff99c..47efc58a 100644 --- a/meta-xilinx-core/recipes-xrt/zocl/zocl_202310.2.15.0.bb +++ b/meta-xilinx-core/recipes-xrt/zocl/zocl_202310.2.15.0.bb | |||
| @@ -13,7 +13,7 @@ COMPATIBLE_MACHINE:zynqmp = ".*" | |||
| 13 | COMPATIBLE_MACHINE:versal = ".*" | 13 | COMPATIBLE_MACHINE:versal = ".*" |
| 14 | COMPATIBLE_MACHINE:versal-net = ".*" | 14 | COMPATIBLE_MACHINE:versal-net = ".*" |
| 15 | 15 | ||
| 16 | S = "${UNPACKDIR}/git/src/runtime_src/core/edge/drm/zocl" | 16 | S = "${WORKDIR}/git/src/runtime_src/core/edge/drm/zocl" |
| 17 | 17 | ||
| 18 | inherit module | 18 | inherit module |
| 19 | 19 | ||
diff --git a/meta-xilinx-core/recipes-xrt/zocl/zocl_202320.2.16.0.bb b/meta-xilinx-core/recipes-xrt/zocl/zocl_202320.2.16.0.bb index 998ff99c..47efc58a 100644 --- a/meta-xilinx-core/recipes-xrt/zocl/zocl_202320.2.16.0.bb +++ b/meta-xilinx-core/recipes-xrt/zocl/zocl_202320.2.16.0.bb | |||
| @@ -13,7 +13,7 @@ COMPATIBLE_MACHINE:zynqmp = ".*" | |||
| 13 | COMPATIBLE_MACHINE:versal = ".*" | 13 | COMPATIBLE_MACHINE:versal = ".*" |
| 14 | COMPATIBLE_MACHINE:versal-net = ".*" | 14 | COMPATIBLE_MACHINE:versal-net = ".*" |
| 15 | 15 | ||
| 16 | S = "${UNPACKDIR}/git/src/runtime_src/core/edge/drm/zocl" | 16 | S = "${WORKDIR}/git/src/runtime_src/core/edge/drm/zocl" |
| 17 | 17 | ||
| 18 | inherit module | 18 | inherit module |
| 19 | 19 | ||
diff --git a/meta-xilinx-core/recipes-xrt/zocl/zocl_202410.2.17.319.bb b/meta-xilinx-core/recipes-xrt/zocl/zocl_202410.2.17.319.bb index 998ff99c..47efc58a 100644 --- a/meta-xilinx-core/recipes-xrt/zocl/zocl_202410.2.17.319.bb +++ b/meta-xilinx-core/recipes-xrt/zocl/zocl_202410.2.17.319.bb | |||
| @@ -13,7 +13,7 @@ COMPATIBLE_MACHINE:zynqmp = ".*" | |||
| 13 | COMPATIBLE_MACHINE:versal = ".*" | 13 | COMPATIBLE_MACHINE:versal = ".*" |
| 14 | COMPATIBLE_MACHINE:versal-net = ".*" | 14 | COMPATIBLE_MACHINE:versal-net = ".*" |
| 15 | 15 | ||
| 16 | S = "${UNPACKDIR}/git/src/runtime_src/core/edge/drm/zocl" | 16 | S = "${WORKDIR}/git/src/runtime_src/core/edge/drm/zocl" |
| 17 | 17 | ||
| 18 | inherit module | 18 | inherit module |
| 19 | 19 | ||
diff --git a/meta-xilinx-core/recipes-xrt/zocl/zocl_202420.2.18.0.bb b/meta-xilinx-core/recipes-xrt/zocl/zocl_202420.2.18.0.bb new file mode 100644 index 00000000..e5efd89c --- /dev/null +++ b/meta-xilinx-core/recipes-xrt/zocl/zocl_202420.2.18.0.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | SUMMARY = "Xilinx Runtime(XRT) driver module" | ||
| 2 | DESCRIPTION = "Xilinx Runtime driver module provides memory management and compute unit schedule" | ||
| 3 | |||
| 4 | COMPATIBLE_MACHINE:microblaze = "none" | ||
| 5 | |||
| 6 | PROVIDES += "zocl" | ||
| 7 | |||
| 8 | require recipes-xrt/xrt/xrt-${PV}.inc | ||
| 9 | |||
| 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8" | ||
| 11 | LICENSE = "GPL-2.0-or-later & Apache-2.0" | ||
| 12 | |||
| 13 | COMPATIBLE_MACHINE ?= "^$" | ||
| 14 | COMPATIBLE_MACHINE:zynqmp = ".*" | ||
| 15 | COMPATIBLE_MACHINE:versal = ".*" | ||
| 16 | COMPATIBLE_MACHINE:versal-net = ".*" | ||
| 17 | |||
| 18 | S = "${WORKDIR}/git/src/runtime_src/core/edge/drm/zocl" | ||
| 19 | |||
| 20 | inherit module | ||
| 21 | |||
| 22 | pkg_postinst_ontarget:${PN}() { | ||
| 23 | #!/bin/sh | ||
| 24 | echo "Unloading old XRT Linux kernel modules" | ||
| 25 | ( rmmod zocl || true ) > /dev/null 2>&1 | ||
| 26 | echo "Loading new XRT Linux kernel modules" | ||
| 27 | modprobe zocl | ||
| 28 | } | ||
