summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-experimental
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2024-02-12 09:41:25 -0700
committerMark Hatle <mark.hatle@amd.com>2024-02-13 13:06:18 -0600
commit8da9e7c9a49181debb407a882791250726f22dfe (patch)
treeffc22941525c4845a2fcc732f874925f4652391e /meta-xilinx-standalone-experimental
parenta346a37df89644e9ca7036c092f17ef1361b9489 (diff)
downloadmeta-xilinx-8da9e7c9a49181debb407a882791250726f22dfe.tar.gz
sample-fw-package: Sample recipe for hello world elf packaging
Add sample recipe for cortexr5-0-zynqmp-baremetal multiconfig target hello world baremetal elf or bin to package and deploy to linux root filesystem under /lib/firmware/xilinx directory. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental')
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/sample-fw-package/sample-fw-package.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/sample-fw-package/sample-fw-package.bb b/meta-xilinx-standalone-experimental/recipes-applications/sample-fw-package/sample-fw-package.bb
new file mode 100644
index 00000000..5def36c3
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/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)}"