From 3fb0ec778d76d509c30dcf1e07dcdd659f823be7 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Thu, 23 May 2024 09:49:48 -0600 Subject: meta-xilinx-standalone-sdt: Rename from ...-experimental Add symlink to old name for temporarily compatibility. Signed-off-by: Mark Hatle --- .../ddr-self-refresh/ddr-self-refresh_2024.1.bb | 29 ++++++++++++ .../empty-application/empty-application_2024.1.bb | 43 ++++++++++++++++++ .../freertos-hello-world_2024.1.bb | 19 ++++++++ .../freertos-lwip-echo-server_2024.1.bb | 28 ++++++++++++ .../freertos-lwip-tcp-perf-client_2024.1.bb | 28 ++++++++++++ .../freertos-lwip-tcp-perf-server_2024.1.bb | 28 ++++++++++++ .../freertos-lwip-udp-perf-client_2024.1.bb | 28 ++++++++++++ .../freertos-lwip-udp-perf-server_2024.1.bb | 28 ++++++++++++ .../hello-world/hello-world_2024.1.bb | 22 +++++++++ .../lwip-echo-server/lwip-echo-server_2024.1.bb | 28 ++++++++++++ .../lwip-tcp-perf-client_2024.1.bb | 28 ++++++++++++ .../lwip-tcp-perf-server_2024.1.bb | 28 ++++++++++++ .../lwip-udp-perf-client_2024.1.bb | 28 ++++++++++++ .../lwip-udp-perf-server_2024.1.bb | 28 ++++++++++++ .../memory-tests/memory-tests_2024.1.bb | 19 ++++++++ .../openamp-fw/openamp-fw-echo-testd.bb | 6 +++ .../openamp-fw/openamp-fw-mat-muld.bb | 6 +++ .../openamp-fw/openamp-fw-rpc-demo.bb | 9 ++++ .../recipes-applications/openamp-fw/openamp-fw.inc | 27 +++++++++++ .../peripheral-tests/peripheral-tests_2024.1.bb | 53 ++++++++++++++++++++++ .../sample-fw-package/sample-fw-package.bb | 11 +++++ .../srec-bootloader/srec-bootloader_2024.1.bb | 22 +++++++++ .../srec-spi-bootloader_2024.1.bb | 22 +++++++++ .../zynq-dram-test/zynq-dram-test_2024.1.bb | 28 ++++++++++++ .../zynqmp-dram-test/zynqmp-dram-test_2024.1.bb | 28 ++++++++++++ 25 files changed, 624 insertions(+) create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/ddr-self-refresh/ddr-self-refresh_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/empty-application/empty-application_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-hello-world/freertos-hello-world_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/hello-world/hello-world_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/lwip-echo-server/lwip-echo-server_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/memory-tests/memory-tests_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-echo-testd.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-mat-muld.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-rpc-demo.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/peripheral-tests/peripheral-tests_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/sample-fw-package/sample-fw-package.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/srec-bootloader/srec-bootloader_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/srec-spi-bootloader/srec-spi-bootloader_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/zynq-dram-test/zynq-dram-test_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/zynqmp-dram-test/zynqmp-dram-test_2024.1.bb (limited to 'meta-xilinx-standalone-sdt/recipes-applications') 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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/ddr_self_refresh/src/" + +DEPENDS += "libxil xiltimer xilpm" + +ESW_EXECUTABLE_NAME = "ddr_self_refresh" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +do_generate_app_data() { + # This script should also not rely on relative paths and such + cd ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ +} + +addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" + +FILES:${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 @@ +inherit esw deploy python3native + +ESW_COMPONENT_SRC = "/lib/sw_apps/empty_application/src/" + +DEPENDS += "libxil xiltimer" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + install -m 0644 ${CUSTOM_SRCFILE}/* ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + ) +} + +CUSTOM_APP_IMAGE_NAME ??= "custom-application" + +ESW_CUSTOM_LINKER_FILE ?= "None" +EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" + +inherit image-artifact-names + +CUSTOM_APP_BASE_NAME ?= "${CUSTOM_APP_IMAGE_NAME}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${BB_CURRENT_MC}${IMAGE_VERSION_SUFFIX}" + +ESW_COMPONENT ??= "empty_application.elf" + +do_compile:append() { + ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/empty_application.bin +} + +do_install() { + : +} + +do_deploy() { + install -Dm 0644 ${B}/${ESW_COMPONENT} ${DEPLOYDIR}/${CUSTOM_APP_BASE_NAME}.elf + ln -sf ${CUSTOM_APP_BASE_NAME}.elf ${DEPLOYDIR}/${CUSTOM_APP_IMAGE_NAME}-${MACHINE}-${BB_CURRENT_MC}.elf + install -m 0644 ${B}/empty_application.bin ${DEPLOYDIR}/${CUSTOM_APP_BASE_NAME}.bin + ln -sf ${CUSTOM_APP_BASE_NAME}.bin ${DEPLOYDIR}/${CUSTOM_APP_IMAGE_NAME}-${MACHINE}-${BB_CURRENT_MC}.bin +} +addtask 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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_hello_world/src/" + +DEPENDS += "libxil xilstandalone freertos10-xilinx xiltimer" + +ESW_EXECUTABLE_NAME = "freertos_hello_world" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + ) +} + +FILES:${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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_echo_server/src/" + +DEPENDS += "libxil lwip xiltimer freertos10-xilinx" + +ESW_EXECUTABLE_NAME = "freertos_lwip_echo_server" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + ) +} + +do_generate_app_data() { + # This script should also not rely on relative paths and such + cd ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ +} +addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" + +FILES:${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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_client/src/" + +DEPENDS += "libxil lwip xiltimer freertos10-xilinx" + +ESW_EXECUTABLE_NAME = "freertos_lwip_tcp_perf_client" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + ) +} + +do_generate_app_data() { + # This script should also not rely on relative paths and such + cd ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ +} +addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" + +FILES:${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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_server/src/" + +DEPENDS += "libxil lwip xiltimer freertos10-xilinx" + +ESW_EXECUTABLE_NAME = "freertos_lwip_tcp_perf_server" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + ) +} + +do_generate_app_data() { + # This script should also not rely on relative paths and such + cd ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ +} +addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" + +FILES:${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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_client/src/" + +DEPENDS += "libxil lwip xiltimer freertos10-xilinx" + +ESW_EXECUTABLE_NAME = "freertos_lwip_udp_perf_client" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +do_generate_app_data() { + # This script should also not rely on relative paths and such + cd ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ +} +addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" + +FILES:${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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_server/src/" + +DEPENDS += "libxil lwip xiltimer freertos10-xilinx" + +ESW_EXECUTABLE_NAME = "freertos_lwip_udp_perf_server" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +do_generate_app_data() { + # This script should also not rely on relative paths and such + cd ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ +} +addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" + +FILES:${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 @@ +inherit esw deploy python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/hello_world/src/" + +DEPENDS += "libxil xiltimer" + +ESW_EXECUTABLE_NAME = "hello_world" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +ESW_CUSTOM_LINKER_FILE ?= "None" +EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" + +FILES:${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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_echo_server/src/" + +DEPENDS += "libxil lwip xiltimer" + +ESW_EXECUTABLE_NAME = "lwip_echo_server" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +do_generate_app_data() { + # This script should also not rely on relative paths and such + cd ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ +} +addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" + +FILES:${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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_client/src/" + +DEPENDS += "libxil lwip xiltimer" + +ESW_EXECUTABLE_NAME = "lwip_tcp_perf_client" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +do_generate_app_data() { + # This script should also not rely on relative paths and such + cd ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ +} +addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" + +FILES:${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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_server/src/" + +DEPENDS += "libxil lwip xiltimer" + +ESW_EXECUTABLE_NAME = "lwip_tcp_perf_server" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +do_generate_app_data() { + # This script should also not rely on relative paths and such + cd ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ +} +addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" + +FILES:${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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_client/src/" + +DEPENDS += "libxil lwip xiltimer" + +ESW_EXECUTABLE_NAME = "lwip_udp_perf_client" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +do_generate_app_data() { + # This script should also not rely on relative paths and such + cd ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ +} +addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" + +FILES:${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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_server/src/" + +DEPENDS += "libxil lwip xiltimer" + +ESW_EXECUTABLE_NAME = "lwip_udp_perf_server" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +do_generate_app_data() { + # This script should also not rely on relative paths and such + cd ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ +} +addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" + +FILES:${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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/memory_tests/src/" + +DEPENDS += "libxil xiltimer" + +ESW_EXECUTABLE_NAME = "memory_tests" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} memtest + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +FILES:${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 @@ +require openamp-fw.inc + +PROVIDES:append:armv7r = " openamp-fw-echo-testd " + +OPENAMP_FW_SRC_NAME = "rpmsg-echo.out" +OPENAMP_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 @@ +require openamp-fw.inc + +PROVIDES:append:armv7r = " openamp-fw-mat-muld " + +OPENAMP_FW_SRC_NAME = "matrix_multiplyd.out" +OPENAMP_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 @@ +require openamp-fw.inc + +PROVIDES:append:armv7r = " openamp-fw-rpc-demo " + +OPENAMP_FW_SRC_NAME = "rpc_demo.out" +OPENAMP_FW_NAME = "image_rpc_demo" +OPENAMP_WITH_PROXY = "ON" + +# 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 @@ +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" +LICENSE = "MIT" +INSANE_SKIP:${PN} = "arch" + +FW_LIB_DIR = "/lib/firmware" + +OPENAMP_FW_SRC_NAME ?= "rpmsg-echo.out" +OPENAMP_FW_NAME ?= "image_echo_test" + +FW_MACHINE:zynqmp = "cortexr5-0-zynqmp" +FW_MACHINE:versal = "cortexr5-0-versal" +FW_MACHINE:versal-net = "cortexr52-0-versal-net" +FW_OS ?= "baremetal" + +OPENAMP_FW_DEPLOY_DIR ?= "${MC_TMPDIR_PREFIX}-${FW_MACHINE}-${FW_OS}/deploy/images/${MACHINE}" +DEPENDS = " open-amp-xlnx " +do_install[mcdepends] += "mc::${FW_MACHINE}-${FW_OS}:open-amp-xlnx:do_deploy" +do_install() { + install -d ${D}${FW_LIB_DIR} + src=${OPENAMP_FW_DEPLOY_DIR}/${OPENAMP_FW_SRC_NAME} + dest=${D}${FW_LIB_DIR}/${OPENAMP_FW_NAME} + install -m 0644 ${src} ${dest} +} + +do_compile[noexec] = "1" + +FILES:${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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/peripheral_tests/src/" + +DEPENDS += "libxil xiltimer" + +ESW_EXECUTABLE_NAME = "peripheral_tests" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +python do_generate_app_data() { + import glob, subprocess, os + + system_dt = glob.glob(d.getVar('DTS_FILE')) + srcdir = glob.glob(d.getVar('S')) + src_dir = glob.glob(d.getVar('OECMAKE_SOURCEPATH')) + machine = d.getVar('ESW_MACHINE') + + if len(system_dt) == 0: + bb.error("Couldn't find device tree %s" % d.getVar('DTS_FILE')) + + if len(src_dir) == 0: + bb.error("Couldn't find source dir %s" % d.getVar('OECMAKE_SOURCEPATH')) + + driver_name = d.getVar('REQUIRED_MACHINE_FEATURES') + command = ["lopper"] + ["-f"] + ["-O"] + [src_dir[0]] + [system_dt[0]] + ["--"] + ["baremetal_gentestapp_xlnx"] + [machine] + [srcdir[0]] + subprocess.run(command, check = True) +} +addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" + +do_compile:append() { + ${OBJCOPY} -O binary ${B}/${ESW_EXECUTABLE_NAME}.elf ${B}${ESW_EXECUTABLE_NAME}.bin +} + +do_install() { + : +} + +do_deploy() { + install -Dm 0644 ${B}/${ESW_EXECUTABLE_NAME}.elf ${DEPLOYDIR}/${APP_IMAGE_NAME}.elf + ln -sf ${APP_IMAGE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}-${BB_CURRENT_MC}.elf + install -m 0644 ${B}/${ESW_EXECUTABLE_NAME}.bin ${DEPLOYDIR}/${APP_IMAGE_NAME}.bin + ln -sf ${APP_IMAGE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}-${BB_CURRENT_MC}.bin +} 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 @@ +SUMMARY = "Sample recipe to package and deploy baremetal or freertos elf or bin to linux rootfs" +LICENSE = "CLOSED" + +inherit fw-package + +FW_NAME = "hello-world" + +TARGET_MC = "cortexr5-0-zynqmp-baremetal" + +FW_MCDEPENDS := "${@bb.utils.contains('BBMULTICONFIG', '${TARGET_MC}', 'mc::${TARGET_MC}:${FW_NAME}:do_deploy', '', d)}" +FW_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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/srec_bootloader/src/" + +DEPENDS += "libxil xiltimer" + +ESW_EXECUTABLE_NAME = "srec_bootloader" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +ESW_CUSTOM_LINKER_FILE ?= "None" +EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" + +FILES:${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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/srec_spi_bootloader/src/" + +DEPENDS += "libxil xiltimer" + +ESW_EXECUTABLE_NAME = "srec_spi_bootloader" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +ESW_CUSTOM_LINKER_FILE ?= "None" +EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" + +FILES:${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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/zynq_dram_test/src/" + +DEPENDS += "libxil xiltimer" + +ESW_EXECUTABLE_NAME = "zynq_dram_test" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +do_generate_app_data() { + # This script should also not rely on relative paths and such + cd ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ +} +addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" + +FILES:${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 @@ +inherit esw python3native esw_apps_common + +ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_dram_test/src/" + +DEPENDS += "libxil xiltimer" + +ESW_EXECUTABLE_NAME = "zynqmp_dram_test" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +do_generate_app_data() { + # This script should also not rely on relative paths and such + cd ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ +} +addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" + +FILES:${PN} = "${base_libdir}/firmware/zynqmp_dram*" -- cgit v1.2.3-54-g00ecf