diff options
Diffstat (limited to 'meta-xilinx-core')
115 files changed, 832 insertions, 2039 deletions
diff --git a/meta-xilinx-core/conf/layer.conf b/meta-xilinx-core/conf/layer.conf index 5f2b17b7..f0a233cf 100644 --- a/meta-xilinx-core/conf/layer.conf +++ b/meta-xilinx-core/conf/layer.conf | |||
@@ -29,7 +29,7 @@ LAYERSERIES_COMPAT_xilinx = "scarthgap" | |||
29 | 29 | ||
30 | SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ | 30 | SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ |
31 | *->xrt \ | 31 | *->xrt \ |
32 | *->zocl \ | 32 | *->kernel-module-zocl \ |
33 | *->cairo \ | 33 | *->cairo \ |
34 | *->libepoxy \ | 34 | *->libepoxy \ |
35 | *->gstreamer1.0-plugins-base \ | 35 | *->gstreamer1.0-plugins-base \ |
@@ -46,13 +46,6 @@ XILINX_RELEASE_VERSION ??= "v2024.1" | |||
46 | 46 | ||
47 | BUILDCFG_VARS:append = " SOC_VARIANT XILINX_RELEASE_VERSION" | 47 | BUILDCFG_VARS:append = " SOC_VARIANT XILINX_RELEASE_VERSION" |
48 | 48 | ||
49 | XILINX_QEMU_VERSION[v2024.1] = "v8.1.0-xilinx-v2024.1%" | ||
50 | PREFERRED_VERSION_qemu ?= "${@ '8.1%' if not (d.getVar('XILINX_RELEASE_VERSION') or 'undefined').startswith('v2024') else '8.1%'}" | ||
51 | PREFERRED_VERSION_qemu-xilinx ?= "${@d.getVarFlag('XILINX_QEMU_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'v8.1%'}" | ||
52 | PREFERRED_VERSION_qemu-xilinx-native ?= "${@d.getVarFlag('XILINX_QEMU_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'v8.1%'}" | ||
53 | PREFERRED_VERSION_qemu-xilinx-system-native ?= "${@d.getVarFlag('XILINX_QEMU_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'v8.1%'}" | ||
54 | PREFERRED_VERSION_qemu-devicetrees ?= "xilinx-v2024.1%" | ||
55 | |||
56 | DEFAULT_XILINX_QEMU = "qemu-xilinx" | 49 | DEFAULT_XILINX_QEMU = "qemu-xilinx" |
57 | DEFAULT_XILINX_QEMU:arm = "qemu" | 50 | DEFAULT_XILINX_QEMU:arm = "qemu" |
58 | PREFERRED_PROVIDER_qemu ?= "${DEFAULT_XILINX_QEMU}" | 51 | PREFERRED_PROVIDER_qemu ?= "${DEFAULT_XILINX_QEMU}" |
@@ -64,47 +57,22 @@ XILINX_ATF_VERSION[v2023.2] = "2.8-xilinx-v2023.2%" | |||
64 | XILINX_ATF_VERSION[v2024.1] = "2.10-xilinx-v2024.1%" | 57 | XILINX_ATF_VERSION[v2024.1] = "2.10-xilinx-v2024.1%" |
65 | PREFERRED_VERSION_arm-trusted-firmware ?= "${@d.getVarFlag('XILINX_ATF_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" | 58 | PREFERRED_VERSION_arm-trusted-firmware ?= "${@d.getVarFlag('XILINX_ATF_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" |
66 | 59 | ||
67 | XILINX_UBOOT_VERSION[v2022.1] = "1:v2021.01-xilinx-v2022.1%" | 60 | XILINX_UBOOT_VERSION[v2022.1] = "1:2021.01-xilinx-v2022.1%" |
68 | XILINX_UBOOT_VERSION[v2022.2] = "1:v2022.01-xilinx-v2022.2%" | 61 | XILINX_UBOOT_VERSION[v2022.2] = "1:2022.01-xilinx-v2022.2%" |
69 | XILINX_UBOOT_VERSION[v2023.1] = "1:v2023.01-xilinx-v2023.1%" | 62 | XILINX_UBOOT_VERSION[v2023.1] = "1:2023.01-xilinx-v2023.1%" |
70 | XILINX_UBOOT_VERSION[v2023.2] = "1:v2023.01-xilinx-v2023.2%" | 63 | XILINX_UBOOT_VERSION[v2023.2] = "1:2023.01-xilinx-v2023.2%" |
71 | XILINX_UBOOT_VERSION[v2024.1] = "1:v2024.01-xilinx-v2024.1%" | 64 | XILINX_UBOOT_VERSION[v2024.1] = "1:2024.01-xilinx-v2024.1%" |
72 | 65 | ||
73 | PREFERRED_VERSION_u-boot-xlnx ?= "${@d.getVarFlag('XILINX_UBOOT_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" | 66 | PREFERRED_VERSION_u-boot-xlnx ?= "${@d.getVarFlag('XILINX_UBOOT_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" |
74 | PREFERRED_VERSION_u-boot-tools-xlnx ?= "${@d.getVarFlag('XILINX_UBOOT_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" | 67 | PREFERRED_VERSION_u-boot-tools-xlnx ?= "${@d.getVarFlag('XILINX_UBOOT_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" |
75 | 68 | ||
76 | XILINX_LINUX_VERSION[v2022.1] = "5.15.19-xilinx-v2022.1%" | 69 | XILINX_LINUX_VERSION[v2022.1] = "5.15.19%" |
77 | XILINX_LINUX_VERSION[v2022.2] = "5.15.36-xilinx-v2022.2%" | 70 | XILINX_LINUX_VERSION[v2022.2] = "5.15.36%" |
78 | XILINX_LINUX_VERSION[v2023.1] = "6.1.30-xilinx-v2023.1%" | 71 | XILINX_LINUX_VERSION[v2023.1] = "6.1.30%" |
79 | XILINX_LINUX_VERSION[v2023.2] = "6.1.60-xilinx-v2023.2%" | 72 | XILINX_LINUX_VERSION[v2023.2] = "6.1.60%" |
80 | XILINX_LINUX_VERSION[v2024.1] = "6.6.10-xilinx-v2024.1%" | 73 | XILINX_LINUX_VERSION[v2024.1] = "6.6.10%" |
81 | PREFERRED_VERSION_linux-xlnx ?= "${@d.getVarFlag('XILINX_LINUX_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" | 74 | PREFERRED_VERSION_linux-xlnx ?= "${@d.getVarFlag('XILINX_LINUX_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" |
82 | 75 | ||
83 | # Mali needs to match the kernel version | ||
84 | PREFERRED_VERSION_kernel-module-mali = "r9p0-01rel0-${XILINX_RELEASE_VERSION}" | ||
85 | |||
86 | # DP kernel module | ||
87 | KERNEL_MODULE_DP_VERSION[v2022.1] = "5.10.0+xilinx-v2022.1+git%" | ||
88 | KERNEL_MODULE_DP_VERSION[v2022.2] = "5.10.0+xilinx-v2022.2+git%" | ||
89 | KERNEL_MODULE_DP_VERSION[v2023.1] = "6.1.0+xilinx-v2023.1+git%" | ||
90 | KERNEL_MODULE_DP_VERSION[v2023.2] = "6.1.0+xilinx-v2023.2+git%" | ||
91 | KERNEL_MODULE_DP_VERSION[v2024.1] = "6.1.0+xilinx-v2024.1+git%" | ||
92 | PREFERRED_VERSION_kernel-module-dp ?= "${@d.getVarFlag('KERNEL_MODULE_DP_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" | ||
93 | |||
94 | # HDMI kernel module | ||
95 | KERNEL_MODULE_HDMI_VERSION[v2022.1] = "5.15.0+xilinx-v2022.1+git%" | ||
96 | KERNEL_MODULE_HDMI_VERSION[v2022.2] = "5.15.19+xilinx-v2022.2+git%" | ||
97 | KERNEL_MODULE_HDMI_VERSION[v2023.1] = "6.1+xilinx-v2023.1+git%" | ||
98 | KERNEL_MODULE_HDMI_VERSION[v2023.2] = "6.1+xilinx-v2023.2+git%" | ||
99 | KERNEL_MODULE_HDMI_VERSION[v2024.1] = "6.1+xilinx-v2024.1+git%" | ||
100 | PREFERRED_VERSION_kernel-module-hdmi ?= "${@d.getVarFlag('KERNEL_MODULE_HDMI_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" | ||
101 | |||
102 | # VCU kernel module | ||
103 | PREFERRED_VERSION_kernel-module-vcu = "1.0.0-xilinx-${XILINX_RELEASE_VERSION}+git%" | ||
104 | |||
105 | # VDU kernel module | ||
106 | PREFERRED_VERSION_kernel-module-vdu = "1.0.0-xilinx-${XILINX_RELEASE_VERSION}+git%" | ||
107 | |||
108 | # XRT/ZOCL | 76 | # XRT/ZOCL |
109 | XRT_ZOCL_VERSION[v2022.1] = "202210.2.13.479" | 77 | XRT_ZOCL_VERSION[v2022.1] = "202210.2.13.479" |
110 | XRT_ZOCL_VERSION[v2022.2] = "202220.2.14.0" | 78 | XRT_ZOCL_VERSION[v2022.2] = "202220.2.14.0" |
@@ -112,7 +80,7 @@ XRT_ZOCL_VERSION[v2023.1] = "202310.2.15.0" | |||
112 | XRT_ZOCL_VERSION[v2023.2] = "202320.2.16.0" | 80 | XRT_ZOCL_VERSION[v2023.2] = "202320.2.16.0" |
113 | XRT_ZOCL_VERSION[v2024.1] = "202410.2.17.0" | 81 | XRT_ZOCL_VERSION[v2024.1] = "202410.2.17.0" |
114 | PREFERRED_VERSION_xrt ?= "${@d.getVarFlag('XRT_ZOCL_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" | 82 | PREFERRED_VERSION_xrt ?= "${@d.getVarFlag('XRT_ZOCL_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" |
115 | PREFERRED_VERSION_zocl ?= "${@d.getVarFlag('XRT_ZOCL_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" | 83 | PREFERRED_VERSION_kernel-module-zocl ?= "${@d.getVarFlag('XRT_ZOCL_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" |
116 | 84 | ||
117 | # AI-Engine | 85 | # AI-Engine |
118 | AIEFAL_VERSION[v2022.1] = "1.4" | 86 | AIEFAL_VERSION[v2022.1] = "1.4" |
diff --git a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-openamp/libmetal/libmetal-xlnx_v2024.1.bb b/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-openamp/libmetal/libmetal-xlnx_v2024.1.bb index b33d5064..a03912d7 100644 --- a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-openamp/libmetal/libmetal-xlnx_v2024.1.bb +++ b/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-openamp/libmetal/libmetal-xlnx_v2024.1.bb | |||
@@ -2,7 +2,7 @@ SRCBRANCH ?= "2024" | |||
2 | SRCREV = "e2fdb4fecbebe41b4cd1c0b4fbfa3496bcded485" | 2 | SRCREV = "e2fdb4fecbebe41b4cd1c0b4fbfa3496bcded485" |
3 | BRANCH = "xlnx_rel_v2024.1" | 3 | BRANCH = "xlnx_rel_v2024.1" |
4 | LIC_FILES_CHKSUM ?= "file://LICENSE.md;md5=f4d5df0f12dcea1b1a0124219c0dbab4" | 4 | LIC_FILES_CHKSUM ?= "file://LICENSE.md;md5=f4d5df0f12dcea1b1a0124219c0dbab4" |
5 | PV = "${SRCBRANCH}+git${SRCPV}" | 5 | PV = "${SRCBRANCH}+git" |
6 | 6 | ||
7 | REPO = "git://github.com/Xilinx/libmetal.git;protocol=https" | 7 | REPO = "git://github.com/Xilinx/libmetal.git;protocol=https" |
8 | 8 | ||
diff --git a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-openamp/open-amp/open-amp-xlnx_v2024.1.bb b/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-openamp/open-amp/open-amp-xlnx_v2024.1.bb index c1fda947..94535abc 100644 --- a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-openamp/open-amp/open-amp-xlnx_v2024.1.bb +++ b/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-openamp/open-amp/open-amp-xlnx_v2024.1.bb | |||
@@ -2,7 +2,7 @@ SRCBRANCH ?= "2024" | |||
2 | SRCREV = "dbf0857389190f4c4cedfb77bd1f9bdd7ab404f3" | 2 | SRCREV = "dbf0857389190f4c4cedfb77bd1f9bdd7ab404f3" |
3 | BRANCH = "xlnx_rel_v2024.1" | 3 | BRANCH = "xlnx_rel_v2024.1" |
4 | LIC_FILES_CHKSUM ?= "file://LICENSE.md;md5=ab88daf995c0bd0071c2e1e55f3d3505" | 4 | LIC_FILES_CHKSUM ?= "file://LICENSE.md;md5=ab88daf995c0bd0071c2e1e55f3d3505" |
5 | PV = "${SRCBRANCH}+git${SRCPV}" | 5 | PV = "${SRCBRANCH}+git" |
6 | REPO = "git://github.com/Xilinx/open-amp.git;protocol=https" | 6 | REPO = "git://github.com/Xilinx/open-amp.git;protocol=https" |
7 | 7 | ||
8 | include ${LAYER_PATH_openamp-layer}/recipes-openamp/open-amp/open-amp.inc | 8 | include ${LAYER_PATH_openamp-layer}/recipes-openamp/open-amp/open-amp.inc |
diff --git a/meta-xilinx-core/dynamic-layers/virtualization-layer/recipes-devtools/qemu/qemu-xilinx_2024%.bbappend b/meta-xilinx-core/dynamic-layers/virtualization-layer/recipes-devtools/qemu/qemu-xilinx_8.1%.bbappend index 74aa15fb..74aa15fb 100644 --- a/meta-xilinx-core/dynamic-layers/virtualization-layer/recipes-devtools/qemu/qemu-xilinx_2024%.bbappend +++ b/meta-xilinx-core/dynamic-layers/virtualization-layer/recipes-devtools/qemu/qemu-xilinx_8.1%.bbappend | |||
diff --git a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc index 9249060c..df97c3cf 100644 --- a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc +++ b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc | |||
@@ -14,9 +14,7 @@ B = "${WORKDIR}/build" | |||
14 | 14 | ||
15 | SYSROOT_DIRS += "/boot" | 15 | SYSROOT_DIRS += "/boot" |
16 | 16 | ||
17 | ATF_VERSION ?= "2.2" | 17 | PV .= "+git" |
18 | ATF_VERSION_EXTENSION ?= "-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}" | ||
19 | PV = "${ATF_VERSION}${ATF_VERSION_EXTENSION}+git${SRCPV}" | ||
20 | 18 | ||
21 | BRANCH ?= "" | 19 | BRANCH ?= "" |
22 | REPO ?= "git://github.com/Xilinx/arm-trusted-firmware.git;protocol=https" | 20 | REPO ?= "git://github.com/Xilinx/arm-trusted-firmware.git;protocol=https" |
diff --git a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2024.1.bb b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.10-xilinx-v2024.1.bb index fee8e069..fee8e069 100644 --- a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2024.1.bb +++ b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.10-xilinx-v2024.1.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2022.1.bb b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.6-xilinx-v2022.1.bb index f02bb879..348ad757 100644 --- a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2022.1.bb +++ b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.6-xilinx-v2022.1.bb | |||
@@ -1,4 +1,3 @@ | |||
1 | ATF_VERSION = "2.6" | ||
2 | SRCREV = "67ca59c67f542322554d78820bf9ddaa736d6a84" | 1 | SRCREV = "67ca59c67f542322554d78820bf9ddaa736d6a84" |
3 | BRANCH = "xlnx_rebase_v2.6" | 2 | BRANCH = "xlnx_rebase_v2.6" |
4 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" | 3 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" |
diff --git a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2022.2.bb b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.6-xilinx-v2022.2.bb index 5ef2e6ac..365bbbc5 100644 --- a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2022.2.bb +++ b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.6-xilinx-v2022.2.bb | |||
@@ -1,4 +1,3 @@ | |||
1 | ATF_VERSION = "2.6" | ||
2 | SRCREV = "0897efd45ccad29a3dbab610578c70e3a52b2caa" | 1 | SRCREV = "0897efd45ccad29a3dbab610578c70e3a52b2caa" |
3 | BRANCH = "xlnx_rebase_v2.6" | 2 | BRANCH = "xlnx_rebase_v2.6" |
4 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" | 3 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" |
diff --git a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2023.1.bb b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.8-xilinx-v2023.1.bb index 2bcbe7d4..0246e2ff 100644 --- a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2023.1.bb +++ b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.8-xilinx-v2023.1.bb | |||
@@ -1,4 +1,3 @@ | |||
1 | ATF_VERSION = "2.8" | ||
2 | SRCREV = "c9b71dc96f3f18ca94cad590612aae3224c8c84d" | 1 | SRCREV = "c9b71dc96f3f18ca94cad590612aae3224c8c84d" |
3 | BRANCH = "xlnx_rebase_v2.8" | 2 | BRANCH = "xlnx_rebase_v2.8" |
4 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" | 3 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" |
diff --git a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2023.2.bb b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.8-xilinx-v2023.2.bb index 6ebd6cb5..e160f57c 100644 --- a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2023.2.bb +++ b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.8-xilinx-v2023.2.bb | |||
@@ -1,4 +1,3 @@ | |||
1 | ATF_VERSION = "2.8" | ||
2 | SRCREV = "6be857cb66300fb21e3f61308e4197911c8ac30d" | 1 | SRCREV = "6be857cb66300fb21e3f61308e4197911c8ac30d" |
3 | BRANCH = "xlnx_rebase_v2.8" | 2 | BRANCH = "xlnx_rebase_v2.8" |
4 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" | 3 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" |
diff --git a/meta-xilinx-core/recipes-bsp/bootgen/bootgen_1.0.bb b/meta-xilinx-core/recipes-bsp/bootgen/bootgen_1.0.bb deleted file mode 100644 index fdf28f41..00000000 --- a/meta-xilinx-core/recipes-bsp/bootgen/bootgen_1.0.bb +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | SUMMARY = "Building and installing bootgen" | ||
2 | DESCRIPTION = "Building and installing bootgen, a Xilinx tool that lets you stitch binary files together and generate device boot images" | ||
3 | |||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d526b6d0807bf263b97da1da876f39b1" | ||
6 | |||
7 | S = "${WORKDIR}/git" | ||
8 | |||
9 | DEPENDS += "openssl" | ||
10 | RDEPENDS:${PN} += "openssl" | ||
11 | |||
12 | REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" | ||
13 | BRANCH ?= "xlnx_rel_v2022.2" | ||
14 | SRCREV = "cf4ba93b99644dc4429ef633471a639e1382f0e7" | ||
15 | |||
16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
17 | SRC_URI = "${REPO};${BRANCHARG}" | ||
18 | |||
19 | EXTRA_OEMAKE += 'CROSS_COMPILER="${CXX}" -C ${S}' | ||
20 | CXXFLAGS:append = " -std=c++0x" | ||
21 | |||
22 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
23 | |||
24 | do_install() { | ||
25 | install -d ${D}${bindir} | ||
26 | install -Dm 0755 ${S}/bootgen ${D}${bindir} | ||
27 | } | ||
28 | |||
29 | FILES:${PN} = "${bindir}/bootgen" | ||
30 | |||
31 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-xilinx-core/recipes-bsp/bootgen/bootgen_2023.1.bb b/meta-xilinx-core/recipes-bsp/bootgen/bootgen_2023.1.bb deleted file mode 100644 index a934230d..00000000 --- a/meta-xilinx-core/recipes-bsp/bootgen/bootgen_2023.1.bb +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | SUMMARY = "Building and installing bootgen" | ||
2 | DESCRIPTION = "Building and installing bootgen, a Xilinx tool that lets you stitch binary files together and generate device boot images" | ||
3 | |||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d526b6d0807bf263b97da1da876f39b1" | ||
6 | |||
7 | S = "${WORKDIR}/git" | ||
8 | |||
9 | DEPENDS += "openssl" | ||
10 | RDEPENDS:${PN} += "openssl" | ||
11 | |||
12 | REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" | ||
13 | BRANCH = "xlnx_rel_v2023.1" | ||
14 | SRCREV = "4f1e1caf2c09cdeacc35cbeedaf2550c6e44c7fd" | ||
15 | |||
16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
17 | SRC_URI = "${REPO};${BRANCHARG}" | ||
18 | |||
19 | EXTRA_OEMAKE += 'CROSS_COMPILER="${CXX}" -C ${S}' | ||
20 | CXXFLAGS:append = " -std=c++0x" | ||
21 | |||
22 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
23 | |||
24 | do_install() { | ||
25 | install -d ${D}${bindir} | ||
26 | install -Dm 0755 ${S}/bootgen ${D}${bindir} | ||
27 | } | ||
28 | |||
29 | FILES:${PN} = "${bindir}/bootgen" | ||
30 | |||
31 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-xilinx-core/recipes-bsp/bootgen/bootgen_2023.2.bb b/meta-xilinx-core/recipes-bsp/bootgen/bootgen_2023.2.bb deleted file mode 100644 index 03f323e1..00000000 --- a/meta-xilinx-core/recipes-bsp/bootgen/bootgen_2023.2.bb +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | SUMMARY = "Building and installing bootgen" | ||
2 | DESCRIPTION = "Building and installing bootgen, a Xilinx tool that lets you stitch binary files together and generate device boot images" | ||
3 | |||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d526b6d0807bf263b97da1da876f39b1" | ||
6 | |||
7 | S = "${WORKDIR}/git" | ||
8 | |||
9 | DEPENDS += "openssl" | ||
10 | RDEPENDS:${PN} += "openssl" | ||
11 | |||
12 | REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" | ||
13 | BRANCH = "xlnx_rel_v2023.2" | ||
14 | SRCREV = "8e6702bb5064b806e45028486de7376962470a36" | ||
15 | |||
16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
17 | SRC_URI = "${REPO};${BRANCHARG}" | ||
18 | |||
19 | EXTRA_OEMAKE += 'CROSS_COMPILER="${CXX}" -C ${S}' | ||
20 | CXXFLAGS:append = " -std=c++0x" | ||
21 | |||
22 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
23 | |||
24 | do_install() { | ||
25 | install -d ${D}${bindir} | ||
26 | install -Dm 0755 ${S}/bootgen ${D}${bindir} | ||
27 | } | ||
28 | |||
29 | FILES:${PN} = "${bindir}/bootgen" | ||
30 | |||
31 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb index b4de4fe6..1d4ab5a3 100644 --- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb +++ b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb | |||
@@ -22,7 +22,7 @@ S = "${WORKDIR}/git" | |||
22 | 22 | ||
23 | inherit cmake update-rc.d systemd | 23 | inherit cmake update-rc.d systemd |
24 | 24 | ||
25 | DEPENDS += " libwebsockets inotify-tools libdfx zocl libdrm" | 25 | DEPENDS += " libwebsockets inotify-tools libdfx kernel-module-zocl libdrm" |
26 | RDEPENDS:${PN} += " fru-print" | 26 | RDEPENDS:${PN} += " fru-print" |
27 | EXTRA_OECMAKE += " \ | 27 | EXTRA_OECMAKE += " \ |
28 | -DCMAKE_SYSROOT:PATH=${RECIPE_SYSROOT} \ | 28 | -DCMAKE_SYSROOT:PATH=${RECIPE_SYSROOT} \ |
diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.1.bb b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.1.bb index a4149d39..b15fff74 100644 --- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.1.bb +++ b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.1.bb | |||
@@ -22,7 +22,7 @@ S = "${WORKDIR}/git" | |||
22 | 22 | ||
23 | inherit cmake update-rc.d systemd | 23 | inherit cmake update-rc.d systemd |
24 | 24 | ||
25 | DEPENDS += " libwebsockets inotify-tools libdfx zocl libdrm" | 25 | DEPENDS += " libwebsockets inotify-tools libdfx kernel-module-zocl libdrm" |
26 | RDEPENDS:${PN} += " freeipmi" | 26 | RDEPENDS:${PN} += " freeipmi" |
27 | EXTRA_OECMAKE += " \ | 27 | EXTRA_OECMAKE += " \ |
28 | -DCMAKE_SYSROOT:PATH=${RECIPE_SYSROOT} \ | 28 | -DCMAKE_SYSROOT:PATH=${RECIPE_SYSROOT} \ |
diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.2.bb b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.2.bb index d09ab51e..60096e33 100644 --- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.2.bb +++ b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.2.bb | |||
@@ -22,7 +22,7 @@ S = "${WORKDIR}/git" | |||
22 | 22 | ||
23 | inherit cmake update-rc.d systemd | 23 | inherit cmake update-rc.d systemd |
24 | 24 | ||
25 | DEPENDS += " libwebsockets inotify-tools libdfx zocl libdrm systemd" | 25 | DEPENDS += " libwebsockets inotify-tools libdfx kernel-module-zocl libdrm systemd" |
26 | RDEPENDS:${PN} += " freeipmi" | 26 | RDEPENDS:${PN} += " freeipmi" |
27 | EXTRA_OECMAKE += " \ | 27 | EXTRA_OECMAKE += " \ |
28 | -DCMAKE_SYSROOT:PATH=${RECIPE_SYSROOT} \ | 28 | -DCMAKE_SYSROOT:PATH=${RECIPE_SYSROOT} \ |
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.1.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2021.01-xilinx-v2022.1.bb index 94369955..94369955 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.1.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2021.01-xilinx-v2022.1.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.2.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.01-xilinx-v2022.2.bb index 6b033f0f..6b033f0f 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.2.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.01-xilinx-v2022.2.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.01-xilinx-v2023.1.bb index fe5ecf79..fe5ecf79 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.01-xilinx-v2023.1.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.2.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.01-xilinx-v2023.2.bb index 43fec635..43fec635 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.2.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.01-xilinx-v2023.2.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2024.1.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2024.01-xilinx-v2024.1.bb index 590d1755..590d1755 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2024.1.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2024.01-xilinx-v2024.1.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.1.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.1.inc index a0c0b50d..69c7a639 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.1.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.1.inc | |||
@@ -1,5 +1,3 @@ | |||
1 | UBOOT_VERSION = "v2021.01" | ||
2 | |||
3 | UBRANCH ?= "xlnx_rebase_v2022.01_2022.1_update" | 1 | UBRANCH ?= "xlnx_rebase_v2022.01_2022.1_update" |
4 | 2 | ||
5 | SRCREV = "91ad7924e7f59584d597353e1bb86794341e0a7e" | 3 | SRCREV = "91ad7924e7f59584d597353e1bb86794341e0a7e" |
@@ -15,3 +13,5 @@ HAS_PLATFORM_INIT ?= " \ | |||
15 | " | 13 | " |
16 | 14 | ||
17 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" | 15 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" |
16 | |||
17 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-v2021.01:" | ||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.2.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.2.inc index f9b8f52b..d111ae99 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.2.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.2.inc | |||
@@ -1,5 +1,3 @@ | |||
1 | UBOOT_VERSION = "v2022.01" | ||
2 | |||
3 | UBRANCH ?= "xlnx_rebase_v2022.01" | 1 | UBRANCH ?= "xlnx_rebase_v2022.01" |
4 | 2 | ||
5 | SRCREV = "b31476685debf5512ed0d4e8000fa5167a22f530" | 3 | SRCREV = "b31476685debf5512ed0d4e8000fa5167a22f530" |
@@ -15,3 +13,5 @@ HAS_PLATFORM_INIT ?= " \ | |||
15 | " | 13 | " |
16 | 14 | ||
17 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" | 15 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" |
16 | |||
17 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-v2022.01:" | ||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.1.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.1.inc index 72f43f71..1fd191f0 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.1.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.1.inc | |||
@@ -1,5 +1,3 @@ | |||
1 | UBOOT_VERSION = "v2023.01" | ||
2 | |||
3 | UBRANCH = "xlnx_rebase_v2023.01_update" | 1 | UBRANCH = "xlnx_rebase_v2023.01_update" |
4 | 2 | ||
5 | SRCREV = "1689570b68dd3827e527a520805aa0bb7f58ee09" | 3 | SRCREV = "1689570b68dd3827e527a520805aa0bb7f58ee09" |
@@ -15,3 +13,5 @@ HAS_PLATFORM_INIT ?= " \ | |||
15 | " | 13 | " |
16 | 14 | ||
17 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" | 15 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" |
16 | |||
17 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-v2023.01:" | ||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc index 2e761ebe..86ba82bb 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc | |||
@@ -1,5 +1,3 @@ | |||
1 | UBOOT_VERSION = "v2023.01" | ||
2 | |||
3 | UBRANCH = "xlnx_rebase_v2023.01" | 1 | UBRANCH = "xlnx_rebase_v2023.01" |
4 | 2 | ||
5 | SRCREV = "2b54ad6f1d278c419b927d10db2edf323d844578" | 3 | SRCREV = "2b54ad6f1d278c419b927d10db2edf323d844578" |
@@ -18,6 +16,8 @@ DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" | |||
18 | 16 | ||
19 | SRC_URI:append:microblaze = " file://microblaze-generic-top.h" | 17 | SRC_URI:append:microblaze = " file://microblaze-generic-top.h" |
20 | 18 | ||
19 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-v2023.01:" | ||
20 | |||
21 | do_configure:prepend:microblaze () { | 21 | do_configure:prepend:microblaze () { |
22 | install ${WORKDIR}/microblaze-generic-top.h ${S}/include/configs/ | 22 | install ${WORKDIR}/microblaze-generic-top.h ${S}/include/configs/ |
23 | } | 23 | } |
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2024.1.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2024.1.inc index 7844468c..425bb029 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2024.1.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2024.1.inc | |||
@@ -1,5 +1,3 @@ | |||
1 | UBOOT_VERSION = "v2024.01" | ||
2 | |||
3 | UBRANCH = "xlnx_rebase_v2024.01" | 1 | UBRANCH = "xlnx_rebase_v2024.01" |
4 | 2 | ||
5 | SRCREV = "fbed1010e50d75e7d25acc1c2d09e1c34cb7e882" | 3 | SRCREV = "fbed1010e50d75e7d25acc1c2d09e1c34cb7e882" |
@@ -15,3 +13,5 @@ HAS_PLATFORM_INIT ?= " \ | |||
15 | " | 13 | " |
16 | 14 | ||
17 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" | 15 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" |
16 | |||
17 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-v2024.01:" | ||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-common.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-common.inc index b447c92a..765af276 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-common.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-common.inc | |||
@@ -1,6 +1,4 @@ | |||
1 | # Use the name of the .bb for the extension | 1 | PV .= "+git" |
2 | UBOOT_VERSION_EXTENSION ?= "-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}" | ||
3 | PV = "${UBOOT_VERSION}${UBOOT_VERSION_EXTENSION}+git${SRCPV}" | ||
4 | 2 | ||
5 | UBOOTURI ?= "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https" | 3 | UBOOTURI ?= "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https" |
6 | UBRANCH ?= "" | 4 | UBRANCH ?= "" |
@@ -11,8 +9,6 @@ SRC_URI = "${UBOOTURI};${UBRANCHARG}" | |||
11 | S = "${WORKDIR}/git" | 9 | S = "${WORKDIR}/git" |
12 | B = "${WORKDIR}/build" | 10 | B = "${WORKDIR}/build" |
13 | 11 | ||
14 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-${UBOOT_VERSION}:" | ||
15 | |||
16 | UBOOT_MB_INC = "" | 12 | UBOOT_MB_INC = "" |
17 | UBOOT_MB_INC:microblaze = "u-boot-xlnx-microblaze.inc" | 13 | UBOOT_MB_INC:microblaze = "u-boot-xlnx-microblaze.inc" |
18 | require ${UBOOT_MB_INC} | 14 | require ${UBOOT_MB_INC} |
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-dev.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-dev.bb index c0005bc5..31cb420d 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-dev.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-dev.bb | |||
@@ -15,5 +15,5 @@ LIC_FILES_CHKSUM = "file://README;beginline=1;endline=6;md5=157ab8408beab40cd8ce | |||
15 | SRCREV_DEFAULT = "aebea9d20a5aa32857f320c07ca8f9fd1b3dec1f" | 15 | SRCREV_DEFAULT = "aebea9d20a5aa32857f320c07ca8f9fd1b3dec1f" |
16 | SRCREV ?= "${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/bootloader", "u-boot-xlnx-dev", "${AUTOREV}", "${SRCREV_DEFAULT}", d)}" | 16 | SRCREV ?= "${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/bootloader", "u-boot-xlnx-dev", "${AUTOREV}", "${SRCREV_DEFAULT}", d)}" |
17 | 17 | ||
18 | PV = "${UBRANCH}-xilinx-dev+git${SRCPV}" | 18 | PV = "${UBRANCH}-xilinx-dev+git" |
19 | 19 | ||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.1.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2021.01-xilinx-v2022.1.bb index c1c45e56..c1c45e56 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.1.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2021.01-xilinx-v2022.1.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.2.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.01-xilinx-v2022.2.bb index b10f321b..b10f321b 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.2.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.01-xilinx-v2022.2.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.1.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.01-xilinx-v2023.1.bb index fd76bc51..fd76bc51 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.1.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.01-xilinx-v2023.1.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.2.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.01-xilinx-v2023.2.bb index 22075424..22075424 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.2.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.01-xilinx-v2023.2.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2024.1.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2024.01-xilinx-v2024.1.bb index 718ad9d4..718ad9d4 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2024.1.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2024.01-xilinx-v2024.1.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/bootgen/bootgen_2024.1.bb b/meta-xilinx-core/recipes-devtools/bootgen/bootgen_2024.1.bb index 3c68f10d..3c68f10d 100644 --- a/meta-xilinx-core/recipes-bsp/bootgen/bootgen_2024.1.bb +++ b/meta-xilinx-core/recipes-devtools/bootgen/bootgen_2024.1.bb | |||
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees.inc b/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees.inc index b08b414f..3e56e349 100644 --- a/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees.inc +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees.inc | |||
@@ -7,7 +7,7 @@ inherit deploy | |||
7 | 7 | ||
8 | LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=27;md5=7348b6cbcae69912cb1dee68d6c68d99" | 8 | LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=27;md5=7348b6cbcae69912cb1dee68d6c68d99" |
9 | 9 | ||
10 | PV = "xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | 10 | PV .= "+git" |
11 | 11 | ||
12 | REPO ?= "git://github.com/Xilinx/qemu-devicetrees.git;protocol=https" | 12 | REPO ?= "git://github.com/Xilinx/qemu-devicetrees.git;protocol=https" |
13 | 13 | ||
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-2024.1.inc b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-2024.1.inc deleted file mode 100644 index d48350b2..00000000 --- a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-2024.1.inc +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | XILINX_QEMU_VERSION = "v8.1.0" | ||
2 | BRANCH = "xlnx_rel_v2024.1" | ||
3 | SRCREV = "2319c870e754148ec3b9d40be0d3dbee959c3251" | ||
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-8.1.inc b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-8.1.inc index ad2af244..179903c5 100644 --- a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-8.1.inc +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-8.1.inc | |||
@@ -8,12 +8,15 @@ COMPATIBLE_HOST:arm = "null" | |||
8 | # x86_64 is needed to build nativesdks | 8 | # x86_64 is needed to build nativesdks |
9 | QEMU_TARGETS = "aarch64 arm microblaze microblazeel riscv32 x86_64" | 9 | QEMU_TARGETS = "aarch64 arm microblaze microblazeel riscv32 x86_64" |
10 | 10 | ||
11 | BRANCH = "xlnx_rel_v2024.1" | ||
12 | SRCREV = "2319c870e754148ec3b9d40be0d3dbee959c3251" | ||
13 | |||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ | 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ |
12 | file://COPYING.LIB;endline=24;md5=8c5efda6cf1e1b03dcfd0e6c0d271c7f" | 15 | file://COPYING.LIB;endline=24;md5=8c5efda6cf1e1b03dcfd0e6c0d271c7f" |
13 | 16 | ||
14 | FILESEXTRAPATHS:prepend := "${THISDIR}/qemu-xilinx-8.1.0:" | 17 | FILESEXTRAPATHS:prepend := "${THISDIR}/qemu-xilinx-8.1.0:" |
15 | 18 | ||
16 | PV = "${XILINX_QEMU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | 19 | PV .= "+git" |
17 | REPO ?= "gitsm://github.com/Xilinx/qemu.git;protocol=https" | 20 | REPO ?= "gitsm://github.com/Xilinx/qemu.git;protocol=https" |
18 | 21 | ||
19 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 22 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2024.1.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_8.1.0.bb index 5ffdeb98..49ffbe6e 100644 --- a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2024.1.bb +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_8.1.0.bb | |||
@@ -2,7 +2,6 @@ BPN = "qemu-xilinx" | |||
2 | 2 | ||
3 | DEPENDS += "glib-2.0-native zlib-native" | 3 | DEPENDS += "glib-2.0-native zlib-native" |
4 | 4 | ||
5 | require qemu-xilinx-2024.1.inc | ||
6 | require qemu-xilinx-native-8.1.inc | 5 | require qemu-xilinx-native-8.1.inc |
7 | require qemu-native-alt.inc | 6 | require qemu-native-alt.inc |
8 | 7 | ||
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2024.1.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_8.1.0.bb index 7e985088..0e3bfc84 100644 --- a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2024.1.bb +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_8.1.0.bb | |||
@@ -1,7 +1,6 @@ | |||
1 | BPN = "qemu-xilinx" | 1 | BPN = "qemu-xilinx" |
2 | 2 | ||
3 | require qemu-system-native-alt.inc | 3 | require qemu-system-native-alt.inc |
4 | require qemu-xilinx-2024.1.inc | ||
5 | require qemu-xilinx-native-8.1.inc | 4 | require qemu-xilinx-native-8.1.inc |
6 | 5 | ||
7 | # As some of the files installed by qemu-native and qemu-system-native | 6 | # As some of the files installed by qemu-native and qemu-system-native |
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2024.1.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_8.1.0.bb index cff60bd6..50d9922f 100644 --- a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2024.1.bb +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_8.1.0.bb | |||
@@ -1,6 +1,5 @@ | |||
1 | BBCLASSEXTEND = "nativesdk" | 1 | BBCLASSEXTEND = "nativesdk" |
2 | 2 | ||
3 | require qemu-xilinx-2024.1.inc | ||
4 | require qemu-8.1.inc | 3 | require qemu-8.1.inc |
5 | require qemu-xilinx-8.1.inc | 4 | require qemu-xilinx-8.1.inc |
6 | require qemu-alt.inc | 5 | require qemu-alt.inc |
diff --git a/meta-xilinx-core/recipes-graphics/libgles/libmali-xlnx.bb b/meta-xilinx-core/recipes-graphics/libgles/libmali-xlnx_r9p0-01rel0.bb index 82c411a2..7f5fba0b 100644 --- a/meta-xilinx-core/recipes-graphics/libgles/libmali-xlnx.bb +++ b/meta-xilinx-core/recipes-graphics/libgles/libmali-xlnx_r9p0-01rel0.bb | |||
@@ -17,7 +17,6 @@ BRANCH ?= "xlnx_rel_v2024.1" | |||
17 | SRCREV ?= "b3a772aad859cdadc8513b11c3e995546c20e75e" | 17 | SRCREV ?= "b3a772aad859cdadc8513b11c3e995546c20e75e" |
18 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 18 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
19 | 19 | ||
20 | PV = "r9p0-01rel0" | ||
21 | SRC_URI = " \ | 20 | SRC_URI = " \ |
22 | ${REPO};${BRANCHARG} \ | 21 | ${REPO};${BRANCHARG} \ |
23 | file://egl.pc \ | 22 | file://egl.pc \ |
diff --git a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0025-Import-DMA_BUF-module-and-update-register_shrinker-f.patch b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0025-Import-DMA_BUF-module-and-update-register_shrinker-f.patch index f3bcd4f1..eb5406f4 100644 --- a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0025-Import-DMA_BUF-module-and-update-register_shrinker-f.patch +++ b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0025-Import-DMA_BUF-module-and-update-register_shrinker-f.patch | |||
@@ -23,7 +23,7 @@ index fcdcaac..72e28a8 100644 | |||
23 | #include "mali_memory_virtual.h" | 23 | #include "mali_memory_virtual.h" |
24 | #include "mali_pp_job.h" | 24 | #include "mali_pp_job.h" |
25 | 25 | ||
26 | +#if LINUX_VERSION_CODE > KERNEL_VERSION(5, 15, 0) | 26 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 16, 0) |
27 | +MODULE_IMPORT_NS(DMA_BUF); | 27 | +MODULE_IMPORT_NS(DMA_BUF); |
28 | +#endif | 28 | +#endif |
29 | + | 29 | + |
@@ -38,7 +38,7 @@ index 7de3920..5bf08f8 100644 | |||
38 | dma_set_attr(DMA_ATTR_WRITE_COMBINE, &dma_attrs_wc); | 38 | dma_set_attr(DMA_ATTR_WRITE_COMBINE, &dma_attrs_wc); |
39 | #endif | 39 | #endif |
40 | 40 | ||
41 | +#if LINUX_VERSION_CODE > KERNEL_VERSION(5, 15, 0) | 41 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 16, 0) |
42 | + register_shrinker(&mali_mem_os_allocator.shrinker, "mali"); | 42 | + register_shrinker(&mali_mem_os_allocator.shrinker, "mali"); |
43 | +#else | 43 | +#else |
44 | register_shrinker(&mali_mem_os_allocator.shrinker); | 44 | register_shrinker(&mali_mem_os_allocator.shrinker); |
@@ -55,7 +55,7 @@ index cebd1c8..a9d932f 100644 | |||
55 | #endif | 55 | #endif |
56 | #include <linux/dma-buf.h> | 56 | #include <linux/dma-buf.h> |
57 | 57 | ||
58 | +#if LINUX_VERSION_CODE > KERNEL_VERSION(5, 15, 0) | 58 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 16, 0) |
59 | +MODULE_IMPORT_NS(DMA_BUF); | 59 | +MODULE_IMPORT_NS(DMA_BUF); |
60 | +#endif | 60 | +#endif |
61 | + | 61 | + |
diff --git a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2022.1.bb b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2022.1.bb deleted file mode 100644 index 56431a7f..00000000 --- a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2022.1.bb +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | SUMMARY = "A Mali 400 Linux Kernel module" | ||
2 | SECTION = "kernel/modules" | ||
3 | |||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = " \ | ||
6 | file://linux/license/gpl/mali_kernel_license.h;md5=f5af2d61f4c1eb262cb6a557aaa1070a \ | ||
7 | " | ||
8 | |||
9 | MALI_VERSION = "r9p0-01rel0" | ||
10 | PV =. "${MALI_VERSION}-v" | ||
11 | |||
12 | SRC_URI = " \ | ||
13 | https://developer.arm.com/-/media/Files/downloads/mali-drivers/kernel/mali-utgard-gpu/DX910-SW-99002-${MALI_VERSION}.tgz \ | ||
14 | file://0001-Change-Makefile-to-be-compatible-with-Yocto.patch \ | ||
15 | file://0002-staging-mali-r8p0-01rel0-Add-the-ZYNQ-ZYNQMP-platfor.patch \ | ||
16 | file://0003-staging-mali-r8p0-01rel0-Remove-unused-trace-macros.patch \ | ||
17 | file://0004-staging-mali-r8p0-01rel0-Don-t-include-mali_read_phy.patch \ | ||
18 | file://0005-linux-mali_kernel_linux.c-Handle-clock-when-probed-a.patch \ | ||
19 | file://0006-arm.c-global-variable-dma_ops-is-removed-from-the-ke.patch \ | ||
20 | file://0010-common-mali_pm.c-Add-PM-runtime-barrier-after-removi.patch \ | ||
21 | file://0011-linux-mali_kernel_linux.c-Enable-disable-clock-for-r.patch\ | ||
22 | file://0012-linux-mali_memory_os_alloc-Remove-__GFP_COLD.patch\ | ||
23 | file://0013-linux-mali_memory_secure-Add-header-file-dma-direct..patch\ | ||
24 | file://0014-linux-mali_-timer-Get-rid-of-init_timer.patch\ | ||
25 | file://0015-fix-driver-failed-to-check-map-error.patch \ | ||
26 | file://0016-mali_memory_secure-Kernel-5.0-onwards-access_ok-API-.patch \ | ||
27 | file://0017-Support-for-vm_insert_pfn-deprecated-from-kernel-4.2.patch \ | ||
28 | file://0018-Change-return-type-to-vm_fault_t-for-fault-handler.patch \ | ||
29 | file://0019-get_monotonic_boottime-ts-deprecated-from-kernel-4.2.patch \ | ||
30 | file://0020-Fix-ioremap_nocache-deprecation-in-kernel-5.6.patch \ | ||
31 | file://0021-Use-updated-timekeeping-functions-in-kernel-5.6.patch \ | ||
32 | file://0022-Set-HAVE_UNLOCKED_IOCTL-default-to-true.patch \ | ||
33 | file://0023-Use-PTR_ERR_OR_ZERO-instead-of-PTR_RET.patch \ | ||
34 | file://0024-Use-community-device-tree-names.patch \ | ||
35 | file://0025-Import-DMA_BUF-module-and-update-register_shrinker-f.patch \ | ||
36 | file://0026-Fix-gpu-driver-probe-failure.patch \ | ||
37 | file://0027-Updated-clock-name-and-structure-to-match-LIMA-drive.patch \ | ||
38 | " | ||
39 | SRC_URI[md5sum] = "85ea110dd6675c70b7d01af87ec9633c" | ||
40 | SRC_URI[sha256sum] = "7a67127341d17640c1fff5dad80258fb2a37c8a2121b81525fe2327e4532ce2b" | ||
41 | |||
42 | inherit features_check module | ||
43 | |||
44 | PARALLEL_MAKE = "-j 1" | ||
45 | |||
46 | S = "${WORKDIR}/DX910-SW-99002-${MALI_VERSION}/driver/src/devicedrv/mali" | ||
47 | |||
48 | REQUIRED_MACHINE_FEATURES = "mali400" | ||
49 | |||
50 | EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}" \ | ||
51 | ARCH="${ARCH}" \ | ||
52 | BUILD=release \ | ||
53 | MALI_PLATFORM="arm" \ | ||
54 | USING_DT=1 \ | ||
55 | MALI_SHARED_INTERRUPTS=1 \ | ||
56 | CROSS_COMPILE="${TARGET_PREFIX}" \ | ||
57 | MALI_QUIET=1 \ | ||
58 | ' | ||
diff --git a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2022.2.bb b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2022.2.bb deleted file mode 100644 index e8e46543..00000000 --- a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2022.2.bb +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | SUMMARY = "A Mali 400 Linux Kernel module" | ||
2 | SECTION = "kernel/modules" | ||
3 | |||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = " \ | ||
6 | file://linux/license/gpl/mali_kernel_license.h;md5=f5af2d61f4c1eb262cb6a557aaa1070a \ | ||
7 | " | ||
8 | |||
9 | MALI_VERSION = "r9p0-01rel0" | ||
10 | PV =. "${MALI_VERSION}-v" | ||
11 | |||
12 | SRC_URI = " \ | ||
13 | https://developer.arm.com/-/media/Files/downloads/mali-drivers/kernel/mali-utgard-gpu/DX910-SW-99002-${MALI_VERSION}.tgz \ | ||
14 | file://0001-Change-Makefile-to-be-compatible-with-Yocto.patch \ | ||
15 | file://0002-staging-mali-r8p0-01rel0-Add-the-ZYNQ-ZYNQMP-platfor.patch \ | ||
16 | file://0003-staging-mali-r8p0-01rel0-Remove-unused-trace-macros.patch \ | ||
17 | file://0004-staging-mali-r8p0-01rel0-Don-t-include-mali_read_phy.patch \ | ||
18 | file://0005-linux-mali_kernel_linux.c-Handle-clock-when-probed-a.patch \ | ||
19 | file://0006-arm.c-global-variable-dma_ops-is-removed-from-the-ke.patch \ | ||
20 | file://0010-common-mali_pm.c-Add-PM-runtime-barrier-after-removi.patch \ | ||
21 | file://0011-linux-mali_kernel_linux.c-Enable-disable-clock-for-r.patch\ | ||
22 | file://0012-linux-mali_memory_os_alloc-Remove-__GFP_COLD.patch\ | ||
23 | file://0013-linux-mali_memory_secure-Add-header-file-dma-direct..patch\ | ||
24 | file://0014-linux-mali_-timer-Get-rid-of-init_timer.patch\ | ||
25 | file://0015-fix-driver-failed-to-check-map-error.patch \ | ||
26 | file://0016-mali_memory_secure-Kernel-5.0-onwards-access_ok-API-.patch \ | ||
27 | file://0017-Support-for-vm_insert_pfn-deprecated-from-kernel-4.2.patch \ | ||
28 | file://0018-Change-return-type-to-vm_fault_t-for-fault-handler.patch \ | ||
29 | file://0019-get_monotonic_boottime-ts-deprecated-from-kernel-4.2.patch \ | ||
30 | file://0020-Fix-ioremap_nocache-deprecation-in-kernel-5.6.patch \ | ||
31 | file://0021-Use-updated-timekeeping-functions-in-kernel-5.6.patch \ | ||
32 | file://0022-Set-HAVE_UNLOCKED_IOCTL-default-to-true.patch \ | ||
33 | file://0023-Use-PTR_ERR_OR_ZERO-instead-of-PTR_RET.patch \ | ||
34 | " | ||
35 | SRC_URI[md5sum] = "85ea110dd6675c70b7d01af87ec9633c" | ||
36 | SRC_URI[sha256sum] = "7a67127341d17640c1fff5dad80258fb2a37c8a2121b81525fe2327e4532ce2b" | ||
37 | |||
38 | inherit features_check module | ||
39 | |||
40 | PARALLEL_MAKE = "-j 1" | ||
41 | |||
42 | S = "${WORKDIR}/DX910-SW-99002-${MALI_VERSION}/driver/src/devicedrv/mali" | ||
43 | |||
44 | REQUIRED_MACHINE_FEATURES = "mali400" | ||
45 | |||
46 | EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}" \ | ||
47 | ARCH="${ARCH}" \ | ||
48 | BUILD=release \ | ||
49 | MALI_PLATFORM="arm" \ | ||
50 | USING_DT=1 \ | ||
51 | MALI_SHARED_INTERRUPTS=1 \ | ||
52 | CROSS_COMPILE="${TARGET_PREFIX}" \ | ||
53 | MALI_QUIET=1 \ | ||
54 | ' | ||
diff --git a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2023.1.bb b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2023.1.bb deleted file mode 100644 index 56431a7f..00000000 --- a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2023.1.bb +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | SUMMARY = "A Mali 400 Linux Kernel module" | ||
2 | SECTION = "kernel/modules" | ||
3 | |||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = " \ | ||
6 | file://linux/license/gpl/mali_kernel_license.h;md5=f5af2d61f4c1eb262cb6a557aaa1070a \ | ||
7 | " | ||
8 | |||
9 | MALI_VERSION = "r9p0-01rel0" | ||
10 | PV =. "${MALI_VERSION}-v" | ||
11 | |||
12 | SRC_URI = " \ | ||
13 | https://developer.arm.com/-/media/Files/downloads/mali-drivers/kernel/mali-utgard-gpu/DX910-SW-99002-${MALI_VERSION}.tgz \ | ||
14 | file://0001-Change-Makefile-to-be-compatible-with-Yocto.patch \ | ||
15 | file://0002-staging-mali-r8p0-01rel0-Add-the-ZYNQ-ZYNQMP-platfor.patch \ | ||
16 | file://0003-staging-mali-r8p0-01rel0-Remove-unused-trace-macros.patch \ | ||
17 | file://0004-staging-mali-r8p0-01rel0-Don-t-include-mali_read_phy.patch \ | ||
18 | file://0005-linux-mali_kernel_linux.c-Handle-clock-when-probed-a.patch \ | ||
19 | file://0006-arm.c-global-variable-dma_ops-is-removed-from-the-ke.patch \ | ||
20 | file://0010-common-mali_pm.c-Add-PM-runtime-barrier-after-removi.patch \ | ||
21 | file://0011-linux-mali_kernel_linux.c-Enable-disable-clock-for-r.patch\ | ||
22 | file://0012-linux-mali_memory_os_alloc-Remove-__GFP_COLD.patch\ | ||
23 | file://0013-linux-mali_memory_secure-Add-header-file-dma-direct..patch\ | ||
24 | file://0014-linux-mali_-timer-Get-rid-of-init_timer.patch\ | ||
25 | file://0015-fix-driver-failed-to-check-map-error.patch \ | ||
26 | file://0016-mali_memory_secure-Kernel-5.0-onwards-access_ok-API-.patch \ | ||
27 | file://0017-Support-for-vm_insert_pfn-deprecated-from-kernel-4.2.patch \ | ||
28 | file://0018-Change-return-type-to-vm_fault_t-for-fault-handler.patch \ | ||
29 | file://0019-get_monotonic_boottime-ts-deprecated-from-kernel-4.2.patch \ | ||
30 | file://0020-Fix-ioremap_nocache-deprecation-in-kernel-5.6.patch \ | ||
31 | file://0021-Use-updated-timekeeping-functions-in-kernel-5.6.patch \ | ||
32 | file://0022-Set-HAVE_UNLOCKED_IOCTL-default-to-true.patch \ | ||
33 | file://0023-Use-PTR_ERR_OR_ZERO-instead-of-PTR_RET.patch \ | ||
34 | file://0024-Use-community-device-tree-names.patch \ | ||
35 | file://0025-Import-DMA_BUF-module-and-update-register_shrinker-f.patch \ | ||
36 | file://0026-Fix-gpu-driver-probe-failure.patch \ | ||
37 | file://0027-Updated-clock-name-and-structure-to-match-LIMA-drive.patch \ | ||
38 | " | ||
39 | SRC_URI[md5sum] = "85ea110dd6675c70b7d01af87ec9633c" | ||
40 | SRC_URI[sha256sum] = "7a67127341d17640c1fff5dad80258fb2a37c8a2121b81525fe2327e4532ce2b" | ||
41 | |||
42 | inherit features_check module | ||
43 | |||
44 | PARALLEL_MAKE = "-j 1" | ||
45 | |||
46 | S = "${WORKDIR}/DX910-SW-99002-${MALI_VERSION}/driver/src/devicedrv/mali" | ||
47 | |||
48 | REQUIRED_MACHINE_FEATURES = "mali400" | ||
49 | |||
50 | EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}" \ | ||
51 | ARCH="${ARCH}" \ | ||
52 | BUILD=release \ | ||
53 | MALI_PLATFORM="arm" \ | ||
54 | USING_DT=1 \ | ||
55 | MALI_SHARED_INTERRUPTS=1 \ | ||
56 | CROSS_COMPILE="${TARGET_PREFIX}" \ | ||
57 | MALI_QUIET=1 \ | ||
58 | ' | ||
diff --git a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2023.2.bb b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2023.2.bb deleted file mode 100644 index 56431a7f..00000000 --- a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2023.2.bb +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | SUMMARY = "A Mali 400 Linux Kernel module" | ||
2 | SECTION = "kernel/modules" | ||
3 | |||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = " \ | ||
6 | file://linux/license/gpl/mali_kernel_license.h;md5=f5af2d61f4c1eb262cb6a557aaa1070a \ | ||
7 | " | ||
8 | |||
9 | MALI_VERSION = "r9p0-01rel0" | ||
10 | PV =. "${MALI_VERSION}-v" | ||
11 | |||
12 | SRC_URI = " \ | ||
13 | https://developer.arm.com/-/media/Files/downloads/mali-drivers/kernel/mali-utgard-gpu/DX910-SW-99002-${MALI_VERSION}.tgz \ | ||
14 | file://0001-Change-Makefile-to-be-compatible-with-Yocto.patch \ | ||
15 | file://0002-staging-mali-r8p0-01rel0-Add-the-ZYNQ-ZYNQMP-platfor.patch \ | ||
16 | file://0003-staging-mali-r8p0-01rel0-Remove-unused-trace-macros.patch \ | ||
17 | file://0004-staging-mali-r8p0-01rel0-Don-t-include-mali_read_phy.patch \ | ||
18 | file://0005-linux-mali_kernel_linux.c-Handle-clock-when-probed-a.patch \ | ||
19 | file://0006-arm.c-global-variable-dma_ops-is-removed-from-the-ke.patch \ | ||
20 | file://0010-common-mali_pm.c-Add-PM-runtime-barrier-after-removi.patch \ | ||
21 | file://0011-linux-mali_kernel_linux.c-Enable-disable-clock-for-r.patch\ | ||
22 | file://0012-linux-mali_memory_os_alloc-Remove-__GFP_COLD.patch\ | ||
23 | file://0013-linux-mali_memory_secure-Add-header-file-dma-direct..patch\ | ||
24 | file://0014-linux-mali_-timer-Get-rid-of-init_timer.patch\ | ||
25 | file://0015-fix-driver-failed-to-check-map-error.patch \ | ||
26 | file://0016-mali_memory_secure-Kernel-5.0-onwards-access_ok-API-.patch \ | ||
27 | file://0017-Support-for-vm_insert_pfn-deprecated-from-kernel-4.2.patch \ | ||
28 | file://0018-Change-return-type-to-vm_fault_t-for-fault-handler.patch \ | ||
29 | file://0019-get_monotonic_boottime-ts-deprecated-from-kernel-4.2.patch \ | ||
30 | file://0020-Fix-ioremap_nocache-deprecation-in-kernel-5.6.patch \ | ||
31 | file://0021-Use-updated-timekeeping-functions-in-kernel-5.6.patch \ | ||
32 | file://0022-Set-HAVE_UNLOCKED_IOCTL-default-to-true.patch \ | ||
33 | file://0023-Use-PTR_ERR_OR_ZERO-instead-of-PTR_RET.patch \ | ||
34 | file://0024-Use-community-device-tree-names.patch \ | ||
35 | file://0025-Import-DMA_BUF-module-and-update-register_shrinker-f.patch \ | ||
36 | file://0026-Fix-gpu-driver-probe-failure.patch \ | ||
37 | file://0027-Updated-clock-name-and-structure-to-match-LIMA-drive.patch \ | ||
38 | " | ||
39 | SRC_URI[md5sum] = "85ea110dd6675c70b7d01af87ec9633c" | ||
40 | SRC_URI[sha256sum] = "7a67127341d17640c1fff5dad80258fb2a37c8a2121b81525fe2327e4532ce2b" | ||
41 | |||
42 | inherit features_check module | ||
43 | |||
44 | PARALLEL_MAKE = "-j 1" | ||
45 | |||
46 | S = "${WORKDIR}/DX910-SW-99002-${MALI_VERSION}/driver/src/devicedrv/mali" | ||
47 | |||
48 | REQUIRED_MACHINE_FEATURES = "mali400" | ||
49 | |||
50 | EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}" \ | ||
51 | ARCH="${ARCH}" \ | ||
52 | BUILD=release \ | ||
53 | MALI_PLATFORM="arm" \ | ||
54 | USING_DT=1 \ | ||
55 | MALI_SHARED_INTERRUPTS=1 \ | ||
56 | CROSS_COMPILE="${TARGET_PREFIX}" \ | ||
57 | MALI_QUIET=1 \ | ||
58 | ' | ||
diff --git a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2024.1.bb b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_r9p0-01rel0.bb index 72bd7759..c25970e7 100644 --- a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2024.1.bb +++ b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_r9p0-01rel0.bb | |||
@@ -6,11 +6,8 @@ LIC_FILES_CHKSUM = " \ | |||
6 | file://linux/license/gpl/mali_kernel_license.h;md5=f5af2d61f4c1eb262cb6a557aaa1070a \ | 6 | file://linux/license/gpl/mali_kernel_license.h;md5=f5af2d61f4c1eb262cb6a557aaa1070a \ |
7 | " | 7 | " |
8 | 8 | ||
9 | MALI_VERSION = "r9p0-01rel0" | ||
10 | PV =. "${MALI_VERSION}-v" | ||
11 | |||
12 | SRC_URI = " \ | 9 | SRC_URI = " \ |
13 | https://developer.arm.com/-/media/Files/downloads/mali-drivers/kernel/mali-utgard-gpu/DX910-SW-99002-${MALI_VERSION}.tgz \ | 10 | https://developer.arm.com/-/media/Files/downloads/mali-drivers/kernel/mali-utgard-gpu/DX910-SW-99002-${PV}.tgz \ |
14 | file://0001-Change-Makefile-to-be-compatible-with-Yocto.patch \ | 11 | file://0001-Change-Makefile-to-be-compatible-with-Yocto.patch \ |
15 | file://0002-staging-mali-r8p0-01rel0-Add-the-ZYNQ-ZYNQMP-platfor.patch \ | 12 | file://0002-staging-mali-r8p0-01rel0-Add-the-ZYNQ-ZYNQMP-platfor.patch \ |
16 | file://0003-staging-mali-r8p0-01rel0-Remove-unused-trace-macros.patch \ | 13 | file://0003-staging-mali-r8p0-01rel0-Remove-unused-trace-macros.patch \ |
@@ -45,7 +42,7 @@ inherit features_check module | |||
45 | 42 | ||
46 | PARALLEL_MAKE = "-j 1" | 43 | PARALLEL_MAKE = "-j 1" |
47 | 44 | ||
48 | S = "${WORKDIR}/DX910-SW-99002-${MALI_VERSION}/driver/src/devicedrv/mali" | 45 | S = "${WORKDIR}/DX910-SW-99002-${PV}/driver/src/devicedrv/mali" |
49 | 46 | ||
50 | REQUIRED_MACHINE_FEATURES = "mali400" | 47 | REQUIRED_MACHINE_FEATURES = "mali400" |
51 | 48 | ||
diff --git a/meta-xilinx-core/recipes-kernel/dp/files/0001-Support-both-pre-6.4.0-and-current-i2c-probing.patch b/meta-xilinx-core/recipes-kernel/dp/files/0001-Support-both-pre-6.4.0-and-current-i2c-probing.patch new file mode 100644 index 00000000..dde59936 --- /dev/null +++ b/meta-xilinx-core/recipes-kernel/dp/files/0001-Support-both-pre-6.4.0-and-current-i2c-probing.patch | |||
@@ -0,0 +1,343 @@ | |||
1 | From adc957ce85d431da42dc42ed4074322d6c94932f Mon Sep 17 00:00:00 2001 | ||
2 | From: Mark Hatle <mark.hatle@amd.com> | ||
3 | Date: Thu, 16 May 2024 20:31:29 -0600 | ||
4 | Subject: [PATCH] Support both pre 6.4.0 and current i2c probing | ||
5 | |||
6 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
7 | --- | ||
8 | dp/xfmc/dp141.c | 13 +++++++++++++ | ||
9 | dp/xfmc/fmc.c | 13 +++++++++++++ | ||
10 | dp/xfmc/fmc64.c | 14 ++++++++++++++ | ||
11 | dp/xfmc/fmc65.c | 13 +++++++++++++ | ||
12 | dp/xfmc/idt.c | 21 +++++++++++++++++---- | ||
13 | dp/xfmc/mcdp6000.c | 13 +++++++++++++ | ||
14 | dp/xfmc/tipower.c | 13 +++++++++++++ | ||
15 | 7 files changed, 96 insertions(+), 4 deletions(-) | ||
16 | |||
17 | diff --git a/dp/xfmc/dp141.c b/dp/xfmc/dp141.c | ||
18 | index dfdb6f4..5fddd2b | ||
19 | --- a/dp/xfmc/dp141.c | ||
20 | +++ b/dp/xfmc/dp141.c | ||
21 | @@ -14,6 +14,7 @@ | ||
22 | #include <linux/module.h> | ||
23 | #include <linux/regmap.h> | ||
24 | #include <linux/slab.h> | ||
25 | +#include <linux/version.h> | ||
26 | |||
27 | /**************************** Type Definitions *******************************/ | ||
28 | |||
29 | @@ -105,7 +106,12 @@ static const struct i2c_device_id dp141_id[] = { | ||
30 | }; | ||
31 | MODULE_DEVICE_TABLE(i2c, dp141_id); | ||
32 | |||
33 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) | ||
34 | static int dp141_probe(struct i2c_client *client) | ||
35 | +#else | ||
36 | +static int dp141_probe(struct i2c_client *client, | ||
37 | + const struct i2c_device_id *id) | ||
38 | +#endif | ||
39 | { | ||
40 | int ret; | ||
41 | |||
42 | @@ -134,9 +140,16 @@ err_regmap: | ||
43 | return ret; | ||
44 | } | ||
45 | |||
46 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0) | ||
47 | static void dp141_remove(struct i2c_client *client) | ||
48 | { | ||
49 | } | ||
50 | +#else | ||
51 | +static int dp141_remove(struct i2c_client *client) | ||
52 | +{ | ||
53 | + return 0; | ||
54 | +} | ||
55 | +#endif | ||
56 | |||
57 | static struct i2c_driver dp141_i2c_driver = { | ||
58 | .driver = { | ||
59 | diff --git a/dp/xfmc/fmc.c b/dp/xfmc/fmc.c | ||
60 | index 3447785..2ed136c | ||
61 | --- a/dp/xfmc/fmc.c | ||
62 | +++ b/dp/xfmc/fmc.c | ||
63 | @@ -14,6 +14,7 @@ | ||
64 | #include <linux/module.h> | ||
65 | #include <linux/regmap.h> | ||
66 | #include <linux/slab.h> | ||
67 | +#include <linux/version.h> | ||
68 | |||
69 | /**************************** Type Definitions *******************************/ | ||
70 | |||
71 | @@ -93,7 +94,12 @@ static const struct i2c_device_id fmc_id[] = { | ||
72 | }; | ||
73 | MODULE_DEVICE_TABLE(i2c, fmc_id); | ||
74 | |||
75 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) | ||
76 | static int fmc_probe(struct i2c_client *client) | ||
77 | +#else | ||
78 | +static int fmc_probe(struct i2c_client *client, | ||
79 | + const struct i2c_device_id *id) | ||
80 | +#endif | ||
81 | { | ||
82 | int ret; | ||
83 | |||
84 | @@ -121,9 +127,16 @@ err_regmap: | ||
85 | return ret; | ||
86 | } | ||
87 | |||
88 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0) | ||
89 | static void fmc_remove(struct i2c_client *client) | ||
90 | { | ||
91 | } | ||
92 | +#else | ||
93 | +static int fmc_remove(struct i2c_client *client) | ||
94 | +{ | ||
95 | + return 0; | ||
96 | +} | ||
97 | +#endif | ||
98 | |||
99 | static struct i2c_driver fmc_i2c_driver = { | ||
100 | .driver = { | ||
101 | diff --git a/dp/xfmc/fmc64.c b/dp/xfmc/fmc64.c | ||
102 | index 6f5562c..a0bad7a | ||
103 | --- a/dp/xfmc/fmc64.c | ||
104 | +++ b/dp/xfmc/fmc64.c | ||
105 | @@ -14,6 +14,8 @@ | ||
106 | #include <linux/module.h> | ||
107 | #include <linux/regmap.h> | ||
108 | #include <linux/slab.h> | ||
109 | +#include <linux/version.h> | ||
110 | + | ||
111 | /**************************** Type Definitions *******************************/ | ||
112 | static const struct regmap_config fmc64_regmap_config = { | ||
113 | .reg_bits = 16, | ||
114 | @@ -89,7 +91,12 @@ static const struct i2c_device_id fmc64_id[] = { | ||
115 | }; | ||
116 | MODULE_DEVICE_TABLE(i2c, fmc64_id); | ||
117 | |||
118 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) | ||
119 | static int fmc64_probe(struct i2c_client *client) | ||
120 | +#else | ||
121 | +static int fmc64_probe(struct i2c_client *client, | ||
122 | + const struct i2c_device_id *id) | ||
123 | +#endif | ||
124 | { | ||
125 | int ret; | ||
126 | |||
127 | @@ -118,9 +125,16 @@ err_regmap: | ||
128 | return ret; | ||
129 | } | ||
130 | |||
131 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0) | ||
132 | static void fmc64_remove(struct i2c_client *client) | ||
133 | { | ||
134 | } | ||
135 | +#else | ||
136 | +static int fmc64_remove(struct i2c_client *client) | ||
137 | +{ | ||
138 | + return 0; | ||
139 | +} | ||
140 | +#endif | ||
141 | |||
142 | static struct i2c_driver fmc64_i2c_driver = { | ||
143 | .driver = { | ||
144 | diff --git a/dp/xfmc/fmc65.c b/dp/xfmc/fmc65.c | ||
145 | index 9f091f9..ce7f884 | ||
146 | --- a/dp/xfmc/fmc65.c | ||
147 | +++ b/dp/xfmc/fmc65.c | ||
148 | @@ -14,6 +14,7 @@ | ||
149 | #include <linux/module.h> | ||
150 | #include <linux/regmap.h> | ||
151 | #include <linux/slab.h> | ||
152 | +#include <linux/version.h> | ||
153 | |||
154 | /**************************** Type Definitions *******************************/ | ||
155 | |||
156 | @@ -91,7 +92,12 @@ static const struct i2c_device_id fmc65_id[] = { | ||
157 | }; | ||
158 | MODULE_DEVICE_TABLE(i2c, fmc65_id); | ||
159 | |||
160 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) | ||
161 | static int fmc65_probe(struct i2c_client *client) | ||
162 | +#else | ||
163 | +static int fmc65_probe(struct i2c_client *client, | ||
164 | + const struct i2c_device_id *id) | ||
165 | +#endif | ||
166 | { | ||
167 | int ret; | ||
168 | |||
169 | @@ -120,9 +126,16 @@ err_regmap: | ||
170 | return ret; | ||
171 | } | ||
172 | |||
173 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0) | ||
174 | static void fmc65_remove(struct i2c_client *client) | ||
175 | { | ||
176 | } | ||
177 | +#else | ||
178 | +static int fmc65_remove(struct i2c_client *client) | ||
179 | +{ | ||
180 | + return 0; | ||
181 | +} | ||
182 | +#endif | ||
183 | |||
184 | static struct i2c_driver fmc65_i2c_driver = { | ||
185 | .driver = { | ||
186 | diff --git a/dp/xfmc/idt.c b/dp/xfmc/idt.c | ||
187 | index 348c863..f332277 | ||
188 | --- a/dp/xfmc/idt.c | ||
189 | +++ b/dp/xfmc/idt.c | ||
190 | @@ -17,6 +17,7 @@ | ||
191 | #include <linux/of_gpio.h> | ||
192 | #include <linux/regmap.h> | ||
193 | #include <linux/slab.h> | ||
194 | +#include <linux/version.h> | ||
195 | |||
196 | #define IDT_8T49N24X_REVID 0x0 /**< Device Revision */ | ||
197 | #define IDT_8T49N24X_DEVID 0x0607 /**< Device ID Code */ | ||
198 | @@ -38,8 +39,8 @@ | ||
199 | #define IDT_8T49N24X_P_MAX pow(2, 22) //!< Maximum P divider value | ||
200 | #define IDT_8T49N24X_M_MAX pow(2, 24) //!< Maximum M multiplier value | ||
201 | |||
202 | -#define TRUE 1 | ||
203 | -#define FALSE 0 | ||
204 | +#define IDT_TRUE 1 | ||
205 | +#define IDT_FALSE 0 | ||
206 | #define XPAR_IIC_0_BASEADDR 0xA0080000 | ||
207 | #define I2C_IDT8N49_ADDR 0x7C | ||
208 | /* | ||
209 | @@ -455,7 +456,7 @@ int IDT_8T49N24x_Init(void) | ||
210 | int ret = 0; | ||
211 | |||
212 | msleep_range(30); | ||
213 | - ret = idt_enable(FALSE); | ||
214 | + ret = idt_enable(IDT_FALSE); | ||
215 | if (ret) | ||
216 | dev_dbg(&idt->client->dev, | ||
217 | "IDT_8T49N24x_enable 0 I2C progmming failed\n"); | ||
218 | @@ -468,7 +469,7 @@ int IDT_8T49N24x_Init(void) | ||
219 | |||
220 | msleep_range(30); | ||
221 | /* enable DPLL and APLL calibration. */ | ||
222 | - ret = idt_enable(TRUE); | ||
223 | + ret = idt_enable(IDT_TRUE); | ||
224 | if (ret) | ||
225 | dev_dbg(&idt->client->dev, | ||
226 | "IDT_8T49N24x_enable 1 I2C progmming failed\n"); | ||
227 | @@ -489,7 +490,12 @@ static const struct i2c_device_id idt_id[] = { | ||
228 | }; | ||
229 | MODULE_DEVICE_TABLE(i2c, idt_id); | ||
230 | |||
231 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) | ||
232 | static int idt_probe(struct i2c_client *client) | ||
233 | +#else | ||
234 | +static int idt_probe(struct i2c_client *client, | ||
235 | + const struct i2c_device_id *id) | ||
236 | +#endif | ||
237 | { | ||
238 | int ret; | ||
239 | |||
240 | @@ -517,9 +523,16 @@ err_regmap: | ||
241 | return ret; | ||
242 | } | ||
243 | |||
244 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0) | ||
245 | static void idt_remove(struct i2c_client *client) | ||
246 | { | ||
247 | } | ||
248 | +#else | ||
249 | +static int idt_remove(struct i2c_client *client) | ||
250 | +{ | ||
251 | + return 0; | ||
252 | +} | ||
253 | +#endif | ||
254 | |||
255 | static struct i2c_driver idt_i2c_driver = { | ||
256 | .driver = { | ||
257 | diff --git a/dp/xfmc/mcdp6000.c b/dp/xfmc/mcdp6000.c | ||
258 | index 5a7c5b2..f13979b | ||
259 | --- a/dp/xfmc/mcdp6000.c | ||
260 | +++ b/dp/xfmc/mcdp6000.c | ||
261 | @@ -14,6 +14,7 @@ | ||
262 | #include <linux/module.h> | ||
263 | #include <linux/regmap.h> | ||
264 | #include <linux/slab.h> | ||
265 | +#include <linux/version.h> | ||
266 | |||
267 | #define SWAP_BYTES(u32Value) ((u32Value & 0x000000FF) << 24)\ | ||
268 | |((u32Value & 0x0000FF00) << 8) \ | ||
269 | @@ -363,7 +364,12 @@ static const struct i2c_device_id mcdp6000_id[] = { | ||
270 | }; | ||
271 | MODULE_DEVICE_TABLE(i2c, mcdp6000_id); | ||
272 | |||
273 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) | ||
274 | static int mcdp6000_probe(struct i2c_client *client) | ||
275 | +#else | ||
276 | +static int mcdp6000_probe(struct i2c_client *client, | ||
277 | + const struct i2c_device_id *id) | ||
278 | +#endif | ||
279 | { | ||
280 | int ret; | ||
281 | |||
282 | @@ -393,9 +399,16 @@ err_regmap: | ||
283 | return ret; | ||
284 | } | ||
285 | |||
286 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0) | ||
287 | static void mcdp6000_remove(struct i2c_client *client) | ||
288 | { | ||
289 | } | ||
290 | +#else | ||
291 | +static int mcdp6000_remove(struct i2c_client *client) | ||
292 | +{ | ||
293 | + return 0; | ||
294 | +} | ||
295 | +#endif | ||
296 | |||
297 | static struct i2c_driver mcdp6000_i2c_driver = { | ||
298 | .driver = { | ||
299 | diff --git a/dp/xfmc/tipower.c b/dp/xfmc/tipower.c | ||
300 | index 46c3de1..6d247a8 | ||
301 | --- a/dp/xfmc/tipower.c | ||
302 | +++ b/dp/xfmc/tipower.c | ||
303 | @@ -14,6 +14,7 @@ | ||
304 | #include <linux/module.h> | ||
305 | #include <linux/regmap.h> | ||
306 | #include <linux/slab.h> | ||
307 | +#include <linux/version.h> | ||
308 | |||
309 | /**************************** Type Definitions *******************************/ | ||
310 | |||
311 | @@ -131,7 +132,12 @@ static const struct i2c_device_id tipower_id[] = { | ||
312 | }; | ||
313 | MODULE_DEVICE_TABLE(i2c, tipower_id); | ||
314 | |||
315 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) | ||
316 | static int tipower_probe(struct i2c_client *client) | ||
317 | +#else | ||
318 | +static int tipower_probe(struct i2c_client *client, | ||
319 | + const struct i2c_device_id *id) | ||
320 | +#endif | ||
321 | { | ||
322 | int ret; | ||
323 | |||
324 | @@ -162,9 +168,16 @@ err_regmap: | ||
325 | return ret; | ||
326 | } | ||
327 | |||
328 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0) | ||
329 | static void tipower_remove(struct i2c_client *client) | ||
330 | { | ||
331 | } | ||
332 | +#else | ||
333 | +static int tipower_remove(struct i2c_client *client) | ||
334 | +{ | ||
335 | + return 0; | ||
336 | +} | ||
337 | +#endif | ||
338 | |||
339 | static struct i2c_driver tipower_i2c_driver = { | ||
340 | .driver = { | ||
341 | -- | ||
342 | 2.34.1 | ||
343 | |||
diff --git a/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_2022.1.bb b/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_2022.1.bb deleted file mode 100755 index 31c810ba..00000000 --- a/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_2022.1.bb +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | SUMMARY = "Xilinx DisplayPort Linux Kernel module" | ||
2 | DESCRIPTION = "Out-of-tree DisplayPort(DP) kernel modules provider for aarch64 devices" | ||
3 | SECTION = "kernel/modules" | ||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" | ||
6 | |||
7 | XLNX_DP_VERSION = "5.10.0" | ||
8 | PV = "${XLNX_DP_VERSION}+xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | BRANCH ?= "xlnx_rel_v2022.1" | ||
13 | REPO ?= "git://github.com/xilinx/dp-modules.git;protocol=https" | ||
14 | SRCREV ?= "9a025fdb7134a8af12de8d69f5a428c8284ae9b3" | ||
15 | |||
16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
17 | SRC_URI = "${REPO};${BRANCHARG}" | ||
18 | |||
19 | inherit module | ||
20 | |||
21 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
22 | COMPATIBLE_MACHINE = "^$" | ||
23 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" | ||
24 | COMPATIBLE_MACHINE:versal = "versal" | ||
diff --git a/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_2022.2.bb b/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_2022.2.bb deleted file mode 100644 index dda6ec31..00000000 --- a/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_2022.2.bb +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | SUMMARY = "Xilinx DisplayPort Linux Kernel module" | ||
2 | DESCRIPTION = "Out-of-tree DisplayPort(DP) kernel modules provider for aarch64 devices" | ||
3 | SECTION = "kernel/modules" | ||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" | ||
6 | |||
7 | XLNX_DP_VERSION = "5.10.0" | ||
8 | PV = "${XLNX_DP_VERSION}+xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | BRANCH ?= "xlnx_rel_v2022.2" | ||
13 | REPO ?= "git://github.com/xilinx/dp-modules.git;protocol=https" | ||
14 | SRCREV ?= "c57b2ce95ee6c86f35caecbc7007644ff8f6d337" | ||
15 | |||
16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
17 | SRC_URI = "${REPO};${BRANCHARG}" | ||
18 | |||
19 | inherit module | ||
20 | |||
21 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
22 | COMPATIBLE_MACHINE = "^$" | ||
23 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" | ||
24 | COMPATIBLE_MACHINE:versal = "versal" | ||
diff --git a/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_2023.1.bb b/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_2023.1.bb deleted file mode 100644 index 28770994..00000000 --- a/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_2023.1.bb +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | SUMMARY = "Xilinx DisplayPort Linux Kernel module" | ||
2 | DESCRIPTION = "Out-of-tree DisplayPort(DP) kernel modules provider for aarch64 devices" | ||
3 | SECTION = "kernel/modules" | ||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" | ||
6 | |||
7 | XLNX_DP_VERSION = "6.1.0" | ||
8 | PV = "${XLNX_DP_VERSION}+xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | BRANCH ?= "xlnx_rel_v2023.1" | ||
13 | REPO ?= "git://github.com/xilinx/dp-modules.git;protocol=https" | ||
14 | SRCREV ?= "5b0969ac09f301c33bccc140c8f60e832f5cf222" | ||
15 | |||
16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
17 | SRC_URI = "${REPO};${BRANCHARG}" | ||
18 | |||
19 | inherit module | ||
20 | |||
21 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
22 | COMPATIBLE_MACHINE = "^$" | ||
23 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" | ||
24 | COMPATIBLE_MACHINE:versal = "versal" | ||
diff --git a/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_2023.2.bb b/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_2023.2.bb deleted file mode 100644 index d1c6bd3d..00000000 --- a/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_2023.2.bb +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | SUMMARY = "Xilinx DisplayPort Linux Kernel module" | ||
2 | DESCRIPTION = "Out-of-tree DisplayPort(DP) kernel modules provider for aarch64 devices" | ||
3 | SECTION = "kernel/modules" | ||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" | ||
6 | |||
7 | XLNX_DP_VERSION = "6.1.0" | ||
8 | PV = "${XLNX_DP_VERSION}+xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | BRANCH ?= "xlnx_rel_v2023.2" | ||
13 | REPO ?= "git://github.com/xilinx/dp-modules.git;protocol=https" | ||
14 | SRCREV ?= "5b0969ac09f301c33bccc140c8f60e832f5cf222" | ||
15 | |||
16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
17 | SRC_URI = "${REPO};${BRANCHARG}" | ||
18 | |||
19 | inherit module | ||
20 | |||
21 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
22 | COMPATIBLE_MACHINE = "^$" | ||
23 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" | ||
24 | COMPATIBLE_MACHINE:versal = "versal" | ||
diff --git a/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_2024.1.bb b/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_6.6.10.bb index 503cee02..3aaac030 100644 --- a/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_2024.1.bb +++ b/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_6.6.10.bb | |||
@@ -4,8 +4,7 @@ SECTION = "kernel/modules" | |||
4 | LICENSE = "GPL-2.0-only" | 4 | LICENSE = "GPL-2.0-only" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" |
6 | 6 | ||
7 | XLNX_DP_VERSION = "6.1.0" | 7 | PV .= "+git" |
8 | PV = "${XLNX_DP_VERSION}+xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
9 | 8 | ||
10 | S = "${WORKDIR}/git" | 9 | S = "${WORKDIR}/git" |
11 | 10 | ||
@@ -16,6 +15,8 @@ SRCREV ?= "e20942b256e6fb18eaef919c7441f65ad8afcf43" | |||
16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 15 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
17 | SRC_URI = "${REPO};${BRANCHARG}" | 16 | SRC_URI = "${REPO};${BRANCHARG}" |
18 | 17 | ||
18 | SRC_URI += "file://0001-Support-both-pre-6.4.0-and-current-i2c-probing.patch" | ||
19 | |||
19 | inherit module | 20 | inherit module |
20 | 21 | ||
21 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | 22 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" |
diff --git a/meta-xilinx-core/recipes-kernel/dtc/python3-dtc/0001-Revert-libfdt-overlay-make-overlay_get_target-public.patch b/meta-xilinx-core/recipes-kernel/dtc/python3-dtc/0001-Revert-libfdt-overlay-make-overlay_get_target-public.patch deleted file mode 100644 index cf4739eb..00000000 --- a/meta-xilinx-core/recipes-kernel/dtc/python3-dtc/0001-Revert-libfdt-overlay-make-overlay_get_target-public.patch +++ /dev/null | |||
@@ -1,129 +0,0 @@ | |||
1 | From 4d4703e0199fb3556c37694e4d951785abca22fd Mon Sep 17 00:00:00 2001 | ||
2 | From: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
3 | Date: Wed, 19 Jan 2022 12:46:42 -0500 | ||
4 | Subject: [PATCH] Revert "libfdt: overlay: make overlay_get_target() public" | ||
5 | |||
6 | This reverts commit 45f3d1a095dd3440578d5c6313eba555a791f3fb. | ||
7 | --- | ||
8 | libfdt/fdt_overlay.c | 29 ++++++++++++++++++++++------- | ||
9 | libfdt/libfdt.h | 18 ------------------ | ||
10 | libfdt/version.lds | 1 - | ||
11 | 3 files changed, 22 insertions(+), 26 deletions(-) | ||
12 | |||
13 | diff --git a/libfdt/fdt_overlay.c b/libfdt/fdt_overlay.c | ||
14 | index 5c0c398..d217e79 100644 | ||
15 | --- a/libfdt/fdt_overlay.c | ||
16 | +++ b/libfdt/fdt_overlay.c | ||
17 | @@ -40,22 +40,37 @@ static uint32_t overlay_get_target_phandle(const void *fdto, int fragment) | ||
18 | return fdt32_to_cpu(*val); | ||
19 | } | ||
20 | |||
21 | -int fdt_overlay_target_offset(const void *fdt, const void *fdto, | ||
22 | - int fragment_offset, char const **pathp) | ||
23 | +/** | ||
24 | + * overlay_get_target - retrieves the offset of a fragment's target | ||
25 | + * @fdt: Base device tree blob | ||
26 | + * @fdto: Device tree overlay blob | ||
27 | + * @fragment: node offset of the fragment in the overlay | ||
28 | + * @pathp: pointer which receives the path of the target (or NULL) | ||
29 | + * | ||
30 | + * overlay_get_target() retrieves the target offset in the base | ||
31 | + * device tree of a fragment, no matter how the actual targeting is | ||
32 | + * done (through a phandle or a path) | ||
33 | + * | ||
34 | + * returns: | ||
35 | + * the targeted node offset in the base device tree | ||
36 | + * Negative error code on error | ||
37 | + */ | ||
38 | +static int overlay_get_target(const void *fdt, const void *fdto, | ||
39 | + int fragment, char const **pathp) | ||
40 | { | ||
41 | uint32_t phandle; | ||
42 | const char *path = NULL; | ||
43 | int path_len = 0, ret; | ||
44 | |||
45 | /* Try first to do a phandle based lookup */ | ||
46 | - phandle = overlay_get_target_phandle(fdto, fragment_offset); | ||
47 | + phandle = overlay_get_target_phandle(fdto, fragment); | ||
48 | if (phandle == (uint32_t)-1) | ||
49 | return -FDT_ERR_BADPHANDLE; | ||
50 | |||
51 | /* no phandle, try path */ | ||
52 | if (!phandle) { | ||
53 | /* And then a path based lookup */ | ||
54 | - path = fdt_getprop(fdto, fragment_offset, "target-path", &path_len); | ||
55 | + path = fdt_getprop(fdto, fragment, "target-path", &path_len); | ||
56 | if (path) | ||
57 | ret = fdt_path_offset(fdt, path); | ||
58 | else | ||
59 | @@ -621,7 +636,7 @@ static int overlay_merge(void *fdt, void *fdto) | ||
60 | if (overlay < 0) | ||
61 | return overlay; | ||
62 | |||
63 | - target = fdt_overlay_target_offset(fdt, fdto, fragment, NULL); | ||
64 | + target = overlay_get_target(fdt, fdto, fragment, NULL); | ||
65 | if (target < 0) | ||
66 | return target; | ||
67 | |||
68 | @@ -764,7 +779,7 @@ static int overlay_symbol_update(void *fdt, void *fdto) | ||
69 | return -FDT_ERR_BADOVERLAY; | ||
70 | |||
71 | /* get the target of the fragment */ | ||
72 | - ret = fdt_overlay_target_offset(fdt, fdto, fragment, &target_path); | ||
73 | + ret = overlay_get_target(fdt, fdto, fragment, &target_path); | ||
74 | if (ret < 0) | ||
75 | return ret; | ||
76 | target = ret; | ||
77 | @@ -786,7 +801,7 @@ static int overlay_symbol_update(void *fdt, void *fdto) | ||
78 | |||
79 | if (!target_path) { | ||
80 | /* again in case setprop_placeholder changed it */ | ||
81 | - ret = fdt_overlay_target_offset(fdt, fdto, fragment, &target_path); | ||
82 | + ret = overlay_get_target(fdt, fdto, fragment, &target_path); | ||
83 | if (ret < 0) | ||
84 | return ret; | ||
85 | target = ret; | ||
86 | diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h | ||
87 | index a7f432c..7f117e8 100644 | ||
88 | --- a/libfdt/libfdt.h | ||
89 | +++ b/libfdt/libfdt.h | ||
90 | @@ -2116,24 +2116,6 @@ int fdt_del_node(void *fdt, int nodeoffset); | ||
91 | */ | ||
92 | int fdt_overlay_apply(void *fdt, void *fdto); | ||
93 | |||
94 | -/** | ||
95 | - * fdt_overlay_target_offset - retrieves the offset of a fragment's target | ||
96 | - * @fdt: Base device tree blob | ||
97 | - * @fdto: Device tree overlay blob | ||
98 | - * @fragment_offset: node offset of the fragment in the overlay | ||
99 | - * @pathp: pointer which receives the path of the target (or NULL) | ||
100 | - * | ||
101 | - * fdt_overlay_target_offset() retrieves the target offset in the base | ||
102 | - * device tree of a fragment, no matter how the actual targeting is | ||
103 | - * done (through a phandle or a path) | ||
104 | - * | ||
105 | - * returns: | ||
106 | - * the targeted node offset in the base device tree | ||
107 | - * Negative error code on error | ||
108 | - */ | ||
109 | -int fdt_overlay_target_offset(const void *fdt, const void *fdto, | ||
110 | - int fragment_offset, char const **pathp); | ||
111 | - | ||
112 | /**********************************************************************/ | ||
113 | /* Debugging / informational functions */ | ||
114 | /**********************************************************************/ | ||
115 | diff --git a/libfdt/version.lds b/libfdt/version.lds | ||
116 | index cbce5d4..7ab85f1 100644 | ||
117 | --- a/libfdt/version.lds | ||
118 | +++ b/libfdt/version.lds | ||
119 | @@ -77,7 +77,6 @@ LIBFDT_1.2 { | ||
120 | fdt_appendprop_addrrange; | ||
121 | fdt_setprop_inplace_namelen_partial; | ||
122 | fdt_create_with_flags; | ||
123 | - fdt_overlay_target_offset; | ||
124 | local: | ||
125 | *; | ||
126 | }; | ||
127 | -- | ||
128 | 2.19.1 | ||
129 | |||
diff --git a/meta-xilinx-core/recipes-kernel/dtc/python3-dtc_1.6.1.bb b/meta-xilinx-core/recipes-kernel/dtc/python3-dtc_1.6.1.bb deleted file mode 100644 index a868bd01..00000000 --- a/meta-xilinx-core/recipes-kernel/dtc/python3-dtc_1.6.1.bb +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | SUMMARY = "Python Library for the Device Tree Compiler" | ||
2 | HOMEPAGE = "https://devicetree.org/" | ||
3 | DESCRIPTION = "A python library for the Device Tree Compiler, a tool used to manipulate Device Tree files which contain a data structure for describing hardware." | ||
4 | SECTION = "bootloader" | ||
5 | LICENSE = "GPL-2.0-only | BSD-2-Clause" | ||
6 | |||
7 | DEPENDS = "flex-native bison-native swig-native python3-setuptools-scm-native libyaml dtc" | ||
8 | |||
9 | SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git;branch=master \ | ||
10 | file://0001-Revert-libfdt-overlay-make-overlay_get_target-public.patch \ | ||
11 | " | ||
12 | |||
13 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | ||
14 | |||
15 | LIC_FILES_CHKSUM = "file://pylibfdt/libfdt.i;beginline=1;endline=6;md5=afda088c974174a29108c8d80b5dce90" | ||
16 | |||
17 | SRCREV = "c001fc01a43e7a06447c06ea3d50bd60641322b8" | ||
18 | |||
19 | PV = "1.6.1+git${SRCPV}" | ||
20 | S = "${WORKDIR}/git" | ||
21 | |||
22 | PYPA_WHEEL = "${S}/dist/libfdt-1.6.2*.whl" | ||
23 | |||
24 | inherit setuptools3 pkgconfig | ||
25 | |||
26 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-xilinx-core/recipes-kernel/hdmi/files/0001-Support-both-pre-6.4.0-and-current-kernels.patch b/meta-xilinx-core/recipes-kernel/hdmi/files/0001-Support-both-pre-6.4.0-and-current-kernels.patch new file mode 100644 index 00000000..9bdbfc94 --- /dev/null +++ b/meta-xilinx-core/recipes-kernel/hdmi/files/0001-Support-both-pre-6.4.0-and-current-kernels.patch | |||
@@ -0,0 +1,82 @@ | |||
1 | From e1352e6872edc2b521ad44eb776ce093553192e3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mark Hatle <mark.hatle@amd.com> | ||
3 | Date: Fri, 17 May 2024 10:44:37 -0600 | ||
4 | Subject: [PATCH] Support both pre 6.4.0 and current kernels | ||
5 | |||
6 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
7 | --- | ||
8 | hdmi/xilinx_drm_hdmi.c | 3 +++ | ||
9 | misc/dp159.c | 14 ++++++++++++++ | ||
10 | 2 files changed, 17 insertions(+) | ||
11 | |||
12 | diff --git a/hdmi/xilinx_drm_hdmi.c b/hdmi/xilinx_drm_hdmi.c | ||
13 | index 104fc3d..6ebbdca 100644 | ||
14 | --- a/hdmi/xilinx_drm_hdmi.c | ||
15 | +++ b/hdmi/xilinx_drm_hdmi.c | ||
16 | @@ -17,6 +17,7 @@ | ||
17 | * GNU General Public License for more details. | ||
18 | */ | ||
19 | |||
20 | +#include <linux/version.h> | ||
21 | #include <drm/drm_atomic_helper.h> | ||
22 | #include <drm/drm_connector.h> | ||
23 | #include <drm/drm_crtc.h> | ||
24 | @@ -27,7 +28,9 @@ | ||
25 | #include <drm/drm_of.h> | ||
26 | #include <drm/drm_probe_helper.h> | ||
27 | #include <drm/drm_sysfs.h> | ||
28 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0) | ||
29 | #include <drm/display/drm_hdmi_helper.h> | ||
30 | +#endif | ||
31 | |||
32 | #include <linux/clk.h> | ||
33 | #include <linux/delay.h> | ||
34 | diff --git a/misc/dp159.c b/misc/dp159.c | ||
35 | index 73e886f..d2c60d9 100644 | ||
36 | --- a/misc/dp159.c | ||
37 | +++ b/misc/dp159.c | ||
38 | @@ -28,6 +28,7 @@ | ||
39 | #include <linux/of.h> | ||
40 | #include <linux/of.h> | ||
41 | #include <linux/clk-provider.h> | ||
42 | +#include <linux/version.h> | ||
43 | |||
44 | MODULE_DESCRIPTION("i2c device driver for dp159 redriver and retimer"); | ||
45 | MODULE_AUTHOR("Leon Woestenberg"); | ||
46 | @@ -133,7 +134,12 @@ struct clk_ops clk_tx_rate_ops = { | ||
47 | .round_rate = &clk_tx_round_rate, | ||
48 | }; | ||
49 | |||
50 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) | ||
51 | static int dp159_probe(struct i2c_client *client) | ||
52 | +#else | ||
53 | +static int dp159_probe(struct i2c_client *client, | ||
54 | + const struct i2c_device_id *id) | ||
55 | +#endif | ||
56 | { | ||
57 | struct clk_tx_linerate *clk_tx; | ||
58 | struct clk *clk; | ||
59 | @@ -191,12 +197,20 @@ static int dp159_probe(struct i2c_client *client) | ||
60 | return 0; | ||
61 | } | ||
62 | |||
63 | + | ||
64 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0) | ||
65 | static void dp159_remove(struct i2c_client *client) | ||
66 | +#else | ||
67 | +static int dp159_remove(struct i2c_client *client) | ||
68 | +#endif | ||
69 | { | ||
70 | struct clk_tx_linerate *clk_tx; | ||
71 | clk_tx = (struct clk_tx_linerate *)i2c_get_clientdata(client); | ||
72 | if (clk_tx) | ||
73 | clk_unregister(clk_tx->clk); | ||
74 | +#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 1, 0) | ||
75 | + return 0; | ||
76 | +#endif | ||
77 | } | ||
78 | |||
79 | static const struct i2c_device_id dp159_id[] = { | ||
80 | -- | ||
81 | 2.34.1 | ||
82 | |||
diff --git a/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_2022.1.bb b/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_2022.1.bb deleted file mode 100644 index ea649bc4..00000000 --- a/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_2022.1.bb +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | SUMMARY = "Xilinx HDMI Linux Kernel module" | ||
2 | DESCRIPTION = "Out-of-tree HDMI kernel modules provider for MPSoC EG/EV devices" | ||
3 | SECTION = "kernel/modules" | ||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=b34277fe156508fd5a650609dc36d1fe" | ||
6 | |||
7 | XLNX_HDMI_VERSION = "5.15.0" | ||
8 | PV = "${XLNX_HDMI_VERSION}+xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | BRANCH ?= "xlnx_rel_v2022.1" | ||
13 | REPO ?= "git://github.com/Xilinx/hdmi-modules.git;protocol=https" | ||
14 | SRCREV = "25b6fe7a26a975be15c002b48cfd4c291486491e" | ||
15 | |||
16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
17 | SRC_URI = "${REPO};${BRANCHARG}" | ||
18 | |||
19 | inherit module | ||
20 | |||
21 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
22 | COMPATIBLE_MACHINE = "^$" | ||
23 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" | ||
24 | COMPATIBLE_MACHINE:versal = "versal" | ||
diff --git a/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_2022.2.bb b/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_2022.2.bb deleted file mode 100644 index c1f66013..00000000 --- a/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_2022.2.bb +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | SUMMARY = "Xilinx HDMI Linux Kernel module" | ||
2 | DESCRIPTION = "Out-of-tree HDMI kernel modules provider for MPSoC EG/EV devices" | ||
3 | SECTION = "kernel/modules" | ||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=b34277fe156508fd5a650609dc36d1fe" | ||
6 | |||
7 | XLNX_HDMI_VERSION = "5.15.19" | ||
8 | PV = "${XLNX_HDMI_VERSION}+xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | BRANCH ?= "xlnx_rel_v2022.2" | ||
13 | REPO ?= "git://github.com/Xilinx/hdmi-modules.git;protocol=https" | ||
14 | SRCREV = "25b6fe7a26a975be15c002b48cfd4c291486491e" | ||
15 | |||
16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
17 | SRC_URI = "${REPO};${BRANCHARG}" | ||
18 | |||
19 | inherit module | ||
20 | |||
21 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
22 | COMPATIBLE_MACHINE = "^$" | ||
23 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" | ||
24 | COMPATIBLE_MACHINE:versal = "versal" | ||
diff --git a/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_2023.1.bb b/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_2023.1.bb deleted file mode 100644 index 20acb8b3..00000000 --- a/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_2023.1.bb +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | SUMMARY = "Xilinx HDMI Linux Kernel module" | ||
2 | DESCRIPTION = "Out-of-tree HDMI kernel modules provider for MPSoC EG/EV devices" | ||
3 | SECTION = "kernel/modules" | ||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=b34277fe156508fd5a650609dc36d1fe" | ||
6 | |||
7 | XLNX_HDMI_VERSION = "6.1" | ||
8 | PV = "${XLNX_HDMI_VERSION}+xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | BRANCH ?= "xlnx_rel_v2023.1" | ||
13 | REPO ?= "git://github.com/Xilinx/hdmi-modules.git;protocol=https" | ||
14 | SRCREV = "1c6330f02fea68992e22400fdbc8c0d0e63e2958" | ||
15 | |||
16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
17 | SRC_URI = "${REPO};${BRANCHARG}" | ||
18 | |||
19 | inherit module | ||
20 | |||
21 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
22 | COMPATIBLE_MACHINE = "^$" | ||
23 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" | ||
24 | COMPATIBLE_MACHINE:versal = "versal" | ||
diff --git a/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_2023.2.bb b/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_2023.2.bb deleted file mode 100644 index bc89f5f3..00000000 --- a/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_2023.2.bb +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | SUMMARY = "Xilinx HDMI Linux Kernel module" | ||
2 | DESCRIPTION = "Out-of-tree HDMI kernel modules provider for MPSoC EG/EV devices" | ||
3 | SECTION = "kernel/modules" | ||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=b34277fe156508fd5a650609dc36d1fe" | ||
6 | |||
7 | XLNX_HDMI_VERSION = "6.1" | ||
8 | PV = "${XLNX_HDMI_VERSION}+xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | BRANCH ?= "xlnx_rel_v2023.2" | ||
13 | REPO ?= "git://github.com/Xilinx/hdmi-modules.git;protocol=https" | ||
14 | SRCREV = "82209b0021a7b5d7ef71a859eed4bafeb541ed08" | ||
15 | |||
16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
17 | SRC_URI = "${REPO};${BRANCHARG}" | ||
18 | |||
19 | inherit module | ||
20 | |||
21 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
22 | COMPATIBLE_MACHINE = "^$" | ||
23 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" | ||
24 | COMPATIBLE_MACHINE:versal = "versal" | ||
diff --git a/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_2024.1.bb b/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_6.6.10.bb index 73a22d30..7e25fe1f 100644 --- a/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_2024.1.bb +++ b/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_6.6.10.bb | |||
@@ -4,8 +4,7 @@ SECTION = "kernel/modules" | |||
4 | LICENSE = "GPL-2.0-only" | 4 | LICENSE = "GPL-2.0-only" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=b34277fe156508fd5a650609dc36d1fe" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=b34277fe156508fd5a650609dc36d1fe" |
6 | 6 | ||
7 | XLNX_HDMI_VERSION = "6.1" | 7 | PV .= "+git" |
8 | PV = "${XLNX_HDMI_VERSION}+xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
9 | 8 | ||
10 | S = "${WORKDIR}/git" | 9 | S = "${WORKDIR}/git" |
11 | 10 | ||
@@ -16,6 +15,8 @@ SRCREV = "edd297762e0bac3f4c5b64ef67244968e22020e2" | |||
16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 15 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
17 | SRC_URI = "${REPO};${BRANCHARG}" | 16 | SRC_URI = "${REPO};${BRANCHARG}" |
18 | 17 | ||
18 | SRC_URI += "file://0001-Support-both-pre-6.4.0-and-current-kernels.patch" | ||
19 | |||
19 | inherit module | 20 | inherit module |
20 | 21 | ||
21 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | 22 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" |
diff --git a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc index 2355d090..897fbb1c 100644 --- a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc +++ b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | # This version extension should match CONFIG_LOCALVERSION in defconfig | 1 | # This version extension should match CONFIG_LOCALVERSION in defconfig |
2 | LINUX_VERSION_EXTENSION ?= "-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}" | 2 | LINUX_VERSION_EXTENSION ?= "-xilinx" |
3 | PV = "${LINUX_VERSION}${LINUX_VERSION_EXTENSION}+git${SRCPV}" | 3 | PV = "${LINUX_VERSION}+git" |
4 | 4 | ||
5 | # Sources, by default allow for the use of SRCREV pointing to orphaned tags/commits | 5 | # Sources, by default allow for the use of SRCREV pointing to orphaned tags/commits |
6 | KBRANCH ?= "undefined" | 6 | KBRANCH ?= "undefined" |
diff --git a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.1.bb b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_5.15-v2022.1.bb index 41c1ffe2..41c1ffe2 100644 --- a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.1.bb +++ b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_5.15-v2022.1.bb | |||
diff --git a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.2.bb b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_5.15-v2022.2.bb index 260224b8..260224b8 100644 --- a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.2.bb +++ b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_5.15-v2022.2.bb | |||
diff --git a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2023.1.bb b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_6.1-v2023.1.bb index d229f21c..d229f21c 100644 --- a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2023.1.bb +++ b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_6.1-v2023.1.bb | |||
diff --git a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2023.2.bb b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_6.1-v2023.2.bb index ec5827e6..ec5827e6 100644 --- a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2023.2.bb +++ b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_6.1-v2023.2.bb | |||
diff --git a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2024.1.bb b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_6.6.10-v2024.1.bb index 71ac690e..71ac690e 100644 --- a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2024.1.bb +++ b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_6.6.10-v2024.1.bb | |||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/files/0001-Current-gcc-requires-cstdint-for-C-types.patch b/meta-xilinx-core/recipes-multimedia/vcu/files/0001-Current-gcc-requires-cstdint-for-C-types.patch deleted file mode 100644 index defe14dc..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/files/0001-Current-gcc-requires-cstdint-for-C-types.patch +++ /dev/null | |||
@@ -1,55 +0,0 @@ | |||
1 | From 2316632e8f3eefc21bc4f9cb97be4603b4c14719 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mark Hatle <mark.hatle@amd.com> | ||
3 | Date: Thu, 28 Sep 2023 12:24:04 -0600 | ||
4 | Subject: [PATCH] Current gcc requires cstdint for C types | ||
5 | |||
6 | Add #include <cstdint> to resolve the issues similar to the following: | ||
7 | |||
8 | module/module_structs.h:259:3: note: 'uint16_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? | ||
9 | module/module_structs.h:260:3: error: 'uint16_t' does not name a type | ||
10 | |||
11 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
12 | --- | ||
13 | exe_omx/encoder/EncCmdMngr.h | 1 + | ||
14 | module/module_structs.h | 1 + | ||
15 | utility/processor_fifo.h | 1 + | ||
16 | 3 files changed, 3 insertions(+) | ||
17 | |||
18 | diff --git a/exe_omx/encoder/EncCmdMngr.h b/exe_omx/encoder/EncCmdMngr.h | ||
19 | index 6dacd68..cd3d0a6 100644 | ||
20 | --- a/exe_omx/encoder/EncCmdMngr.h | ||
21 | +++ b/exe_omx/encoder/EncCmdMngr.h | ||
22 | @@ -7,6 +7,7 @@ | ||
23 | #include <iostream> | ||
24 | #include <string> | ||
25 | #include <vector> | ||
26 | +#include <cstdint> | ||
27 | |||
28 | #include "ICommandsSender.h" | ||
29 | |||
30 | diff --git a/module/module_structs.h b/module/module_structs.h | ||
31 | index 7151b86..37ff8ac 100644 | ||
32 | --- a/module/module_structs.h | ||
33 | +++ b/module/module_structs.h | ||
34 | @@ -6,6 +6,7 @@ | ||
35 | #include "module_enums.h" | ||
36 | #include <string> | ||
37 | #include <vector> | ||
38 | +#include <cstdint> | ||
39 | |||
40 | template<typename T> | ||
41 | struct InputOutput | ||
42 | diff --git a/utility/processor_fifo.h b/utility/processor_fifo.h | ||
43 | index 1c62ba4..3c9cd86 100644 | ||
44 | --- a/utility/processor_fifo.h | ||
45 | +++ b/utility/processor_fifo.h | ||
46 | @@ -6,6 +6,7 @@ | ||
47 | #include <utility/locked_queue.h> | ||
48 | #include <thread> | ||
49 | #include <functional> | ||
50 | +#include <string> | ||
51 | |||
52 | #if defined __linux__ | ||
53 | #include <sys/prctl.h> | ||
54 | -- | ||
55 | 2.34.1 | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/files/0001-Support-updated-gcc-add-cstdint-where-necessary.patch b/meta-xilinx-core/recipes-multimedia/vcu/files/0001-Support-updated-gcc-add-cstdint-where-necessary.patch deleted file mode 100644 index 788edd03..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/files/0001-Support-updated-gcc-add-cstdint-where-necessary.patch +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | From b58c0a7dd0eeb16b2251edfad3b4763ce5653ea2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mark Hatle <mark.hatle@amd.com> | ||
3 | Date: Thu, 28 Sep 2023 12:04:34 -0600 | ||
4 | Subject: [PATCH] Support updated gcc, add cstdint where necessary | ||
5 | |||
6 | With the latest gcc, cstdint is now needs to be explicitly included, otherwise | ||
7 | errors similar to the following will occur: | ||
8 | |||
9 | include/lib_app/Parser.h:413:36: error: 'uint32_t' has not been declared | ||
10 | 413 | static void resetFlag(T* bitfield, uint32_t uFlag) | ||
11 | | ^~~~~~~~ | ||
12 | include/lib_app/Parser.h: In function 'void resetFlag(T*, int)': | ||
13 | include/lib_app/Parser.h:415:20: error: 'uint32_t' was not declared in this scope | ||
14 | 415 | *bitfield = (T)((uint32_t)*bitfield & ~uFlag); | ||
15 | | ^~~~~~~~ | ||
16 | include/lib_app/Parser.h:18:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? | ||
17 | 17 | #include <iomanip> | ||
18 | +++ |+#include <cstdint> | ||
19 | 18 | | ||
20 | |||
21 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
22 | --- | ||
23 | exe_encoder/EncCmdMngr.h | 1 + | ||
24 | include/lib_app/Parser.h | 1 + | ||
25 | 2 files changed, 2 insertions(+) | ||
26 | |||
27 | diff --git a/exe_encoder/EncCmdMngr.h b/exe_encoder/EncCmdMngr.h | ||
28 | index 6dacd68..cd3d0a6 100644 | ||
29 | --- a/exe_encoder/EncCmdMngr.h | ||
30 | +++ b/exe_encoder/EncCmdMngr.h | ||
31 | @@ -7,6 +7,7 @@ | ||
32 | #include <iostream> | ||
33 | #include <string> | ||
34 | #include <vector> | ||
35 | +#include <cstdint> | ||
36 | |||
37 | #include "ICommandsSender.h" | ||
38 | |||
39 | diff --git a/include/lib_app/Parser.h b/include/lib_app/Parser.h | ||
40 | index efb7f94..66d5164 100644 | ||
41 | --- a/include/lib_app/Parser.h | ||
42 | +++ b/include/lib_app/Parser.h | ||
43 | @@ -15,6 +15,7 @@ | ||
44 | #include <sstream> | ||
45 | #include <vector> | ||
46 | #include <iomanip> | ||
47 | +#include <cstdint> | ||
48 | |||
49 | std::deque<Token> toReversePolish(std::deque<Token>& tokens); | ||
50 | std::string parseString(std::deque<Token>& tokens); | ||
51 | -- | ||
52 | 2.34.1 | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2022.1.bb b/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2022.1.bb deleted file mode 100644 index 7ef1d5fd..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2022.1.bb +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | SUMMARY = "Linux kernel module for Video Code Unit" | ||
2 | DESCRIPTION = "Out-of-tree VCU decoder, encoder and common kernel modules provider for MPSoC EV devices" | ||
3 | SECTION = "kernel/modules" | ||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" | ||
6 | |||
7 | XILINX_VCU_VERSION = "1.0.0" | ||
8 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | ||
13 | |||
14 | BRANCH = "xlnx_rel_v2022.1" | ||
15 | REPO = "git://github.com/Xilinx/vcu-modules.git;protocol=https" | ||
16 | SRCREV = "9d2657550eccebccce08cacfcdd369367b9f6be4" | ||
17 | |||
18 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
19 | SRC_URI = " \ | ||
20 | ${REPO};${BRANCHARG} \ | ||
21 | file://99-vcu-enc-dec.rules \ | ||
22 | " | ||
23 | |||
24 | inherit module features_check | ||
25 | |||
26 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
27 | |||
28 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
29 | |||
30 | RDEPENDS:${PN} = "vcu-firmware" | ||
31 | |||
32 | KERNEL_MODULE_AUTOLOAD += "dmaproxy" | ||
33 | |||
34 | do_install:append() { | ||
35 | install -d ${D}${sysconfdir}/udev/rules.d | ||
36 | install -m 0644 ${WORKDIR}/99-vcu-enc-dec.rules ${D}${sysconfdir}/udev/rules.d/ | ||
37 | } | ||
38 | |||
39 | FILES:${PN} = "${sysconfdir}/udev/rules.d/*" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2022.2.bb b/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2022.2.bb deleted file mode 100644 index b1c96d3c..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2022.2.bb +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | SUMMARY = "Linux kernel module for Video Code Unit" | ||
2 | DESCRIPTION = "Out-of-tree VCU decoder, encoder and common kernel modules provider for MPSoC EV devices" | ||
3 | SECTION = "kernel/modules" | ||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" | ||
6 | |||
7 | XILINX_VCU_VERSION = "1.0.0" | ||
8 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | ||
13 | |||
14 | BRANCH = "xlnx_rel_v2022.2" | ||
15 | REPO = "git://github.com/Xilinx/vcu-modules.git;protocol=https" | ||
16 | SRCREV = "b131e220285e06658b6ab27f9e19b1c592a55f3a" | ||
17 | |||
18 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
19 | SRC_URI = " \ | ||
20 | ${REPO};${BRANCHARG} \ | ||
21 | file://99-vcu-enc-dec.rules \ | ||
22 | " | ||
23 | |||
24 | inherit module features_check | ||
25 | |||
26 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
27 | |||
28 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
29 | |||
30 | RDEPENDS:${PN} = "vcu-firmware" | ||
31 | |||
32 | KERNEL_MODULE_AUTOLOAD += "dmaproxy" | ||
33 | |||
34 | do_install:append() { | ||
35 | install -d ${D}${sysconfdir}/udev/rules.d | ||
36 | install -m 0644 ${WORKDIR}/99-vcu-enc-dec.rules ${D}${sysconfdir}/udev/rules.d/ | ||
37 | } | ||
38 | |||
39 | FILES:${PN} = "${sysconfdir}/udev/rules.d/*" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2023.1.bb b/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2023.1.bb deleted file mode 100644 index 9adfcade..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2023.1.bb +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | SUMMARY = "Linux kernel module for Video Code Unit" | ||
2 | DESCRIPTION = "Out-of-tree VCU decoder, encoder and common kernel modules provider for MPSoC EV devices" | ||
3 | SECTION = "kernel/modules" | ||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" | ||
6 | |||
7 | XILINX_VCU_VERSION = "1.0.0" | ||
8 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | ||
13 | |||
14 | BRANCH = "xlnx_rel_v2023.1" | ||
15 | REPO = "git://github.com/Xilinx/vcu-modules.git;protocol=https" | ||
16 | SRCREV = "4afe0ab4eb3b7f2d17bcb823dee0caa0f03ab7a0" | ||
17 | |||
18 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
19 | SRC_URI = " \ | ||
20 | ${REPO};${BRANCHARG} \ | ||
21 | file://99-vcu-enc-dec.rules \ | ||
22 | " | ||
23 | |||
24 | inherit module features_check | ||
25 | |||
26 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
27 | |||
28 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
29 | |||
30 | RDEPENDS:${PN} = "vcu-firmware" | ||
31 | |||
32 | KERNEL_MODULE_AUTOLOAD += "dmaproxy" | ||
33 | |||
34 | do_install:append() { | ||
35 | install -d ${D}${sysconfdir}/udev/rules.d | ||
36 | install -m 0644 ${WORKDIR}/99-vcu-enc-dec.rules ${D}${sysconfdir}/udev/rules.d/ | ||
37 | } | ||
38 | |||
39 | FILES:${PN} = "${sysconfdir}/udev/rules.d/*" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2023.2.bb b/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2023.2.bb deleted file mode 100644 index e8bd3397..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2023.2.bb +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | SUMMARY = "Linux kernel module for Video Code Unit" | ||
2 | DESCRIPTION = "Out-of-tree VCU decoder, encoder and common kernel modules provider for MPSoC EV devices" | ||
3 | SECTION = "kernel/modules" | ||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" | ||
6 | |||
7 | XILINX_VCU_VERSION = "1.0.0" | ||
8 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | ||
13 | |||
14 | BRANCH = "xlnx_rel_v2023.2" | ||
15 | REPO = "git://github.com/Xilinx/vcu-modules.git;protocol=https" | ||
16 | SRCREV = "689c8d823b383e2a8a5249be49de627f866cfaf2" | ||
17 | |||
18 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
19 | SRC_URI = " \ | ||
20 | ${REPO};${BRANCHARG} \ | ||
21 | file://99-vcu-enc-dec.rules \ | ||
22 | " | ||
23 | |||
24 | inherit module features_check | ||
25 | |||
26 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
27 | |||
28 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
29 | |||
30 | RDEPENDS:${PN} = "vcu-firmware" | ||
31 | |||
32 | KERNEL_MODULE_AUTOLOAD += "dmaproxy" | ||
33 | |||
34 | do_install:append() { | ||
35 | install -d ${D}${sysconfdir}/udev/rules.d | ||
36 | install -m 0644 ${WORKDIR}/99-vcu-enc-dec.rules ${D}${sysconfdir}/udev/rules.d/ | ||
37 | } | ||
38 | |||
39 | FILES:${PN} = "${sysconfdir}/udev/rules.d/*" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2024.1.bb b/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2024.1.bb index 3a6e3721..2d3c3a89 100644 --- a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2024.1.bb +++ b/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2024.1.bb | |||
@@ -4,8 +4,7 @@ SECTION = "kernel/modules" | |||
4 | LICENSE = "GPL-2.0-or-later" | 4 | LICENSE = "GPL-2.0-or-later" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" |
6 | 6 | ||
7 | XILINX_VCU_VERSION = "1.0.0" | 7 | PV .= "+git" |
8 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
9 | 8 | ||
10 | S = "${WORKDIR}/git" | 9 | S = "${WORKDIR}/git" |
11 | 10 | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2022.1.bb b/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2022.1.bb deleted file mode 100644 index 47c521c4..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2022.1.bb +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | SUMMARY = "OpenMAX Integration layer for VCU" | ||
2 | DESCRIPTION = "OMX IL Libraries,test applications and headers for VCU" | ||
3 | LICENSE = "Proprietary" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=03a7aef7e6f6a76a59fd9b8ba450b493" | ||
5 | |||
6 | XILINX_VCU_VERSION = "1.0.0" | ||
7 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
8 | |||
9 | BRANCH ?= "xlnx_rel_v2022.1" | ||
10 | REPO ?= "git://github.com/Xilinx/vcu-omx-il.git;protocol=https" | ||
11 | SRCREV = "b3308c608be7ed9250b9c6732f6e0a02b1a2e985" | ||
12 | |||
13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
14 | SRC_URI = "${REPO};${BRANCHARG}" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | inherit features_check | ||
19 | |||
20 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
21 | |||
22 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
23 | |||
24 | DEPENDS = "libvcu-xlnx" | ||
25 | RDEPENDS:${PN} = "kernel-module-vcu libvcu-xlnx" | ||
26 | |||
27 | EXTERNAL_INCLUDE="${STAGING_INCDIR}/vcu-ctrl-sw/include" | ||
28 | |||
29 | EXTRA_OEMAKE = " \ | ||
30 | CC='${CC}' CXX='${CXX} ${CXXFLAGS}' \ | ||
31 | EXTERNAL_INCLUDE='${EXTERNAL_INCLUDE}' \ | ||
32 | " | ||
33 | |||
34 | do_install() { | ||
35 | install -d ${D}${libdir} | ||
36 | install -d ${D}${includedir}/vcu-omx-il | ||
37 | |||
38 | install -m 0644 ${S}/omx_header/*.h ${D}${includedir}/vcu-omx-il | ||
39 | |||
40 | install -Dm 0755 ${S}/bin/omx_decoder ${D}/${bindir}/omx_decoder | ||
41 | install -Dm 0755 ${S}/bin/omx_encoder ${D}/${bindir}/omx_encoder | ||
42 | |||
43 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.core ${D}/${libdir}/ | ||
44 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.video_decoder ${D}/${libdir}/ | ||
45 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.video_encoder ${D}/${libdir}/ | ||
46 | } | ||
47 | |||
48 | # These libraries shouldn't get installed in world builds unless something | ||
49 | # explicitly depends upon them. | ||
50 | |||
51 | EXCLUDE_FROM_WORLD = "1" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2022.2.bb b/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2022.2.bb deleted file mode 100644 index c5b956bc..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2022.2.bb +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | SUMMARY = "OpenMAX Integration layer for VCU" | ||
2 | DESCRIPTION = "OMX IL Libraries,test applications and headers for VCU" | ||
3 | LICENSE = "Proprietary" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=03a7aef7e6f6a76a59fd9b8ba450b493" | ||
5 | |||
6 | XILINX_VCU_VERSION = "1.0.0" | ||
7 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
8 | |||
9 | BRANCH ?= "xlnx_rel_v2022.2" | ||
10 | REPO ?= "git://github.com/Xilinx/vcu-omx-il.git;protocol=https" | ||
11 | SRCREV = "6752f5da88a8783f689ae762065295b89902d6d4" | ||
12 | |||
13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
14 | SRC_URI = "${REPO};${BRANCHARG}" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | COMPATIBLE_MACHINE = "^$" | ||
19 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" | ||
20 | |||
21 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
22 | |||
23 | DEPENDS = "libvcu-xlnx" | ||
24 | RDEPENDS:${PN} = "kernel-module-vcu libvcu-xlnx" | ||
25 | |||
26 | EXTERNAL_INCLUDE="${STAGING_INCDIR}/vcu-ctrl-sw/include" | ||
27 | |||
28 | EXTRA_OEMAKE = " \ | ||
29 | CC='${CC}' CXX='${CXX} ${CXXFLAGS}' \ | ||
30 | EXTERNAL_INCLUDE='${EXTERNAL_INCLUDE}' \ | ||
31 | " | ||
32 | |||
33 | do_install() { | ||
34 | install -d ${D}${libdir} | ||
35 | install -d ${D}${includedir}/vcu-omx-il | ||
36 | |||
37 | install -m 0644 ${S}/omx_header/*.h ${D}${includedir}/vcu-omx-il | ||
38 | |||
39 | install -Dm 0755 ${S}/bin/omx_decoder ${D}/${bindir}/omx_decoder | ||
40 | install -Dm 0755 ${S}/bin/omx_encoder ${D}/${bindir}/omx_encoder | ||
41 | |||
42 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.core ${D}/${libdir}/ | ||
43 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.video_decoder ${D}/${libdir}/ | ||
44 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.video_encoder ${D}/${libdir}/ | ||
45 | } | ||
46 | |||
47 | # These libraries shouldn't get installed in world builds unless something | ||
48 | # explicitly depends upon them. | ||
49 | |||
50 | EXCLUDE_FROM_WORLD = "1" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2023.1.bb b/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2023.1.bb deleted file mode 100644 index 75a05fed..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2023.1.bb +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | SUMMARY = "OpenMAX Integration layer for VCU" | ||
2 | DESCRIPTION = "OMX IL Libraries,test applications and headers for VCU" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=5375796c5ae4ee85ea1f2c1603e58509" | ||
5 | |||
6 | XILINX_VCU_VERSION = "1.0.0" | ||
7 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
8 | |||
9 | BRANCH ?= "xlnx_rel_v2023.1" | ||
10 | REPO ?= "git://github.com/Xilinx/vcu-omx-il.git;protocol=https" | ||
11 | SRCREV = "4773b372b72b88ccbabc122b023f042fb22a019e" | ||
12 | |||
13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
14 | SRC_URI = "${REPO};${BRANCHARG}" | ||
15 | |||
16 | SRC_URI += "file://0001-Current-gcc-requires-cstdint-for-C-types.patch" | ||
17 | |||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | inherit features_check | ||
21 | |||
22 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
23 | |||
24 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
25 | |||
26 | DEPENDS = "libvcu-xlnx" | ||
27 | RDEPENDS:${PN} = "kernel-module-vcu libvcu-xlnx" | ||
28 | |||
29 | EXTERNAL_INCLUDE="${STAGING_INCDIR}/vcu-ctrl-sw/include" | ||
30 | |||
31 | EXTRA_OEMAKE = " \ | ||
32 | CC='${CC}' CXX='${CXX} ${CXXFLAGS}' \ | ||
33 | EXTERNAL_INCLUDE='${EXTERNAL_INCLUDE}' \ | ||
34 | " | ||
35 | |||
36 | do_install() { | ||
37 | install -d ${D}${libdir} | ||
38 | install -d ${D}${includedir}/vcu-omx-il | ||
39 | |||
40 | install -m 0644 ${S}/omx_header/*.h ${D}${includedir}/vcu-omx-il | ||
41 | |||
42 | install -Dm 0755 ${S}/bin/omx_decoder ${D}/${bindir}/omx_decoder | ||
43 | install -Dm 0755 ${S}/bin/omx_encoder ${D}/${bindir}/omx_encoder | ||
44 | |||
45 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.core ${D}/${libdir}/ | ||
46 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.video_decoder ${D}/${libdir}/ | ||
47 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.video_encoder ${D}/${libdir}/ | ||
48 | } | ||
49 | |||
50 | # These libraries shouldn't get installed in world builds unless something | ||
51 | # explicitly depends upon them. | ||
52 | |||
53 | EXCLUDE_FROM_WORLD = "1" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2023.2.bb b/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2023.2.bb deleted file mode 100644 index 0c215605..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2023.2.bb +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | SUMMARY = "OpenMAX Integration layer for VCU" | ||
2 | DESCRIPTION = "OMX IL Libraries,test applications and headers for VCU" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ef69c2bb405668101824f0b644631e2e" | ||
5 | |||
6 | XILINX_VCU_VERSION = "1.0.0" | ||
7 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
8 | |||
9 | BRANCH ?= "xlnx_rel_v2023.2" | ||
10 | REPO ?= "git://github.com/Xilinx/vcu-omx-il.git;protocol=https" | ||
11 | SRCREV = "3a04b5adc661a0eced626c1373dbbfe699ae6fe0" | ||
12 | |||
13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
14 | SRC_URI = "${REPO};${BRANCHARG}" | ||
15 | |||
16 | SRC_URI += "file://0001-Current-gcc-requires-cstdint-for-C-types.patch" | ||
17 | |||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | inherit features_check | ||
21 | |||
22 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
23 | |||
24 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
25 | |||
26 | DEPENDS = "libvcu-xlnx" | ||
27 | RDEPENDS:${PN} = "kernel-module-vcu libvcu-xlnx" | ||
28 | |||
29 | EXTERNAL_INCLUDE="${STAGING_INCDIR}/vcu-ctrl-sw/include" | ||
30 | |||
31 | EXTRA_OEMAKE = " \ | ||
32 | CC='${CC}' CXX='${CXX} ${CXXFLAGS}' \ | ||
33 | EXTERNAL_INCLUDE='${EXTERNAL_INCLUDE}' \ | ||
34 | " | ||
35 | |||
36 | do_install() { | ||
37 | install -d ${D}${libdir} | ||
38 | install -d ${D}${includedir}/vcu-omx-il | ||
39 | |||
40 | install -m 0644 ${S}/omx_header/*.h ${D}${includedir}/vcu-omx-il | ||
41 | |||
42 | oe_runmake install INSTALL_PATH=${D}${bindir} | ||
43 | |||
44 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.core ${D}/${libdir}/ | ||
45 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.video_decoder ${D}/${libdir}/ | ||
46 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.video_encoder ${D}/${libdir}/ | ||
47 | } | ||
48 | |||
49 | # These libraries shouldn't get installed in world builds unless something | ||
50 | # explicitly depends upon them. | ||
51 | |||
52 | EXCLUDE_FROM_WORLD = "1" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2024.1.bb b/meta-xilinx-core/recipes-multimedia/vcu/libvcu-ctrlsw_1.0.79-xilinx-v2024.1.bb index e3f656b0..c968af52 100644 --- a/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2024.1.bb +++ b/meta-xilinx-core/recipes-multimedia/vcu/libvcu-ctrlsw_1.0.79-xilinx-v2024.1.bb | |||
@@ -3,8 +3,10 @@ DESCRIPTION = "Control software libraries, test applications and headers provide | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=002a0a92906100955ea6ed02dcd2c2cd" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=002a0a92906100955ea6ed02dcd2c2cd" |
5 | 5 | ||
6 | XILINX_VCU_VERSION = "1.0.0" | 6 | # Recipe has been renamed |
7 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | 7 | PROVIDES += "libvcu-xlnx" |
8 | |||
9 | PV .= "+git" | ||
8 | 10 | ||
9 | BRANCH ?= "xlnx_rel_v2024.1" | 11 | BRANCH ?= "xlnx_rel_v2024.1" |
10 | REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https" | 12 | REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https" |
@@ -19,6 +21,8 @@ inherit features_check | |||
19 | 21 | ||
20 | REQUIRED_MACHINE_FEATURES = "vcu" | 22 | REQUIRED_MACHINE_FEATURES = "vcu" |
21 | 23 | ||
24 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
25 | |||
22 | RDEPENDS:${PN} = "kernel-module-vcu" | 26 | RDEPENDS:${PN} = "kernel-module-vcu" |
23 | 27 | ||
24 | EXTRA_OEMAKE = "CC='${CC}' CXX='${CXX} ${CXXFLAGS}'" | 28 | EXTRA_OEMAKE = "CC='${CC}' CXX='${CXX} ${CXXFLAGS}'" |
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2024.1.bb b/meta-xilinx-core/recipes-multimedia/vcu/libvcu-omxil_1.1.2-xilinx-v2024.1.bb index 14226aa7..92ef7301 100644 --- a/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2024.1.bb +++ b/meta-xilinx-core/recipes-multimedia/vcu/libvcu-omxil_1.1.2-xilinx-v2024.1.bb | |||
@@ -3,8 +3,11 @@ DESCRIPTION = "OMX IL Libraries,test applications and headers for VCU" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=002a0a92906100955ea6ed02dcd2c2cd" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=002a0a92906100955ea6ed02dcd2c2cd" |
5 | 5 | ||
6 | XILINX_VCU_VERSION = "1.0.0" | 6 | # Recipe has been renamed |
7 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | 7 | PROVIDES += "libomxil-xlnx" |
8 | |||
9 | # Version from core/core_version.mk | ||
10 | PV .= "+git" | ||
8 | 11 | ||
9 | BRANCH ?= "xlnx_rel_v2024.1" | 12 | BRANCH ?= "xlnx_rel_v2024.1" |
10 | REPO ?= "git://github.com/Xilinx/vcu-omx-il.git;protocol=https" | 13 | REPO ?= "git://github.com/Xilinx/vcu-omx-il.git;protocol=https" |
@@ -21,8 +24,8 @@ REQUIRED_MACHINE_FEATURES = "vcu" | |||
21 | 24 | ||
22 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 25 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
23 | 26 | ||
24 | DEPENDS = "libvcu-xlnx" | 27 | DEPENDS = "libvcu-ctrlsw" |
25 | RDEPENDS:${PN} = "kernel-module-vcu libvcu-xlnx" | 28 | RDEPENDS:${PN} = "kernel-module-vcu libvcu-ctrlsw" |
26 | 29 | ||
27 | EXTERNAL_INCLUDE="${STAGING_INCDIR}/vcu-ctrl-sw/include" | 30 | EXTERNAL_INCLUDE="${STAGING_INCDIR}/vcu-ctrl-sw/include" |
28 | 31 | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2022.1.bb b/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2022.1.bb deleted file mode 100644 index 71e6e572..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2022.1.bb +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | SUMMARY = "Control Software for VCU" | ||
2 | DESCRIPTION = "Control software libraries, test applications and headers provider for VCU" | ||
3 | LICENSE = "Proprietary" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=03a7aef7e6f6a76a59fd9b8ba450b493" | ||
5 | |||
6 | XILINX_VCU_VERSION = "1.0.0" | ||
7 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
8 | |||
9 | BRANCH ?= "xlnx_rel_v2022.1" | ||
10 | REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https" | ||
11 | SRCREV = "5bf158af204b181f00ac009c8745557642ecfe5f" | ||
12 | |||
13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
14 | SRC_URI = "${REPO};${BRANCHARG}" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | inherit features_check | ||
19 | |||
20 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
21 | |||
22 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
23 | |||
24 | RDEPENDS:${PN} = "kernel-module-vcu" | ||
25 | |||
26 | EXTRA_OEMAKE = "CC='${CC}' CXX='${CXX} ${CXXFLAGS}'" | ||
27 | |||
28 | do_install() { | ||
29 | install -d ${D}${libdir} | ||
30 | install -d ${D}${includedir}/vcu-ctrl-sw/include | ||
31 | |||
32 | install -Dm 0755 ${S}/bin/ctrlsw_encoder ${D}/${bindir}/ctrlsw_encoder | ||
33 | install -Dm 0755 ${S}/bin/ctrlsw_decoder ${D}/${bindir}/ctrlsw_decoder | ||
34 | |||
35 | oe_runmake install_headers INSTALL_HDR_PATH=${D}${includedir}/vcu-ctrl-sw/include | ||
36 | oe_libinstall -C ${S}/bin/ -so liballegro_decode ${D}/${libdir}/ | ||
37 | oe_libinstall -C ${S}/bin/ -so liballegro_encode ${D}/${libdir}/ | ||
38 | } | ||
39 | |||
40 | # These libraries shouldn't get installed in world builds unless something | ||
41 | # explicitly depends upon them. | ||
42 | |||
43 | EXCLUDE_FROM_WORLD = "1" | ||
44 | |||
45 | # Disable buildpaths QA check warnings. | ||
46 | INSANE_SKIP:${PN} += "buildpaths" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2022.2.bb b/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2022.2.bb deleted file mode 100644 index 130d79bc..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2022.2.bb +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | SUMMARY = "Control Software for VCU" | ||
2 | DESCRIPTION = "Control software libraries, test applications and headers provider for VCU" | ||
3 | LICENSE = "Proprietary" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=03a7aef7e6f6a76a59fd9b8ba450b493" | ||
5 | |||
6 | XILINX_VCU_VERSION = "1.0.0" | ||
7 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
8 | |||
9 | BRANCH ?= "xlnx_rel_v2022.2" | ||
10 | REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https" | ||
11 | SRCREV = "3c59dede1923a159a8db736ce0b4ab55633a2114" | ||
12 | |||
13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
14 | SRC_URI = "${REPO};${BRANCHARG}" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | inherit features_check | ||
19 | |||
20 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
21 | |||
22 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
23 | |||
24 | RDEPENDS:${PN} = "kernel-module-vcu" | ||
25 | |||
26 | EXTRA_OEMAKE = "CC='${CC}' CXX='${CXX} ${CXXFLAGS}'" | ||
27 | |||
28 | do_install() { | ||
29 | install -d ${D}${libdir} | ||
30 | install -d ${D}${includedir}/vcu-ctrl-sw/include | ||
31 | |||
32 | install -Dm 0755 ${S}/bin/ctrlsw_encoder ${D}/${bindir}/ctrlsw_encoder | ||
33 | install -Dm 0755 ${S}/bin/ctrlsw_decoder ${D}/${bindir}/ctrlsw_decoder | ||
34 | |||
35 | oe_runmake install_headers INSTALL_HDR_PATH=${D}${includedir}/vcu-ctrl-sw/include | ||
36 | oe_libinstall -C ${S}/bin/ -so liballegro_decode ${D}/${libdir}/ | ||
37 | oe_libinstall -C ${S}/bin/ -so liballegro_encode ${D}/${libdir}/ | ||
38 | } | ||
39 | |||
40 | # These libraries shouldn't get installed in world builds unless something | ||
41 | # explicitly depends upon them. | ||
42 | |||
43 | EXCLUDE_FROM_WORLD = "1" | ||
44 | |||
45 | # Disable buildpaths QA check warnings. | ||
46 | INSANE_SKIP:${PN} += "buildpaths" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2023.1.bb b/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2023.1.bb deleted file mode 100644 index 53a03f45..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2023.1.bb +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | SUMMARY = "Control Software for VCU" | ||
2 | DESCRIPTION = "Control software libraries, test applications and headers provider for VCU" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=5375796c5ae4ee85ea1f2c1603e58509" | ||
5 | |||
6 | XILINX_VCU_VERSION = "1.0.0" | ||
7 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
8 | |||
9 | BRANCH ?= "xlnx_rel_v2023.1" | ||
10 | REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https" | ||
11 | SRCREV = "83aabb84c26667f7d6aee632654c63e504838061" | ||
12 | |||
13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
14 | SRC_URI = "${REPO};${BRANCHARG}" | ||
15 | |||
16 | SRC_URI += "file://0001-Support-updated-gcc-add-cstdint-where-necessary.patch" | ||
17 | |||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | inherit features_check | ||
21 | |||
22 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
23 | |||
24 | RDEPENDS:${PN} = "kernel-module-vcu" | ||
25 | |||
26 | EXTRA_OEMAKE = "CC='${CC}' CXX='${CXX} ${CXXFLAGS}'" | ||
27 | |||
28 | do_install() { | ||
29 | install -d ${D}${libdir} | ||
30 | install -d ${D}${includedir}/vcu-ctrl-sw/include | ||
31 | |||
32 | install -Dm 0755 ${S}/bin/ctrlsw_encoder ${D}/${bindir}/ctrlsw_encoder | ||
33 | install -Dm 0755 ${S}/bin/ctrlsw_decoder ${D}/${bindir}/ctrlsw_decoder | ||
34 | |||
35 | oe_runmake install_headers INSTALL_HDR_PATH=${D}${includedir}/vcu-ctrl-sw/include | ||
36 | oe_libinstall -C ${S}/bin/ -so liballegro_decode ${D}/${libdir}/ | ||
37 | oe_libinstall -C ${S}/bin/ -so liballegro_encode ${D}/${libdir}/ | ||
38 | } | ||
39 | |||
40 | # These libraries shouldn't get installed in world builds unless something | ||
41 | # explicitly depends upon them. | ||
42 | |||
43 | EXCLUDE_FROM_WORLD = "1" | ||
44 | |||
45 | # Disable buildpaths QA check warnings. | ||
46 | INSANE_SKIP:${PN} += "buildpaths" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2023.2.bb b/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2023.2.bb deleted file mode 100644 index a2c7d98c..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2023.2.bb +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | SUMMARY = "Control Software for VCU" | ||
2 | DESCRIPTION = "Control software libraries, test applications and headers provider for VCU" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ef69c2bb405668101824f0b644631e2e" | ||
5 | |||
6 | XILINX_VCU_VERSION = "1.0.0" | ||
7 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
8 | |||
9 | BRANCH ?= "xlnx_rel_v2023.2" | ||
10 | REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https" | ||
11 | SRCREV = "84b0856cad7844d69f57ac4d9447c20930875475" | ||
12 | |||
13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
14 | SRC_URI = "${REPO};${BRANCHARG}" | ||
15 | |||
16 | SRC_URI += "file://0001-Support-updated-gcc-add-cstdint-where-necessary.patch" | ||
17 | |||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | inherit features_check | ||
21 | |||
22 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
23 | |||
24 | RDEPENDS:${PN} = "kernel-module-vcu" | ||
25 | |||
26 | EXTRA_OEMAKE = "CC='${CC}' CXX='${CXX} ${CXXFLAGS}'" | ||
27 | |||
28 | do_install() { | ||
29 | install -d ${D}${libdir} | ||
30 | install -d ${D}${includedir}/vcu-ctrl-sw/include | ||
31 | |||
32 | oe_runmake install_headers INSTALL_HDR_PATH=${D}${includedir}/vcu-ctrl-sw/include INSTALL_PATH=${D}/${bindir} | ||
33 | oe_libinstall -C ${S}/bin/ -so liballegro_decode ${D}/${libdir}/ | ||
34 | oe_libinstall -C ${S}/bin/ -so liballegro_encode ${D}/${libdir}/ | ||
35 | } | ||
36 | |||
37 | # These libraries shouldn't get installed in world builds unless something | ||
38 | # explicitly depends upon them. | ||
39 | |||
40 | EXCLUDE_FROM_WORLD = "1" | ||
41 | |||
42 | # Disable buildpaths QA check warnings. | ||
43 | INSANE_SKIP:${PN} += "buildpaths" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2022.1.bb b/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2022.1.bb deleted file mode 100644 index c5c2b045..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2022.1.bb +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | SUMMARY = "Firmware for VCU" | ||
2 | DESCRIPTION = "Firmware binaries provider for VCU" | ||
3 | LICENSE = "Proprietary" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=63b45903a9a50120df488435f03cf498" | ||
5 | |||
6 | XILINX_VCU_VERSION = "1.0.0" | ||
7 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
8 | |||
9 | S = "${WORKDIR}/git" | ||
10 | |||
11 | BRANCH ?= "xlnx_rel_v2022.1" | ||
12 | REPO ?= "git://github.com/Xilinx/vcu-firmware.git;protocol=https" | ||
13 | SRCREV = "569f980527fd58f43baf16bd0b294bf8c7cdf963" | ||
14 | |||
15 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
16 | SRC_URI = "${REPO};${BRANCHARG}" | ||
17 | |||
18 | inherit features_check | ||
19 | |||
20 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
21 | |||
22 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
23 | |||
24 | do_install() { | ||
25 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d_b.fw ${D}/lib/firmware/al5d_b.fw | ||
26 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d.fw ${D}/lib/firmware/al5d.fw | ||
27 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5e_b.fw ${D}/lib/firmware/al5e_b.fw | ||
28 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5e.fw ${D}/lib/firmware/al5e.fw | ||
29 | } | ||
30 | |||
31 | # Inhibit warnings about files being stripped | ||
32 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
33 | INHIBIT_PACKAGE_STRIP = "1" | ||
34 | FILES:${PN} = "/lib/firmware/*" | ||
35 | |||
36 | # These libraries shouldn't get installed in world builds unless something | ||
37 | # explicitly depends upon them. | ||
38 | EXCLUDE_FROM_WORLD = "1" | ||
39 | |||
40 | INSANE_SKIP:${PN} = "ldflags" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2022.2.bb b/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2022.2.bb deleted file mode 100644 index 594a94c3..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2022.2.bb +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | SUMMARY = "Firmware for VCU" | ||
2 | DESCRIPTION = "Firmware binaries provider for VCU" | ||
3 | LICENSE = "Proprietary" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=63b45903a9a50120df488435f03cf498" | ||
5 | |||
6 | XILINX_VCU_VERSION = "1.0.0" | ||
7 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
8 | |||
9 | S = "${WORKDIR}/git" | ||
10 | |||
11 | BRANCH ?= "xlnx_rel_v2022.2" | ||
12 | REPO ?= "git://github.com/Xilinx/vcu-firmware.git;protocol=https" | ||
13 | SRCREV = "3980c778d71fa51a15e89bf70fd8fb28d5cb12e0" | ||
14 | |||
15 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
16 | SRC_URI = "${REPO};${BRANCHARG}" | ||
17 | |||
18 | inherit features_check | ||
19 | |||
20 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
21 | |||
22 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
23 | |||
24 | do_install() { | ||
25 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d_b.fw ${D}/lib/firmware/al5d_b.fw | ||
26 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d.fw ${D}/lib/firmware/al5d.fw | ||
27 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5e_b.fw ${D}/lib/firmware/al5e_b.fw | ||
28 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5e.fw ${D}/lib/firmware/al5e.fw | ||
29 | } | ||
30 | |||
31 | # Inhibit warnings about files being stripped | ||
32 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
33 | INHIBIT_PACKAGE_STRIP = "1" | ||
34 | FILES:${PN} = "/lib/firmware/*" | ||
35 | |||
36 | # These libraries shouldn't get installed in world builds unless something | ||
37 | # explicitly depends upon them. | ||
38 | EXCLUDE_FROM_WORLD = "1" | ||
39 | |||
40 | INSANE_SKIP:${PN} = "ldflags" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2023.1.bb b/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2023.1.bb deleted file mode 100644 index a90d307f..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2023.1.bb +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | SUMMARY = "Firmware for VCU" | ||
2 | DESCRIPTION = "Firmware binaries provider for VCU" | ||
3 | LICENSE = "Proprietary" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=6da65299754e921b31f03e9b11d77a74" | ||
5 | |||
6 | XILINX_VCU_VERSION = "1.0.0" | ||
7 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
8 | |||
9 | S = "${WORKDIR}/git" | ||
10 | |||
11 | BRANCH ?= "xlnx_rel_v2023.1" | ||
12 | REPO ?= "git://github.com/Xilinx/vcu-firmware.git;protocol=https" | ||
13 | SRCREV = "c90288595ac9a12ff401de6dfa680b1f9adce5f6" | ||
14 | |||
15 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
16 | SRC_URI = "${REPO};${BRANCHARG}" | ||
17 | |||
18 | inherit features_check | ||
19 | |||
20 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
21 | |||
22 | do_install() { | ||
23 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d_b.fw ${D}${nonarch_base_libdir}/firmware/al5d_b.fw | ||
24 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d.fw ${D}${nonarch_base_libdir}/firmware/al5d.fw | ||
25 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5e_b.fw ${D}${nonarch_base_libdir}/firmware/al5e_b.fw | ||
26 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5e.fw ${D}${nonarch_base_libdir}/firmware/al5e.fw | ||
27 | } | ||
28 | |||
29 | # Inhibit warnings about files being stripped | ||
30 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
31 | INHIBIT_PACKAGE_STRIP = "1" | ||
32 | FILES:${PN} = "${nonarch_base_libdir}/firmware/*" | ||
33 | |||
34 | # These libraries shouldn't get installed in world builds unless something | ||
35 | # explicitly depends upon them. | ||
36 | EXCLUDE_FROM_WORLD = "1" | ||
37 | |||
38 | INSANE_SKIP:${PN} = "ldflags" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2023.2.bb b/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2023.2.bb deleted file mode 100644 index 73fc2201..00000000 --- a/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2023.2.bb +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | SUMMARY = "Firmware for VCU" | ||
2 | DESCRIPTION = "Firmware binaries provider for VCU" | ||
3 | LICENSE = "Proprietary" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=52eb1e8f27e0e189b175c7d75f028cc6" | ||
5 | |||
6 | XILINX_VCU_VERSION = "1.0.0" | ||
7 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
8 | |||
9 | S = "${WORKDIR}/git" | ||
10 | |||
11 | BRANCH ?= "xlnx_rel_v2023.2" | ||
12 | REPO ?= "git://github.com/Xilinx/vcu-firmware.git;protocol=https" | ||
13 | SRCREV = "f4ab98d26aa3e244a487f518f5a76071137c8402" | ||
14 | |||
15 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
16 | SRC_URI = "${REPO};${BRANCHARG}" | ||
17 | |||
18 | inherit features_check | ||
19 | |||
20 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
21 | |||
22 | do_install() { | ||
23 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d_b.fw ${D}${nonarch_base_libdir}/firmware/al5d_b.fw | ||
24 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d.fw ${D}${nonarch_base_libdir}/firmware/al5d.fw | ||
25 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5e_b.fw ${D}${nonarch_base_libdir}/firmware/al5e_b.fw | ||
26 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5e.fw ${D}${nonarch_base_libdir}/firmware/al5e.fw | ||
27 | } | ||
28 | |||
29 | # Inhibit warnings about files being stripped | ||
30 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
31 | INHIBIT_PACKAGE_STRIP = "1" | ||
32 | FILES:${PN} = "${nonarch_base_libdir}/firmware/*" | ||
33 | |||
34 | # These libraries shouldn't get installed in world builds unless something | ||
35 | # explicitly depends upon them. | ||
36 | EXCLUDE_FROM_WORLD = "1" | ||
37 | |||
38 | INSANE_SKIP:${PN} = "ldflags" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2024.1.bb b/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_20240216-xilinx-v2024.1.bb index 1031f892..f500ec36 100644 --- a/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2024.1.bb +++ b/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_20240216-xilinx-v2024.1.bb | |||
@@ -3,8 +3,7 @@ DESCRIPTION = "Firmware binaries provider for VCU" | |||
3 | LICENSE = "Proprietary" | 3 | LICENSE = "Proprietary" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=9bef8aa9d1eba8aca1b7dffdef500262" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=9bef8aa9d1eba8aca1b7dffdef500262" |
5 | 5 | ||
6 | XILINX_VCU_VERSION = "1.0.0" | 6 | PV .= "+git" |
7 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
8 | 7 | ||
9 | S = "${WORKDIR}/git" | 8 | S = "${WORKDIR}/git" |
10 | 9 | ||
@@ -19,11 +18,15 @@ inherit features_check | |||
19 | 18 | ||
20 | REQUIRED_MACHINE_FEATURES = "vcu" | 19 | REQUIRED_MACHINE_FEATURES = "vcu" |
21 | 20 | ||
21 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
22 | |||
23 | do_compile[noexec] = "1" | ||
24 | |||
22 | do_install() { | 25 | do_install() { |
23 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d_b.fw ${D}${nonarch_base_libdir}/firmware/al5d_b.fw | 26 | install -Dm 0644 ${S}/1.0.0/lib/firmware/al5d_b.fw ${D}${nonarch_base_libdir}/firmware/al5d_b.fw |
24 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d.fw ${D}${nonarch_base_libdir}/firmware/al5d.fw | 27 | install -Dm 0644 ${S}/1.0.0/lib/firmware/al5d.fw ${D}${nonarch_base_libdir}/firmware/al5d.fw |
25 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5e_b.fw ${D}${nonarch_base_libdir}/firmware/al5e_b.fw | 28 | install -Dm 0644 ${S}/1.0.0/lib/firmware/al5e_b.fw ${D}${nonarch_base_libdir}/firmware/al5e_b.fw |
26 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5e.fw ${D}${nonarch_base_libdir}/firmware/al5e.fw | 29 | install -Dm 0644 ${S}/1.0.0/lib/firmware/al5e.fw ${D}${nonarch_base_libdir}/firmware/al5e.fw |
27 | } | 30 | } |
28 | 31 | ||
29 | # Inhibit warnings about files being stripped | 32 | # Inhibit warnings about files being stripped |
diff --git a/meta-xilinx-core/recipes-multimedia/vdu/files/0001-include-libapp-Parser.h-Add-cstdint.patch b/meta-xilinx-core/recipes-multimedia/vdu/files/0001-include-libapp-Parser.h-Add-cstdint.patch deleted file mode 100644 index 04d59c60..00000000 --- a/meta-xilinx-core/recipes-multimedia/vdu/files/0001-include-libapp-Parser.h-Add-cstdint.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From 79eddc5c5474c9b61bf6b2e648eba8bca61469b9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mark Hatle <mark.hatle@amd.com> | ||
3 | Date: Thu, 25 Jan 2024 12:30:24 -0700 | ||
4 | Subject: [PATCH] include/libapp/Parser.h: Add cstdint | ||
5 | |||
6 | Resolves usages of unit32_t being undefined | ||
7 | |||
8 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
9 | --- | ||
10 | include/lib_app/Parser.h | 1 + | ||
11 | 1 file changed, 1 insertion(+) | ||
12 | |||
13 | diff --git a/include/lib_app/Parser.h b/include/lib_app/Parser.h | ||
14 | index 976a835..6fa63ce 100644 | ||
15 | --- a/include/lib_app/Parser.h | ||
16 | +++ b/include/lib_app/Parser.h | ||
17 | @@ -35,6 +35,7 @@ | ||
18 | #include <sstream> | ||
19 | #include <vector> | ||
20 | #include <iomanip> | ||
21 | +#include <cstdint> | ||
22 | |||
23 | std::deque<Token> toReversePolish(std::deque<Token>& tokens); | ||
24 | std::string parseString(std::deque<Token>& tokens); | ||
25 | -- | ||
26 | 2.34.1 | ||
27 | |||
diff --git a/meta-xilinx-core/recipes-multimedia/vdu/files/0001-libvdu-omxil-Fix-missing-definitions.patch b/meta-xilinx-core/recipes-multimedia/vdu/files/0001-libvdu-omxil-Fix-missing-definitions.patch deleted file mode 100644 index db23ed00..00000000 --- a/meta-xilinx-core/recipes-multimedia/vdu/files/0001-libvdu-omxil-Fix-missing-definitions.patch +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | From 7fc63cdd6642ea84b78db62fccafc460af0ff23e Mon Sep 17 00:00:00 2001 | ||
2 | From: Mark Hatle <mark.hatle@amd.com> | ||
3 | Date: Thu, 25 Jan 2024 12:50:18 -0700 | ||
4 | Subject: [PATCH] Fix missing definitions | ||
5 | |||
6 | Fix issues such as: | ||
7 | | module/module_structs.h:370:3: error: 'uint8_t' does not name a type | ||
8 | | 370 | uint8_t distributionMaxrgbPercentages[MAX_MAXRGB_PERCENTILES_ST2094_40]; | ||
9 | | | ^~~~~~~ | ||
10 | | module/module_structs.h:370:3: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? | ||
11 | | module/module_structs.h:371:3: error: 'uint32_t' does not name a type | ||
12 | | 371 | uint32_t distributionMaxrgbPercentiles[MAX_MAXRGB_PERCENTILES_ST2094_40]; | ||
13 | | | ^~~~~~~~ | ||
14 | | module/module_structs.h:371:3: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? | ||
15 | |||
16 | and | ||
17 | |||
18 | | ./utility/processor_fifo.h:80:15: error: field 'name_' has incomplete type 'std::string' {aka 'std::__cxx11::basic_string<char>'} | ||
19 | | 80 | std::string name_; | ||
20 | | | ^~~~~ | ||
21 | |||
22 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
23 | --- | ||
24 | module/module_structs.h | 1 + | ||
25 | utility/processor_fifo.h | 1 + | ||
26 | 2 files changed, 2 insertions(+) | ||
27 | |||
28 | diff --git a/module/module_structs.h b/module/module_structs.h | ||
29 | index 75bdff6..594076f 100644 | ||
30 | --- a/module/module_structs.h | ||
31 | +++ b/module/module_structs.h | ||
32 | @@ -27,6 +27,7 @@ | ||
33 | #include "module_enums.h" | ||
34 | #include <string> | ||
35 | #include <vector> | ||
36 | +#include <cstdint> | ||
37 | |||
38 | template<typename T> | ||
39 | struct InputOutput | ||
40 | diff --git a/utility/processor_fifo.h b/utility/processor_fifo.h | ||
41 | index e0dd47c..f047267 100644 | ||
42 | --- a/utility/processor_fifo.h | ||
43 | +++ b/utility/processor_fifo.h | ||
44 | @@ -27,6 +27,7 @@ | ||
45 | #include <utility/locked_queue.h> | ||
46 | #include <thread> | ||
47 | #include <functional> | ||
48 | +#include <string> | ||
49 | |||
50 | #if defined __linux__ | ||
51 | #include <sys/prctl.h> | ||
52 | -- | ||
53 | 2.34.1 | ||
54 | |||
diff --git a/meta-xilinx-core/recipes-multimedia/vdu/kernel-module-vdu_2023.1.bb b/meta-xilinx-core/recipes-multimedia/vdu/kernel-module-vdu_2023.1.bb deleted file mode 100644 index df943bc6..00000000 --- a/meta-xilinx-core/recipes-multimedia/vdu/kernel-module-vdu_2023.1.bb +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | SUMMARY = "Linux kernel module for Video Decode Unit" | ||
2 | DESCRIPTION = "Out-of-tree VDU decoder common kernel modules" | ||
3 | SECTION = "kernel/modules" | ||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" | ||
6 | |||
7 | XILINX_VDU_VERSION = "1.0.0" | ||
8 | PV =. "${XILINX_VDU_VERSION}-xilinx-v" | ||
9 | PV .= "+git${SRCPV}" | ||
10 | |||
11 | S = "${WORKDIR}/git" | ||
12 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | ||
13 | |||
14 | BRANCH ?= "xlnx_rel_v2023.1" | ||
15 | REPO ?= "git://github.com/Xilinx/vdu-modules.git;protocol=https" | ||
16 | SRCREV ?= "82d06e395c93a1e941b83cccbb6f2e4e6d966f1c" | ||
17 | |||
18 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
19 | SRC_URI = "${REPO};${BRANCHARG} \ | ||
20 | file://99-vdu-enc-dec.rules \ | ||
21 | " | ||
22 | |||
23 | inherit module features_check | ||
24 | |||
25 | REQUIRED_MACHINE_FEATURES = "vdu" | ||
26 | |||
27 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
28 | |||
29 | RDEPENDS:${PN} = "vdu-firmware" | ||
30 | |||
31 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" | ||
32 | |||
33 | do_install:append() { | ||
34 | install -d ${D}${sysconfdir}/udev/rules.d | ||
35 | install -m 0644 ${WORKDIR}/99-vdu-enc-dec.rules ${D}${sysconfdir}/udev/rules.d/ | ||
36 | } | ||
37 | |||
38 | FILES:${PN} = "${sysconfdir}/udev/rules.d/*" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vdu/kernel-module-vdu_2023.2.bb b/meta-xilinx-core/recipes-multimedia/vdu/kernel-module-vdu_2023.2.bb deleted file mode 100644 index 6856ec3a..00000000 --- a/meta-xilinx-core/recipes-multimedia/vdu/kernel-module-vdu_2023.2.bb +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | SUMMARY = "Linux kernel module for Video Decode Unit" | ||
2 | DESCRIPTION = "Out-of-tree VDU decoder common kernel modules" | ||
3 | SECTION = "kernel/modules" | ||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" | ||
6 | |||
7 | XILINX_VDU_VERSION = "1.0.0" | ||
8 | PV =. "${XILINX_VDU_VERSION}-xilinx-v" | ||
9 | PV .= "+git${SRCPV}" | ||
10 | |||
11 | S = "${WORKDIR}/git" | ||
12 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | ||
13 | |||
14 | BRANCH ?= "xlnx_rel_v2023.2" | ||
15 | REPO ?= "git://github.com/Xilinx/vdu-modules.git;protocol=https" | ||
16 | SRCREV ?= "4d5134f54006f904f0b28f00e05dd3febd5fcfd3" | ||
17 | |||
18 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
19 | SRC_URI = "${REPO};${BRANCHARG} \ | ||
20 | file://99-vdu-enc-dec.rules \ | ||
21 | " | ||
22 | |||
23 | inherit module features_check | ||
24 | |||
25 | REQUIRED_MACHINE_FEATURES = "vdu" | ||
26 | |||
27 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
28 | |||
29 | RDEPENDS:${PN} = "vdu-firmware" | ||
30 | |||
31 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" | ||
32 | |||
33 | do_install:append() { | ||
34 | install -d ${D}${sysconfdir}/udev/rules.d | ||
35 | install -m 0644 ${WORKDIR}/99-vdu-enc-dec.rules ${D}${sysconfdir}/udev/rules.d/ | ||
36 | } | ||
37 | |||
38 | FILES:${PN} = "${sysconfdir}/udev/rules.d/*" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vdu/kernel-module-vdu_2024.1.bb b/meta-xilinx-core/recipes-multimedia/vdu/kernel-module-vdu_2024.1.bb index 63936e2e..7f5fc367 100644 --- a/meta-xilinx-core/recipes-multimedia/vdu/kernel-module-vdu_2024.1.bb +++ b/meta-xilinx-core/recipes-multimedia/vdu/kernel-module-vdu_2024.1.bb | |||
@@ -4,9 +4,7 @@ SECTION = "kernel/modules" | |||
4 | LICENSE = "GPL-2.0-or-later" | 4 | LICENSE = "GPL-2.0-or-later" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" |
6 | 6 | ||
7 | XILINX_VDU_VERSION = "1.0.0" | 7 | PV .= "+git" |
8 | PV =. "${XILINX_VDU_VERSION}-xilinx-v" | ||
9 | PV .= "+git${SRCPV}" | ||
10 | 8 | ||
11 | S = "${WORKDIR}/git" | 9 | S = "${WORKDIR}/git" |
12 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | 10 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" |
@@ -17,7 +15,7 @@ SRCREV ?= "25773344ce1e539e7136c5a30cdee98a6cf490a8" | |||
17 | 15 | ||
18 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
19 | SRC_URI = "${REPO};${BRANCHARG} \ | 17 | SRC_URI = "${REPO};${BRANCHARG} \ |
20 | file://99-vdu-enc-dec.rules \ | 18 | file://99-vdu-enc-dec.rules \ |
21 | " | 19 | " |
22 | 20 | ||
23 | inherit module features_check | 21 | inherit module features_check |
@@ -28,8 +26,6 @@ EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | |||
28 | 26 | ||
29 | RDEPENDS:${PN} = "vdu-firmware" | 27 | RDEPENDS:${PN} = "vdu-firmware" |
30 | 28 | ||
31 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" | ||
32 | |||
33 | do_install:append() { | 29 | do_install:append() { |
34 | install -d ${D}${sysconfdir}/udev/rules.d | 30 | install -d ${D}${sysconfdir}/udev/rules.d |
35 | install -m 0644 ${WORKDIR}/99-vdu-enc-dec.rules ${D}${sysconfdir}/udev/rules.d/ | 31 | install -m 0644 ${WORKDIR}/99-vdu-enc-dec.rules ${D}${sysconfdir}/udev/rules.d/ |
diff --git a/meta-xilinx-core/recipes-multimedia/vdu/libvdu-ctrlsw_2024.1.bb b/meta-xilinx-core/recipes-multimedia/vdu/libvdu-ctrlsw_1.0.79-xilinx-v2024.1.bb index 88ddb885..7dfaf20b 100644 --- a/meta-xilinx-core/recipes-multimedia/vdu/libvdu-ctrlsw_2024.1.bb +++ b/meta-xilinx-core/recipes-multimedia/vdu/libvdu-ctrlsw_1.0.79-xilinx-v2024.1.bb | |||
@@ -3,13 +3,7 @@ DESCRIPTION = "Control software libraries, test applications and headers provide | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=002a0a92906100955ea6ed02dcd2c2cd" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=002a0a92906100955ea6ed02dcd2c2cd" |
5 | 5 | ||
6 | XILINX_VDU_VERSION = "1.0.0" | 6 | PV .= "+git" |
7 | PV =. "${XILINX_VDU_VERSION}-xilinx-v" | ||
8 | PV .= "+git${SRCPV}" | ||
9 | |||
10 | inherit autotools features_check | ||
11 | |||
12 | REQUIRED_MACHINE_FEATURES = "vdu" | ||
13 | 7 | ||
14 | BRANCH ?= "xlnx_rel_v2024.1" | 8 | BRANCH ?= "xlnx_rel_v2024.1" |
15 | REPO ?= "git://github.com/Xilinx/vdu-ctrl-sw.git;protocol=https" | 9 | REPO ?= "git://github.com/Xilinx/vdu-ctrl-sw.git;protocol=https" |
@@ -18,9 +12,14 @@ SRCREV ?= "fb8730a808b707bfb86d3d64881899214a951ff6" | |||
18 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 12 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
19 | SRC_URI = "${REPO};${BRANCHARG}" | 13 | SRC_URI = "${REPO};${BRANCHARG}" |
20 | 14 | ||
21 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
16 | B = "${S}" | ||
22 | 17 | ||
23 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" | 18 | inherit autotools features_check |
19 | |||
20 | REQUIRED_MACHINE_FEATURES = "vdu" | ||
21 | |||
22 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
24 | 23 | ||
25 | RDEPENDS:${PN} = "kernel-module-vdu" | 24 | RDEPENDS:${PN} = "kernel-module-vdu" |
26 | 25 | ||
@@ -39,3 +38,6 @@ do_install:append() { | |||
39 | # explicitly depends upon them. | 38 | # explicitly depends upon them. |
40 | 39 | ||
41 | EXCLUDE_FROM_WORLD = "1" | 40 | EXCLUDE_FROM_WORLD = "1" |
41 | |||
42 | # Disable buildpaths QA check warnings. | ||
43 | INSANE_SKIP:${PN} += "buildpaths" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vdu/libvdu-ctrlsw_2023.1.bb b/meta-xilinx-core/recipes-multimedia/vdu/libvdu-ctrlsw_2023.1.bb deleted file mode 100644 index c553d99b..00000000 --- a/meta-xilinx-core/recipes-multimedia/vdu/libvdu-ctrlsw_2023.1.bb +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | SUMMARY = "Control Software for VDU" | ||
2 | DESCRIPTION = "Control software libraries, test applications and headers provider for VDU" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=aaf483d309243c4596f6373eb9c8325f" | ||
5 | |||
6 | XILINX_VDU_VERSION = "1.0.0" | ||
7 | PV =. "${XILINX_VDU_VERSION}-xilinx-v" | ||
8 | PV .= "+git${SRCPV}" | ||
9 | |||
10 | inherit autotools features_check | ||
11 | |||
12 | REQUIRED_MACHINE_FEATURES = "vdu" | ||
13 | |||
14 | BRANCH ?= "xlnx_rel_v2023.1" | ||
15 | REPO ?= "git://github.com/Xilinx/vdu-ctrl-sw.git;protocol=https" | ||
16 | SRCREV ?= "06fc18b303b40d4fee7549ad162c22ee1bc31582" | ||
17 | |||
18 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
19 | SRC_URI = "${REPO};${BRANCHARG} \ | ||
20 | file://0001-include-libapp-Parser.h-Add-cstdint.patch \ | ||
21 | " | ||
22 | |||
23 | S = "${WORKDIR}/git" | ||
24 | |||
25 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" | ||
26 | |||
27 | RDEPENDS:${PN} = "kernel-module-vdu" | ||
28 | |||
29 | do_compile[dirs] = "${S}" | ||
30 | do_install[dirs] = "${S}" | ||
31 | |||
32 | EXTRA_OEMAKE = "CC='${CC}' CXX='${CXX} ${CXXFLAGS}'" | ||
33 | EXTRA_OEMAKE +=" INSTALL_HDR_PATH=${D}${includedir}/vdu-ctrl-sw/include INSTALL_PATH=${D}${bindir}" | ||
34 | |||
35 | do_install:append() { | ||
36 | |||
37 | oe_libinstall -C ${S}/bin/ -so liballegro_decode ${D}/${libdir}/ | ||
38 | } | ||
39 | |||
40 | # These libraries shouldn't get installed in world builds unless something | ||
41 | # explicitly depends upon them. | ||
42 | |||
43 | EXCLUDE_FROM_WORLD = "1" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vdu/libvdu-ctrlsw_2023.2.bb b/meta-xilinx-core/recipes-multimedia/vdu/libvdu-ctrlsw_2023.2.bb deleted file mode 100644 index 5c47a81e..00000000 --- a/meta-xilinx-core/recipes-multimedia/vdu/libvdu-ctrlsw_2023.2.bb +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | SUMMARY = "Control Software for VDU" | ||
2 | DESCRIPTION = "Control software libraries, test applications and headers provider for VDU" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=aaf483d309243c4596f6373eb9c8325f" | ||
5 | |||
6 | XILINX_VDU_VERSION = "1.0.0" | ||
7 | PV =. "${XILINX_VDU_VERSION}-xilinx-v" | ||
8 | PV .= "+git${SRCPV}" | ||
9 | |||
10 | inherit autotools features_check | ||
11 | |||
12 | REQUIRED_MACHINE_FEATURES = "vdu" | ||
13 | |||
14 | BRANCH ?= "xlnx_rel_v2023.2" | ||
15 | REPO ?= "git://github.com/Xilinx/vdu-ctrl-sw.git;protocol=https" | ||
16 | SRCREV ?= "1beb8f247d01b1a728faea36ce8f7847c895482f" | ||
17 | |||
18 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
19 | SRC_URI = "${REPO};${BRANCHARG} \ | ||
20 | file://0001-include-libapp-Parser.h-Add-cstdint.patch \ | ||
21 | " | ||
22 | |||
23 | S = "${WORKDIR}/git" | ||
24 | |||
25 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" | ||
26 | |||
27 | RDEPENDS:${PN} = "kernel-module-vdu" | ||
28 | |||
29 | do_compile[dirs] = "${S}" | ||
30 | do_install[dirs] = "${S}" | ||
31 | |||
32 | EXTRA_OEMAKE = "CC='${CC}' CXX='${CXX} ${CXXFLAGS}'" | ||
33 | EXTRA_OEMAKE +=" INSTALL_HDR_PATH=${D}${includedir}/vdu-ctrl-sw/include INSTALL_PATH=${D}${bindir}" | ||
34 | |||
35 | do_install:append() { | ||
36 | |||
37 | oe_libinstall -C ${S}/bin/ -so liballegro_decode ${D}/${libdir}/ | ||
38 | } | ||
39 | |||
40 | # These libraries shouldn't get installed in world builds unless something | ||
41 | # explicitly depends upon them. | ||
42 | |||
43 | EXCLUDE_FROM_WORLD = "1" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vdu/libvdu-omxil_2024.1.bb b/meta-xilinx-core/recipes-multimedia/vdu/libvdu-omxil_1.1.2-xilinx-v2024.1.bb index 5ba604f8..6f09b8eb 100644 --- a/meta-xilinx-core/recipes-multimedia/vdu/libvdu-omxil_2024.1.bb +++ b/meta-xilinx-core/recipes-multimedia/vdu/libvdu-omxil_1.1.2-xilinx-v2024.1.bb | |||
@@ -3,8 +3,6 @@ DESCRIPTION = "OMX IL Libraries,test application and headers for VDU" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=002a0a92906100955ea6ed02dcd2c2cd" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=002a0a92906100955ea6ed02dcd2c2cd" |
5 | 5 | ||
6 | XILINX_VDU_VERSION = "1.0.0" | ||
7 | PV =. "${XILINX_VDU_VERSION}-xilinx-v" | ||
8 | PV .= "+git${SRCPV}" | 6 | PV .= "+git${SRCPV}" |
9 | 7 | ||
10 | BRANCH ?= "xlnx_rel_v2024.1" | 8 | BRANCH ?= "xlnx_rel_v2024.1" |
@@ -12,15 +10,16 @@ REPO ?= "git://github.com/Xilinx/vdu-omx-il.git;protocol=https" | |||
12 | SRCREV ?= "af9c6e8935799f4dcd579b0164dd05eb039b569d" | 10 | SRCREV ?= "af9c6e8935799f4dcd579b0164dd05eb039b569d" |
13 | 11 | ||
14 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 12 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
15 | SRC_URI = "${REPO};${BRANCHARG} \ | 13 | SRC_URI = "${REPO};${BRANCHARG}" |
16 | " | 14 | |
17 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
16 | B = "${WORKDIR}/git" | ||
18 | 17 | ||
19 | inherit autotools features_check | 18 | inherit autotools features_check |
20 | 19 | ||
21 | REQUIRED_MACHINE_FEATURES = "vdu" | 20 | REQUIRED_MACHINE_FEATURES = "vdu" |
22 | 21 | ||
23 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" | 22 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
24 | 23 | ||
25 | DEPENDS = "libvdu-ctrlsw" | 24 | DEPENDS = "libvdu-ctrlsw" |
26 | RDEPENDS:${PN} = "kernel-module-vdu libvdu-ctrlsw" | 25 | RDEPENDS:${PN} = "kernel-module-vdu libvdu-ctrlsw" |
diff --git a/meta-xilinx-core/recipes-multimedia/vdu/libvdu-omxil_2023.1.bb b/meta-xilinx-core/recipes-multimedia/vdu/libvdu-omxil_2023.1.bb deleted file mode 100644 index f501212d..00000000 --- a/meta-xilinx-core/recipes-multimedia/vdu/libvdu-omxil_2023.1.bb +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | SUMMARY = "OpenMAX Integration layer for VDU" | ||
2 | DESCRIPTION = "OMX IL Libraries,test application and headers for VDU" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=aaf483d309243c4596f6373eb9c8325f" | ||
5 | |||
6 | XILINX_VDU_VERSION = "1.0.0" | ||
7 | PV =. "${XILINX_VDU_VERSION}-xilinx-v" | ||
8 | PV .= "+git${SRCPV}" | ||
9 | |||
10 | BRANCH ?= "xlnx_rel_v2023.1" | ||
11 | REPO ?= "git://github.com/Xilinx/vdu-omx-il.git;protocol=https" | ||
12 | SRCREV ?= "811eefac953fd5e098c69cada97a0dd35f5e9015" | ||
13 | |||
14 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
15 | SRC_URI = "${REPO};${BRANCHARG} \ | ||
16 | file://0001-libvdu-omxil-Fix-missing-definitions.patch \ | ||
17 | " | ||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | inherit autotools features_check | ||
21 | |||
22 | REQUIRED_MACHINE_FEATURES = "vdu" | ||
23 | |||
24 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" | ||
25 | |||
26 | DEPENDS = "libvdu-ctrlsw" | ||
27 | RDEPENDS:${PN} = "kernel-module-vdu libvdu-ctrlsw" | ||
28 | |||
29 | EXTERNAL_INCLUDE="${STAGING_INCDIR}/vdu-ctrl-sw/include" | ||
30 | |||
31 | do_compile[dirs] = "${S}" | ||
32 | do_install[dirs] = "${S}" | ||
33 | |||
34 | EXTRA_OEMAKE = " \ | ||
35 | CC='${CC}' CXX='${CXX} ${CXXFLAGS}' \ | ||
36 | EXTERNAL_INCLUDE='${EXTERNAL_INCLUDE}' \ | ||
37 | INSTALL_PATH=${D}${bindir} \ | ||
38 | INCLUDE_INST_PATH=${D}${includedir} \ | ||
39 | " | ||
40 | |||
41 | do_install:append() { | ||
42 | install -d ${D}${libdir} | ||
43 | |||
44 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.core ${D}/${libdir}/ | ||
45 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.video_decoder ${D}/${libdir}/ | ||
46 | } | ||
47 | |||
48 | # These libraries shouldn't get installed in world builds unless something | ||
49 | # explicitly depends upon them. | ||
50 | |||
51 | EXCLUDE_FROM_WORLD = "1" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vdu/libvdu-omxil_2023.2.bb b/meta-xilinx-core/recipes-multimedia/vdu/libvdu-omxil_2023.2.bb deleted file mode 100644 index fe66c20c..00000000 --- a/meta-xilinx-core/recipes-multimedia/vdu/libvdu-omxil_2023.2.bb +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | SUMMARY = "OpenMAX Integration layer for VDU" | ||
2 | DESCRIPTION = "OMX IL Libraries,test application and headers for VDU" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=aaf483d309243c4596f6373eb9c8325f" | ||
5 | |||
6 | XILINX_VDU_VERSION = "1.0.0" | ||
7 | PV =. "${XILINX_VDU_VERSION}-xilinx-v" | ||
8 | PV .= "+git${SRCPV}" | ||
9 | |||
10 | BRANCH ?= "xlnx_rel_v2023.2" | ||
11 | REPO ?= "git://github.com/Xilinx/vdu-omx-il.git;protocol=https" | ||
12 | SRCREV ?= "811eefac953fd5e098c69cada97a0dd35f5e9015" | ||
13 | |||
14 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
15 | SRC_URI = "${REPO};${BRANCHARG} \ | ||
16 | file://0001-libvdu-omxil-Fix-missing-definitions.patch \ | ||
17 | " | ||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | inherit autotools features_check | ||
21 | |||
22 | REQUIRED_MACHINE_FEATURES = "vdu" | ||
23 | |||
24 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" | ||
25 | |||
26 | DEPENDS = "libvdu-ctrlsw" | ||
27 | RDEPENDS:${PN} = "kernel-module-vdu libvdu-ctrlsw" | ||
28 | |||
29 | EXTERNAL_INCLUDE="${STAGING_INCDIR}/vdu-ctrl-sw/include" | ||
30 | |||
31 | do_compile[dirs] = "${S}" | ||
32 | do_install[dirs] = "${S}" | ||
33 | |||
34 | EXTRA_OEMAKE = " \ | ||
35 | CC='${CC}' CXX='${CXX} ${CXXFLAGS}' \ | ||
36 | EXTERNAL_INCLUDE='${EXTERNAL_INCLUDE}' \ | ||
37 | INSTALL_PATH=${D}${bindir} \ | ||
38 | INCLUDE_INST_PATH=${D}${includedir} \ | ||
39 | " | ||
40 | |||
41 | do_install:append() { | ||
42 | install -d ${D}${libdir} | ||
43 | |||
44 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.core ${D}/${libdir}/ | ||
45 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.video_decoder ${D}/${libdir}/ | ||
46 | } | ||
47 | |||
48 | # These libraries shouldn't get installed in world builds unless something | ||
49 | # explicitly depends upon them. | ||
50 | |||
51 | EXCLUDE_FROM_WORLD = "1" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vdu/vdu-firmware_2023.1.bb b/meta-xilinx-core/recipes-multimedia/vdu/vdu-firmware_2023.1.bb deleted file mode 100644 index bdb4a7be..00000000 --- a/meta-xilinx-core/recipes-multimedia/vdu/vdu-firmware_2023.1.bb +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | SUMMARY = "Firmware for VDU" | ||
2 | DESCRIPTION = "Firmware binaries provider for VDU" | ||
3 | LICENSE = "Proprietary" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c5784f63397086d836580d8785d1deb9" | ||
5 | |||
6 | XILINX_VDU_VERSION = "1.0.0" | ||
7 | PV =. "${XILINX_VDU_VERSION}-xilinx-v" | ||
8 | PV .= "+git${SRCPV}" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | inherit autotools features_check | ||
13 | |||
14 | REQUIRED_MACHINE_FEATURES = "vdu" | ||
15 | |||
16 | BRANCH ?= "xlnx_rel_v2023.1" | ||
17 | REPO ?= "git://github.com/Xilinx/vdu-firmware.git;protocol=https" | ||
18 | SRCREV ?= "63fe2fce6e46d5bf03e33300a58a37d8568722ee" | ||
19 | |||
20 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
21 | SRC_URI = "${REPO};${BRANCHARG}" | ||
22 | |||
23 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" | ||
24 | EXTRA_OEMAKE +="INSTALL_PATH=${D}/${nonarch_base_libdir}/firmware" | ||
25 | |||
26 | do_compile[noexec] = "1" | ||
27 | do_install[dirs] = "${S}" | ||
28 | |||
29 | # Inhibit warnings about files being stripped | ||
30 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
31 | INHIBIT_PACKAGE_STRIP = "1" | ||
32 | FILES:${PN} = "${nonarch_base_libdir}/firmware/*" | ||
33 | |||
34 | # These libraries shouldn't get installed in world builds unless something | ||
35 | # explicitly depends upon them. | ||
36 | EXCLUDE_FROM_WORLD = "1" | ||
37 | |||
38 | INSANE_SKIP:${PN} = "ldflags" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vdu/vdu-firmware_2023.2.bb b/meta-xilinx-core/recipes-multimedia/vdu/vdu-firmware_2023.2.bb deleted file mode 100644 index b60b66c2..00000000 --- a/meta-xilinx-core/recipes-multimedia/vdu/vdu-firmware_2023.2.bb +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | SUMMARY = "Firmware for VDU" | ||
2 | DESCRIPTION = "Firmware binaries provider for VDU" | ||
3 | LICENSE = "Proprietary" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c5784f63397086d836580d8785d1deb9" | ||
5 | |||
6 | XILINX_VDU_VERSION = "1.0.0" | ||
7 | PV =. "${XILINX_VDU_VERSION}-xilinx-v" | ||
8 | PV .= "+git${SRCPV}" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | inherit autotools features_check | ||
13 | |||
14 | REQUIRED_MACHINE_FEATURES = "vdu" | ||
15 | |||
16 | BRANCH ?= "xlnx_rel_v2023.2" | ||
17 | REPO ?= "git://github.com/Xilinx/vdu-firmware.git;protocol=https" | ||
18 | SRCREV ?= "731897772730178f6a4e77eedeb4fb53faa1ab4d" | ||
19 | |||
20 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
21 | SRC_URI = "${REPO};${BRANCHARG}" | ||
22 | |||
23 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" | ||
24 | EXTRA_OEMAKE +="INSTALL_PATH=${D}/${nonarch_base_libdir}/firmware" | ||
25 | |||
26 | do_compile[noexec] = "1" | ||
27 | do_install[dirs] = "${S}" | ||
28 | |||
29 | # Inhibit warnings about files being stripped | ||
30 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
31 | INHIBIT_PACKAGE_STRIP = "1" | ||
32 | FILES:${PN} = "${nonarch_base_libdir}/firmware/*" | ||
33 | |||
34 | # These libraries shouldn't get installed in world builds unless something | ||
35 | # explicitly depends upon them. | ||
36 | EXCLUDE_FROM_WORLD = "1" | ||
37 | |||
38 | INSANE_SKIP:${PN} = "ldflags" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/vdu/vdu-firmware_2024.1.bb b/meta-xilinx-core/recipes-multimedia/vdu/vdu-firmware_20240216-xilinx-v2024.1.bb index 86f977b4..c4330a3c 100644 --- a/meta-xilinx-core/recipes-multimedia/vdu/vdu-firmware_2024.1.bb +++ b/meta-xilinx-core/recipes-multimedia/vdu/vdu-firmware_20240216-xilinx-v2024.1.bb | |||
@@ -3,15 +3,10 @@ DESCRIPTION = "Firmware binaries provider for VDU" | |||
3 | LICENSE = "Proprietary" | 3 | LICENSE = "Proprietary" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=722a9d20bf58ac06585a6d91ee36e60e" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=722a9d20bf58ac06585a6d91ee36e60e" |
5 | 5 | ||
6 | XILINX_VDU_VERSION = "1.0.0" | 6 | PV .= "+git" |
7 | PV =. "${XILINX_VDU_VERSION}-xilinx-v" | ||
8 | PV .= "+git${SRCPV}" | ||
9 | 7 | ||
10 | S = "${WORKDIR}/git" | 8 | S = "${WORKDIR}/git" |
11 | 9 | B = "${S}" | |
12 | inherit autotools features_check | ||
13 | |||
14 | REQUIRED_MACHINE_FEATURES = "vdu" | ||
15 | 10 | ||
16 | BRANCH ?= "xlnx_rel_v2024.1" | 11 | BRANCH ?= "xlnx_rel_v2024.1" |
17 | REPO ?= "git://github.com/Xilinx/vdu-firmware.git;protocol=https" | 12 | REPO ?= "git://github.com/Xilinx/vdu-firmware.git;protocol=https" |
@@ -20,7 +15,12 @@ SRCREV ?= "724de80630edcb87d865d69f1a6c0dc61c3f9f12" | |||
20 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 15 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
21 | SRC_URI = "${REPO};${BRANCHARG}" | 16 | SRC_URI = "${REPO};${BRANCHARG}" |
22 | 17 | ||
23 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" | 18 | inherit autotools features_check |
19 | |||
20 | REQUIRED_MACHINE_FEATURES = "vdu" | ||
21 | |||
22 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
23 | |||
24 | EXTRA_OEMAKE +="INSTALL_PATH=${D}/${nonarch_base_libdir}/firmware" | 24 | EXTRA_OEMAKE +="INSTALL_PATH=${D}/${nonarch_base_libdir}/firmware" |
25 | 25 | ||
26 | do_compile[noexec] = "1" | 26 | do_compile[noexec] = "1" |
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt-202210.2.13.479/xrt-cstdint.patch b/meta-xilinx-core/recipes-xrt/xrt/xrt-202210.2.13.479/xrt-cstdint.patch new file mode 100644 index 00000000..58c3736a --- /dev/null +++ b/meta-xilinx-core/recipes-xrt/xrt/xrt-202210.2.13.479/xrt-cstdint.patch | |||
@@ -0,0 +1,145 @@ | |||
1 | From e60fd92415bc849293944dd8fb7a72241df6055f Mon Sep 17 00:00:00 2001 | ||
2 | From: Mark Hatle <mark.hatle@amd.com> | ||
3 | Date: Mon, 20 May 2024 19:38:06 -0600 | ||
4 | Subject: [PATCH] Add cstdint as necessary | ||
5 | |||
6 | In GCC 13.1 usage of uint64 and similar will result in an error without | ||
7 | #include <cstdint> | ||
8 | |||
9 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
10 | --- | ||
11 | src/runtime_src/core/common/time.h | 1 + | ||
12 | src/runtime_src/core/edge/common/aie_parser.h | 1 + | ||
13 | src/runtime_src/core/edge/user/aie/common_layer/adf_api_config.h | 1 + | ||
14 | src/runtime_src/core/edge/user/zynq_dev.h | 1 + | ||
15 | src/runtime_src/tools/xclbinutil/CBOR.h | 1 + | ||
16 | src/runtime_src/tools/xclbinutil/DTCStringsBlock.h | 1 + | ||
17 | src/runtime_src/tools/xclbinutil/XclBinSignature.h | 1 + | ||
18 | src/runtime_src/xdp/profile/database/events/vtf_event.h | 1 + | ||
19 | src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h | 1 + | ||
20 | src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h | 1 + | ||
21 | 10 files changed, 10 insertions(+) | ||
22 | |||
23 | diff --git a/src/runtime_src/core/common/time.h b/src/runtime_src/core/common/time.h | ||
24 | index a4a96b11d..585d38756 100644 | ||
25 | --- a/src/runtime_src/core/common/time.h | ||
26 | +++ b/src/runtime_src/core/common/time.h | ||
27 | @@ -19,6 +19,7 @@ | ||
28 | |||
29 | #include "core/common/config.h" | ||
30 | #include <string> | ||
31 | +#include <cstdint> | ||
32 | |||
33 | namespace xrt_core { | ||
34 | |||
35 | diff --git a/src/runtime_src/core/edge/common/aie_parser.h b/src/runtime_src/core/edge/common/aie_parser.h | ||
36 | index 5bc32a36a..f35e97ecd 100644 | ||
37 | --- a/src/runtime_src/core/edge/common/aie_parser.h | ||
38 | +++ b/src/runtime_src/core/edge/common/aie_parser.h | ||
39 | @@ -20,6 +20,7 @@ | ||
40 | #include <string> | ||
41 | #include <vector> | ||
42 | #include <unordered_map> | ||
43 | +#include <cstdint> | ||
44 | #include "../user/aie/common_layer/adf_api_config.h" | ||
45 | |||
46 | namespace xrt_core { | ||
47 | diff --git a/src/runtime_src/core/edge/user/aie/common_layer/adf_api_config.h b/src/runtime_src/core/edge/user/aie/common_layer/adf_api_config.h | ||
48 | index 196304765..36ce35e80 | ||
49 | --- a/src/runtime_src/core/edge/user/aie/common_layer/adf_api_config.h | ||
50 | +++ b/src/runtime_src/core/edge/user/aie/common_layer/adf_api_config.h | ||
51 | @@ -18,6 +18,7 @@ | ||
52 | |||
53 | #include <string> | ||
54 | #include <vector> | ||
55 | +#include <cstdint> | ||
56 | |||
57 | namespace adf | ||
58 | { | ||
59 | diff --git a/src/runtime_src/core/edge/user/zynq_dev.h b/src/runtime_src/core/edge/user/zynq_dev.h | ||
60 | index 6fe36c615..2abd7473b 100644 | ||
61 | --- a/src/runtime_src/core/edge/user/zynq_dev.h | ||
62 | +++ b/src/runtime_src/core/edge/user/zynq_dev.h | ||
63 | @@ -19,6 +19,7 @@ | ||
64 | #include <fstream> | ||
65 | #include <string> | ||
66 | #include <vector> | ||
67 | +#include <cstdint> | ||
68 | |||
69 | class zynq_device { | ||
70 | public: | ||
71 | diff --git a/src/runtime_src/tools/xclbinutil/CBOR.h b/src/runtime_src/tools/xclbinutil/CBOR.h | ||
72 | index e0f1175cd..d8c97ceb4 100644 | ||
73 | --- a/src/runtime_src/tools/xclbinutil/CBOR.h | ||
74 | +++ b/src/runtime_src/tools/xclbinutil/CBOR.h | ||
75 | @@ -22,6 +22,7 @@ | ||
76 | // #includes here - please keep these to a bare minimum! | ||
77 | #include <string> | ||
78 | #include <sstream> | ||
79 | +#include <cstdint> | ||
80 | |||
81 | // ------------ F O R W A R D - D E C L A R A T I O N S ---------------------- | ||
82 | // Forward declarations - use these instead whenever possible... | ||
83 | diff --git a/src/runtime_src/tools/xclbinutil/DTCStringsBlock.h b/src/runtime_src/tools/xclbinutil/DTCStringsBlock.h | ||
84 | index 1ccd7ffc3..e20ae034a 100644 | ||
85 | --- a/src/runtime_src/tools/xclbinutil/DTCStringsBlock.h | ||
86 | +++ b/src/runtime_src/tools/xclbinutil/DTCStringsBlock.h | ||
87 | @@ -22,6 +22,7 @@ | ||
88 | // #includes here - please keep these to a bare minimum! | ||
89 | #include <string> | ||
90 | #include <sstream> | ||
91 | +#include <cstdint> | ||
92 | |||
93 | // ------------ F O R W A R D - D E C L A R A T I O N S ---------------------- | ||
94 | // Forward declarations - use these instead whenever possible... | ||
95 | diff --git a/src/runtime_src/tools/xclbinutil/XclBinSignature.h b/src/runtime_src/tools/xclbinutil/XclBinSignature.h | ||
96 | index b19ab56a4..f1b72d4d2 100644 | ||
97 | --- a/src/runtime_src/tools/xclbinutil/XclBinSignature.h | ||
98 | +++ b/src/runtime_src/tools/xclbinutil/XclBinSignature.h | ||
99 | @@ -18,6 +18,7 @@ | ||
100 | #define __XclBinSignature_h_ | ||
101 | |||
102 | #include <string> | ||
103 | +#include <cstdint> | ||
104 | |||
105 | // ----------------------- I N C L U D E S ----------------------------------- | ||
106 | |||
107 | diff --git a/src/runtime_src/xdp/profile/database/events/vtf_event.h b/src/runtime_src/xdp/profile/database/events/vtf_event.h | ||
108 | index 24a755a9a..a46a43e9d 100644 | ||
109 | --- a/src/runtime_src/xdp/profile/database/events/vtf_event.h | ||
110 | +++ b/src/runtime_src/xdp/profile/database/events/vtf_event.h | ||
111 | @@ -18,6 +18,7 @@ | ||
112 | #define VTF_EVENT_DOT_H | ||
113 | |||
114 | #include <fstream> | ||
115 | +#include <cstdint> | ||
116 | |||
117 | #include "xdp/config.h" | ||
118 | |||
119 | diff --git a/src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h b/src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h | ||
120 | index f1369fe02..1f7486c7e 100644 | ||
121 | --- a/src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h | ||
122 | +++ b/src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h | ||
123 | @@ -18,6 +18,7 @@ | ||
124 | #define XDP_PROFILE_AIE_TRACE_LOGGER_H | ||
125 | |||
126 | #include<iostream> | ||
127 | +#include<cstdint> | ||
128 | |||
129 | namespace xdp { | ||
130 | |||
131 | diff --git a/src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h b/src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h | ||
132 | index a88597464..f392ec0e6 100644 | ||
133 | --- a/src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h | ||
134 | +++ b/src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h | ||
135 | @@ -19,6 +19,7 @@ | ||
136 | |||
137 | #include <fstream> | ||
138 | #include <string> | ||
139 | +#include <cstdint> | ||
140 | |||
141 | #include "xdp/config.h" | ||
142 | |||
143 | -- | ||
144 | 2.34.1 | ||
145 | |||
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt-202220.2.14.0/xrt-cstdint.patch b/meta-xilinx-core/recipes-xrt/xrt/xrt-202220.2.14.0/xrt-cstdint.patch new file mode 100644 index 00000000..5546e0a4 --- /dev/null +++ b/meta-xilinx-core/recipes-xrt/xrt/xrt-202220.2.14.0/xrt-cstdint.patch | |||
@@ -0,0 +1,146 @@ | |||
1 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
2 | From f97ca31fc1b9aa973a2970e9248bc19f44b6a42f Mon Sep 17 00:00:00 2001 | ||
3 | From: Mark Hatle <mark.hatle@amd.com> | ||
4 | Date: Mon, 20 May 2024 20:32:42 -0600 | ||
5 | Subject: [PATCH] Add cstdint as necessary | ||
6 | |||
7 | In GCC 13.1 usage of uint64 and similar will result in an error without | ||
8 | #include <cstdint> | ||
9 | |||
10 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
11 | --- | ||
12 | src/runtime_src/core/common/time.h | 1 + | ||
13 | src/runtime_src/core/edge/common/aie_parser.h | 1 + | ||
14 | src/runtime_src/core/edge/user/aie/common_layer/adf_api_config.h | 1 + | ||
15 | src/runtime_src/core/edge/user/zynq_dev.h | 1 + | ||
16 | src/runtime_src/tools/xclbinutil/CBOR.h | 1 + | ||
17 | src/runtime_src/tools/xclbinutil/DTCStringsBlock.h | 1 + | ||
18 | src/runtime_src/tools/xclbinutil/XclBinSignature.h | 1 + | ||
19 | src/runtime_src/xdp/profile/database/events/vtf_event.h | 1 + | ||
20 | src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h | 1 + | ||
21 | src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h | 1 + | ||
22 | 10 files changed, 10 insertions(+) | ||
23 | |||
24 | diff --git a/src/runtime_src/core/common/time.h b/src/runtime_src/core/common/time.h | ||
25 | index a4a96b11d..585d38756 100644 | ||
26 | --- a/src/runtime_src/core/common/time.h | ||
27 | +++ b/src/runtime_src/core/common/time.h | ||
28 | @@ -19,6 +19,7 @@ | ||
29 | |||
30 | #include "core/common/config.h" | ||
31 | #include <string> | ||
32 | +#include <cstdint> | ||
33 | |||
34 | namespace xrt_core { | ||
35 | |||
36 | diff --git a/src/runtime_src/core/edge/common/aie_parser.h b/src/runtime_src/core/edge/common/aie_parser.h | ||
37 | index 5bc32a36a..f35e97ecd 100644 | ||
38 | --- a/src/runtime_src/core/edge/common/aie_parser.h | ||
39 | +++ b/src/runtime_src/core/edge/common/aie_parser.h | ||
40 | @@ -20,6 +20,7 @@ | ||
41 | #include <string> | ||
42 | #include <vector> | ||
43 | #include <unordered_map> | ||
44 | +#include <cstdint> | ||
45 | #include "../user/aie/common_layer/adf_api_config.h" | ||
46 | |||
47 | namespace xrt_core { | ||
48 | diff --git a/src/runtime_src/core/edge/user/aie/common_layer/adf_api_config.h b/src/runtime_src/core/edge/user/aie/common_layer/adf_api_config.h | ||
49 | index 196304765..36ce35e80 100755 | ||
50 | --- a/src/runtime_src/core/edge/user/aie/common_layer/adf_api_config.h | ||
51 | +++ b/src/runtime_src/core/edge/user/aie/common_layer/adf_api_config.h | ||
52 | @@ -18,6 +18,7 @@ | ||
53 | |||
54 | #include <string> | ||
55 | #include <vector> | ||
56 | +#include <cstdint> | ||
57 | |||
58 | namespace adf | ||
59 | { | ||
60 | diff --git a/src/runtime_src/core/edge/user/zynq_dev.h b/src/runtime_src/core/edge/user/zynq_dev.h | ||
61 | index 6fe36c615..2abd7473b 100644 | ||
62 | --- a/src/runtime_src/core/edge/user/zynq_dev.h | ||
63 | +++ b/src/runtime_src/core/edge/user/zynq_dev.h | ||
64 | @@ -19,6 +19,7 @@ | ||
65 | #include <fstream> | ||
66 | #include <string> | ||
67 | #include <vector> | ||
68 | +#include <cstdint> | ||
69 | |||
70 | class zynq_device { | ||
71 | public: | ||
72 | diff --git a/src/runtime_src/tools/xclbinutil/CBOR.h b/src/runtime_src/tools/xclbinutil/CBOR.h | ||
73 | index 368459f59..acbf6ebae 100644 | ||
74 | --- a/src/runtime_src/tools/xclbinutil/CBOR.h | ||
75 | +++ b/src/runtime_src/tools/xclbinutil/CBOR.h | ||
76 | @@ -22,6 +22,7 @@ | ||
77 | // #includes here - please keep these to a bare minimum! | ||
78 | #include <string> | ||
79 | #include <sstream> | ||
80 | +#include <cstdint> | ||
81 | |||
82 | // ------------ F O R W A R D - D E C L A R A T I O N S ---------------------- | ||
83 | // Forward declarations - use these instead whenever possible... | ||
84 | diff --git a/src/runtime_src/tools/xclbinutil/DTCStringsBlock.h b/src/runtime_src/tools/xclbinutil/DTCStringsBlock.h | ||
85 | index 361015962..2ec16360d 100644 | ||
86 | --- a/src/runtime_src/tools/xclbinutil/DTCStringsBlock.h | ||
87 | +++ b/src/runtime_src/tools/xclbinutil/DTCStringsBlock.h | ||
88 | @@ -20,6 +20,7 @@ | ||
89 | // ----------------------- I N C L U D E S ----------------------------------- | ||
90 | #include <sstream> | ||
91 | #include <string> | ||
92 | +#include <cstdint> | ||
93 | |||
94 | // ----------- C L A S S : D T C S t r i n g s B l o c k ------------------- | ||
95 | |||
96 | diff --git a/src/runtime_src/tools/xclbinutil/XclBinSignature.h b/src/runtime_src/tools/xclbinutil/XclBinSignature.h | ||
97 | index b19ab56a4..f1b72d4d2 100644 | ||
98 | --- a/src/runtime_src/tools/xclbinutil/XclBinSignature.h | ||
99 | +++ b/src/runtime_src/tools/xclbinutil/XclBinSignature.h | ||
100 | @@ -18,6 +18,7 @@ | ||
101 | #define __XclBinSignature_h_ | ||
102 | |||
103 | #include <string> | ||
104 | +#include <cstdint> | ||
105 | |||
106 | // ----------------------- I N C L U D E S ----------------------------------- | ||
107 | |||
108 | diff --git a/src/runtime_src/xdp/profile/database/events/vtf_event.h b/src/runtime_src/xdp/profile/database/events/vtf_event.h | ||
109 | index 24a755a9a..a46a43e9d 100644 | ||
110 | --- a/src/runtime_src/xdp/profile/database/events/vtf_event.h | ||
111 | +++ b/src/runtime_src/xdp/profile/database/events/vtf_event.h | ||
112 | @@ -18,6 +18,7 @@ | ||
113 | #define VTF_EVENT_DOT_H | ||
114 | |||
115 | #include <fstream> | ||
116 | +#include <cstdint> | ||
117 | |||
118 | #include "xdp/config.h" | ||
119 | |||
120 | diff --git a/src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h b/src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h | ||
121 | index 98c57de2e..6f67c43df 100644 | ||
122 | --- a/src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h | ||
123 | +++ b/src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h | ||
124 | @@ -18,6 +18,7 @@ | ||
125 | #define XDP_PROFILE_AIE_TRACE_LOGGER_H | ||
126 | |||
127 | #include<iostream> | ||
128 | +#include<cstdint> | ||
129 | |||
130 | namespace xdp { | ||
131 | |||
132 | diff --git a/src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h b/src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h | ||
133 | index a88597464..f392ec0e6 100644 | ||
134 | --- a/src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h | ||
135 | +++ b/src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h | ||
136 | @@ -19,6 +19,7 @@ | ||
137 | |||
138 | #include <fstream> | ||
139 | #include <string> | ||
140 | +#include <cstdint> | ||
141 | |||
142 | #include "xdp/config.h" | ||
143 | |||
144 | -- | ||
145 | 2.34.1 | ||
146 | |||
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 64702022..c42e9a65 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 | |||
@@ -3,6 +3,8 @@ DESCRIPTION = "Xilinx Runtime User Space Libraries and headers" | |||
3 | 3 | ||
4 | require xrt-${PV}.inc | 4 | require xrt-${PV}.inc |
5 | 5 | ||
6 | SRC_URI += "file://xrt-cstdint.patch;striplevel=2" | ||
7 | |||
6 | LICENSE = "GPL-2.0-or-later & Apache-2.0" | 8 | LICENSE = "GPL-2.0-or-later & Apache-2.0" |
7 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=da5408f748bce8a9851dac18e66f4bcf \ | 9 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=da5408f748bce8a9851dac18e66f4bcf \ |
8 | file://runtime_src/core/edge/drm/zocl/LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8 \ | 10 | file://runtime_src/core/edge/drm/zocl/LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8 \ |
@@ -19,7 +21,7 @@ BBCLASSEXTEND = "native nativesdk" | |||
19 | 21 | ||
20 | # util-linux is for libuuid-dev. | 22 | # util-linux is for libuuid-dev. |
21 | DEPENDS = "libdrm opencl-headers ocl-icd opencl-clhpp boost util-linux git-replacement-native protobuf-native protobuf elfutils libffi rapidjson" | 23 | DEPENDS = "libdrm opencl-headers ocl-icd opencl-clhpp boost util-linux git-replacement-native protobuf-native protobuf elfutils libffi rapidjson" |
22 | RDEPENDS:${PN} = "bash ocl-icd boost-system boost-filesystem zocl (= ${PV})" | 24 | RDEPENDS:${PN} = "bash ocl-icd boost-system boost-filesystem kernel-module-zocl (= ${PV})" |
23 | 25 | ||
24 | EXTRA_OECMAKE += " \ | 26 | EXTRA_OECMAKE += " \ |
25 | -DCMAKE_BUILD_TYPE=Release \ | 27 | -DCMAKE_BUILD_TYPE=Release \ |
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 5f6e0034..cc5a9ed5 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 | |||
@@ -3,6 +3,8 @@ DESCRIPTION = "Xilinx Runtime User Space Libraries and headers" | |||
3 | 3 | ||
4 | require xrt-${PV}.inc | 4 | require xrt-${PV}.inc |
5 | 5 | ||
6 | SRC_URI += "file://xrt-cstdint.patch;striplevel=2" | ||
7 | |||
6 | LICENSE = "GPL-2.0-or-later & Apache-2.0" | 8 | LICENSE = "GPL-2.0-or-later & Apache-2.0" |
7 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=da5408f748bce8a9851dac18e66f4bcf \ | 9 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=da5408f748bce8a9851dac18e66f4bcf \ |
8 | file://runtime_src/core/edge/drm/zocl/LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8 \ | 10 | file://runtime_src/core/edge/drm/zocl/LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8 \ |
@@ -18,7 +20,7 @@ BBCLASSEXTEND = "native nativesdk" | |||
18 | 20 | ||
19 | # util-linux is for libuuid-dev. | 21 | # util-linux is for libuuid-dev. |
20 | DEPENDS = "libdrm opencl-headers ocl-icd opencl-clhpp boost util-linux git-replacement-native protobuf-native protobuf elfutils libffi rapidjson" | 22 | DEPENDS = "libdrm opencl-headers ocl-icd opencl-clhpp boost util-linux git-replacement-native protobuf-native protobuf elfutils libffi rapidjson" |
21 | RDEPENDS:${PN} = "bash ocl-icd boost-system boost-filesystem zocl (= ${PV})" | 23 | RDEPENDS:${PN} = "bash ocl-icd boost-system boost-filesystem kernel-module-zocl (= ${PV})" |
22 | 24 | ||
23 | EXTRA_OECMAKE += " \ | 25 | EXTRA_OECMAKE += " \ |
24 | -DCMAKE_BUILD_TYPE=Release \ | 26 | -DCMAKE_BUILD_TYPE=Release \ |
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 cad8ccee..6d7d1257 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 | |||
@@ -24,7 +24,7 @@ BBCLASSEXTEND = "native nativesdk" | |||
24 | 24 | ||
25 | # util-linux is for libuuid-dev. | 25 | # util-linux is for libuuid-dev. |
26 | DEPENDS = "libdrm opencl-headers ocl-icd opencl-clhpp boost util-linux git-replacement-native protobuf-native protobuf elfutils libffi rapidjson libdfx" | 26 | DEPENDS = "libdrm opencl-headers ocl-icd opencl-clhpp boost util-linux git-replacement-native protobuf-native protobuf elfutils libffi rapidjson libdfx" |
27 | RDEPENDS:${PN} = "bash ocl-icd boost-system boost-filesystem zocl (= ${PV})" | 27 | RDEPENDS:${PN} = "bash ocl-icd boost-system boost-filesystem kernel-module-zocl (= ${PV})" |
28 | 28 | ||
29 | EXTRA_OECMAKE += " \ | 29 | EXTRA_OECMAKE += " \ |
30 | -DCMAKE_BUILD_TYPE=Release \ | 30 | -DCMAKE_BUILD_TYPE=Release \ |
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 5824ae9c..a780684f 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 | |||
@@ -25,7 +25,7 @@ BBCLASSEXTEND = "native nativesdk" | |||
25 | 25 | ||
26 | # util-linux is for libuuid-dev. | 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 libdfx" | 27 | DEPENDS = "libdrm opencl-headers ocl-icd opencl-clhpp boost util-linux git-replacement-native protobuf-native protobuf elfutils libffi rapidjson libdfx" |
28 | RDEPENDS:${PN} = "bash ocl-icd boost-system boost-filesystem zocl (= ${PV})" | 28 | RDEPENDS:${PN} = "bash ocl-icd boost-system boost-filesystem kernel-module-zocl (= ${PV})" |
29 | 29 | ||
30 | EXTRA_OECMAKE += " \ | 30 | EXTRA_OECMAKE += " \ |
31 | -DCMAKE_BUILD_TYPE=Release \ | 31 | -DCMAKE_BUILD_TYPE=Release \ |
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt_202410.2.17.0.bb b/meta-xilinx-core/recipes-xrt/xrt/xrt_202410.2.17.0.bb index 7f211e6f..d84d3b85 100644 --- a/meta-xilinx-core/recipes-xrt/xrt/xrt_202410.2.17.0.bb +++ b/meta-xilinx-core/recipes-xrt/xrt/xrt_202410.2.17.0.bb | |||
@@ -25,7 +25,7 @@ BBCLASSEXTEND = "native nativesdk" | |||
25 | 25 | ||
26 | # util-linux is for libuuid-dev. | 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" | 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})" | 28 | RDEPENDS:${PN} = "bash ocl-icd boost-system boost-filesystem kernel-module-zocl (= ${PV})" |
29 | 29 | ||
30 | EXTRA_OECMAKE += " \ | 30 | EXTRA_OECMAKE += " \ |
31 | -DCMAKE_BUILD_TYPE=Release \ | 31 | -DCMAKE_BUILD_TYPE=Release \ |
diff --git a/meta-xilinx-core/recipes-xrt/zocl/zocl_202210.2.13.479.bb b/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202210.2.13.479.bb index 7063178a..a7c7e540 100644 --- a/meta-xilinx-core/recipes-xrt/zocl/zocl_202210.2.13.479.bb +++ b/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202210.2.13.479.bb | |||
@@ -1,6 +1,7 @@ | |||
1 | SUMMARY = "Xilinx Runtime(XRT) driver module" | 1 | SUMMARY = "Xilinx Runtime(XRT) driver module" |
2 | DESCRIPTION = "Xilinx Runtime driver module provides memory management and compute unit schedule" | 2 | DESCRIPTION = "Xilinx Runtime driver module provides memory management and compute unit schedule" |
3 | 3 | ||
4 | PROVIDES += "zocl" | ||
4 | 5 | ||
5 | require recipes-xrt/xrt/xrt-${PV}.inc | 6 | require recipes-xrt/xrt/xrt-${PV}.inc |
6 | 7 | ||
diff --git a/meta-xilinx-core/recipes-xrt/zocl/zocl_202220.2.14.0.bb b/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202220.2.14.0.bb index 39e9f9fb..8676639a 100644 --- a/meta-xilinx-core/recipes-xrt/zocl/zocl_202220.2.14.0.bb +++ b/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202220.2.14.0.bb | |||
@@ -3,6 +3,8 @@ DESCRIPTION = "Xilinx Runtime driver module provides memory management and compu | |||
3 | 3 | ||
4 | COMPATIBLE_MACHINE:microblaze = "none" | 4 | COMPATIBLE_MACHINE:microblaze = "none" |
5 | 5 | ||
6 | PROVIDES += "zocl" | ||
7 | |||
6 | require recipes-xrt/xrt/xrt-${PV}.inc | 8 | require recipes-xrt/xrt/xrt-${PV}.inc |
7 | 9 | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8" |
diff --git a/meta-xilinx-core/recipes-xrt/zocl/zocl_202310.2.15.0.bb b/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202310.2.15.0.bb index 24f69aec..b91572f9 100644 --- a/meta-xilinx-core/recipes-xrt/zocl/zocl_202310.2.15.0.bb +++ b/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202310.2.15.0.bb | |||
@@ -3,6 +3,8 @@ DESCRIPTION = "Xilinx Runtime driver module provides memory management and compu | |||
3 | 3 | ||
4 | COMPATIBLE_MACHINE:microblaze = "none" | 4 | COMPATIBLE_MACHINE:microblaze = "none" |
5 | 5 | ||
6 | PROVIDES += "zocl" | ||
7 | |||
6 | require recipes-xrt/xrt/xrt-${PV}.inc | 8 | require recipes-xrt/xrt/xrt-${PV}.inc |
7 | 9 | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8" |
diff --git a/meta-xilinx-core/recipes-xrt/zocl/zocl_202320.2.16.0.bb b/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202320.2.16.0.bb index 24f69aec..b91572f9 100644 --- a/meta-xilinx-core/recipes-xrt/zocl/zocl_202320.2.16.0.bb +++ b/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202320.2.16.0.bb | |||
@@ -3,6 +3,8 @@ DESCRIPTION = "Xilinx Runtime driver module provides memory management and compu | |||
3 | 3 | ||
4 | COMPATIBLE_MACHINE:microblaze = "none" | 4 | COMPATIBLE_MACHINE:microblaze = "none" |
5 | 5 | ||
6 | PROVIDES += "zocl" | ||
7 | |||
6 | require recipes-xrt/xrt/xrt-${PV}.inc | 8 | require recipes-xrt/xrt/xrt-${PV}.inc |
7 | 9 | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8" |
diff --git a/meta-xilinx-core/recipes-xrt/zocl/zocl_202410.2.17.0.bb b/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202410.2.17.0.bb index 24f69aec..b91572f9 100644 --- a/meta-xilinx-core/recipes-xrt/zocl/zocl_202410.2.17.0.bb +++ b/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202410.2.17.0.bb | |||
@@ -3,6 +3,8 @@ DESCRIPTION = "Xilinx Runtime driver module provides memory management and compu | |||
3 | 3 | ||
4 | COMPATIBLE_MACHINE:microblaze = "none" | 4 | COMPATIBLE_MACHINE:microblaze = "none" |
5 | 5 | ||
6 | PROVIDES += "zocl" | ||
7 | |||
6 | require recipes-xrt/xrt/xrt-${PV}.inc | 8 | require recipes-xrt/xrt/xrt-${PV}.inc |
7 | 9 | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8" |