diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-11-24 09:32:52 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-11-24 16:55:01 -0700 |
commit | fc651966ac5add0bd5d4e2612c02368ff715621b (patch) | |
tree | 9070dd61d789ea083b8ab40fc9c61114d894e25a | |
parent | d6ba64599f6f84a33d7c106eace03dc0a24ea02f (diff) | |
download | meta-xilinx-fc651966ac5add0bd5d4e2612c02368ff715621b.tar.gz |
various: Remove 2022.x versions
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
50 files changed, 0 insertions, 1474 deletions
diff --git a/meta-xilinx-core/conf/layer.conf b/meta-xilinx-core/conf/layer.conf index a32a354a..5007761f 100644 --- a/meta-xilinx-core/conf/layer.conf +++ b/meta-xilinx-core/conf/layer.conf | |||
@@ -50,8 +50,6 @@ DEFAULT_XILINX_QEMU = "qemu-xilinx" | |||
50 | DEFAULT_XILINX_QEMU:arm = "qemu" | 50 | DEFAULT_XILINX_QEMU:arm = "qemu" |
51 | PREFERRED_PROVIDER_qemu ?= "${DEFAULT_XILINX_QEMU}" | 51 | PREFERRED_PROVIDER_qemu ?= "${DEFAULT_XILINX_QEMU}" |
52 | 52 | ||
53 | XILINX_ATF_VERSION[v2022.1] = "2.6-xilinx-v2022.1%" | ||
54 | XILINX_ATF_VERSION[v2022.2] = "2.6-xilinx-v2022.2%" | ||
55 | XILINX_ATF_VERSION[v2023.1] = "2.8-xilinx-v2023.1%" | 53 | XILINX_ATF_VERSION[v2023.1] = "2.8-xilinx-v2023.1%" |
56 | XILINX_ATF_VERSION[v2023.2] = "2.8-xilinx-v2023.2%" | 54 | XILINX_ATF_VERSION[v2023.2] = "2.8-xilinx-v2023.2%" |
57 | XILINX_ATF_VERSION[v2024.1] = "2.10-xilinx-v2024.1%" | 55 | XILINX_ATF_VERSION[v2024.1] = "2.10-xilinx-v2024.1%" |
@@ -63,8 +61,6 @@ XILINX_ATF_PROVIDERS[v2024.2] = "trusted-firmware-a" | |||
63 | PREFERRED_PROVIDER_virtual/arm-trusted-firmware = "${@d.getVarFlag('XILINX_ATF_PROVIDERS', d.getVar('XILINX_RELEASE_VERSION')) or 'arm-trusted-firmware'}" | 61 | PREFERRED_PROVIDER_virtual/arm-trusted-firmware = "${@d.getVarFlag('XILINX_ATF_PROVIDERS', d.getVar('XILINX_RELEASE_VERSION')) or 'arm-trusted-firmware'}" |
64 | 62 | ||
65 | 63 | ||
66 | XILINX_UBOOT_VERSION[v2022.1] = "1:2021.01-xilinx-v2022.1%" | ||
67 | XILINX_UBOOT_VERSION[v2022.2] = "1:2022.01-xilinx-v2022.2%" | ||
68 | XILINX_UBOOT_VERSION[v2023.1] = "1:2023.01-xilinx-v2023.1%" | 64 | XILINX_UBOOT_VERSION[v2023.1] = "1:2023.01-xilinx-v2023.1%" |
69 | XILINX_UBOOT_VERSION[v2023.2] = "1:2023.01-xilinx-v2023.2%" | 65 | XILINX_UBOOT_VERSION[v2023.2] = "1:2023.01-xilinx-v2023.2%" |
70 | XILINX_UBOOT_VERSION[v2024.1] = "1:2024.01-xilinx-v2024.1%" | 66 | XILINX_UBOOT_VERSION[v2024.1] = "1:2024.01-xilinx-v2024.1%" |
@@ -73,8 +69,6 @@ XILINX_UBOOT_VERSION[v2024.2] = "1:2024.01-xilinx-v2024.2%" | |||
73 | PREFERRED_VERSION_u-boot-xlnx ?= "${@d.getVarFlag('XILINX_UBOOT_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" | 69 | 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'}" | 70 | PREFERRED_VERSION_u-boot-tools-xlnx ?= "${@d.getVarFlag('XILINX_UBOOT_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" |
75 | 71 | ||
76 | XILINX_LINUX_VERSION[v2022.1] = "5.15.19%" | ||
77 | XILINX_LINUX_VERSION[v2022.2] = "5.15.36%" | ||
78 | XILINX_LINUX_VERSION[v2023.1] = "6.1.30%" | 72 | XILINX_LINUX_VERSION[v2023.1] = "6.1.30%" |
79 | XILINX_LINUX_VERSION[v2023.2] = "6.1.60%" | 73 | XILINX_LINUX_VERSION[v2023.2] = "6.1.60%" |
80 | XILINX_LINUX_VERSION[v2024.1] = "6.6.10%" | 74 | XILINX_LINUX_VERSION[v2024.1] = "6.6.10%" |
@@ -82,8 +76,6 @@ XILINX_LINUX_VERSION[v2024.2] = "6.6.40%" | |||
82 | PREFERRED_VERSION_linux-xlnx ?= "${@d.getVarFlag('XILINX_LINUX_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" | 76 | PREFERRED_VERSION_linux-xlnx ?= "${@d.getVarFlag('XILINX_LINUX_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" |
83 | 77 | ||
84 | # XRT/ZOCL | 78 | # XRT/ZOCL |
85 | XRT_ZOCL_VERSION[v2022.1] = "202210.2.13.479" | ||
86 | XRT_ZOCL_VERSION[v2022.2] = "202220.2.14.0" | ||
87 | XRT_ZOCL_VERSION[v2023.1] = "202310.2.15.0" | 79 | XRT_ZOCL_VERSION[v2023.1] = "202310.2.15.0" |
88 | XRT_ZOCL_VERSION[v2023.2] = "202320.2.16.0" | 80 | XRT_ZOCL_VERSION[v2023.2] = "202320.2.16.0" |
89 | XRT_ZOCL_VERSION[v2024.1] = "202410.2.17.319" | 81 | XRT_ZOCL_VERSION[v2024.1] = "202410.2.17.319" |
@@ -92,16 +84,12 @@ PREFERRED_VERSION_xrt ?= "${@d.getVarFlag('XRT_ZOCL_VERSION', d.getVar('XILINX_R | |||
92 | PREFERRED_VERSION_zocl ?= "${@d.getVarFlag('XRT_ZOCL_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" | 84 | PREFERRED_VERSION_zocl ?= "${@d.getVarFlag('XRT_ZOCL_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" |
93 | 85 | ||
94 | # AI-Engine | 86 | # AI-Engine |
95 | AIEFAL_VERSION[v2022.1] = "1.4" | ||
96 | AIEFAL_VERSION[v2022.2] = "1.4" | ||
97 | AIEFAL_VERSION[v2023.1] = "1.5" | 87 | AIEFAL_VERSION[v2023.1] = "1.5" |
98 | AIEFAL_VERSION[v2023.2] = "1.5" | 88 | AIEFAL_VERSION[v2023.2] = "1.5" |
99 | AIEFAL_VERSION[v2024.1] = "1.6" | 89 | AIEFAL_VERSION[v2024.1] = "1.6" |
100 | AIEFAL_VERSION[v2024.2] = "1.7" | 90 | AIEFAL_VERSION[v2024.2] = "1.7" |
101 | PREFERRED_VERSION_aiefal ?= "${@d.getVarFlag('AIEFAL_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" | 91 | PREFERRED_VERSION_aiefal ?= "${@d.getVarFlag('AIEFAL_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" |
102 | 92 | ||
103 | AI_ENGINE_DRIVER_VERSION[v2022.1] = "3.3" | ||
104 | AI_ENGINE_DRIVER_VERSION[v2022.2] = "3.3" | ||
105 | AI_ENGINE_DRIVER_VERSION[v2023.1] = "3.4" | 93 | AI_ENGINE_DRIVER_VERSION[v2023.1] = "3.4" |
106 | AI_ENGINE_DRIVER_VERSION[v2023.2] = "3.4" | 94 | AI_ENGINE_DRIVER_VERSION[v2023.2] = "3.4" |
107 | AI_ENGINE_DRIVER_VERSION[v2024.1] = "3.5" | 95 | AI_ENGINE_DRIVER_VERSION[v2024.1] = "3.5" |
diff --git a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_202210.2.13.479.bbappend b/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_202210.2.13.479.bbappend deleted file mode 100644 index 0e7f3693..00000000 --- a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_202210.2.13.479.bbappend +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | # Use libmetal for systems with AIE | ||
2 | # For versal devices with the ai-engine | ||
3 | PACKAGE_ARCH_orig := "${PACKAGE_ARCH}" | ||
4 | PACKAGE_ARCH = "${@bb.utils.contains('MACHINE_FEATURES', 'aie', '${MACHINE_ARCH}', '${PACKAGE_ARCH_orig}', d)}" | ||
5 | EXTRA_OECMAKE .= "${@bb.utils.contains('MACHINE_FEATURES', 'aie', ' -DXRT_AIE_BUILD=true', '', d)}" | ||
6 | TARGET_CXXFLAGS .= "${@bb.utils.contains('MACHINE_FEATURES', 'aie', ' -DXRT_ENABLE_AIE -DFAL_LINUX=on', '', d)}" | ||
7 | DEPENDS .= "${@bb.utils.contains('MACHINE_FEATURES', 'aie', ' libxaiengine aiefal', '', d)}" | ||
8 | RDEPENDS:${PN} += "${@bb.utils.contains('MACHINE_FEATURES', 'aie', ' libxaiengine aiefal', '', d)}" | ||
diff --git a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_202220.2.14.0.bbappend b/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_202220.2.14.0.bbappend deleted file mode 100644 index 0e7f3693..00000000 --- a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_202220.2.14.0.bbappend +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | # Use libmetal for systems with AIE | ||
2 | # For versal devices with the ai-engine | ||
3 | PACKAGE_ARCH_orig := "${PACKAGE_ARCH}" | ||
4 | PACKAGE_ARCH = "${@bb.utils.contains('MACHINE_FEATURES', 'aie', '${MACHINE_ARCH}', '${PACKAGE_ARCH_orig}', d)}" | ||
5 | EXTRA_OECMAKE .= "${@bb.utils.contains('MACHINE_FEATURES', 'aie', ' -DXRT_AIE_BUILD=true', '', d)}" | ||
6 | TARGET_CXXFLAGS .= "${@bb.utils.contains('MACHINE_FEATURES', 'aie', ' -DXRT_ENABLE_AIE -DFAL_LINUX=on', '', d)}" | ||
7 | DEPENDS .= "${@bb.utils.contains('MACHINE_FEATURES', 'aie', ' libxaiengine aiefal', '', d)}" | ||
8 | RDEPENDS:${PN} += "${@bb.utils.contains('MACHINE_FEATURES', 'aie', ' libxaiengine aiefal', '', d)}" | ||
diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.3.bb b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.3.bb deleted file mode 100644 index 0b3effe2..00000000 --- a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.3.bb +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | SUMMARY = "Xilinx AI Engine runtime" | ||
2 | DESCRIPTION = "This library provides APIs for the runtime support of the Xilinx AI Engine IP" | ||
3 | |||
4 | require aie-rt-2022.inc | ||
5 | |||
6 | SECTION = "libs" | ||
7 | |||
8 | AIEDIR ?= "${S}/driver" | ||
9 | S = "${UNPACKDIR}/git" | ||
10 | I = "${AIEDIR}/include" | ||
11 | |||
12 | inherit features_check | ||
13 | |||
14 | REQUIRED_MACHINE_FEATURES = "aie" | ||
15 | |||
16 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
17 | |||
18 | IOBACKENDS ?= "Linux" | ||
19 | |||
20 | DEPENDS = "${@bb.utils.contains('IOBACKENDS', 'metal', 'libmetal', '', d)}" | ||
21 | RDEPENDS:${PN} = "${@bb.utils.contains('IOBACKENDS', 'metal', 'libmetal', '', d)}" | ||
22 | |||
23 | PROVIDES = "libxaiengine" | ||
24 | RPROVIDES:${PN} = "libxaiengine" | ||
25 | |||
26 | # The makefile isn't ready for parallel execution at the moment | ||
27 | PARALLEL_MAKE = "-j 1" | ||
28 | |||
29 | CFLAGS += "-Wall -Wextra -fno-thread-jumps -fno-tree-pre" | ||
30 | CFLAGS += "${@bb.utils.contains('IOBACKENDS', 'Linux', ' -D__AIELINUX__', '', d)}" | ||
31 | CFLAGS += "${@bb.utils.contains('IOBACKENDS', 'metal', ' -D__AIEMETAL__', '', d)}" | ||
32 | EXTRA_OEMAKE = "-C ${AIEDIR}/src -f Makefile.Linux CFLAGS='${CFLAGS}'" | ||
33 | |||
34 | |||
35 | do_compile(){ | ||
36 | oe_runmake | ||
37 | } | ||
38 | |||
39 | do_install(){ | ||
40 | install -d ${D}${includedir} | ||
41 | install ${I}/*.h ${D}${includedir}/ | ||
42 | install -d ${D}${includedir}/xaiengine | ||
43 | install ${I}/xaiengine/*.h ${D}${includedir}/xaiengine/ | ||
44 | install -d ${D}${libdir} | ||
45 | cp -dr ${AIEDIR}/src/*.so* ${D}${libdir} | ||
46 | } | ||
diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/aie-rt-2022.inc b/meta-xilinx-core/recipes-bsp/ai-engine/aie-rt-2022.inc deleted file mode 100644 index 85121654..00000000 --- a/meta-xilinx-core/recipes-bsp/ai-engine/aie-rt-2022.inc +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | SECTION = "libs" | ||
2 | |||
3 | REPO ?= "git://github.com/Xilinx/aie-rt.git;protocol=https" | ||
4 | |||
5 | BRANCH ?= "xlnx_rel_v2022.2" | ||
6 | SRCREV ?= "ae24c8ede049906323510693f37e6167a963fd0e" | ||
7 | |||
8 | LICENSE = "BSD-3-Clause" | ||
9 | LIC_FILES_CHKSUM ?= "file://license.txt;md5=b81abf1f508952331dd7d2ab36408f5b" | ||
10 | |||
11 | SRC_URI = "${REPO};branch=${BRANCH}" | ||
diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.4.bb b/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.4.bb deleted file mode 100644 index 73cbfdd6..00000000 --- a/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.4.bb +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | SUMMARY = "Xilinx AI Engine FAL(Functional Abstraction Layer)" | ||
2 | DESCRIPTION = "AIE FAL provides functional abstraction APIs for runtime support of Xilinx AI Engine IP" | ||
3 | |||
4 | require aie-rt-2022.inc | ||
5 | |||
6 | SECTION = "devel" | ||
7 | |||
8 | XAIEFAL_DIR ?= "fal" | ||
9 | S = "${UNPACKDIR}/git" | ||
10 | |||
11 | inherit features_check | ||
12 | |||
13 | REQUIRED_MACHINE_FEATURES = "aie" | ||
14 | |||
15 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
16 | |||
17 | IOBACKENDS ?= "Linux" | ||
18 | |||
19 | PROVIDES = "aiefal" | ||
20 | ALLOW_EMPTY:${PN} = "1" | ||
21 | |||
22 | inherit pkgconfig cmake | ||
23 | |||
24 | DEPENDS = "libxaiengine" | ||
25 | |||
26 | OECMAKE_SOURCEPATH = "${S}/${XAIEFAL_DIR}" | ||
27 | |||
28 | EXTRA_OECMAKE = "-DWITH_TESTS=OFF " | ||
29 | EXTRA_OECMAKE:append = "${@'-DWITH_EXAMPLES=ON' if d.getVar('WITH_EXAMPLES') == 'y' else '-DWITH_EXAMPLES=OFF'}" | ||
30 | |||
31 | FILES:${PN}-demos = " \ | ||
32 | ${bindir}/* \ | ||
33 | " | ||
diff --git a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.6-xilinx-v2022.1.bb b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.6-xilinx-v2022.1.bb deleted file mode 100644 index 348ad757..00000000 --- a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.6-xilinx-v2022.1.bb +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | SRCREV = "67ca59c67f542322554d78820bf9ddaa736d6a84" | ||
2 | BRANCH = "xlnx_rebase_v2.6" | ||
3 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" | ||
4 | |||
5 | |||
6 | include arm-trusted-firmware.inc | ||
7 | |||
diff --git a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.6-xilinx-v2022.2.bb b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.6-xilinx-v2022.2.bb deleted file mode 100644 index 365bbbc5..00000000 --- a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.6-xilinx-v2022.2.bb +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | SRCREV = "0897efd45ccad29a3dbab610578c70e3a52b2caa" | ||
2 | BRANCH = "xlnx_rebase_v2.6" | ||
3 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" | ||
4 | |||
5 | |||
6 | include arm-trusted-firmware.inc | ||
7 | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2021.01-xilinx-v2022.1.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2021.01-xilinx-v2022.1.bb deleted file mode 100644 index 94369955..00000000 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2021.01-xilinx-v2022.1.bb +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | require u-boot-tools-xlnx.inc | ||
2 | require u-boot-xlnx-2022.1.inc | ||
3 | |||
4 | # MUST clear CONFIG_VIDEO to avoid a compilation failure trying to construct | ||
5 | # bmp_logo.h | ||
6 | SED_CONFIG_EFI:append = ' -e "s/CONFIG_VIDEO=.*/# CONFIG_VIDEO is not set/"' | ||
7 | |||
8 | # Default do_compile fails with: | ||
9 | # | error: object directory ../downloads/git2/github.com.Xilinx.u-boot-xlnx.git/objects does not exist; check .git/objects/info/alternates. | ||
10 | # The regular workaround of calling 'git diff' seems to be problematic. | ||
11 | do_compile () { | ||
12 | oe_runmake -C ${S} tools-only_defconfig O=${B} | ||
13 | |||
14 | # Disable CONFIG_CMD_LICENSE, license.h is not used by tools and | ||
15 | # generating it requires bin2header tool, which for target build | ||
16 | # is built with target tools and thus cannot be executed on host. | ||
17 | sed -i -e "s/CONFIG_CMD_LICENSE=.*/# CONFIG_CMD_LICENSE is not set/" ${SED_CONFIG_EFI} ${B}/.config | ||
18 | |||
19 | oe_runmake -C ${S} cross_tools NO_SDL=1 O=${B} | ||
20 | } | ||
21 | |||
22 | # mkeficapsule is not available in this version of u-boot | ||
23 | PROVIDES:remove = "${MLPREFIX}u-boot-mkeficapsule" | ||
24 | PROVIDES:class-native:remove = "u-boot-mkeficapsule-native" | ||
25 | PACKAGES:remove = "${PN}-mkeficapsule" | ||
26 | RDEPENDS:${PN}:remove = "${PN}-mkeficapsule" | ||
27 | |||
28 | do_install:prepend() { | ||
29 | # Avoid do_install failure | ||
30 | mkdir -p tools | ||
31 | touch tools/mkeficapsule | ||
32 | } | ||
33 | |||
34 | do_install:append() { | ||
35 | # Avoid failure | ||
36 | rm -rf ${D}${bindir}/uboot-mkeficapsule | ||
37 | rm -rf ${D}${bindir}/mkeficapsule | ||
38 | } | ||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.01-xilinx-v2022.2.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.01-xilinx-v2022.2.bb deleted file mode 100644 index 6b033f0f..00000000 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.01-xilinx-v2022.2.bb +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | require u-boot-tools-xlnx.inc | ||
2 | require u-boot-xlnx-2022.2.inc | ||
3 | |||
4 | # MUST clear CONFIG_VIDEO to avoid a compilation failure trying to construct | ||
5 | # bmp_logo.h | ||
6 | SED_CONFIG_EFI:append = ' -e "s/CONFIG_VIDEO=.*/# CONFIG_VIDEO is not set/"' | ||
7 | |||
8 | # Default do_compile fails with: | ||
9 | # | error: object directory ../downloads/git2/github.com.Xilinx.u-boot-xlnx.git/objects does not exist; check .git/objects/info/alternates. | ||
10 | # The regular workaround of calling 'git diff' seems to be problematic. | ||
11 | do_compile () { | ||
12 | oe_runmake -C ${S} tools-only_defconfig O=${B} | ||
13 | |||
14 | # Disable CONFIG_CMD_LICENSE, license.h is not used by tools and | ||
15 | # generating it requires bin2header tool, which for target build | ||
16 | # is built with target tools and thus cannot be executed on host. | ||
17 | sed -i -e "s/CONFIG_CMD_LICENSE=.*/# CONFIG_CMD_LICENSE is not set/" ${SED_CONFIG_EFI} ${B}/.config | ||
18 | |||
19 | oe_runmake -C ${S} cross_tools NO_SDL=1 O=${B} | ||
20 | } | ||
21 | |||
22 | # mkeficapsule is not available in this version of u-boot | ||
23 | PROVIDES:remove = "${MLPREFIX}u-boot-mkeficapsule" | ||
24 | PROVIDES:class-native:remove = "u-boot-mkeficapsule-native" | ||
25 | PACKAGES:remove = "${PN}-mkeficapsule" | ||
26 | RDEPENDS:${PN}:remove = "${PN}-mkeficapsule" | ||
27 | |||
28 | do_install:prepend() { | ||
29 | # Avoid do_install failure | ||
30 | mkdir -p tools | ||
31 | touch tools/mkeficapsule | ||
32 | } | ||
33 | |||
34 | do_install:append() { | ||
35 | # Avoid failure | ||
36 | rm -rf ${D}${bindir}/uboot-mkeficapsule | ||
37 | rm -rf ${D}${bindir}/mkeficapsule | ||
38 | } | ||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-v2021.01/microblaze-generic-top.h b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-v2021.01/microblaze-generic-top.h deleted file mode 100644 index 08c1c16c..00000000 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-v2021.01/microblaze-generic-top.h +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | /* | ||
2 | * This file is use for addition u-boot configurations for microblaze. | ||
3 | */ | ||
4 | #include <configs/microblaze-generic.h> | ||
5 | |||
6 | /* Core microblaze boot configurations */ | ||
7 | #define XILINX_USE_DCACHE 1 | ||
8 | #define CONFIG_CMD_IRQ | ||
9 | #define CONFIG_DCACHE | ||
10 | #define CONFIG_ICACHE \ No newline at end of file | ||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-v2021.01/microblaze-generic.cfg b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-v2021.01/microblaze-generic.cfg deleted file mode 100644 index 0f784f73..00000000 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-v2021.01/microblaze-generic.cfg +++ /dev/null | |||
@@ -1,81 +0,0 @@ | |||
1 | # SPDX-License-Identifier: MIT | ||
2 | |||
3 | #........................................................................ | ||
4 | # WARNING | ||
5 | # | ||
6 | # This file is a u-boot configuration fragment, and not a full u-boot | ||
7 | # configuration file. The final u-boot configuration is made up of | ||
8 | # an assembly of processed fragments, each of which is designed to | ||
9 | # capture a specific part of the final configuration (e.g. platform | ||
10 | # configuration, feature configuration, and board specific hardware | ||
11 | # configuration). For more information on u-boot configuration, please | ||
12 | # refer the product documentation. | ||
13 | # | ||
14 | #....................................................................... | ||
15 | |||
16 | # | ||
17 | # Definitions for Generic Microbalze machine. | ||
18 | # | ||
19 | CONFIG_BOOTDELAY=4 | ||
20 | CONFIG_SYS_TEXT_BASE=0x80100000 | ||
21 | CONFIG_SYS_PROMPT="U-Boot>" | ||
22 | CONFIG_SYS_CONFIG_NAME="microblaze-generic-top" | ||
23 | CONFIG_BOOT_SCRIPT_OFFSET=0x1F00000 | ||
24 | # CONFIG_SYS_NS16550 is not set | ||
25 | # CONFIG_SYS_FLASH_USE_BUFFER_WRITE is not set | ||
26 | # CONFIG_SYS_FLASH_CFI is not set | ||
27 | # CONFIG_FLASH_CFI_DRIVER is not set | ||
28 | # CONFIG_CMD_FLASH is not set | ||
29 | # CONFIG_CMD_IMLS is not set | ||
30 | # CONFIG_MTD_NOR_FLASH is not set | ||
31 | # CONFIG_MTD_DEVICE is not set | ||
32 | # CONFIG_SYS_FLASH_PROTECTION is not set | ||
33 | # CONFIG_SPI_FLASH_SST is not set | ||
34 | # CONFIG_XILINX_EMACLITE is not set | ||
35 | # CONFIG_PHY_VITESSE is not set | ||
36 | # CONFIG_CMD_EXT2 is not set | ||
37 | # CONFIG_CMD_EXT4 is not set | ||
38 | # CONFIG_CMD_EXT4_WRITE is not set | ||
39 | # CONFIG_CMD_FAT is not set | ||
40 | # CONFIG_DOS_PARTITION is not set | ||
41 | # CONFIG_FAT_WRITE is not set | ||
42 | CONFIG_DM=y | ||
43 | CONFIG_SYS_MALLOC_F=y | ||
44 | CONFIG_XILINX_UARTLITE=y | ||
45 | CONFIG_XILINX_AXIEMAC=y | ||
46 | CONFIG_PHY_XILINX=y | ||
47 | CONFIG_PHY_TI=y | ||
48 | CONFIG_NET=y | ||
49 | CONFIG_PHY_GIGE=y | ||
50 | CONFIG_NETDEVICES=y | ||
51 | CONFIG_CMD_NET=y | ||
52 | CONFIG_DM_ETH=y | ||
53 | CONFIG_CMD_PING=y | ||
54 | CONFIG_CMD_DHCP=y | ||
55 | CONFIG_PHYLIB=y | ||
56 | CONFIG_CMD_TFTPPUT=y | ||
57 | CONFIG_CMD_NFS=y | ||
58 | CONFIG_CMD_MII=y | ||
59 | CONFIG_PHY_MARVELL=y | ||
60 | CONFIG_PHY_REALTEK=y | ||
61 | CONFIG_PHY_NATSEMI=y | ||
62 | CONFIG_XILINX_SPI=y | ||
63 | CONFIG_CMD_SPI=y | ||
64 | CONFIG_CMD_SF=y | ||
65 | CONFIG_SPI_FLASH=y | ||
66 | CONFIG_SPI_FLASH_BAR=y | ||
67 | CONFIG_DM_SPI_FLASH=y | ||
68 | CONFIG_DM_SPI=y | ||
69 | CONFIG_SPI_FLASH_SPANSION=y | ||
70 | CONFIG_SPI_FLASH_STMICRO=y | ||
71 | CONFIG_SPI_FLASH_WINBOND=y | ||
72 | CONFIG_SPI_FLASH_MACRONIX=y | ||
73 | CONFIG_SPI=y | ||
74 | CONFIG_SPI_FLASH_ISSI=y | ||
75 | # CONFIG_BOOTARGS is not set | ||
76 | # CONFIG_USE_BOOTARGS is not set | ||
77 | # CONFIG_SPL is not set | ||
78 | # CONFIG_I2C_EEPROM is not set | ||
79 | # CONFIG_CMD_EEPROM is not set | ||
80 | # CONFIG_SYS_I2C_EEPROM_ADDR is not set | ||
81 | # CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW is not set | ||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-v2022.01/microblaze-generic-top.h b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-v2022.01/microblaze-generic-top.h deleted file mode 100644 index 08c1c16c..00000000 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-v2022.01/microblaze-generic-top.h +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | /* | ||
2 | * This file is use for addition u-boot configurations for microblaze. | ||
3 | */ | ||
4 | #include <configs/microblaze-generic.h> | ||
5 | |||
6 | /* Core microblaze boot configurations */ | ||
7 | #define XILINX_USE_DCACHE 1 | ||
8 | #define CONFIG_CMD_IRQ | ||
9 | #define CONFIG_DCACHE | ||
10 | #define CONFIG_ICACHE \ No newline at end of file | ||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-v2022.01/microblaze-generic.cfg b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-v2022.01/microblaze-generic.cfg deleted file mode 100644 index 0f784f73..00000000 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-v2022.01/microblaze-generic.cfg +++ /dev/null | |||
@@ -1,81 +0,0 @@ | |||
1 | # SPDX-License-Identifier: MIT | ||
2 | |||
3 | #........................................................................ | ||
4 | # WARNING | ||
5 | # | ||
6 | # This file is a u-boot configuration fragment, and not a full u-boot | ||
7 | # configuration file. The final u-boot configuration is made up of | ||
8 | # an assembly of processed fragments, each of which is designed to | ||
9 | # capture a specific part of the final configuration (e.g. platform | ||
10 | # configuration, feature configuration, and board specific hardware | ||
11 | # configuration). For more information on u-boot configuration, please | ||
12 | # refer the product documentation. | ||
13 | # | ||
14 | #....................................................................... | ||
15 | |||
16 | # | ||
17 | # Definitions for Generic Microbalze machine. | ||
18 | # | ||
19 | CONFIG_BOOTDELAY=4 | ||
20 | CONFIG_SYS_TEXT_BASE=0x80100000 | ||
21 | CONFIG_SYS_PROMPT="U-Boot>" | ||
22 | CONFIG_SYS_CONFIG_NAME="microblaze-generic-top" | ||
23 | CONFIG_BOOT_SCRIPT_OFFSET=0x1F00000 | ||
24 | # CONFIG_SYS_NS16550 is not set | ||
25 | # CONFIG_SYS_FLASH_USE_BUFFER_WRITE is not set | ||
26 | # CONFIG_SYS_FLASH_CFI is not set | ||
27 | # CONFIG_FLASH_CFI_DRIVER is not set | ||
28 | # CONFIG_CMD_FLASH is not set | ||
29 | # CONFIG_CMD_IMLS is not set | ||
30 | # CONFIG_MTD_NOR_FLASH is not set | ||
31 | # CONFIG_MTD_DEVICE is not set | ||
32 | # CONFIG_SYS_FLASH_PROTECTION is not set | ||
33 | # CONFIG_SPI_FLASH_SST is not set | ||
34 | # CONFIG_XILINX_EMACLITE is not set | ||
35 | # CONFIG_PHY_VITESSE is not set | ||
36 | # CONFIG_CMD_EXT2 is not set | ||
37 | # CONFIG_CMD_EXT4 is not set | ||
38 | # CONFIG_CMD_EXT4_WRITE is not set | ||
39 | # CONFIG_CMD_FAT is not set | ||
40 | # CONFIG_DOS_PARTITION is not set | ||
41 | # CONFIG_FAT_WRITE is not set | ||
42 | CONFIG_DM=y | ||
43 | CONFIG_SYS_MALLOC_F=y | ||
44 | CONFIG_XILINX_UARTLITE=y | ||
45 | CONFIG_XILINX_AXIEMAC=y | ||
46 | CONFIG_PHY_XILINX=y | ||
47 | CONFIG_PHY_TI=y | ||
48 | CONFIG_NET=y | ||
49 | CONFIG_PHY_GIGE=y | ||
50 | CONFIG_NETDEVICES=y | ||
51 | CONFIG_CMD_NET=y | ||
52 | CONFIG_DM_ETH=y | ||
53 | CONFIG_CMD_PING=y | ||
54 | CONFIG_CMD_DHCP=y | ||
55 | CONFIG_PHYLIB=y | ||
56 | CONFIG_CMD_TFTPPUT=y | ||
57 | CONFIG_CMD_NFS=y | ||
58 | CONFIG_CMD_MII=y | ||
59 | CONFIG_PHY_MARVELL=y | ||
60 | CONFIG_PHY_REALTEK=y | ||
61 | CONFIG_PHY_NATSEMI=y | ||
62 | CONFIG_XILINX_SPI=y | ||
63 | CONFIG_CMD_SPI=y | ||
64 | CONFIG_CMD_SF=y | ||
65 | CONFIG_SPI_FLASH=y | ||
66 | CONFIG_SPI_FLASH_BAR=y | ||
67 | CONFIG_DM_SPI_FLASH=y | ||
68 | CONFIG_DM_SPI=y | ||
69 | CONFIG_SPI_FLASH_SPANSION=y | ||
70 | CONFIG_SPI_FLASH_STMICRO=y | ||
71 | CONFIG_SPI_FLASH_WINBOND=y | ||
72 | CONFIG_SPI_FLASH_MACRONIX=y | ||
73 | CONFIG_SPI=y | ||
74 | CONFIG_SPI_FLASH_ISSI=y | ||
75 | # CONFIG_BOOTARGS is not set | ||
76 | # CONFIG_USE_BOOTARGS is not set | ||
77 | # CONFIG_SPL is not set | ||
78 | # CONFIG_I2C_EEPROM is not set | ||
79 | # CONFIG_CMD_EEPROM is not set | ||
80 | # CONFIG_SYS_I2C_EEPROM_ADDR is not set | ||
81 | # CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW is not set | ||
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 deleted file mode 100644 index 69c7a639..00000000 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.1.inc +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | UBRANCH ?= "xlnx_rebase_v2022.01_2022.1_update" | ||
2 | |||
3 | SRCREV = "91ad7924e7f59584d597353e1bb86794341e0a7e" | ||
4 | |||
5 | LICENSE = "GPL-2.0-or-later" | ||
6 | LIC_FILES_CHKSUM = "file://README;beginline=1;endline=4;md5=744e7e3bb0c94b4b9f6b3db3bf893897" | ||
7 | |||
8 | # u-boot-xlnx has support for these | ||
9 | HAS_PLATFORM_INIT ?= " \ | ||
10 | xilinx_zynqmp_virt_config \ | ||
11 | xilinx_zynq_virt_defconfig \ | ||
12 | xilinx_versal_vc_p_a2197_revA_x_prc_01_revA \ | ||
13 | " | ||
14 | |||
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 deleted file mode 100644 index d111ae99..00000000 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.2.inc +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | UBRANCH ?= "xlnx_rebase_v2022.01" | ||
2 | |||
3 | SRCREV = "b31476685debf5512ed0d4e8000fa5167a22f530" | ||
4 | |||
5 | LICENSE = "GPL-2.0-or-later" | ||
6 | LIC_FILES_CHKSUM = "file://README;beginline=1;endline=4;md5=744e7e3bb0c94b4b9f6b3db3bf893897" | ||
7 | |||
8 | # u-boot-xlnx has support for these | ||
9 | HAS_PLATFORM_INIT ?= " \ | ||
10 | xilinx_zynqmp_virt_config \ | ||
11 | xilinx_zynq_virt_defconfig \ | ||
12 | xilinx_versal_vc_p_a2197_revA_x_prc_01_revA \ | ||
13 | " | ||
14 | |||
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_2021.01-xilinx-v2022.1.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2021.01-xilinx-v2022.1.bb deleted file mode 100644 index c1c45e56..00000000 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2021.01-xilinx-v2022.1.bb +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | |||
2 | require u-boot-xlnx.inc | ||
3 | require u-boot-spl-zynq-init.inc | ||
4 | require u-boot-xlnx-2022.1.inc | ||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.01-xilinx-v2022.2.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.01-xilinx-v2022.2.bb deleted file mode 100644 index b10f321b..00000000 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.01-xilinx-v2022.2.bb +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | |||
2 | require u-boot-xlnx.inc | ||
3 | require u-boot-spl-zynq-init.inc | ||
4 | require u-boot-xlnx-2022.2.inc | ||
diff --git a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_5.15-v2022.1.bb b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_5.15-v2022.1.bb deleted file mode 100644 index 41c1ffe2..00000000 --- a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_5.15-v2022.1.bb +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | LINUX_VERSION = "5.15.19" | ||
2 | KBRANCH="xlnx_rebase_v5.15_LTS_2022.1_update" | ||
3 | SRCREV = "75872fda9ad270b611ee6ae2433492da1e22b688" | ||
4 | |||
5 | KCONF_AUDIT_LEVEL="0" | ||
6 | |||
7 | include linux-xlnx.inc | ||
8 | |||
9 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
diff --git a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_5.15-v2022.2.bb b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_5.15-v2022.2.bb deleted file mode 100644 index 260224b8..00000000 --- a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_5.15-v2022.2.bb +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | LINUX_VERSION = "5.15.36" | ||
2 | KBRANCH="xlnx_rebase_v5.15_LTS" | ||
3 | SRCREV = "19984dd147fa7fbb7cb14b17400263ad0925c189" | ||
4 | |||
5 | KCONF_AUDIT_LEVEL="0" | ||
6 | |||
7 | include linux-xlnx.inc | ||
8 | |||
9 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt-202210.2.13.479.inc b/meta-xilinx-core/recipes-xrt/xrt/xrt-202210.2.13.479.inc deleted file mode 100644 index 38fbd162..00000000 --- a/meta-xilinx-core/recipes-xrt/xrt/xrt-202210.2.13.479.inc +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | REPO ?= "git://github.com/Xilinx/XRT.git;protocol=https" | ||
2 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
3 | SRC_URI = "${REPO};${BRANCHARG}" | ||
4 | |||
5 | BRANCH= "2022.1" | ||
6 | SRCREV= "5e92a513c6950e79638b1a879ddb882da34fc683" | ||
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 deleted file mode 100644 index 58c3736a..00000000 --- a/meta-xilinx-core/recipes-xrt/xrt/xrt-202210.2.13.479/xrt-cstdint.patch +++ /dev/null | |||
@@ -1,145 +0,0 @@ | |||
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.inc b/meta-xilinx-core/recipes-xrt/xrt/xrt-202220.2.14.0.inc deleted file mode 100644 index e4bb423c..00000000 --- a/meta-xilinx-core/recipes-xrt/xrt/xrt-202220.2.14.0.inc +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | REPO ?= "git://github.com/Xilinx/XRT.git;protocol=https" | ||
2 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
3 | SRC_URI = "${REPO};${BRANCHARG}" | ||
4 | |||
5 | BRANCH= "2022.2" | ||
6 | SRCREV= "43926231f7183688add2dccfd391b36a1f000bea" | ||
7 | |||
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 deleted file mode 100644 index 5546e0a4..00000000 --- a/meta-xilinx-core/recipes-xrt/xrt/xrt-202220.2.14.0/xrt-cstdint.patch +++ /dev/null | |||
@@ -1,146 +0,0 @@ | |||
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 deleted file mode 100644 index 49cfa228..00000000 --- a/meta-xilinx-core/recipes-xrt/xrt/xrt_202210.2.13.479.bb +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | SUMMARY = "Xilinx Runtime(XRT) libraries" | ||
2 | DESCRIPTION = "Xilinx Runtime User Space Libraries and headers" | ||
3 | |||
4 | require xrt-${PV}.inc | ||
5 | |||
6 | SRC_URI += "file://xrt-cstdint.patch;striplevel=2" | ||
7 | |||
8 | LICENSE = "GPL-2.0-or-later & Apache-2.0" | ||
9 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=da5408f748bce8a9851dac18e66f4bcf \ | ||
10 | file://runtime_src/core/edge/drm/zocl/LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8 \ | ||
11 | file://runtime_src/core/pcie/driver/linux/xocl/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
12 | file://runtime_src/core/pcie/linux/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | ||
13 | file://runtime_src/core/pcie/tools/xbutil/LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87 \ | ||
14 | file://runtime_src/core/edge/tools/xbutil/LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87 " | ||
15 | |||
16 | S = "${UNPACKDIR}/git/src" | ||
17 | |||
18 | inherit cmake pkgconfig | ||
19 | |||
20 | BBCLASSEXTEND = "native nativesdk" | ||
21 | |||
22 | # util-linux is for libuuid-dev. | ||
23 | DEPENDS = "libdrm opencl-headers ocl-icd opencl-clhpp boost util-linux git-replacement-native protobuf-native protobuf elfutils libffi rapidjson" | ||
24 | RDEPENDS:${PN} = "bash ocl-icd boost-system boost-filesystem zocl (= ${PV})" | ||
25 | |||
26 | EXTRA_OECMAKE += " \ | ||
27 | -DCMAKE_BUILD_TYPE=Release \ | ||
28 | -DCMAKE_EXPORT_COMPILE_COMANDS=ON \ | ||
29 | " | ||
30 | # Systems with AIE also require libmetal, this is implemented in the dynamic-layers | ||
31 | # See: meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt_gt.bbappend | ||
32 | # Note: If meta-openamp is not available, AIE will not be enabled. | ||
33 | |||
34 | EXTRA_OECMAKE:append:aarch64 = " -DXRT_LIBDFX=true" | ||
35 | DEPENDS:append:aarch64 = " libdfx" | ||
36 | |||
37 | FILES_SOLIBSDEV = "" | ||
38 | FILES:${PN} += "\ | ||
39 | ${libdir}/lib*.so \ | ||
40 | ${libdir}/lib*.so.* \ | ||
41 | ${libdir}/ps_kernels_lib \ | ||
42 | /lib/*.so* " | ||
43 | INSANE_SKIP:${PN} += "dev-so" | ||
44 | |||
45 | pkg_postinst_ontarget:${PN}() { | ||
46 | #!/bin/sh | ||
47 | if [ ! -e /etc/OpenCL/vendors/xilinx.icd ]; then | ||
48 | echo "INFO: Creating ICD entry for Xilinx Platform" | ||
49 | mkdir -p /etc/OpenCL/vendors | ||
50 | echo "libxilinxopencl.so" > /etc/OpenCL/vendors/xilinx.icd | ||
51 | chmod -R 755 /etc/OpenCL | ||
52 | fi | ||
53 | } | ||
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 deleted file mode 100644 index f686a746..00000000 --- a/meta-xilinx-core/recipes-xrt/xrt/xrt_202220.2.14.0.bb +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | SUMMARY = "Xilinx Runtime(XRT) libraries" | ||
2 | DESCRIPTION = "Xilinx Runtime User Space Libraries and headers" | ||
3 | |||
4 | require xrt-${PV}.inc | ||
5 | |||
6 | SRC_URI += "file://xrt-cstdint.patch;striplevel=2" | ||
7 | |||
8 | LICENSE = "GPL-2.0-or-later & Apache-2.0" | ||
9 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=da5408f748bce8a9851dac18e66f4bcf \ | ||
10 | file://runtime_src/core/edge/drm/zocl/LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8 \ | ||
11 | file://runtime_src/core/pcie/driver/linux/xocl/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
12 | file://runtime_src/core/pcie/linux/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | ||
13 | file://runtime_src/core/tools/xbutil2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 " | ||
14 | |||
15 | S = "${UNPACKDIR}/git/src" | ||
16 | |||
17 | inherit cmake pkgconfig | ||
18 | |||
19 | BBCLASSEXTEND = "native nativesdk" | ||
20 | |||
21 | # util-linux is for libuuid-dev. | ||
22 | DEPENDS = "libdrm opencl-headers ocl-icd opencl-clhpp boost util-linux git-replacement-native protobuf-native protobuf elfutils libffi rapidjson" | ||
23 | RDEPENDS:${PN} = "bash ocl-icd boost-system boost-filesystem zocl (= ${PV})" | ||
24 | |||
25 | EXTRA_OECMAKE += " \ | ||
26 | -DCMAKE_BUILD_TYPE=Release \ | ||
27 | -DCMAKE_EXPORT_COMPILE_COMANDS=ON \ | ||
28 | " | ||
29 | # Systems with AIE also require libmetal, this is implemented in the dynamic-layers | ||
30 | # See: meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt_gt.bbappend | ||
31 | # Note: If meta-openamp is not available, AIE will not be enabled. | ||
32 | |||
33 | EXTRA_OECMAKE:append:aarch64 = " -DXRT_LIBDFX=true" | ||
34 | DEPENDS:append:aarch64 = " libdfx" | ||
35 | |||
36 | FILES_SOLIBSDEV = "" | ||
37 | FILES:${PN} += "\ | ||
38 | ${libdir}/lib*.so \ | ||
39 | ${libdir}/lib*.so.* \ | ||
40 | ${libdir}/ps_kernels_lib \ | ||
41 | /lib/*.so* \ | ||
42 | ${datadir}" | ||
43 | INSANE_SKIP:${PN} += "dev-so" | ||
44 | |||
45 | pkg_postinst_ontarget:${PN}() { | ||
46 | #!/bin/sh | ||
47 | if [ ! -e /etc/OpenCL/vendors/xilinx.icd ]; then | ||
48 | echo "INFO: Creating ICD entry for Xilinx Platform" | ||
49 | mkdir -p /etc/OpenCL/vendors | ||
50 | echo "libxilinxopencl.so" > /etc/OpenCL/vendors/xilinx.icd | ||
51 | chmod -R 755 /etc/OpenCL | ||
52 | fi | ||
53 | } | ||
diff --git a/meta-xilinx-core/recipes-xrt/zocl/zocl_202210.2.13.479.bb b/meta-xilinx-core/recipes-xrt/zocl/zocl_202210.2.13.479.bb deleted file mode 100644 index 464b96fd..00000000 --- a/meta-xilinx-core/recipes-xrt/zocl/zocl_202210.2.13.479.bb +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | SUMMARY = "Xilinx Runtime(XRT) driver module" | ||
2 | DESCRIPTION = "Xilinx Runtime driver module provides memory management and compute unit schedule" | ||
3 | |||
4 | |||
5 | require recipes-xrt/xrt/xrt-${PV}.inc | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8" | ||
8 | LICENSE = "GPLv2 & Apache-2.0" | ||
9 | |||
10 | # Temporary fix | ||
11 | # Patch is applied as -p 4 to the src/runtime_src/core/edge directory | ||
12 | SRC_URI += "file://0001-Fixed-ZOCL-dtbo-path-len-issue-6966.patch;striplevel=5;patchdir=./../../" | ||
13 | |||
14 | S = "${UNPACKDIR}/git/src/runtime_src/core/edge/drm/zocl" | ||
15 | |||
16 | inherit module | ||
17 | |||
18 | pkg_postinst_ontarget:${PN}() { | ||
19 | #!/bin/sh | ||
20 | echo "Unloading old XRT Linux kernel modules" | ||
21 | ( rmmod zocl || true ) > /dev/null 2>&1 | ||
22 | echo "Loading new XRT Linux kernel modules" | ||
23 | modprobe zocl | ||
24 | } | ||
diff --git a/meta-xilinx-core/recipes-xrt/zocl/zocl_202220.2.14.0.bb b/meta-xilinx-core/recipes-xrt/zocl/zocl_202220.2.14.0.bb deleted file mode 100644 index 7643b42a..00000000 --- a/meta-xilinx-core/recipes-xrt/zocl/zocl_202220.2.14.0.bb +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | SUMMARY = "Xilinx Runtime(XRT) driver module" | ||
2 | DESCRIPTION = "Xilinx Runtime driver module provides memory management and compute unit schedule" | ||
3 | |||
4 | COMPATIBLE_MACHINE:microblaze = "none" | ||
5 | |||
6 | require recipes-xrt/xrt/xrt-${PV}.inc | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8" | ||
9 | LICENSE = "GPL-2.0-or-later & Apache-2.0" | ||
10 | |||
11 | S = "${UNPACKDIR}/git/src/runtime_src/core/edge/drm/zocl" | ||
12 | |||
13 | inherit module | ||
14 | |||
15 | pkg_postinst_ontarget:${PN}() { | ||
16 | #!/bin/sh | ||
17 | echo "Unloading old XRT Linux kernel modules" | ||
18 | ( rmmod zocl || true ) > /dev/null 2>&1 | ||
19 | echo "Loading new XRT Linux kernel modules" | ||
20 | modprobe zocl | ||
21 | } | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/0001-versal_fw-Fixup-core-makefiles.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/0001-versal_fw-Fixup-core-makefiles.patch deleted file mode 100644 index e49bc259..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/0001-versal_fw-Fixup-core-makefiles.patch +++ /dev/null | |||
@@ -1,73 +0,0 @@ | |||
1 | From 0f117593c792fbe7cfddf7b84e5342b640c2716b Mon Sep 17 00:00:00 2001 | ||
2 | From: Mark Hatle <mark.hatle@xilinx.com> | ||
3 | Date: Mon, 13 Sep 2021 14:02:45 -0700 | ||
4 | Subject: [PATCH] versal_fw: Fixup core makefiles | ||
5 | |||
6 | The Yocto Project build environment needs to be able to override a few | ||
7 | additional variables that may not be appropriate to do on the regular | ||
8 | command line build version. This Yocto Project specific will allow this | ||
9 | behavior. | ||
10 | |||
11 | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> | ||
12 | --- | ||
13 | lib/sw_apps/versal_plm/misc/Makefile | 6 ++++-- | ||
14 | lib/sw_apps/versal_psmfw/misc/Makefile | 6 ++++-- | ||
15 | 2 files changed, 8 insertions(+), 4 deletions(-) | ||
16 | |||
17 | diff --git a/lib/sw_apps/versal_plm/misc/Makefile b/lib/sw_apps/versal_plm/misc/Makefile | ||
18 | index d1be4ffc8e..c7dc1a3dbe 100644 | ||
19 | --- a/lib/sw_apps/versal_plm/misc/Makefile | ||
20 | +++ b/lib/sw_apps/versal_plm/misc/Makefile | ||
21 | @@ -2,6 +2,8 @@ | ||
22 | COMPILER := mb-gcc | ||
23 | ARCHIVER := mb-gcc-ar | ||
24 | ASSEMBLER := mb-as | ||
25 | +COMPILER_FLAGS := -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare | ||
26 | +EXTRA_COMPILER_FLAGS := -g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects | ||
27 | DRIVER_LIB_VERSION = 1.0 | ||
28 | PROCESSOR = psv_pmc_0 | ||
29 | LIBRARIES = ${PROCESSOR}/lib/libxil.a | ||
30 | @@ -40,11 +42,11 @@ $(PROCESSOR)/lib/libxil.a: $(PROCESSOR)/lib/libxil_init.a | ||
31 | |||
32 | %/make.include: $(if $(wildcard $(PROCESSOR)/lib/libxil_init.a),$(PROCESSOR)/lib/libxil.a,) | ||
33 | @echo "Running Make include in $(subst /make.include,,$@)" | ||
34 | - $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
35 | + $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
36 | |||
37 | %/make.libs: include | ||
38 | @echo "Running Make libs in $(subst /make.libs,,$@)" | ||
39 | - $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
40 | + $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
41 | |||
42 | %/make.clean: | ||
43 | $(MAKE) -C $(subst /make.clean,,$@) -s clean | ||
44 | diff --git a/lib/sw_apps/versal_psmfw/misc/Makefile b/lib/sw_apps/versal_psmfw/misc/Makefile | ||
45 | index 02d85e492e..f6386dcbed 100644 | ||
46 | --- a/lib/sw_apps/versal_psmfw/misc/Makefile | ||
47 | +++ b/lib/sw_apps/versal_psmfw/misc/Makefile | ||
48 | @@ -11,6 +11,8 @@ PAR_SUBDIRS := $(patsubst %/Makefile, %, $(BSP_PARALLEL_MAKEFILES)) | ||
49 | COMPILER := mb-gcc | ||
50 | ARCHIVER := mb-ar | ||
51 | ASSEMBLER := mb-as | ||
52 | +COMPILER_FLAGS := -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare | ||
53 | +EXTRA_COMPILER_FLAGS := -g -ffunction-sections -fdata-sections -Wall -Wextra | ||
54 | |||
55 | ifneq (,$(findstring win,$(RDI_PLATFORM))) | ||
56 | SHELL = CMD | ||
57 | @@ -41,11 +43,11 @@ $(PROCESSOR)/lib/libxil.a: $(PROCESSOR)/lib/libxil_init.a | ||
58 | |||
59 | %/make.include: $(if $(wildcard $(PROCESSOR)/lib/libxil_init.a),$(PROCESSOR)/lib/libxil.a,) | ||
60 | @echo "Running Make include in $(subst /make.include,,$@)" | ||
61 | - $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra" | ||
62 | + $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
63 | |||
64 | %/make.libs: include | ||
65 | @echo "Running Make libs in $(subst /make.libs,,$@)" | ||
66 | - $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra" | ||
67 | + $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
68 | |||
69 | %/make.clean: | ||
70 | $(MAKE) -C $(subst /make.clean,,$@) -s clean | ||
71 | -- | ||
72 | 2.17.1 | ||
73 | |||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/0001-xilpm-versal-Fixed-2023.1-compile-error.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/0001-xilpm-versal-Fixed-2023.1-compile-error.patch deleted file mode 100644 index 61fcf5a9..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/0001-xilpm-versal-Fixed-2023.1-compile-error.patch +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | From 3cd9d41953ebfe26d09dae231e7b7a0b3285be8d Mon Sep 17 00:00:00 2001 | ||
2 | From: Jesus De Haro <jesus.de-haro@xilinx.com> | ||
3 | Date: Mon, 16 Jan 2023 20:59:06 -0800 | ||
4 | Subject: [PATCH] xilpm: versal: Fixed 2023.1 compile error | ||
5 | |||
6 | Added NULL check for pointer Device before attempting to dereference the pointer. | ||
7 | |||
8 | Signed-off-by: Jesus De Haro <jesus.de-haro@xilinx.com> | ||
9 | Acked-by: Nicole Baze <nicole.baze@xilinx.com> | ||
10 | (cherry picked from commit 2601b201e95ea0edab89342ee7137c74e88a8a79) | ||
11 | |||
12 | Backported to 2022.1 | ||
13 | |||
14 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
15 | --- | ||
16 | lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c | 7 ++++++- | ||
17 | 1 file changed, 6 insertions(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c b/lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c | ||
20 | index 13410f2224..f4743cc2a9 100644 | ||
21 | --- a/lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c | ||
22 | +++ b/lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c | ||
23 | @@ -1,5 +1,6 @@ | ||
24 | /****************************************************************************** | ||
25 | * Copyright (c) 2018 - 2020 Xilinx, Inc. All rights reserved. | ||
26 | +* Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved. | ||
27 | * SPDX-License-Identifier: MIT | ||
28 | ******************************************************************************/ | ||
29 | |||
30 | @@ -696,7 +697,11 @@ XStatus XPmDomainIso_Control(u32 IsoIdx, u32 Enable) | ||
31 | done: | ||
32 | if ((IsoIdx <= (u32)XPM_NODEIDX_ISO_XRAM_PL_FABRIC) && | ||
33 | (IsoIdx >= (u32)XPM_NODEIDX_ISO_XRAM_PL_AXI0)) { | ||
34 | - XPmPsLpDomain_LockPcsr(Device->Node.BaseAddress); | ||
35 | + if(NULL != Device) { | ||
36 | + XPmPsLpDomain_LockPcsr(Device->Node.BaseAddress); | ||
37 | + } else { | ||
38 | + Status = XST_DEVICE_NOT_FOUND; | ||
39 | + } | ||
40 | } | ||
41 | |||
42 | return Status; | ||
43 | -- | ||
44 | 2.34.1 | ||
45 | |||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/makefile-skip-copy_bsp.sh.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/makefile-skip-copy_bsp.sh.patch deleted file mode 100644 index 5b9cc71b..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/makefile-skip-copy_bsp.sh.patch +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | Prevent makefile from calling copy_bsp.sh | ||
2 | |||
3 | If we call copy_bsp.sh we will undo any manual compliation steps we | ||
4 | have already done. Avoid this. | ||
5 | |||
6 | YP integration specific | ||
7 | |||
8 | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> | ||
9 | |||
10 | diff --git a/lib/sw_apps/zynqmp_pmufw/src/Makefile b/lib/sw_apps/zynqmp_pmufw/src/Makefile | ||
11 | index 1750c0a329..17f6a545ea 100644 | ||
12 | --- a/lib/sw_apps/zynqmp_pmufw/src/Makefile | ||
13 | +++ b/lib/sw_apps/zynqmp_pmufw/src/Makefile | ||
14 | @@ -28,8 +28,8 @@ $(EXEC): $(LIBS) $(OBJS) $(INCLUDES) | ||
15 | $(CC) -o $@ $(OBJS) $(CC_FLAGS) $(CFLAGS) $(LN_FLAGS) $(LIBPATH) $(LSCRIPT) | ||
16 | |||
17 | $(LIBS): | ||
18 | - echo "Copying BSP files" | ||
19 | - ../misc/copy_bsp.sh | ||
20 | + #echo "Copying BSP files" | ||
21 | + #../misc/copy_bsp.sh | ||
22 | echo "Compiling bsp" | ||
23 | $(MAKE) -C ../misc/zynqmp_pmufw_bsp | ||
24 | |||
25 | diff --git a/lib/sw_apps/versal_plm/src/Makefile b/lib/sw_apps/versal_plm/src/Makefile | ||
26 | index b4536e8584..a8643ecd47 100644 | ||
27 | --- a/lib/sw_apps/versal_plm/src/Makefile | ||
28 | +++ b/lib/sw_apps/versal_plm/src/Makefile | ||
29 | @@ -30,8 +30,8 @@ $(EXEC): $(LIBS) $(OBJS) $(INCLUDES) | ||
30 | $(CC) -o $@ $(OBJS) $(CC_FLAGS) $(CFLAGS) $(LN_FLAGS) $(LIBPATH) $(LSCRIPT) | ||
31 | |||
32 | $(LIBS): | ||
33 | - echo "Copying BSP files" | ||
34 | - ../misc/copy_bsp.sh | ||
35 | + #echo "Copying BSP files" | ||
36 | + #../misc/copy_bsp.sh | ||
37 | echo "Compiling bsp" | ||
38 | $(MAKE) -C ../misc/versal_plm_bsp | ||
39 | |||
40 | diff --git a/lib/sw_apps/versal_psmfw/src/Makefile b/lib/sw_apps/versal_psmfw/src/Makefile | ||
41 | index fdfee0a092..1ed664114b 100644 | ||
42 | --- a/lib/sw_apps/versal_psmfw/src/Makefile | ||
43 | +++ b/lib/sw_apps/versal_psmfw/src/Makefile | ||
44 | @@ -29,8 +29,8 @@ $(EXEC): $(LIBS) $(OBJS) $(INCLUDES) | ||
45 | $(CC) -o $@ $(OBJS) $(CC_FLAGS) $(CFLAGS) $(LN_FLAGS) $(LIBPATH) $(LSCRIPT) | ||
46 | |||
47 | $(LIBS): | ||
48 | - echo "Copying BSP files" | ||
49 | - ../misc/copy_bsp.sh | ||
50 | + #echo "Copying BSP files" | ||
51 | + #../misc/copy_bsp.sh | ||
52 | echo "Compiling bsp" | ||
53 | $(MAKE) -C ../misc/versal_psmfw_bsp | ||
54 | |||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/0001-versal_fw-Fixup-core-makefiles.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/0001-versal_fw-Fixup-core-makefiles.patch deleted file mode 100644 index d6cb0e38..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/0001-versal_fw-Fixup-core-makefiles.patch +++ /dev/null | |||
@@ -1,101 +0,0 @@ | |||
1 | From 607322dafb2979affd329ea70a2a7952203188a4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mark Hatle <mark.hatle@amd.com> | ||
3 | Date: Wed, 7 Dec 2022 15:42:15 -0800 | ||
4 | Subject: [PATCH] versal_fw: Fixup core makefiles | ||
5 | |||
6 | The Yocto Project build environment needs to be able to override a few | ||
7 | additional variables that may not be appropriate to do on the regular | ||
8 | command line build version. This patch preserves the default while | ||
9 | allowing it to be overriden as necessary. | ||
10 | |||
11 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
12 | --- | ||
13 | lib/sw_apps/versal_plm/misc/versal/Makefile | 6 ++++-- | ||
14 | lib/sw_apps/versal_plm/misc/versal_net/Makefile | 6 ++++-- | ||
15 | lib/sw_apps/versal_psmfw/misc/Makefile | 6 ++++-- | ||
16 | 3 files changed, 12 insertions(+), 6 deletions(-) | ||
17 | |||
18 | diff --git a/lib/sw_apps/versal_plm/misc/versal/Makefile b/lib/sw_apps/versal_plm/misc/versal/Makefile | ||
19 | index 5c8e719e9c..af070716b6 100644 | ||
20 | --- a/lib/sw_apps/versal_plm/misc/versal/Makefile | ||
21 | +++ b/lib/sw_apps/versal_plm/misc/versal/Makefile | ||
22 | @@ -2,6 +2,8 @@ | ||
23 | COMPILER := mb-gcc | ||
24 | ARCHIVER := mb-gcc-ar | ||
25 | ASSEMBLER := mb-as | ||
26 | +COMPILER_FLAGS := -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare | ||
27 | +EXTRA_COMPILER_FLAGS := -g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects | ||
28 | DRIVER_LIB_VERSION = 1.0 | ||
29 | PROCESSOR = psv_pmc_0 | ||
30 | LIBRARIES = ${PROCESSOR}/lib/libxil.a | ||
31 | @@ -40,11 +42,11 @@ $(PROCESSOR)/lib/libxil.a: $(PROCESSOR)/lib/libxil_init.a | ||
32 | |||
33 | %/make.include: $(if $(wildcard $(PROCESSOR)/lib/libxil_init.a),$(PROCESSOR)/lib/libxil.a,) | ||
34 | @echo "Running Make include in $(subst /make.include,,$@)" | ||
35 | - $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
36 | + $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
37 | |||
38 | %/make.libs: include | ||
39 | @echo "Running Make libs in $(subst /make.libs,,$@)" | ||
40 | - $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
41 | + $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
42 | |||
43 | %/make.clean: | ||
44 | $(MAKE) -C $(subst /make.clean,,$@) -s clean | ||
45 | diff --git a/lib/sw_apps/versal_plm/misc/versal_net/Makefile b/lib/sw_apps/versal_plm/misc/versal_net/Makefile | ||
46 | index abffa6c5ed..4af5a02001 100644 | ||
47 | --- a/lib/sw_apps/versal_plm/misc/versal_net/Makefile | ||
48 | +++ b/lib/sw_apps/versal_plm/misc/versal_net/Makefile | ||
49 | @@ -2,6 +2,8 @@ | ||
50 | COMPILER := mb-gcc | ||
51 | ARCHIVER := mb-gcc-ar | ||
52 | ASSEMBLER := mb-as | ||
53 | +COMPILER_FLAGS := -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare | ||
54 | +EXTRA_COMPILER_FLAGS := -g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects | ||
55 | DRIVER_LIB_VERSION = 1.0 | ||
56 | PROCESSOR = psx_pmc_0 | ||
57 | LIBRARIES = ${PROCESSOR}/lib/libxil.a | ||
58 | @@ -40,11 +42,11 @@ $(PROCESSOR)/lib/libxil.a: $(PROCESSOR)/lib/libxil_init.a | ||
59 | |||
60 | %/make.include: $(if $(wildcard $(PROCESSOR)/lib/libxil_init.a),$(PROCESSOR)/lib/libxil.a,) | ||
61 | @echo "Running Make include in $(subst /make.include,,$@)" | ||
62 | - $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
63 | + $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
64 | |||
65 | %/make.libs: include | ||
66 | @echo "Running Make libs in $(subst /make.libs,,$@)" | ||
67 | - $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
68 | + $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
69 | |||
70 | %/make.clean: | ||
71 | $(MAKE) -C $(subst /make.clean,,$@) -s clean | ||
72 | diff --git a/lib/sw_apps/versal_psmfw/misc/Makefile b/lib/sw_apps/versal_psmfw/misc/Makefile | ||
73 | index 02d85e492e..f6386dcbed 100644 | ||
74 | --- a/lib/sw_apps/versal_psmfw/misc/Makefile | ||
75 | +++ b/lib/sw_apps/versal_psmfw/misc/Makefile | ||
76 | @@ -11,6 +11,8 @@ PAR_SUBDIRS := $(patsubst %/Makefile, %, $(BSP_PARALLEL_MAKEFILES)) | ||
77 | COMPILER := mb-gcc | ||
78 | ARCHIVER := mb-ar | ||
79 | ASSEMBLER := mb-as | ||
80 | +COMPILER_FLAGS := -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare | ||
81 | +EXTRA_COMPILER_FLAGS := -g -ffunction-sections -fdata-sections -Wall -Wextra | ||
82 | |||
83 | ifneq (,$(findstring win,$(RDI_PLATFORM))) | ||
84 | SHELL = CMD | ||
85 | @@ -41,11 +43,11 @@ $(PROCESSOR)/lib/libxil.a: $(PROCESSOR)/lib/libxil_init.a | ||
86 | |||
87 | %/make.include: $(if $(wildcard $(PROCESSOR)/lib/libxil_init.a),$(PROCESSOR)/lib/libxil.a,) | ||
88 | @echo "Running Make include in $(subst /make.include,,$@)" | ||
89 | - $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra" | ||
90 | + $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
91 | |||
92 | %/make.libs: include | ||
93 | @echo "Running Make libs in $(subst /make.libs,,$@)" | ||
94 | - $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra" | ||
95 | + $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
96 | |||
97 | %/make.clean: | ||
98 | $(MAKE) -C $(subst /make.clean,,$@) -s clean | ||
99 | -- | ||
100 | 2.17.1 | ||
101 | |||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/0001-xilpm-versal-Fixed-2023.1-compile-error.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/0001-xilpm-versal-Fixed-2023.1-compile-error.patch deleted file mode 100644 index 3afa125c..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/0001-xilpm-versal-Fixed-2023.1-compile-error.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | From 2601b201e95ea0edab89342ee7137c74e88a8a79 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jesus De Haro <jesus.de-haro@xilinx.com> | ||
3 | Date: Mon, 16 Jan 2023 20:59:06 -0800 | ||
4 | Subject: [PATCH] xilpm: versal: Fixed 2023.1 compile error | ||
5 | |||
6 | Added NULL check for pointer Device before attempting to dereference the pointer. | ||
7 | |||
8 | Signed-off-by: Jesus De Haro <jesus.de-haro@xilinx.com> | ||
9 | Acked-by: Nicole Baze <nicole.baze@xilinx.com> | ||
10 | --- | ||
11 | lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c | 7 ++++++- | ||
12 | 1 file changed, 6 insertions(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c b/lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c | ||
15 | index fa571e0552..bd0aa89e12 100644 | ||
16 | --- a/lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c | ||
17 | +++ b/lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c | ||
18 | @@ -1,5 +1,6 @@ | ||
19 | /****************************************************************************** | ||
20 | * Copyright (c) 2018 - 2022 Xilinx, Inc. All rights reserved. | ||
21 | +* Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved. | ||
22 | * SPDX-License-Identifier: MIT | ||
23 | ******************************************************************************/ | ||
24 | |||
25 | @@ -721,7 +722,11 @@ XStatus XPmDomainIso_Control(u32 IsoIdx, u32 Enable) | ||
26 | done: | ||
27 | if ((IsoIdx <= (u32)XPM_NODEIDX_ISO_XRAM_PL_FABRIC) && | ||
28 | (IsoIdx >= (u32)XPM_NODEIDX_ISO_XRAM_PL_AXI0)) { | ||
29 | - XPm_LockPcsr(Device->Node.BaseAddress); | ||
30 | + if(NULL != Device) { | ||
31 | + XPm_LockPcsr(Device->Node.BaseAddress); | ||
32 | + } else { | ||
33 | + Status = XST_DEVICE_NOT_FOUND; | ||
34 | + } | ||
35 | } | ||
36 | |||
37 | return Status; | ||
38 | -- | ||
39 | 2.34.1 | ||
40 | |||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/makefile-skip-copy_bsp.sh.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/makefile-skip-copy_bsp.sh.patch deleted file mode 100644 index 1300c7e1..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/makefile-skip-copy_bsp.sh.patch +++ /dev/null | |||
@@ -1,104 +0,0 @@ | |||
1 | From d703670357546d9aab66baea1f6751ba1cbdf7ad Mon Sep 17 00:00:00 2001 | ||
2 | From: Mark Hatle <mark.hatle@amd.com> | ||
3 | Date: Wed, 7 Dec 2022 15:30:23 -0800 | ||
4 | Subject: [PATCH] Prevent makefile from calling copy_bsp.sh | ||
5 | |||
6 | If we call copy_bsp.sh we will undo any manual compliation steps we | ||
7 | have already done. Avoid this. | ||
8 | |||
9 | YP integration specific | ||
10 | |||
11 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
12 | --- | ||
13 | lib/sw_apps/versal_plm/src/versal/Makefile | 4 ++-- | ||
14 | lib/sw_apps/versal_plm/src/versal_net/Makefile | 4 ++-- | ||
15 | lib/sw_apps/versal_psmfw/src/versal/Makefile | 4 ++-- | ||
16 | lib/sw_apps/versal_psmfw/src/versal_net/Makefile | 6 +++--- | ||
17 | lib/sw_apps/zynqmp_pmufw/src/Makefile | 4 ++-- | ||
18 | 5 files changed, 11 insertions(+), 11 deletions(-) | ||
19 | |||
20 | diff --git a/lib/sw_apps/versal_plm/src/versal/Makefile b/lib/sw_apps/versal_plm/src/versal/Makefile | ||
21 | index d1ebd1d374..bfb8c83adb 100644 | ||
22 | --- a/lib/sw_apps/versal_plm/src/versal/Makefile | ||
23 | +++ b/lib/sw_apps/versal_plm/src/versal/Makefile | ||
24 | @@ -32,8 +32,8 @@ $(EXEC): $(LIBS) $(OBJS) $(INCLUDES) | ||
25 | $(CC) -o $@ $(OBJS) $(CC_FLAGS) $(CFLAGS) $(LN_FLAGS) $(LIBPATH) $(LSCRIPT) | ||
26 | |||
27 | $(LIBS): | ||
28 | - echo "Copying BSP files" | ||
29 | - ../../misc/versal/copy_bsp.sh | ||
30 | + #echo "Copying BSP files" | ||
31 | + #../../misc/versal/copy_bsp.sh | ||
32 | echo "Compiling bsp" | ||
33 | $(MAKE) -C ../../misc/versal/versal_plm_bsp | ||
34 | |||
35 | diff --git a/lib/sw_apps/versal_plm/src/versal_net/Makefile b/lib/sw_apps/versal_plm/src/versal_net/Makefile | ||
36 | index 39c7aa38e3..081d8f1b2e 100644 | ||
37 | --- a/lib/sw_apps/versal_plm/src/versal_net/Makefile | ||
38 | +++ b/lib/sw_apps/versal_plm/src/versal_net/Makefile | ||
39 | @@ -32,8 +32,8 @@ $(EXEC): $(LIBS) $(OBJS) $(INCLUDES) | ||
40 | $(CC) -o $@ $(OBJS) $(CC_FLAGS) $(CFLAGS) $(LN_FLAGS) $(LIBPATH) $(LSCRIPT) | ||
41 | |||
42 | $(LIBS): | ||
43 | - echo "Copying BSP files" | ||
44 | - ../../misc/versal_net/copy_bsp.sh | ||
45 | + #echo "Copying BSP files" | ||
46 | + #../../misc/versal_net/copy_bsp.sh | ||
47 | echo "Compiling bsp" | ||
48 | $(MAKE) -C ../../misc/versal_net/versal_plm_bsp | ||
49 | |||
50 | diff --git a/lib/sw_apps/versal_psmfw/src/versal/Makefile b/lib/sw_apps/versal_psmfw/src/versal/Makefile | ||
51 | index 1572bbbca9..ce182acaa7 100644 | ||
52 | --- a/lib/sw_apps/versal_psmfw/src/versal/Makefile | ||
53 | +++ b/lib/sw_apps/versal_psmfw/src/versal/Makefile | ||
54 | @@ -34,8 +34,8 @@ $(EXEC): $(LIBS) $(OBJS) $(INCLUDES) | ||
55 | $(CC) -o $@ $(OBJS) $(CC_FLAGS) $(CFLAGS) $(LN_FLAGS) $(LIBPATH) $(LSCRIPT) | ||
56 | |||
57 | $(LIBS): | ||
58 | - echo "Copying BSP files" | ||
59 | - ../../misc/copy_bsp.sh | ||
60 | + #echo "Copying BSP files" | ||
61 | + #../../misc/copy_bsp.sh | ||
62 | echo "Compiling bsp" | ||
63 | $(MAKE) -C ../../misc/versal_psmfw_bsp | ||
64 | |||
65 | diff --git a/lib/sw_apps/versal_psmfw/src/versal_net/Makefile b/lib/sw_apps/versal_psmfw/src/versal_net/Makefile | ||
66 | index a72ffa1de2..3670310daa 100644 | ||
67 | --- a/lib/sw_apps/versal_psmfw/src/versal_net/Makefile | ||
68 | +++ b/lib/sw_apps/versal_psmfw/src/versal_net/Makefile | ||
69 | @@ -34,8 +34,8 @@ $(EXEC): $(LIBS) $(OBJS) $(INCLUDES) | ||
70 | $(CC) -o $@ $(OBJS) $(CC_FLAGS) $(CFLAGS) $(LN_FLAGS) $(LIBPATH) $(LSCRIPT) | ||
71 | |||
72 | $(LIBS): | ||
73 | - echo "Copying BSP files" | ||
74 | - ../../misc/versal_net/copy_bsp.sh | ||
75 | + #echo "Copying BSP files" | ||
76 | + #../../misc/versal_net/copy_bsp.sh | ||
77 | echo "Compiling bsp" | ||
78 | $(MAKE) -C ../../misc/versal_net/versal_psmfw_bsp | ||
79 | |||
80 | @@ -44,4 +44,4 @@ $(LIBS): | ||
81 | |||
82 | clean: | ||
83 | rm -rf $(OBJS) $(LIBS) $(EXEC) *.o *.d ../common/*.o ../common/*.d | ||
84 | - rm -rf ../../misc/versal_net/versal_psmfw_bsp | ||
85 | \ No newline at end of file | ||
86 | + rm -rf ../../misc/versal_net/versal_psmfw_bsp | ||
87 | diff --git a/lib/sw_apps/zynqmp_pmufw/src/Makefile b/lib/sw_apps/zynqmp_pmufw/src/Makefile | ||
88 | index 1750c0a329..17f6a545ea 100644 | ||
89 | --- a/lib/sw_apps/zynqmp_pmufw/src/Makefile | ||
90 | +++ b/lib/sw_apps/zynqmp_pmufw/src/Makefile | ||
91 | @@ -28,8 +28,8 @@ $(EXEC): $(LIBS) $(OBJS) $(INCLUDES) | ||
92 | $(CC) -o $@ $(OBJS) $(CC_FLAGS) $(CFLAGS) $(LN_FLAGS) $(LIBPATH) $(LSCRIPT) | ||
93 | |||
94 | $(LIBS): | ||
95 | - echo "Copying BSP files" | ||
96 | - ../misc/copy_bsp.sh | ||
97 | + #echo "Copying BSP files" | ||
98 | + #../misc/copy_bsp.sh | ||
99 | echo "Compiling bsp" | ||
100 | $(MAKE) -C ../misc/zynqmp_pmufw_bsp | ||
101 | |||
102 | -- | ||
103 | 2.17.1 | ||
104 | |||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.1+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.1+git-generic.inc deleted file mode 100644 index 42c9581e..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.1+git-generic.inc +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | SKIP_MSG = "" | ||
2 | SKIP_MSG:zynq = "Generic support for zynq is not available" | ||
3 | SKIP_RECIPE[fsbl-firmware] = "${SKIP_MSG}" | ||
4 | |||
5 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
6 | |||
7 | SRC_URI += " \ | ||
8 | file://makefile-skip-copy_bsp.sh.patch \ | ||
9 | file://fsbl-fixups.patch \ | ||
10 | " | ||
11 | |||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.1.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.1.bb deleted file mode 100644 index 3c57ee8c..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.1.bb +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | require fsbl-firmware.inc | ||
2 | require ${@'fsbl-firmware_generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
3 | require ${@'fsbl-firmware_${PV}-generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.2+git-generic.inc deleted file mode 100644 index 7a0a35da..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.2+git-generic.inc +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | SKIP_MSG = "" | ||
2 | SKIP_MSG:zynq = "Generic support for zynq is not available" | ||
3 | SKIP_RECIPE[fsbl-firmware] = "${SKIP_MSG}" | ||
4 | |||
5 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
6 | |||
7 | SRC_URI += " \ | ||
8 | file://makefile-skip-copy_bsp.sh.patch \ | ||
9 | file://fsbl-fixups.patch \ | ||
10 | " | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.2.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.2.bb deleted file mode 100644 index 3c57ee8c..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.2.bb +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | require fsbl-firmware.inc | ||
2 | require ${@'fsbl-firmware_generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
3 | require ${@'fsbl-firmware_${PV}-generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.1+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.1+git-generic.inc deleted file mode 100644 index e91ea607..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.1+git-generic.inc +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
2 | |||
3 | SRC_URI += " \ | ||
4 | file://makefile-skip-copy_bsp.sh.patch \ | ||
5 | file://0001-versal_fw-Fixup-core-makefiles.patch \ | ||
6 | file://0001-xilpm-versal-Fixed-2023.1-compile-error.patch \ | ||
7 | " | ||
8 | |||
9 | EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
10 | |||
11 | do_compile() { | ||
12 | oe_runmake | ||
13 | |||
14 | ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin | ||
15 | } | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.1.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.1.bb deleted file mode 100644 index d945aa26..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.1.bb +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | require plm-firmware.inc | ||
2 | require ${@'plm-firmware_generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
3 | require ${@'plm-firmware_${PV}-generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.2+git-generic.inc deleted file mode 100644 index d4d91baf..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.2+git-generic.inc +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | # Separate build directories for versal and versal-net | ||
2 | SOC_DIR = "versal" | ||
3 | SOC_DIR:versal-net = "versal_net" | ||
4 | B = "${S}/lib/sw_apps/versal_plm/src/${SOC_DIR}" | ||
5 | |||
6 | BSP_DIR ?= "${B}/../../misc/versal_plm_bsp" | ||
7 | |||
8 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
9 | |||
10 | SRC_URI += " \ | ||
11 | file://makefile-skip-copy_bsp.sh.patch \ | ||
12 | file://0001-versal_fw-Fixup-core-makefiles.patch \ | ||
13 | file://0001-xilpm-versal-Fixed-2023.1-compile-error.patch \ | ||
14 | " | ||
15 | |||
16 | EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
17 | |||
18 | do_configure() { | ||
19 | # manually do the copy_bsp step first, so as to be able to fix up use of | ||
20 | # mb-* commands | ||
21 | ${B}/../../misc/${SOC_DIR}/copy_bsp.sh | ||
22 | } | ||
23 | |||
24 | do_compile() { | ||
25 | oe_runmake | ||
26 | |||
27 | ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin | ||
28 | } | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.2.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.2.bb deleted file mode 100644 index d945aa26..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.2.bb +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | require plm-firmware.inc | ||
2 | require ${@'plm-firmware_generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
3 | require ${@'plm-firmware_${PV}-generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.1+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.1+git-generic.inc deleted file mode 100644 index 8defde17..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.1+git-generic.inc +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
2 | |||
3 | SRC_URI += " \ | ||
4 | file://makefile-skip-copy_bsp.sh.patch \ | ||
5 | file://0001-zynqmp_pmufw-Fixup-core-makefiles.patch \ | ||
6 | " | ||
7 | |||
8 | EXTRA_COMPILER_FLAGS = "-ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.1.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.1.bb deleted file mode 100644 index 3ec0c10f..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.1.bb +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | require pmu-firmware.inc | ||
2 | require ${@'pmu-firmware_generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
3 | require ${@'pmu-firmware_${PV}-generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.2+git-generic.inc deleted file mode 100644 index 8defde17..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.2+git-generic.inc +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
2 | |||
3 | SRC_URI += " \ | ||
4 | file://makefile-skip-copy_bsp.sh.patch \ | ||
5 | file://0001-zynqmp_pmufw-Fixup-core-makefiles.patch \ | ||
6 | " | ||
7 | |||
8 | EXTRA_COMPILER_FLAGS = "-ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.2.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.2.bb deleted file mode 100644 index 3ec0c10f..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.2.bb +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | require pmu-firmware.inc | ||
2 | require ${@'pmu-firmware_generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
3 | require ${@'pmu-firmware_${PV}-generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.1+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.1+git-generic.inc deleted file mode 100644 index 25e2f47f..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.1+git-generic.inc +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
2 | |||
3 | SRC_URI += " \ | ||
4 | file://makefile-skip-copy_bsp.sh.patch \ | ||
5 | file://0001-versal_fw-Fixup-core-makefiles.patch \ | ||
6 | file://0001-xilpm-versal-Fixed-2023.1-compile-error.patch \ | ||
7 | " | ||
8 | |||
9 | EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra" | ||
10 | |||
11 | do_compile() { | ||
12 | oe_runmake | ||
13 | |||
14 | ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin | ||
15 | } | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.1.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.1.bb deleted file mode 100644 index ffa0a596..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.1.bb +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | require psm-firmware.inc | ||
2 | require ${@'psm-firmware_generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
3 | require ${@'psm-firmware_${PV}-generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2+git-generic.inc deleted file mode 100644 index 4c331510..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2+git-generic.inc +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | # Separate build directories for versal and versal-net | ||
2 | SOC_DIR = "versal" | ||
3 | SOC_DIR:versal-net = "versal_net" | ||
4 | B = "${S}/lib/sw_apps/versal_psmfw/src/${SOC_DIR}" | ||
5 | |||
6 | BSP_DIR ?= "${B}/../../misc/versal_psmfw_bsp" | ||
7 | |||
8 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
9 | |||
10 | SRC_URI += " \ | ||
11 | file://makefile-skip-copy_bsp.sh.patch \ | ||
12 | file://0001-versal_fw-Fixup-core-makefiles.patch \ | ||
13 | file://0001-xilpm-versal-Fixed-2023.1-compile-error.patch \ | ||
14 | " | ||
15 | |||
16 | EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra" | ||
17 | |||
18 | # Override default since we're in a subdirectory deeper now... | ||
19 | do_configure() { | ||
20 | # manually do the copy_bsp step first, so as to be able to fix up use of | ||
21 | # mb-* commands | ||
22 | if [ ${SOC_DIR} != "versal" ]; then | ||
23 | ${B}/../../misc/${SOC_DIR}/copy_bsp.sh | ||
24 | else | ||
25 | ${B}/../../misc/copy_bsp.sh | ||
26 | fi | ||
27 | } | ||
28 | |||
29 | do_compile() { | ||
30 | oe_runmake | ||
31 | |||
32 | ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin | ||
33 | } | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2.bb deleted file mode 100644 index ffa0a596..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2.bb +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | require psm-firmware.inc | ||
2 | require ${@'psm-firmware_generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
3 | require ${@'psm-firmware_${PV}-generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||