diff options
Diffstat (limited to 'meta-xilinx-core/recipes-multimedia')
36 files changed, 50 insertions, 1271 deletions
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" |
