summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2024-11-24 16:58:53 -0700
committerMark Hatle <mark.hatle@amd.com>2025-03-30 14:16:06 -0600
commitcc9be9c44c8b560ed61897ad5d7dc52225558770 (patch)
tree90ea61513c83dca9ba1926adbdf1ac17eedfbaeb
parent4437622c38ad4b2e5f29d940e63147cf8a09b20b (diff)
downloadmeta-xilinx-cc9be9c44c8b560ed61897ad5d7dc52225558770.tar.gz
meta-xilinx-standalone: Rework embeddedsw integration
Introduce a new embeddedsw-source recipe that is a single point for unpack, and patch of the sources. This will allow someone to universally patch (via a bbappend or similar) the esw sources. As part of this work, we transfered the various patches for fsbl, pmu, plm, and psm to the universe source recipe. Most of this is transparent to any recipe using xlnx-embeddedsw. The class automaticaly detects if the recipe is a user or the special embeddedsw-source recipe and enables the correct behavior. Since the esw sources expect the S and B to be the same, the cmake objects get written into S, we are not able to follow the gcc-source example. Instead recipes that use the xlnx-embeddedsw class will hard link or copy the source files to their working directory. This avoid the penalty for fetch, unpack and patch. Note these recipes may also add their own SRC_URI which WILL be processed as normal. This is often used to introduce special tcl scripts. See the do_copy_shared_src task injected by the xlnx-embeddedsw.bbclass for technical details. Additionally, correct some of the existing patch Upstream-Status entries to conform to current YP guidelines. For 2024.2 introduce a special Xil_Assert fix for the current toolchain which is more strict on type conversion.. See the patch itself for more details. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass13
-rw-r--r--meta-xilinx-standalone-sdt/recipes-libraries/xilstandalone_2024.2.bb19
-rw-r--r--meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass22
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source.inc32
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2022.1.bb17
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2022.2.bb17
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2023.1.bb17
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2023.2.bb17
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2024.1.bb17
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2024.2.bb15
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.1+git/0001-versal_fw-Fixup-core-makefiles.patch2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.1+git/makefile-skip-copy_bsp.sh.patch2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.2+git/0001-versal_fw-Fixup-core-makefiles.patch2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.2+git/makefile-skip-copy_bsp.sh.patch2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.1+git/0001-versal_fw-Fixup-core-makefiles.patch2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.1+git/makefile-skip-copy_bsp.sh.patch2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.2+git/0001-versal_fw-Fixup-core-makefiles.patch2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.2+git/fix-xil-assert-filename.patch26
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.2+git/makefile-skip-copy_bsp.sh.patch2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/fsbl-fixups.patch2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/esw-conf_2024.1.bb3
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/esw-conf_2024.2.bb3
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware.inc2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2023.1+git-generic.inc7
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2023.2+git-generic.inc7
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2024.1+git-generic.inc7
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2024.2+git-generic.inc7
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2023.1+git-generic.inc7
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2023.2+git-generic.inc7
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2024.1+git-generic.inc7
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2024.2+git-generic.inc7
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware.inc2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2023.1+git-generic.inc7
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2023.2+git-generic.inc7
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2024.1+git-generic.inc7
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2024.2+git-generic.inc7
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2023.1+git-generic.inc7
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2023.2+git-generic.inc7
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2024.1+git-generic.inc7
-rw-r--r--meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2024.2+git-generic.inc7
-rw-r--r--meta-xilinx-standalone/recipes-bsp/libdfeccf/libdfeccf_2024.2.bb2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/libdfeequ/libdfeequ_2024.2.bb2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/libdfemix/libdfemix_2024.2.bb2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/libdfeofdm/libdfeofdm_2024.2.bb2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/libdfeprach/libdfeprach_2024.2.bb2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/librfclk/librfclk_2024.2.bb2
-rw-r--r--meta-xilinx-standalone/recipes-bsp/librfdc/librfdc_2024.2.bb2
49 files changed, 212 insertions, 158 deletions
diff --git a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass
index 76245cf7..127b0868 100644
--- a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass
+++ b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass
@@ -8,8 +8,6 @@ OECMAKE_ARGS:remove = "-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON"
8 8
9SRCREV_FORMAT = "src_decouple" 9SRCREV_FORMAT = "src_decouple"
10 10
11S = "${WORKDIR}/git"
12B = "${WORKDIR}/build"
13OECMAKE_SOURCEPATH = "${S}/${ESW_COMPONENT_SRC}" 11OECMAKE_SOURCEPATH = "${S}/${ESW_COMPONENT_SRC}"
14LICFILENAME = "license.txt" 12LICFILENAME = "license.txt"
15 13
@@ -142,6 +140,15 @@ python do_generate_driver_data() {
142 bb.error("Couldn't find source dir %s" % d.getVar('OECMAKE_SOURCEPATH')) 140 bb.error("Couldn't find source dir %s" % d.getVar('OECMAKE_SOURCEPATH'))
143 141
144 os.chdir(d.getVar('B')) 142 os.chdir(d.getVar('B'))
145 command = ["lopper"] + ["-f"] + ["-O"] + [src_dir[0]] + [system_dt[0]] + ["--"] + ["baremetalconfig_xlnx.py"] + [machine] + [src_dir[0]] 143 command = ["lopper"]
144 command += ["-f"]
145 command += ["-O"]
146 command += [src_dir[0]]
147 command += [system_dt[0]]
148 command += ["--"]
149 command += ["baremetalconfig_xlnx.py"]
150 command += [machine]
151 command += [src_dir[0]]
146 subprocess.run(command, check = True) 152 subprocess.run(command, check = True)
147} 153}
154addtask do_generate_driver_data after do_copy_shared_src do_patch
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilstandalone_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilstandalone_2024.2.bb
index a4b0037b..ac2064ff 100644
--- a/meta-xilinx-standalone-sdt/recipes-libraries/xilstandalone_2024.2.bb
+++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilstandalone_2024.2.bb
@@ -5,17 +5,16 @@ ESW_COMPONENT_NAME = "libxilstandalone.a"
5 5
6DEPENDS += "libgloss" 6DEPENDS += "libgloss"
7 7
8S = "${B}"
9
8do_configure:prepend() { 10do_configure:prepend() {
9 # This script should also not rely on relative paths and such 11 # This script should also not rely on relative paths and such
10 ( 12 lopper ${DTS_FILE} -- baremetal_bspconfig_xlnx ${ESW_MACHINE} ${B}/${ESW_COMPONENT_SRC}
11 cd ${S} 13 install -m 0755 MemConfig.cmake ${B}/${ESW_COMPONENT_SRC}/
12 lopper ${DTS_FILE} -- baremetal_bspconfig_xlnx ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} 14 install -m 0755 *.c ${B}/${ESW_COMPONENT_SRC}
13 install -m 0755 MemConfig.cmake ${S}/${ESW_COMPONENT_SRC}/ 15 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx ${ESW_MACHINE} ${B}/${ESW_COMPONENT_SRC} hwcmake_metadata ${B}
14 install -m 0755 *.c ${S}/${ESW_COMPONENT_SRC} 16 install -m 0755 StandaloneExample.cmake ${B}/${ESW_COMPONENT_SRC}/common/
15 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} 17 LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${B}
16 install -m 0755 StandaloneExample.cmake ${S}/${ESW_COMPONENT_SRC}/common/ 18 install -m 0755 xparameters.h ${B}/${ESW_COMPONENT_SRC}/common/
17 LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
18 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/common/
19 )
20 19
21} 20}
diff --git a/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass b/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass
index 6a6faf01..e5b694be 100644
--- a/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass
+++ b/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass
@@ -35,7 +35,6 @@ LIC_FILES_CHKSUM[xlnx_rel_v2024.1] = '0dcabd3719e5ac33f7c03f0d77d473f2'
35LIC_FILES_CHKSUM[xlnx_rel_v2024.2] = '689662801a76c14d0cb57ae169cbec7c' 35LIC_FILES_CHKSUM[xlnx_rel_v2024.2] = '689662801a76c14d0cb57ae169cbec7c'
36LIC_FILES_CHKSUM ??= "file://license.txt;md5=${@d.getVarFlag('LIC_FILES_CHKSUM', d.getVar('BRANCH')) or '0'}" 36LIC_FILES_CHKSUM ??= "file://license.txt;md5=${@d.getVarFlag('LIC_FILES_CHKSUM', d.getVar('BRANCH')) or '0'}"
37 37
38SRC_URI = "${EMBEDDEDSW_SRCURI}"
39PV .= "+git" 38PV .= "+git"
40 39
41python() { 40python() {
@@ -47,3 +46,24 @@ python() {
47 except: 46 except:
48 raise bb.parse.SkipRecipe('BB_NO_NETWORK is enabled, can not fetch SRCREV (%s)' % d.getVar('SRCREV')) 47 raise bb.parse.SkipRecipe('BB_NO_NETWORK is enabled, can not fetch SRCREV (%s)' % d.getVar('SRCREV'))
49} 48}
49
50SHARED_S = "${TMPDIR}/work-shared/embeddedsw-${ESW_VER}/git"
51S = "${WORKDIR}/git"
52B = "${WORKDIR}/build"
53
54ERROR_QA:remove = "buildpaths"
55
56# The following is for recipes that use the common sources
57python do_copy_shared_src() {
58 src = d.getVar('SHARED_S')
59 dest = d.getVar('S')
60 if src != dest:
61 oe.path.copyhardlinktree(src, dest)
62}
63
64python() {
65 if d.getVar('BPN') != "embeddedsw-source":
66 bb.build.addtask('do_copy_shared_src', 'do_configure do_populate_lic do_deploy_source_date_epoch', 'do_patch', d)
67
68 d.appendVarFlag('do_copy_shared_src', 'depends', ' embeddedsw-source-${ESW_VER}:do_patch')
69}
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source.inc
new file mode 100644
index 00000000..a96f9dcc
--- /dev/null
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source.inc
@@ -0,0 +1,32 @@
1deltask do_configure
2deltask do_compile
3deltask do_install
4deltask do_populate_sysroot
5deltask do_populate_lic
6RM_WORK_EXCLUDE += "${PN}"
7
8inherit xlnx-embeddedsw nopackages
9
10COMPATIBLE_HOST = ".*"
11COMPATIBLE_MACHINE = ".*"
12
13PN = "embeddedsw-source-${ESW_VER}"
14WORKDIR = "${TMPDIR}/work-shared/embeddedsw-${ESW_VER}"
15SSTATE_SWSPEC = "sstate:embeddedsw::${ESW_VER}:r0::${SSTATE_VERSION}:"
16
17STAMP = "${STAMPS_DIR}/work-shared/embeddedsw-${PV}-${PR}"
18STAMPCLEAN = "${STAMPS_DIR}/work-shared/embeddedsw-${PV}-*"
19
20INHIBIT_DEFAULT_DEPS = "1"
21DEPENDS = ""
22PACKAGES = ""
23TARGET_ARCH = "allarch"
24TARGET_AS_ARCH = "none"
25TARGET_CC_ARCH = "none"
26TARGET_LD_ARCH = "none"
27TARGET_OS = "linux"
28baselib = "lib"
29PACKAGE_ARCH = "all"
30
31S = "${SHARED_S}"
32B = "${WORKDIR}/build"
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2022.1.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2022.1.bb
new file mode 100644
index 00000000..d3994bf4
--- /dev/null
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2022.1.bb
@@ -0,0 +1,17 @@
1require recipes-bsp/embeddedsw/embeddedsw-source.inc
2
3
4BPN = "embeddedsw-source"
5EXCLUDE_FROM_WORLD = "1"
6
7FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
8
9SRC_URI = " \
10 ${EMBEDDEDSW_SRCURI} \
11 file://makefile-skip-copy_bsp.sh.patch \
12 file://fsbl-fixups.patch \
13 file://0001-versal_fw-Fixup-core-makefiles.patch \
14 "
15
16# file://fix-xil-assert-filename.patch \
17#
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2022.2.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2022.2.bb
new file mode 100644
index 00000000..d3994bf4
--- /dev/null
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2022.2.bb
@@ -0,0 +1,17 @@
1require recipes-bsp/embeddedsw/embeddedsw-source.inc
2
3
4BPN = "embeddedsw-source"
5EXCLUDE_FROM_WORLD = "1"
6
7FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
8
9SRC_URI = " \
10 ${EMBEDDEDSW_SRCURI} \
11 file://makefile-skip-copy_bsp.sh.patch \
12 file://fsbl-fixups.patch \
13 file://0001-versal_fw-Fixup-core-makefiles.patch \
14 "
15
16# file://fix-xil-assert-filename.patch \
17#
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2023.1.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2023.1.bb
new file mode 100644
index 00000000..d3994bf4
--- /dev/null
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2023.1.bb
@@ -0,0 +1,17 @@
1require recipes-bsp/embeddedsw/embeddedsw-source.inc
2
3
4BPN = "embeddedsw-source"
5EXCLUDE_FROM_WORLD = "1"
6
7FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
8
9SRC_URI = " \
10 ${EMBEDDEDSW_SRCURI} \
11 file://makefile-skip-copy_bsp.sh.patch \
12 file://fsbl-fixups.patch \
13 file://0001-versal_fw-Fixup-core-makefiles.patch \
14 "
15
16# file://fix-xil-assert-filename.patch \
17#
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2023.2.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2023.2.bb
new file mode 100644
index 00000000..d3994bf4
--- /dev/null
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2023.2.bb
@@ -0,0 +1,17 @@
1require recipes-bsp/embeddedsw/embeddedsw-source.inc
2
3
4BPN = "embeddedsw-source"
5EXCLUDE_FROM_WORLD = "1"
6
7FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
8
9SRC_URI = " \
10 ${EMBEDDEDSW_SRCURI} \
11 file://makefile-skip-copy_bsp.sh.patch \
12 file://fsbl-fixups.patch \
13 file://0001-versal_fw-Fixup-core-makefiles.patch \
14 "
15
16# file://fix-xil-assert-filename.patch \
17#
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2024.1.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2024.1.bb
new file mode 100644
index 00000000..d3994bf4
--- /dev/null
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2024.1.bb
@@ -0,0 +1,17 @@
1require recipes-bsp/embeddedsw/embeddedsw-source.inc
2
3
4BPN = "embeddedsw-source"
5EXCLUDE_FROM_WORLD = "1"
6
7FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
8
9SRC_URI = " \
10 ${EMBEDDEDSW_SRCURI} \
11 file://makefile-skip-copy_bsp.sh.patch \
12 file://fsbl-fixups.patch \
13 file://0001-versal_fw-Fixup-core-makefiles.patch \
14 "
15
16# file://fix-xil-assert-filename.patch \
17#
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2024.2.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2024.2.bb
new file mode 100644
index 00000000..fe015bc2
--- /dev/null
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw-source_2024.2.bb
@@ -0,0 +1,15 @@
1require recipes-bsp/embeddedsw/embeddedsw-source.inc
2
3
4BPN = "embeddedsw-source"
5EXCLUDE_FROM_WORLD = "1"
6
7FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
8
9SRC_URI = " \
10 ${EMBEDDEDSW_SRCURI} \
11 file://fix-xil-assert-filename.patch \
12 file://makefile-skip-copy_bsp.sh.patch \
13 file://fsbl-fixups.patch \
14 file://0001-versal_fw-Fixup-core-makefiles.patch \
15 "
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.1+git/0001-versal_fw-Fixup-core-makefiles.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.1+git/0001-versal_fw-Fixup-core-makefiles.patch
index 788cfb35..0e96f4df 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.1+git/0001-versal_fw-Fixup-core-makefiles.patch
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.1+git/0001-versal_fw-Fixup-core-makefiles.patch
@@ -8,6 +8,8 @@ additional variables that may not be appropriate to do on the regular
8command line build version. This patch preserves the default while 8command line build version. This patch preserves the default while
9allowing it to be overriden as necessary. 9allowing it to be overriden as necessary.
10 10
11Upstream-Status: Inappropriate [YP integration specific]
12
11Signed-off-by: Mark Hatle <mark.hatle@amd.com> 13Signed-off-by: Mark Hatle <mark.hatle@amd.com>
12--- 14---
13 lib/sw_apps/versal_plm/misc/versal/Makefile | 6 ++++-- 15 lib/sw_apps/versal_plm/misc/versal/Makefile | 6 ++++--
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.1+git/makefile-skip-copy_bsp.sh.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.1+git/makefile-skip-copy_bsp.sh.patch
index 1300c7e1..c1b9a5bd 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.1+git/makefile-skip-copy_bsp.sh.patch
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.1+git/makefile-skip-copy_bsp.sh.patch
@@ -6,7 +6,7 @@ Subject: [PATCH] Prevent makefile from calling copy_bsp.sh
6If we call copy_bsp.sh we will undo any manual compliation steps we 6If we call copy_bsp.sh we will undo any manual compliation steps we
7have already done. Avoid this. 7have already done. Avoid this.
8 8
9YP integration specific 9Upstream-Status: Inappropriate [YP integration specific]
10 10
11Signed-off-by: Mark Hatle <mark.hatle@amd.com> 11Signed-off-by: Mark Hatle <mark.hatle@amd.com>
12--- 12---
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.2+git/0001-versal_fw-Fixup-core-makefiles.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.2+git/0001-versal_fw-Fixup-core-makefiles.patch
index 788cfb35..0e96f4df 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.2+git/0001-versal_fw-Fixup-core-makefiles.patch
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.2+git/0001-versal_fw-Fixup-core-makefiles.patch
@@ -8,6 +8,8 @@ additional variables that may not be appropriate to do on the regular
8command line build version. This patch preserves the default while 8command line build version. This patch preserves the default while
9allowing it to be overriden as necessary. 9allowing it to be overriden as necessary.
10 10
11Upstream-Status: Inappropriate [YP integration specific]
12
11Signed-off-by: Mark Hatle <mark.hatle@amd.com> 13Signed-off-by: Mark Hatle <mark.hatle@amd.com>
12--- 14---
13 lib/sw_apps/versal_plm/misc/versal/Makefile | 6 ++++-- 15 lib/sw_apps/versal_plm/misc/versal/Makefile | 6 ++++--
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.2+git/makefile-skip-copy_bsp.sh.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.2+git/makefile-skip-copy_bsp.sh.patch
index 4ce521cd..3f7bb7a8 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.2+git/makefile-skip-copy_bsp.sh.patch
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2023.2+git/makefile-skip-copy_bsp.sh.patch
@@ -6,7 +6,7 @@ Subject: [PATCH] Prevent makefile from calling copy_bsp.sh
6If we call copy_bsp.sh we will undo any manual compliation steps we 6If we call copy_bsp.sh we will undo any manual compliation steps we
7have already done. Avoid this. 7have already done. Avoid this.
8 8
9YP integration specific 9Upstream-Status: Inappropriate [YP integration specific]
10 10
11Signed-off-by: Mark Hatle <mark.hatle@amd.com> 11Signed-off-by: Mark Hatle <mark.hatle@amd.com>
12--- 12---
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.1+git/0001-versal_fw-Fixup-core-makefiles.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.1+git/0001-versal_fw-Fixup-core-makefiles.patch
index 4bc191c1..f3726714 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.1+git/0001-versal_fw-Fixup-core-makefiles.patch
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.1+git/0001-versal_fw-Fixup-core-makefiles.patch
@@ -8,6 +8,8 @@ additional variables that may not be appropriate to do on the regular
8command line build version. This patch preserves the default while 8command line build version. This patch preserves the default while
9allowing it to be overriden as necessary. 9allowing it to be overriden as necessary.
10 10
11Upstream-Status: Inappropriate [YP integration specific]
12
11Signed-off-by: Mark Hatle <mark.hatle@amd.com> 13Signed-off-by: Mark Hatle <mark.hatle@amd.com>
12--- 14---
13 lib/sw_apps/versal_plm/misc/versal/Makefile | 6 ++++-- 15 lib/sw_apps/versal_plm/misc/versal/Makefile | 6 ++++--
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.1+git/makefile-skip-copy_bsp.sh.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.1+git/makefile-skip-copy_bsp.sh.patch
index 4ce521cd..3f7bb7a8 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.1+git/makefile-skip-copy_bsp.sh.patch
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.1+git/makefile-skip-copy_bsp.sh.patch
@@ -6,7 +6,7 @@ Subject: [PATCH] Prevent makefile from calling copy_bsp.sh
6If we call copy_bsp.sh we will undo any manual compliation steps we 6If we call copy_bsp.sh we will undo any manual compliation steps we
7have already done. Avoid this. 7have already done. Avoid this.
8 8
9YP integration specific 9Upstream-Status: Inappropriate [YP integration specific]
10 10
11Signed-off-by: Mark Hatle <mark.hatle@amd.com> 11Signed-off-by: Mark Hatle <mark.hatle@amd.com>
12--- 12---
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.2+git/0001-versal_fw-Fixup-core-makefiles.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.2+git/0001-versal_fw-Fixup-core-makefiles.patch
index 4bc191c1..cbe0c4e5 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.2+git/0001-versal_fw-Fixup-core-makefiles.patch
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.2+git/0001-versal_fw-Fixup-core-makefiles.patch
@@ -8,6 +8,8 @@ additional variables that may not be appropriate to do on the regular
8command line build version. This patch preserves the default while 8command line build version. This patch preserves the default while
9allowing it to be overriden as necessary. 9allowing it to be overriden as necessary.
10 10
11Upstream-Status: Pending
12
11Signed-off-by: Mark Hatle <mark.hatle@amd.com> 13Signed-off-by: Mark Hatle <mark.hatle@amd.com>
12--- 14---
13 lib/sw_apps/versal_plm/misc/versal/Makefile | 6 ++++-- 15 lib/sw_apps/versal_plm/misc/versal/Makefile | 6 ++++--
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.2+git/fix-xil-assert-filename.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.2+git/fix-xil-assert-filename.patch
new file mode 100644
index 00000000..2f7af0e9
--- /dev/null
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.2+git/fix-xil-assert-filename.patch
@@ -0,0 +1,26 @@
1Fix __FILENAME__ definition
2
3This fixes the error:
4
5| <command-line>: error: passing argument 1 of 'Xil_Assert' makes pointer from integer without a cast [-Wint-conversion]
6| .../work-shared/embeddedsw-2024.2+git-r0/source/git/lib/bsp/standalone/src/common/xil_assert.h:123:20: note: in expansion of macro '__FILENAME__'
7| 123 | Xil_Assert(__FILENAME__, __LINE__); \
8| | ^~~~~~~~~~~~
9
10Upstream-Status: Pending
11
12Signed-off-by: Mark Hatle <mark.hatle@amd.com>
13
14diff --git a/cmake/Findcommon.cmake b/cmake/Findcommon.cmake
15index c856d408fb..acac2e8fcc 100644
16--- a/cmake/Findcommon.cmake
17+++ b/cmake/Findcommon.cmake
18@@ -11,7 +11,7 @@ endif()
19 if("${CMAKE_HOST_NAME}" STREQUAL "Linux")
20 add_compile_options("-D__FILENAME__=\"$(subst ${CMAKE_SOURCE_DIR}/,,$(abspath $<))\"")
21 else()
22- add_compile_options("-D__FILENAME__='__FILE__'")
23+ add_compile_options("-D__FILENAME__=__FILE__")
24 endif()
25 set (CMAKE_INSTALL_LIBDIR "lib")
26 function (collector_create name base)
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.2+git/makefile-skip-copy_bsp.sh.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.2+git/makefile-skip-copy_bsp.sh.patch
index 4ce521cd..3f7bb7a8 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.2+git/makefile-skip-copy_bsp.sh.patch
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2024.2+git/makefile-skip-copy_bsp.sh.patch
@@ -6,7 +6,7 @@ Subject: [PATCH] Prevent makefile from calling copy_bsp.sh
6If we call copy_bsp.sh we will undo any manual compliation steps we 6If we call copy_bsp.sh we will undo any manual compliation steps we
7have already done. Avoid this. 7have already done. Avoid this.
8 8
9YP integration specific 9Upstream-Status: Inappropriate [YP integration specific]
10 10
11Signed-off-by: Mark Hatle <mark.hatle@amd.com> 11Signed-off-by: Mark Hatle <mark.hatle@amd.com>
12--- 12---
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/fsbl-fixups.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/fsbl-fixups.patch
index 2c3b4e67..83fe4d2a 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/fsbl-fixups.patch
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/fsbl-fixups.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Pending
2
1Index: git/lib/sw_apps/zynqmp_fsbl/misc/makefile 3Index: git/lib/sw_apps/zynqmp_fsbl/misc/makefile
2=================================================================== 4===================================================================
3--- git.orig/lib/sw_apps/zynqmp_fsbl/misc/makefile 5--- git.orig/lib/sw_apps/zynqmp_fsbl/misc/makefile
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/esw-conf_2024.1.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/esw-conf_2024.1.bb
index f99db010..bd62913f 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/esw-conf_2024.1.bb
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/esw-conf_2024.1.bb
@@ -1,9 +1,6 @@
1# Can't depend on esw since this is needed for setup! 1# Can't depend on esw since this is needed for setup!
2inherit xlnx-embeddedsw 2inherit xlnx-embeddedsw
3 3
4S = "${WORKDIR}/git"
5B = "${WORKDIR}/build"
6
7INHIBIT_DEFAULT_DEPS = "1" 4INHIBIT_DEFAULT_DEPS = "1"
8 5
9# Installing this recipe should install the lopper tools and such 6# Installing this recipe should install the lopper tools and such
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/esw-conf_2024.2.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/esw-conf_2024.2.bb
index f99db010..bd62913f 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/esw-conf_2024.2.bb
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/esw-conf_2024.2.bb
@@ -1,9 +1,6 @@
1# Can't depend on esw since this is needed for setup! 1# Can't depend on esw since this is needed for setup!
2inherit xlnx-embeddedsw 2inherit xlnx-embeddedsw
3 3
4S = "${WORKDIR}/git"
5B = "${WORKDIR}/build"
6
7INHIBIT_DEFAULT_DEPS = "1" 4INHIBIT_DEFAULT_DEPS = "1"
8 5
9# Installing this recipe should install the lopper tools and such 6# Installing this recipe should install the lopper tools and such
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware.inc
index 6c581670..c600128a 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware.inc
@@ -9,8 +9,6 @@ COMPATIBLE_MACHINE:zynqmp = ".*"
9 9
10PACKAGE_ARCH = "${MACHINE_ARCH}" 10PACKAGE_ARCH = "${MACHINE_ARCH}"
11 11
12S = "${WORKDIR}/git"
13
14# This is the default in most BSPs. A MACHINE.conf can override this! 12# This is the default in most BSPs. A MACHINE.conf can override this!
15FSBL_IMAGE_NAME ??= "fsbl-${MACHINE}" 13FSBL_IMAGE_NAME ??= "fsbl-${MACHINE}"
16 14
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2023.1+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2023.1+git-generic.inc
index 7a0a35da..645d4bec 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2023.1+git-generic.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2023.1+git-generic.inc
@@ -1,10 +1,3 @@
1SKIP_MSG = "" 1SKIP_MSG = ""
2SKIP_MSG:zynq = "Generic support for zynq is not available" 2SKIP_MSG:zynq = "Generic support for zynq is not available"
3SKIP_RECIPE[fsbl-firmware] = "${SKIP_MSG}" 3SKIP_RECIPE[fsbl-firmware] = "${SKIP_MSG}"
4
5FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
6
7SRC_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_2023.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2023.2+git-generic.inc
index 7a0a35da..645d4bec 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2023.2+git-generic.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2023.2+git-generic.inc
@@ -1,10 +1,3 @@
1SKIP_MSG = "" 1SKIP_MSG = ""
2SKIP_MSG:zynq = "Generic support for zynq is not available" 2SKIP_MSG:zynq = "Generic support for zynq is not available"
3SKIP_RECIPE[fsbl-firmware] = "${SKIP_MSG}" 3SKIP_RECIPE[fsbl-firmware] = "${SKIP_MSG}"
4
5FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
6
7SRC_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_2024.1+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2024.1+git-generic.inc
index 7a0a35da..645d4bec 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2024.1+git-generic.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2024.1+git-generic.inc
@@ -1,10 +1,3 @@
1SKIP_MSG = "" 1SKIP_MSG = ""
2SKIP_MSG:zynq = "Generic support for zynq is not available" 2SKIP_MSG:zynq = "Generic support for zynq is not available"
3SKIP_RECIPE[fsbl-firmware] = "${SKIP_MSG}" 3SKIP_RECIPE[fsbl-firmware] = "${SKIP_MSG}"
4
5FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
6
7SRC_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_2024.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2024.2+git-generic.inc
index 7a0a35da..645d4bec 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2024.2+git-generic.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2024.2+git-generic.inc
@@ -1,10 +1,3 @@
1SKIP_MSG = "" 1SKIP_MSG = ""
2SKIP_MSG:zynq = "Generic support for zynq is not available" 2SKIP_MSG:zynq = "Generic support for zynq is not available"
3SKIP_RECIPE[fsbl-firmware] = "${SKIP_MSG}" 3SKIP_RECIPE[fsbl-firmware] = "${SKIP_MSG}"
4
5FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
6
7SRC_URI += " \
8 file://makefile-skip-copy_bsp.sh.patch \
9 file://fsbl-fixups.patch \
10 "
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc
index 99451c3b..7654b28f 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc
@@ -10,8 +10,6 @@ COMPATIBLE_MACHINE:versal-net = ".*"
10 10
11PACKAGE_ARCH = "${MACHINE_ARCH}" 11PACKAGE_ARCH = "${MACHINE_ARCH}"
12 12
13S = "${WORKDIR}/git"
14
15# This is the default in most BSPs. A MACHINE.conf can override this! 13# This is the default in most BSPs. A MACHINE.conf can override this!
16PLM_IMAGE_NAME ??= "plm-${MACHINE}" 14PLM_IMAGE_NAME ??= "plm-${MACHINE}"
17 15
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2023.1+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2023.1+git-generic.inc
index 7416dfb5..3b171f70 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2023.1+git-generic.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2023.1+git-generic.inc
@@ -5,13 +5,6 @@ B = "${S}/lib/sw_apps/versal_plm/src/${SOC_DIR}"
5 5
6BSP_DIR ?= "${B}/../../misc/versal_plm_bsp" 6BSP_DIR ?= "${B}/../../misc/versal_plm_bsp"
7 7
8FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
9
10SRC_URI += " \
11 file://makefile-skip-copy_bsp.sh.patch \
12 file://0001-versal_fw-Fixup-core-makefiles.patch \
13 "
14
15EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" 8EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects"
16 9
17do_configure() { 10do_configure() {
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2023.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2023.2+git-generic.inc
index 7416dfb5..3b171f70 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2023.2+git-generic.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2023.2+git-generic.inc
@@ -5,13 +5,6 @@ B = "${S}/lib/sw_apps/versal_plm/src/${SOC_DIR}"
5 5
6BSP_DIR ?= "${B}/../../misc/versal_plm_bsp" 6BSP_DIR ?= "${B}/../../misc/versal_plm_bsp"
7 7
8FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
9
10SRC_URI += " \
11 file://makefile-skip-copy_bsp.sh.patch \
12 file://0001-versal_fw-Fixup-core-makefiles.patch \
13 "
14
15EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" 8EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects"
16 9
17do_configure() { 10do_configure() {
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2024.1+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2024.1+git-generic.inc
index 7416dfb5..3b171f70 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2024.1+git-generic.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2024.1+git-generic.inc
@@ -5,13 +5,6 @@ B = "${S}/lib/sw_apps/versal_plm/src/${SOC_DIR}"
5 5
6BSP_DIR ?= "${B}/../../misc/versal_plm_bsp" 6BSP_DIR ?= "${B}/../../misc/versal_plm_bsp"
7 7
8FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
9
10SRC_URI += " \
11 file://makefile-skip-copy_bsp.sh.patch \
12 file://0001-versal_fw-Fixup-core-makefiles.patch \
13 "
14
15EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" 8EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects"
16 9
17do_configure() { 10do_configure() {
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2024.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2024.2+git-generic.inc
index 7416dfb5..3b171f70 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2024.2+git-generic.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2024.2+git-generic.inc
@@ -5,13 +5,6 @@ B = "${S}/lib/sw_apps/versal_plm/src/${SOC_DIR}"
5 5
6BSP_DIR ?= "${B}/../../misc/versal_plm_bsp" 6BSP_DIR ?= "${B}/../../misc/versal_plm_bsp"
7 7
8FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
9
10SRC_URI += " \
11 file://makefile-skip-copy_bsp.sh.patch \
12 file://0001-versal_fw-Fixup-core-makefiles.patch \
13 "
14
15EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" 8EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects"
16 9
17do_configure() { 10do_configure() {
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware.inc
index d371da4d..a6f39acf 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware.inc
@@ -8,8 +8,6 @@ COMPATIBLE_MACHINE:zynqmp = ".*"
8 8
9PACKAGE_ARCH = "${MACHINE_ARCH}" 9PACKAGE_ARCH = "${MACHINE_ARCH}"
10 10
11S = "${WORKDIR}/git"
12
13# This is the default in most BSPs. A MACHINE.conf can override this! 11# This is the default in most BSPs. A MACHINE.conf can override this!
14PMU_FIRMWARE_IMAGE_NAME ??= "pmu-firmware-${MACHINE}" 12PMU_FIRMWARE_IMAGE_NAME ??= "pmu-firmware-${MACHINE}"
15 13
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2023.1+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2023.1+git-generic.inc
index 8defde17..fc6f9fcf 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2023.1+git-generic.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2023.1+git-generic.inc
@@ -1,8 +1 @@
1FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
2
3SRC_URI += " \
4 file://makefile-skip-copy_bsp.sh.patch \
5 file://0001-zynqmp_pmufw-Fixup-core-makefiles.patch \
6 "
7
8EXTRA_COMPILER_FLAGS = "-ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" 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_2023.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2023.2+git-generic.inc
index 8defde17..fc6f9fcf 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2023.2+git-generic.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2023.2+git-generic.inc
@@ -1,8 +1 @@
1FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
2
3SRC_URI += " \
4 file://makefile-skip-copy_bsp.sh.patch \
5 file://0001-zynqmp_pmufw-Fixup-core-makefiles.patch \
6 "
7
8EXTRA_COMPILER_FLAGS = "-ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" 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_2024.1+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2024.1+git-generic.inc
index 935f6e32..d5850ba3 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2024.1+git-generic.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2024.1+git-generic.inc
@@ -1,8 +1 @@
1FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
2
3SRC_URI += " \
4 file://makefile-skip-copy_bsp.sh.patch \
5 file://0001-zynqmp_pmufw-Fixup-core-makefiles.patch \
6 "
7
8EXTRA_COMPILER_FLAGS = "-ffunction-sections -fdata-sections -Wall -Wextra ${ESW_CFLAGS}" EXTRA_COMPILER_FLAGS = "-ffunction-sections -fdata-sections -Wall -Wextra ${ESW_CFLAGS}"
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2024.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2024.2+git-generic.inc
index 935f6e32..d5850ba3 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2024.2+git-generic.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2024.2+git-generic.inc
@@ -1,8 +1 @@
1FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
2
3SRC_URI += " \
4 file://makefile-skip-copy_bsp.sh.patch \
5 file://0001-zynqmp_pmufw-Fixup-core-makefiles.patch \
6 "
7
8EXTRA_COMPILER_FLAGS = "-ffunction-sections -fdata-sections -Wall -Wextra ${ESW_CFLAGS}" EXTRA_COMPILER_FLAGS = "-ffunction-sections -fdata-sections -Wall -Wextra ${ESW_CFLAGS}"
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc
index 6c378270..7957c6d6 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc
@@ -10,8 +10,6 @@ COMPATIBLE_MACHINE:versal-net = ".*"
10 10
11PACKAGE_ARCH = "${MACHINE_ARCH}" 11PACKAGE_ARCH = "${MACHINE_ARCH}"
12 12
13S = "${WORKDIR}/git"
14
15# This is the default in most BSPs. A MACHINE.conf can override this! 13# This is the default in most BSPs. A MACHINE.conf can override this!
16PSM_FIRMWARE_IMAGE_NAME ??= "psm-firmware-${MACHINE}" 14PSM_FIRMWARE_IMAGE_NAME ??= "psm-firmware-${MACHINE}"
17 15
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2023.1+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2023.1+git-generic.inc
index 7ba3707e..4d303a84 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2023.1+git-generic.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2023.1+git-generic.inc
@@ -5,13 +5,6 @@ B = "${S}/lib/sw_apps/versal_psmfw/src/${SOC_DIR}"
5 5
6BSP_DIR ?= "${B}/../../misc/versal_psmfw_bsp" 6BSP_DIR ?= "${B}/../../misc/versal_psmfw_bsp"
7 7
8FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
9
10SRC_URI += " \
11 file://makefile-skip-copy_bsp.sh.patch \
12 file://0001-versal_fw-Fixup-core-makefiles.patch \
13 "
14
15EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra" 8EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra"
16 9
17# Override default since we're in a subdirectory deeper now... 10# Override default since we're in a subdirectory deeper now...
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2023.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2023.2+git-generic.inc
index 7ba3707e..4d303a84 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2023.2+git-generic.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2023.2+git-generic.inc
@@ -5,13 +5,6 @@ B = "${S}/lib/sw_apps/versal_psmfw/src/${SOC_DIR}"
5 5
6BSP_DIR ?= "${B}/../../misc/versal_psmfw_bsp" 6BSP_DIR ?= "${B}/../../misc/versal_psmfw_bsp"
7 7
8FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
9
10SRC_URI += " \
11 file://makefile-skip-copy_bsp.sh.patch \
12 file://0001-versal_fw-Fixup-core-makefiles.patch \
13 "
14
15EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra" 8EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra"
16 9
17# Override default since we're in a subdirectory deeper now... 10# Override default since we're in a subdirectory deeper now...
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2024.1+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2024.1+git-generic.inc
index 7ba3707e..4d303a84 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2024.1+git-generic.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2024.1+git-generic.inc
@@ -5,13 +5,6 @@ B = "${S}/lib/sw_apps/versal_psmfw/src/${SOC_DIR}"
5 5
6BSP_DIR ?= "${B}/../../misc/versal_psmfw_bsp" 6BSP_DIR ?= "${B}/../../misc/versal_psmfw_bsp"
7 7
8FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
9
10SRC_URI += " \
11 file://makefile-skip-copy_bsp.sh.patch \
12 file://0001-versal_fw-Fixup-core-makefiles.patch \
13 "
14
15EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra" 8EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra"
16 9
17# Override default since we're in a subdirectory deeper now... 10# Override default since we're in a subdirectory deeper now...
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2024.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2024.2+git-generic.inc
index 7ba3707e..4d303a84 100644
--- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2024.2+git-generic.inc
+++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2024.2+git-generic.inc
@@ -5,13 +5,6 @@ B = "${S}/lib/sw_apps/versal_psmfw/src/${SOC_DIR}"
5 5
6BSP_DIR ?= "${B}/../../misc/versal_psmfw_bsp" 6BSP_DIR ?= "${B}/../../misc/versal_psmfw_bsp"
7 7
8FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw"
9
10SRC_URI += " \
11 file://makefile-skip-copy_bsp.sh.patch \
12 file://0001-versal_fw-Fixup-core-makefiles.patch \
13 "
14
15EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra" 8EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra"
16 9
17# Override default since we're in a subdirectory deeper now... 10# Override default since we're in a subdirectory deeper now...
diff --git a/meta-xilinx-standalone/recipes-bsp/libdfeccf/libdfeccf_2024.2.bb b/meta-xilinx-standalone/recipes-bsp/libdfeccf/libdfeccf_2024.2.bb
index 04415f5e..db376e41 100644
--- a/meta-xilinx-standalone/recipes-bsp/libdfeccf/libdfeccf_2024.2.bb
+++ b/meta-xilinx-standalone/recipes-bsp/libdfeccf/libdfeccf_2024.2.bb
@@ -8,8 +8,6 @@ REQUIRED_MACHINE_FEATURES = "rfsoc"
8 8
9FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 9FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
10 10
11S = "${WORKDIR}/git"
12
13PACKAGE_ARCH = "${MACHINE_ARCH}" 11PACKAGE_ARCH = "${MACHINE_ARCH}"
14 12
15DEPENDS = "libmetal" 13DEPENDS = "libmetal"
diff --git a/meta-xilinx-standalone/recipes-bsp/libdfeequ/libdfeequ_2024.2.bb b/meta-xilinx-standalone/recipes-bsp/libdfeequ/libdfeequ_2024.2.bb
index 298621fa..339138e6 100644
--- a/meta-xilinx-standalone/recipes-bsp/libdfeequ/libdfeequ_2024.2.bb
+++ b/meta-xilinx-standalone/recipes-bsp/libdfeequ/libdfeequ_2024.2.bb
@@ -8,8 +8,6 @@ REQUIRED_MACHINE_FEATURES = "rfsoc"
8 8
9FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 9FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
10 10
11S = "${WORKDIR}/git"
12
13PACKAGE_ARCH = "${MACHINE_ARCH}" 11PACKAGE_ARCH = "${MACHINE_ARCH}"
14 12
15DEPENDS = "libmetal" 13DEPENDS = "libmetal"
diff --git a/meta-xilinx-standalone/recipes-bsp/libdfemix/libdfemix_2024.2.bb b/meta-xilinx-standalone/recipes-bsp/libdfemix/libdfemix_2024.2.bb
index cac04c14..75283e50 100644
--- a/meta-xilinx-standalone/recipes-bsp/libdfemix/libdfemix_2024.2.bb
+++ b/meta-xilinx-standalone/recipes-bsp/libdfemix/libdfemix_2024.2.bb
@@ -8,8 +8,6 @@ REQUIRED_MACHINE_FEATURES = "rfsoc"
8 8
9FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 9FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
10 10
11S = "${WORKDIR}/git"
12
13PACKAGE_ARCH = "${MACHINE_ARCH}" 11PACKAGE_ARCH = "${MACHINE_ARCH}"
14 12
15DEPENDS = "libmetal" 13DEPENDS = "libmetal"
diff --git a/meta-xilinx-standalone/recipes-bsp/libdfeofdm/libdfeofdm_2024.2.bb b/meta-xilinx-standalone/recipes-bsp/libdfeofdm/libdfeofdm_2024.2.bb
index e183b853..0adf4f96 100644
--- a/meta-xilinx-standalone/recipes-bsp/libdfeofdm/libdfeofdm_2024.2.bb
+++ b/meta-xilinx-standalone/recipes-bsp/libdfeofdm/libdfeofdm_2024.2.bb
@@ -8,8 +8,6 @@ REQUIRED_MACHINE_FEATURES = "rfsoc"
8 8
9FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 9FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
10 10
11S = "${WORKDIR}/git"
12
13PACKAGE_ARCH = "${MACHINE_ARCH}" 11PACKAGE_ARCH = "${MACHINE_ARCH}"
14 12
15DEPENDS = "libmetal" 13DEPENDS = "libmetal"
diff --git a/meta-xilinx-standalone/recipes-bsp/libdfeprach/libdfeprach_2024.2.bb b/meta-xilinx-standalone/recipes-bsp/libdfeprach/libdfeprach_2024.2.bb
index 570dc6f1..de5e5f11 100644
--- a/meta-xilinx-standalone/recipes-bsp/libdfeprach/libdfeprach_2024.2.bb
+++ b/meta-xilinx-standalone/recipes-bsp/libdfeprach/libdfeprach_2024.2.bb
@@ -8,8 +8,6 @@ REQUIRED_MACHINE_FEATURES = "rfsoc"
8 8
9FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 9FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
10 10
11S = "${WORKDIR}/git"
12
13PACKAGE_ARCH = "${MACHINE_ARCH}" 11PACKAGE_ARCH = "${MACHINE_ARCH}"
14 12
15DEPENDS = "libmetal" 13DEPENDS = "libmetal"
diff --git a/meta-xilinx-standalone/recipes-bsp/librfclk/librfclk_2024.2.bb b/meta-xilinx-standalone/recipes-bsp/librfclk/librfclk_2024.2.bb
index 04ae540d..28c7ee35 100644
--- a/meta-xilinx-standalone/recipes-bsp/librfclk/librfclk_2024.2.bb
+++ b/meta-xilinx-standalone/recipes-bsp/librfclk/librfclk_2024.2.bb
@@ -7,8 +7,6 @@ REQUIRED_MACHINE_FEATURES = "rfsoc"
7 7
8FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 8FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
9 9
10S = "${WORKDIR}/git"
11
12PACKAGE_ARCH = "${MACHINE_ARCH}" 10PACKAGE_ARCH = "${MACHINE_ARCH}"
13 11
14PROVIDES = "librfclk" 12PROVIDES = "librfclk"
diff --git a/meta-xilinx-standalone/recipes-bsp/librfdc/librfdc_2024.2.bb b/meta-xilinx-standalone/recipes-bsp/librfdc/librfdc_2024.2.bb
index 35cd2a1a..b426cf58 100644
--- a/meta-xilinx-standalone/recipes-bsp/librfdc/librfdc_2024.2.bb
+++ b/meta-xilinx-standalone/recipes-bsp/librfdc/librfdc_2024.2.bb
@@ -8,8 +8,6 @@ REQUIRED_MACHINE_FEATURES = "rfsoc"
8 8
9FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 9FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
10 10
11S = "${WORKDIR}/git"
12
13PACKAGE_ARCH = "${MACHINE_ARCH}" 11PACKAGE_ARCH = "${MACHINE_ARCH}"
14 12
15DEPENDS = "libmetal" 13DEPENDS = "libmetal"