diff options
| author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2024-02-12 09:41:25 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-02-13 13:06:18 -0600 |
| commit | 8da9e7c9a49181debb407a882791250726f22dfe (patch) | |
| tree | ffc22941525c4845a2fcc732f874925f4652391e /meta-xilinx-standalone-experimental | |
| parent | a346a37df89644e9ca7036c092f17ef1361b9489 (diff) | |
| download | meta-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.bb | 11 |
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 @@ | |||
| 1 | SUMMARY = "Sample recipe to package and deploy baremetal or freertos elf or bin to linux rootfs" | ||
| 2 | LICENSE = "CLOSED" | ||
| 3 | |||
| 4 | inherit fw-package | ||
| 5 | |||
| 6 | FW_NAME = "hello-world" | ||
| 7 | |||
| 8 | TARGET_MC = "cortexr5-0-zynqmp-baremetal" | ||
| 9 | |||
| 10 | FW_MCDEPENDS := "${@bb.utils.contains('BBMULTICONFIG', '${TARGET_MC}', 'mc::${TARGET_MC}:${FW_NAME}:do_deploy', '', d)}" | ||
| 11 | FW_DEPLOY_DIR := "${@bb.utils.contains('BBMULTICONFIG', '${TARGET_MC}', '${TOPDIR}/tmp-${TARGET_MC}/deploy/images/${MACHINE}', '${DEPLOY_DIR_IMAGE}', d)}" | ||
