diff options
Diffstat (limited to 'meta-xilinx-core/recipes-xrt/zocl')
6 files changed, 33 insertions, 5 deletions
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 | } | ||