summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2024-11-04 14:33:07 -0700
committerMark Hatle <mark.hatle@amd.com>2024-11-04 15:34:39 -0600
commit0900e1afe856fbadfc1eef806113695fd32d3260 (patch)
tree20e11426496ef5d8b3746f8546031ef2ac6107c7
parent3b1165e8870095f5cd6e9d653e12fa3d24d0a3fa (diff)
downloadmeta-xilinx-0900e1afe856fbadfc1eef806113695fd32d3260.tar.gz
README.fw.package.md: Update fw package instructions
Add links to SDT Multiconfig build instrcution before packaging and deploying the fw applications. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--docs/README.fw.package.md13
1 files changed, 8 insertions, 5 deletions
diff --git a/docs/README.fw.package.md b/docs/README.fw.package.md
index cdbd7fea..696687d6 100644
--- a/docs/README.fw.package.md
+++ b/docs/README.fw.package.md
@@ -14,16 +14,19 @@ filesystem.
14 14
15## How to create and install firmware package recipe 15## How to create and install firmware package recipe
16 16
171. Follow [SDT Building Instructions](../meta-xilinx-standalone-sdt/README.sdt.bsp.md) upto step 3. 171. Follow [SDT Mulitconfig Building Instructions](../meta-xilinx-standalone-sdt/README.sdt.mc.build.md)
18 upto step 3.
18 19
192. Create recipes-firmware directory in distribution meta layer. 202. Create recipes-firmware directory in distribution meta layer.
20``` 21```
21$ mkdir -p <meta-layer>/recipes-firmware/<firmware-package-name>/ 22$ mkdir -p <meta-layer>/recipes-firmware/<firmware-package-name>/
22``` 23```
24
233. Now create the recipes firmware package using recipetool. 253. Now create the recipes firmware package using recipetool.
24``` 26```
25$ recipetool create -o <meta-layer>/recipes-firmware/<firmware-package-name>/firmware-package-name.bb 27$ recipetool create -o <meta-layer>/recipes-firmware/<firmware-package-name>/firmware-package-name.bb
26``` 28```
29
274. Modify the recipe and inherit fw-package bbclass as shown below. 304. Modify the recipe and inherit fw-package bbclass as shown below.
28 31
29> **Note:** 32> **Note:**
@@ -33,9 +36,9 @@ $ recipetool create -o <meta-layer>/recipes-firmware/<firmware-package-name>/fir
33> * **FW_NAME:** Variable to define firmware baremetal or freertos application 36> * **FW_NAME:** Variable to define firmware baremetal or freertos application
34> recipe name. 37> recipe name.
35> * **TARGET_MC:** Variable to define one of the multiconfig target name 38> * **TARGET_MC:** Variable to define one of the multiconfig target name
36> (ex: cortexr5-0-zynqmp-baremetal) from the BBMULTICONFIG list 39> (ex: <soc-family>-<board-name>-sdt-<design-name>-cortexr5-0-baremetal)
37> generated at [SDT Building Instructions](../meta-xilinx-standalone-sdt/README.sdt.bsp.md) 40> from the BBMULTICONFIG list generated at [SDT Mulitconfig Building Instructions](../meta-xilinx-standalone-sdt/README.sdt.mc.build.md)
38> step 4. 41> step 2.
39 42
40``` 43```
41SUMMARY = "Recipe to package and deploy baremetal or freertos elf or bin to linux rootfs" 44SUMMARY = "Recipe to package and deploy baremetal or freertos elf or bin to linux rootfs"
@@ -45,7 +48,7 @@ inherit fw-package
45 48
46FW_NAME = "hello-world" 49FW_NAME = "hello-world"
47 50
48TARGET_MC = "cortexr5-0-zynqmp-baremetal" 51TARGET_MC = "<soc-family>-<board-name>-sdt-<design-name>-cortexr5-0-baremetal"
49 52
50FW_MCDEPENDS := "mc::${TARGET_MC}:${FW_NAME}:do_deploy" 53FW_MCDEPENDS := "mc::${TARGET_MC}:${FW_NAME}:do_deploy"
51FW_DEPLOY_DIR := "${TOPDIR}/tmp-${TARGET_MC}/deploy/images/${MACHINE}" 54FW_DEPLOY_DIR := "${TOPDIR}/tmp-${TARGET_MC}/deploy/images/${MACHINE}"