diff options
| author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2024-04-30 10:49:03 -0600 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-05-01 17:28:22 -0500 |
| commit | a3eee586ba5cc9528eecc7da2ac4ccc5e6d2324e (patch) | |
| tree | 6e132537be0c1b1b6e9d7e86681bbbe0a934d36c | |
| parent | 8ff0a537f6be5518378cd514ee24fa3ad054bf81 (diff) | |
| download | meta-xilinx-a3eee586ba5cc9528eecc7da2ac4ccc5e6d2324e.tar.gz | |
README.md: Add meta-openamp clone step to README
1. Add meta-openamp clone step to README.
2. Add pre-requisites for SDT generation README.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| -rw-r--r-- | meta-xilinx-standalone-experimental/README.md | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/meta-xilinx-standalone-experimental/README.md b/meta-xilinx-standalone-experimental/README.md index 950e4e12..5ca782bf 100644 --- a/meta-xilinx-standalone-experimental/README.md +++ b/meta-xilinx-standalone-experimental/README.md | |||
| @@ -10,24 +10,33 @@ be buildable, expect APIs to change on various parts and pieces. | |||
| 10 | 10 | ||
| 11 | ## Build Instructions | 11 | ## Build Instructions |
| 12 | 12 | ||
| 13 | > **Note:** | 13 | The Yocto Project setup for the System Device Tree (SDT) workflow is as follows. |
| 14 | Be sure to read everything below. | ||
| 15 | |||
| 16 | > **Pre-requisites:** | ||
| 14 | > * To use this layer you must REMOVE meta-xilinx-tools from your project. | 17 | > * To use this layer you must REMOVE meta-xilinx-tools from your project. |
| 15 | meta-xilinx-tools is not compatible with this experimental approach. You may | 18 | meta-xilinx-tools is not compatible with this experimental approach. You may |
| 16 | also have to remove other layers that depend on meta-xilinx-tools, such as | 19 | also have to remove other layers that depend on meta-xilinx-tools, such as |
| 17 | meta-kria and meta-system-controller. | 20 | meta-kria and meta-system-controller. |
| 21 | > * Follow [System Device Tree Instructions](https://github.com/Xilinx/system-device-tree-xlnx/blob/master/README.md) | ||
| 22 | > to generate the SDT output. | ||
| 18 | > * To use the experimental version of the embedded software (firmware) as well | 23 | > * To use the experimental version of the embedded software (firmware) as well |
| 19 | as system configuration, you must build through gen-machineconf tool. This tool | 24 | as system configuration, you must build through gen-machineconf tool. This tool |
| 20 | is passed a output of system device tree directory. | 25 | is passed a output of system device tree directory. |
| 21 | 26 | ||
| 22 | The Yocto Project setup for the System Device Tree (SDT) workflow is as follows. | 27 | 1. Follow [Building Instructions](../README.building.md) upto step 2. |
| 23 | Be sure to read everything below. | 28 | |
| 29 | 2. Clone the meta-openamp repository. | ||
| 24 | 30 | ||
| 25 | 1. Follow [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) | 31 | ``` |
| 26 | upto step 4. | 32 | $ git clone -b <rel-version> https://github.com/Xilinx/meta-openamp |
| 33 | ``` | ||
| 34 | 3. Continue [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) | ||
| 35 | from step 3 to step 4. | ||
| 27 | 36 | ||
| 28 | 2. Remove meta-xilinx-tools and meta-xilinx-tools dependency layers(such as | 37 | 4. Remove meta-xilinx-tools and meta-xilinx-tools dependency layers(such as |
| 29 | meta-kria and meta-system-controller if included in bblayers.conf), then add | 38 | meta-kria and meta-system-controller if included in bblayers.conf), then add |
| 30 | the meta-xilinx-standalone-experimental layer. | 39 | the meta-xilinx-standalone-experimental and meta-openamp layer. |
| 31 | 40 | ||
| 32 | > **Note:** SDT builds for following devices are not supported in 2024.1 release. | 41 | > **Note:** SDT builds for following devices are not supported in 2024.1 release. |
| 33 | > * Zynq 7000 | 42 | > * Zynq 7000 |
| @@ -40,14 +49,15 @@ $ bitbake-layers remove-layer meta-xilinx-tools | |||
| 40 | $ bitbake-layers remove-layer meta-kria | 49 | $ bitbake-layers remove-layer meta-kria |
| 41 | $ bitbake-layers remove-layer meta-system-controller | 50 | $ bitbake-layers remove-layer meta-system-controller |
| 42 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-standalone-experimental | 51 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-standalone-experimental |
| 52 | $ bitbake-layers add-layer ./<path-to-layer>/meta-openamp | ||
| 43 | ``` | 53 | ``` |
| 44 | 54 | ||
| 45 | 3. Export gen-machineconf tool. | 55 | 5. Export gen-machineconf tool. |
| 46 | ``` | 56 | ``` |
| 47 | $ export PATH=$PATH:<ABSOLUTE_PATH>/gen-machine-conf | 57 | $ export PATH=$PATH:<ABSOLUTE_PATH>/gen-machine-conf |
| 48 | ``` | 58 | ``` |
| 49 | 59 | ||
| 50 | 4. Run the script from the build or ${TOPDIR} directory. This step describes | 60 | 6. Run the script from the build or ${TOPDIR} directory. This step describes |
| 51 | System Device Tree (SDT) with and without pl overlays. Configruations are same | 61 | System Device Tree (SDT) with and without pl overlays. Configruations are same |
| 52 | for both SDT with and without pl overlays except for linux dts content. | 62 | for both SDT with and without pl overlays except for linux dts content. |
| 53 | 63 | ||
| @@ -139,11 +149,11 @@ suggested that you trim this down to only the configurations you require. | |||
| 139 | A minimum configuration is included with the generated configuration. | 149 | A minimum configuration is included with the generated configuration. |
| 140 | 150 | ||
| 141 | 151 | ||
| 142 | 5. Build your project, You should now be able to build your project normally. | 152 | 7. Build your project, You should now be able to build your project normally. |
| 143 | See the Yocto Project documentation if you have questions on how to work with | 153 | See the Yocto Project documentation if you have questions on how to work with |
| 144 | the multiconfig recipes. The following is a simple build for testing. | 154 | the multiconfig recipes. The following is a simple build for testing. |
| 145 | 155 | ||
| 146 | 6. Continue [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) | 156 | 8. Continue [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) |
| 147 | from step 6. | 157 | from step 6. |
| 148 | 158 | ||
| 149 | ## Dependencies | 159 | ## Dependencies |
