summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-sdt/recipes-applications
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2024-05-23 09:49:48 -0600
committerMark Hatle <mark.hatle@amd.com>2024-11-21 10:43:43 -0600
commit3fb0ec778d76d509c30dcf1e07dcdd659f823be7 (patch)
treecbc9c3a8458add6f673b3124ccbd8688767c934e /meta-xilinx-standalone-sdt/recipes-applications
parentafad32c5d133a1f8a6e59e51d228161b9f47bb10 (diff)
downloadmeta-xilinx-3fb0ec778d76d509c30dcf1e07dcdd659f823be7.tar.gz
meta-xilinx-standalone-sdt: Rename from ...-experimental
Add symlink to old name for temporarily compatibility. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone-sdt/recipes-applications')
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/ddr-self-refresh/ddr-self-refresh_2024.1.bb29
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/empty-application/empty-application_2024.1.bb43
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/freertos-hello-world/freertos-hello-world_2024.1.bb19
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_2024.1.bb28
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_2024.1.bb28
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_2024.1.bb28
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_2024.1.bb28
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_2024.1.bb28
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/hello-world/hello-world_2024.1.bb22
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/lwip-echo-server/lwip-echo-server_2024.1.bb28
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_2024.1.bb28
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_2024.1.bb28
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_2024.1.bb28
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_2024.1.bb28
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/memory-tests/memory-tests_2024.1.bb19
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-echo-testd.bb6
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-mat-muld.bb6
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-rpc-demo.bb9
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc27
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/peripheral-tests/peripheral-tests_2024.1.bb53
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/sample-fw-package/sample-fw-package.bb11
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/srec-bootloader/srec-bootloader_2024.1.bb22
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/srec-spi-bootloader/srec-spi-bootloader_2024.1.bb22
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/zynq-dram-test/zynq-dram-test_2024.1.bb28
-rw-r--r--meta-xilinx-standalone-sdt/recipes-applications/zynqmp-dram-test/zynqmp-dram-test_2024.1.bb28
25 files changed, 624 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/ddr-self-refresh/ddr-self-refresh_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/ddr-self-refresh/ddr-self-refresh_2024.1.bb
new file mode 100644
index 00000000..4287bb0a
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/ddr-self-refresh/ddr-self-refresh_2024.1.bb
@@ -0,0 +1,29 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/ddr_self_refresh/src/"
4
5DEPENDS += "libxil xiltimer xilpm"
6
7ESW_EXECUTABLE_NAME = "ddr_self_refresh"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
15 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
16 )
17}
18
19do_generate_app_data() {
20 # This script should also not rely on relative paths and such
21 cd ${S}
22 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
23 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
24}
25
26addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
27do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
28
29FILES:${PN} = "${base_libdir}/firmware/ddr_self_refresh*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/empty-application/empty-application_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/empty-application/empty-application_2024.1.bb
new file mode 100644
index 00000000..2c70796a
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/empty-application/empty-application_2024.1.bb
@@ -0,0 +1,43 @@
1inherit esw deploy python3native
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/empty_application/src/"
4
5DEPENDS += "libxil xiltimer"
6
7do_configure:prepend() {
8 (
9 cd ${S}
10 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
11 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
12 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
13 install -m 0644 ${CUSTOM_SRCFILE}/* ${S}/${ESW_COMPONENT_SRC}/
14 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
15 )
16}
17
18CUSTOM_APP_IMAGE_NAME ??= "custom-application"
19
20ESW_CUSTOM_LINKER_FILE ?= "None"
21EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}"
22
23inherit image-artifact-names
24
25CUSTOM_APP_BASE_NAME ?= "${CUSTOM_APP_IMAGE_NAME}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${BB_CURRENT_MC}${IMAGE_VERSION_SUFFIX}"
26
27ESW_COMPONENT ??= "empty_application.elf"
28
29do_compile:append() {
30 ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/empty_application.bin
31}
32
33do_install() {
34 :
35}
36
37do_deploy() {
38 install -Dm 0644 ${B}/${ESW_COMPONENT} ${DEPLOYDIR}/${CUSTOM_APP_BASE_NAME}.elf
39 ln -sf ${CUSTOM_APP_BASE_NAME}.elf ${DEPLOYDIR}/${CUSTOM_APP_IMAGE_NAME}-${MACHINE}-${BB_CURRENT_MC}.elf
40 install -m 0644 ${B}/empty_application.bin ${DEPLOYDIR}/${CUSTOM_APP_BASE_NAME}.bin
41 ln -sf ${CUSTOM_APP_BASE_NAME}.bin ${DEPLOYDIR}/${CUSTOM_APP_IMAGE_NAME}-${MACHINE}-${BB_CURRENT_MC}.bin
42}
43addtask deploy before do_build after do_install
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/freertos-hello-world/freertos-hello-world_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/freertos-hello-world/freertos-hello-world_2024.1.bb
new file mode 100644
index 00000000..97d2ba0a
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/freertos-hello-world/freertos-hello-world_2024.1.bb
@@ -0,0 +1,19 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_hello_world/src/"
4
5DEPENDS += "libxil xilstandalone freertos10-xilinx xiltimer"
6
7ESW_EXECUTABLE_NAME = "freertos_hello_world"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
14 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
15 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
16 )
17}
18
19FILES:${PN} = "${base_libdir}/firmware/freertos_hello_world*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_2024.1.bb
new file mode 100644
index 00000000..58d5b9c7
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_2024.1.bb
@@ -0,0 +1,28 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_echo_server/src/"
4
5DEPENDS += "libxil lwip xiltimer freertos10-xilinx"
6
7ESW_EXECUTABLE_NAME = "freertos_lwip_echo_server"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
14 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
15 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
16 )
17}
18
19do_generate_app_data() {
20 # This script should also not rely on relative paths and such
21 cd ${S}
22 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
23 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
24}
25addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
26do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
27
28FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_echo*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_2024.1.bb
new file mode 100644
index 00000000..5c00254c
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_2024.1.bb
@@ -0,0 +1,28 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_client/src/"
4
5DEPENDS += "libxil lwip xiltimer freertos10-xilinx"
6
7ESW_EXECUTABLE_NAME = "freertos_lwip_tcp_perf_client"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
14 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
15 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
16 )
17}
18
19do_generate_app_data() {
20 # This script should also not rely on relative paths and such
21 cd ${S}
22 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
23 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
24}
25addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
26do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
27
28FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_tcp_perf_client*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_2024.1.bb
new file mode 100644
index 00000000..910a6fa2
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_2024.1.bb
@@ -0,0 +1,28 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_server/src/"
4
5DEPENDS += "libxil lwip xiltimer freertos10-xilinx"
6
7ESW_EXECUTABLE_NAME = "freertos_lwip_tcp_perf_server"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
14 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
15 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
16 )
17}
18
19do_generate_app_data() {
20 # This script should also not rely on relative paths and such
21 cd ${S}
22 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
23 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
24}
25addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
26do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
27
28FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_tcp_perf_server*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_2024.1.bb
new file mode 100644
index 00000000..c20d640d
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_2024.1.bb
@@ -0,0 +1,28 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_client/src/"
4
5DEPENDS += "libxil lwip xiltimer freertos10-xilinx"
6
7ESW_EXECUTABLE_NAME = "freertos_lwip_udp_perf_client"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
15 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
16 )
17}
18
19do_generate_app_data() {
20 # This script should also not rely on relative paths and such
21 cd ${S}
22 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
23 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
24}
25addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
26do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
27
28FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_udp_perf_client*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_2024.1.bb
new file mode 100644
index 00000000..194b0565
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_2024.1.bb
@@ -0,0 +1,28 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_server/src/"
4
5DEPENDS += "libxil lwip xiltimer freertos10-xilinx"
6
7ESW_EXECUTABLE_NAME = "freertos_lwip_udp_perf_server"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
15 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
16 )
17}
18
19do_generate_app_data() {
20 # This script should also not rely on relative paths and such
21 cd ${S}
22 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
23 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
24}
25addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
26do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
27
28FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_udp_perf_server*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/hello-world/hello-world_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/hello-world/hello-world_2024.1.bb
new file mode 100644
index 00000000..ee0afec5
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/hello-world/hello-world_2024.1.bb
@@ -0,0 +1,22 @@
1inherit esw deploy python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/hello_world/src/"
4
5DEPENDS += "libxil xiltimer"
6
7ESW_EXECUTABLE_NAME = "hello_world"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
15 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
16 )
17}
18
19ESW_CUSTOM_LINKER_FILE ?= "None"
20EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}"
21
22FILES:${PN} = "${base_libdir}/firmware/hello_world*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/lwip-echo-server/lwip-echo-server_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/lwip-echo-server/lwip-echo-server_2024.1.bb
new file mode 100644
index 00000000..f3397f7f
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/lwip-echo-server/lwip-echo-server_2024.1.bb
@@ -0,0 +1,28 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_echo_server/src/"
4
5DEPENDS += "libxil lwip xiltimer"
6
7ESW_EXECUTABLE_NAME = "lwip_echo_server"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
15 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
16 )
17}
18
19do_generate_app_data() {
20 # This script should also not rely on relative paths and such
21 cd ${S}
22 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
23 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
24}
25addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
26do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
27
28FILES:${PN} = "${base_libdir}/firmware/lwip_echo*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_2024.1.bb
new file mode 100644
index 00000000..bc90046e
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_2024.1.bb
@@ -0,0 +1,28 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_client/src/"
4
5DEPENDS += "libxil lwip xiltimer"
6
7ESW_EXECUTABLE_NAME = "lwip_tcp_perf_client"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
15 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
16 )
17}
18
19do_generate_app_data() {
20 # This script should also not rely on relative paths and such
21 cd ${S}
22 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
23 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
24}
25addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
26do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
27
28FILES:${PN} = "${base_libdir}/firmware/lwip_tcp_perf_client*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_2024.1.bb
new file mode 100644
index 00000000..5c9cd5fa
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_2024.1.bb
@@ -0,0 +1,28 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_server/src/"
4
5DEPENDS += "libxil lwip xiltimer"
6
7ESW_EXECUTABLE_NAME = "lwip_tcp_perf_server"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
15 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
16 )
17}
18
19do_generate_app_data() {
20 # This script should also not rely on relative paths and such
21 cd ${S}
22 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
23 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
24}
25addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
26do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
27
28FILES:${PN} = "${base_libdir}/firmware/lwip_tcp_perf_server*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_2024.1.bb
new file mode 100644
index 00000000..2855b08c
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_2024.1.bb
@@ -0,0 +1,28 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_client/src/"
4
5DEPENDS += "libxil lwip xiltimer"
6
7ESW_EXECUTABLE_NAME = "lwip_udp_perf_client"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
15 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
16 )
17}
18
19do_generate_app_data() {
20 # This script should also not rely on relative paths and such
21 cd ${S}
22 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
23 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
24}
25addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
26do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
27
28FILES:${PN} = "${base_libdir}/firmware/lwip_udp_perf_client*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_2024.1.bb
new file mode 100644
index 00000000..149e7a6c
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_2024.1.bb
@@ -0,0 +1,28 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_server/src/"
4
5DEPENDS += "libxil lwip xiltimer"
6
7ESW_EXECUTABLE_NAME = "lwip_udp_perf_server"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
15 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
16 )
17}
18
19do_generate_app_data() {
20 # This script should also not rely on relative paths and such
21 cd ${S}
22 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
23 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
24}
25addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
26do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
27
28FILES:${PN} = "${base_libdir}/firmware/lwip_udp_perf_server*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/memory-tests/memory-tests_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/memory-tests/memory-tests_2024.1.bb
new file mode 100644
index 00000000..8420171b
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/memory-tests/memory-tests_2024.1.bb
@@ -0,0 +1,19 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/memory_tests/src/"
4
5DEPENDS += "libxil xiltimer"
6
7ESW_EXECUTABLE_NAME = "memory_tests"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} memtest
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
15 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
16 )
17}
18
19FILES:${PN} = "${base_libdir}/firmware/memory_tests*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-echo-testd.bb b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-echo-testd.bb
new file mode 100644
index 00000000..58f08bf2
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-echo-testd.bb
@@ -0,0 +1,6 @@
1require openamp-fw.inc
2
3PROVIDES:append:armv7r = " openamp-fw-echo-testd "
4
5OPENAMP_FW_SRC_NAME = "rpmsg-echo.out"
6OPENAMP_FW_NAME = "image_echo_test"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-mat-muld.bb b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-mat-muld.bb
new file mode 100644
index 00000000..c8d4382d
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-mat-muld.bb
@@ -0,0 +1,6 @@
1require openamp-fw.inc
2
3PROVIDES:append:armv7r = " openamp-fw-mat-muld "
4
5OPENAMP_FW_SRC_NAME = "matrix_multiplyd.out"
6OPENAMP_FW_NAME = "image_matrix_multiply"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-rpc-demo.bb b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-rpc-demo.bb
new file mode 100644
index 00000000..4efdb4c6
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-rpc-demo.bb
@@ -0,0 +1,9 @@
1require openamp-fw.inc
2
3PROVIDES:append:armv7r = " openamp-fw-rpc-demo "
4
5OPENAMP_FW_SRC_NAME = "rpc_demo.out"
6OPENAMP_FW_NAME = "image_rpc_demo"
7OPENAMP_WITH_PROXY = "ON"
8
9# NOTE: BSP should have flag ESW_CFLAGS:append = " -DUNDEFINE_FILE_OPS=1 "
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc
new file mode 100644
index 00000000..398f8dce
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc
@@ -0,0 +1,27 @@
1LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
2LICENSE = "MIT"
3INSANE_SKIP:${PN} = "arch"
4
5FW_LIB_DIR = "/lib/firmware"
6
7OPENAMP_FW_SRC_NAME ?= "rpmsg-echo.out"
8OPENAMP_FW_NAME ?= "image_echo_test"
9
10FW_MACHINE:zynqmp = "cortexr5-0-zynqmp"
11FW_MACHINE:versal = "cortexr5-0-versal"
12FW_MACHINE:versal-net = "cortexr52-0-versal-net"
13FW_OS ?= "baremetal"
14
15OPENAMP_FW_DEPLOY_DIR ?= "${MC_TMPDIR_PREFIX}-${FW_MACHINE}-${FW_OS}/deploy/images/${MACHINE}"
16DEPENDS = " open-amp-xlnx "
17do_install[mcdepends] += "mc::${FW_MACHINE}-${FW_OS}:open-amp-xlnx:do_deploy"
18do_install() {
19 install -d ${D}${FW_LIB_DIR}
20 src=${OPENAMP_FW_DEPLOY_DIR}/${OPENAMP_FW_SRC_NAME}
21 dest=${D}${FW_LIB_DIR}/${OPENAMP_FW_NAME}
22 install -m 0644 ${src} ${dest}
23}
24
25do_compile[noexec] = "1"
26
27FILES:${PN} = "/lib/firmware/${OPENAMP_FW_NAME}"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/peripheral-tests/peripheral-tests_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/peripheral-tests/peripheral-tests_2024.1.bb
new file mode 100644
index 00000000..d2fb106a
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/peripheral-tests/peripheral-tests_2024.1.bb
@@ -0,0 +1,53 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/peripheral_tests/src/"
4
5DEPENDS += "libxil xiltimer"
6
7ESW_EXECUTABLE_NAME = "peripheral_tests"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
15 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
16 )
17}
18
19python do_generate_app_data() {
20 import glob, subprocess, os
21
22 system_dt = glob.glob(d.getVar('DTS_FILE'))
23 srcdir = glob.glob(d.getVar('S'))
24 src_dir = glob.glob(d.getVar('OECMAKE_SOURCEPATH'))
25 machine = d.getVar('ESW_MACHINE')
26
27 if len(system_dt) == 0:
28 bb.error("Couldn't find device tree %s" % d.getVar('DTS_FILE'))
29
30 if len(src_dir) == 0:
31 bb.error("Couldn't find source dir %s" % d.getVar('OECMAKE_SOURCEPATH'))
32
33 driver_name = d.getVar('REQUIRED_MACHINE_FEATURES')
34 command = ["lopper"] + ["-f"] + ["-O"] + [src_dir[0]] + [system_dt[0]] + ["--"] + ["baremetal_gentestapp_xlnx"] + [machine] + [srcdir[0]]
35 subprocess.run(command, check = True)
36}
37addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
38do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
39
40do_compile:append() {
41 ${OBJCOPY} -O binary ${B}/${ESW_EXECUTABLE_NAME}.elf ${B}${ESW_EXECUTABLE_NAME}.bin
42}
43
44do_install() {
45 :
46}
47
48do_deploy() {
49 install -Dm 0644 ${B}/${ESW_EXECUTABLE_NAME}.elf ${DEPLOYDIR}/${APP_IMAGE_NAME}.elf
50 ln -sf ${APP_IMAGE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}-${BB_CURRENT_MC}.elf
51 install -m 0644 ${B}/${ESW_EXECUTABLE_NAME}.bin ${DEPLOYDIR}/${APP_IMAGE_NAME}.bin
52 ln -sf ${APP_IMAGE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}-${BB_CURRENT_MC}.bin
53}
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/sample-fw-package/sample-fw-package.bb b/meta-xilinx-standalone-sdt/recipes-applications/sample-fw-package/sample-fw-package.bb
new file mode 100644
index 00000000..5def36c3
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/sample-fw-package/sample-fw-package.bb
@@ -0,0 +1,11 @@
1SUMMARY = "Sample recipe to package and deploy baremetal or freertos elf or bin to linux rootfs"
2LICENSE = "CLOSED"
3
4inherit fw-package
5
6FW_NAME = "hello-world"
7
8TARGET_MC = "cortexr5-0-zynqmp-baremetal"
9
10FW_MCDEPENDS := "${@bb.utils.contains('BBMULTICONFIG', '${TARGET_MC}', 'mc::${TARGET_MC}:${FW_NAME}:do_deploy', '', d)}"
11FW_DEPLOY_DIR := "${@bb.utils.contains('BBMULTICONFIG', '${TARGET_MC}', '${TOPDIR}/tmp-${TARGET_MC}/deploy/images/${MACHINE}', '${DEPLOY_DIR_IMAGE}', d)}"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/srec-bootloader/srec-bootloader_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/srec-bootloader/srec-bootloader_2024.1.bb
new file mode 100644
index 00000000..03ada8c1
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/srec-bootloader/srec-bootloader_2024.1.bb
@@ -0,0 +1,22 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/srec_bootloader/src/"
4
5DEPENDS += "libxil xiltimer"
6
7ESW_EXECUTABLE_NAME = "srec_bootloader"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
15 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
16 )
17}
18
19ESW_CUSTOM_LINKER_FILE ?= "None"
20EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}"
21
22FILES:${PN} = "${base_libdir}/firmware/srec_bootloader*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/srec-spi-bootloader/srec-spi-bootloader_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/srec-spi-bootloader/srec-spi-bootloader_2024.1.bb
new file mode 100644
index 00000000..e6f29570
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/srec-spi-bootloader/srec-spi-bootloader_2024.1.bb
@@ -0,0 +1,22 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/srec_spi_bootloader/src/"
4
5DEPENDS += "libxil xiltimer"
6
7ESW_EXECUTABLE_NAME = "srec_spi_bootloader"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
15 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
16 )
17}
18
19ESW_CUSTOM_LINKER_FILE ?= "None"
20EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}"
21
22FILES:${PN} = "${base_libdir}/firmware/srec_spi_bootloader*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/zynq-dram-test/zynq-dram-test_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/zynq-dram-test/zynq-dram-test_2024.1.bb
new file mode 100644
index 00000000..8e0b0c06
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/zynq-dram-test/zynq-dram-test_2024.1.bb
@@ -0,0 +1,28 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/zynq_dram_test/src/"
4
5DEPENDS += "libxil xiltimer"
6
7ESW_EXECUTABLE_NAME = "zynq_dram_test"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
15 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
16 )
17}
18
19do_generate_app_data() {
20 # This script should also not rely on relative paths and such
21 cd ${S}
22 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
23 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
24}
25addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
26do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
27
28FILES:${PN} = "${base_libdir}/firmware/zynq_dram*"
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/zynqmp-dram-test/zynqmp-dram-test_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/zynqmp-dram-test/zynqmp-dram-test_2024.1.bb
new file mode 100644
index 00000000..25215801
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-applications/zynqmp-dram-test/zynqmp-dram-test_2024.1.bb
@@ -0,0 +1,28 @@
1inherit esw python3native esw_apps_common
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_dram_test/src/"
4
5DEPENDS += "libxil xiltimer"
6
7ESW_EXECUTABLE_NAME = "zynqmp_dram_test"
8
9do_configure:prepend() {
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
15 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
16 )
17}
18
19do_generate_app_data() {
20 # This script should also not rely on relative paths and such
21 cd ${S}
22 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
23 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
24}
25addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
26do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
27
28FILES:${PN} = "${base_libdir}/firmware/zynqmp_dram*"