diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2021-03-20 16:41:14 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2021-03-20 16:41:14 -0700 |
| commit | 6cc7dc94af09ab83c39d0acaabdadcee995bc5d1 (patch) | |
| tree | 80b93764c93d3e2dd4f851e55ba0ef4b9c0c9266 | |
| parent | 770eb410e21ddbbec943a1a813258d47646efef6 (diff) | |
| download | meta-xilinx-6cc7dc94af09ab83c39d0acaabdadcee995bc5d1.tar.gz | |
meta-xilinx-standalone: Update README.md
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| -rw-r--r-- | meta-xilinx-standalone/README.md | 69 |
1 files changed, 61 insertions, 8 deletions
diff --git a/meta-xilinx-standalone/README.md b/meta-xilinx-standalone/README.md index 50ac9ad7..48b83e1a 100644 --- a/meta-xilinx-standalone/README.md +++ b/meta-xilinx-standalone/README.md | |||
| @@ -2,14 +2,67 @@ meta-xilinx-standalone | |||
| 2 | ====================== | 2 | ====================== |
| 3 | 3 | ||
| 4 | This layer is meant to augment Yocto/OE functionality to provide a | 4 | This layer is meant to augment Yocto/OE functionality to provide a |
| 5 | Baremetal/Standalone Toolchain as well as the foundation for building | 5 | Baremetal/Standalone Toolchain as well as a generic version of various |
| 6 | the embeddedsw components that enable non-Linux software required for | 6 | firmware that is required to boot a ZynqMP or Versal system. |
| 7 | Xilinx based FPGA/SOCs. | 7 | |
| 8 | 8 | For optimized versions of the firmware and additional components you must | |
| 9 | Note, the non-Linux software components are still in development and | 9 | use the meta-xilinx-tools layer. |
| 10 | this should be considered to be a preview release only. For instance, | 10 | |
| 11 | some components may not be buildable, expect APIs to change on various | 11 | Building |
| 12 | parts and pieces. | 12 | -------- |
| 13 | The software in this layer may be used in either a standard single | ||
| 14 | configuration build, or a multiconfig build. A multiconfig build, along | ||
| 15 | with the MACHINES defined in meta-xilinx-bsps will automate the generation | ||
| 16 | of certain firmwares. | ||
| 17 | |||
| 18 | To build standalone toolchains similar to those embedded with the | ||
| 19 | Xilinx xsct tooling: | ||
| 20 | |||
| 21 | Use one of the custom machines: | ||
| 22 | aarch32-tc - 32-bit ARM toolchains (various) | ||
| 23 | aarch64-tc - 64-bit ARM toolchains (various) | ||
| 24 | arm-rm-tc - ARM Cortex-R (and various) | ||
| 25 | microblaze-tc - Microblaze toolchains (various) | ||
| 26 | |||
| 27 | MACHINE=<machine> DISTRO=xilinx-standalone bitbake meta-toolchain | ||
| 28 | |||
| 29 | |||
| 30 | To build the standalone firmware in a standard single configuration build: | ||
| 31 | |||
| 32 | Select a machine: | ||
| 33 | cortexa53-zynqmp - ZynqMP based Cortex-A53 target | ||
| 34 | cortexa72-versal - Versal based Cortex-A72 target | ||
| 35 | cortexa9-zynq - Zynq based cortex-A9 target | ||
| 36 | cortexr5-versal - Versal based Cortex-R5 target | ||
| 37 | cortexr5-zynqmp - ZynqMP based Cortex-R5 target | ||
| 38 | microblaze-versal-fw - Microblaze for Versal PSM/PLM firmware | ||
| 39 | microblaze-zyqmp-pmu - Microblaze for ZynqMP PMU firmware | ||
| 40 | |||
| 41 | To build ZynqMP PMU Firmware: | ||
| 42 | MACHINE=microblaze-zynqmp-pmu DISTRO=xilinx-standalone bitbake pmu-firmware | ||
| 43 | |||
| 44 | To build Versal PLM and PSM Firwmare | ||
| 45 | MACHINE=microblaze-versal-fw DISTRO=xilinx-standalone bitbake plm-firmware psm-firmware | ||
| 46 | |||
| 47 | |||
| 48 | In a multiconfig build, add the following pre-defined multiconfigs to enable | ||
| 49 | firmware building, and automatic packaging by the Linux side software. | ||
| 50 | |||
| 51 | Edit the local.conf file, add: | ||
| 52 | |||
| 53 | # For zynqmp | ||
| 54 | BBMULTICONFIG += "zynqmp-pmufw" | ||
| 55 | |||
| 56 | # For versal | ||
| 57 | BBMULTICONFIG += "versal-fw" | ||
| 58 | |||
| 59 | To build: | ||
| 60 | |||
| 61 | # For zynqmp, select a zynqmp machine or the generic one | ||
| 62 | MACHINE=zynqmp-generic bitbake pmufw | ||
| 63 | |||
| 64 | # For versal, select a versal machine or the generic one | ||
| 65 | MACHINE=versal-generic bitbake plmfw psmfw | ||
| 13 | 66 | ||
| 14 | 67 | ||
| 15 | Maintainers, Mailing list, Patches | 68 | Maintainers, Mailing list, Patches |
