diff options
author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2024-11-04 14:33:07 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-11-04 15:34:39 -0600 |
commit | 0900e1afe856fbadfc1eef806113695fd32d3260 (patch) | |
tree | 20e11426496ef5d8b3746f8546031ef2ac6107c7 | |
parent | 3b1165e8870095f5cd6e9d653e12fa3d24d0a3fa (diff) | |
download | meta-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.md | 13 |
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 | ||
17 | 1. Follow [SDT Building Instructions](../meta-xilinx-standalone-sdt/README.sdt.bsp.md) upto step 3. | 17 | 1. Follow [SDT Mulitconfig Building Instructions](../meta-xilinx-standalone-sdt/README.sdt.mc.build.md) |
18 | upto step 3. | ||
18 | 19 | ||
19 | 2. Create recipes-firmware directory in distribution meta layer. | 20 | 2. 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 | |||
23 | 3. Now create the recipes firmware package using recipetool. | 25 | 3. 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 | |||
27 | 4. Modify the recipe and inherit fw-package bbclass as shown below. | 30 | 4. 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 | ``` |
41 | SUMMARY = "Recipe to package and deploy baremetal or freertos elf or bin to linux rootfs" | 44 | SUMMARY = "Recipe to package and deploy baremetal or freertos elf or bin to linux rootfs" |
@@ -45,7 +48,7 @@ inherit fw-package | |||
45 | 48 | ||
46 | FW_NAME = "hello-world" | 49 | FW_NAME = "hello-world" |
47 | 50 | ||
48 | TARGET_MC = "cortexr5-0-zynqmp-baremetal" | 51 | TARGET_MC = "<soc-family>-<board-name>-sdt-<design-name>-cortexr5-0-baremetal" |
49 | 52 | ||
50 | FW_MCDEPENDS := "mc::${TARGET_MC}:${FW_NAME}:do_deploy" | 53 | FW_MCDEPENDS := "mc::${TARGET_MC}:${FW_NAME}:do_deploy" |
51 | FW_DEPLOY_DIR := "${TOPDIR}/tmp-${TARGET_MC}/deploy/images/${MACHINE}" | 54 | FW_DEPLOY_DIR := "${TOPDIR}/tmp-${TARGET_MC}/deploy/images/${MACHINE}" |