diff options
| author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2024-01-16 18:50:12 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-01-18 12:55:48 -0600 |
| commit | ed6185d9c15cd8023bd23f0aa2cd23c2e479b579 (patch) | |
| tree | a7b958f42ea845c44db1d4baf2e36fb2ff6feeaf /meta-xilinx-standalone-experimental | |
| parent | c7c20ed672f6998042058a4cccebea2bdd889315 (diff) | |
| download | meta-xilinx-ed6185d9c15cd8023bd23f0aa2cd23c2e479b579.tar.gz | |
README.md: Update SDT pl overlay instructions
1. Update SDT pl overlay build instructions.
2. Add note on supported devices for 2024.1 release.
3. Update README with new --multiconfigfull option.
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/README.md | 45 |
1 files changed, 36 insertions, 9 deletions
diff --git a/meta-xilinx-standalone-experimental/README.md b/meta-xilinx-standalone-experimental/README.md index 90f893cf..f315449f 100644 --- a/meta-xilinx-standalone-experimental/README.md +++ b/meta-xilinx-standalone-experimental/README.md | |||
| @@ -19,7 +19,7 @@ meta-kria and meta-system-controller. | |||
| 19 | as system configuration, you must build through gen-machineconf tool. This tool | 19 | as system configuration, you must build through gen-machineconf tool. This tool |
| 20 | is passed a output of system device tree directory. | 20 | is passed a output of system device tree directory. |
| 21 | 21 | ||
| 22 | The Yocto Project setup for the System Device Tree workflow is as follows. | 22 | The Yocto Project setup for the System Device Tree (SDT) workflow is as follows. |
| 23 | Be sure to read everything below. | 23 | Be sure to read everything below. |
| 24 | 24 | ||
| 25 | 1. Follow [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) | 25 | 1. Follow [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) |
| @@ -28,6 +28,13 @@ Be sure to read everything below. | |||
| 28 | 2. Remove meta-xilinx-tools and meta-xilinx-tools dependency layers(such as | 28 | 2. 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 | 29 | meta-kria and meta-system-controller if included in bblayers.conf), then add |
| 30 | the meta-xilinx-standalone-experimental layer. | 30 | the meta-xilinx-standalone-experimental layer. |
| 31 | |||
| 32 | > **Note:** SDT builds for following devices are not supported in 2024.1 release. | ||
| 33 | > * Zynq 7000 | ||
| 34 | > * MicoBlaze | ||
| 35 | > * Kria | ||
| 36 | > * System Controller | ||
| 37 | |||
| 31 | ``` | 38 | ``` |
| 32 | $ bitbake-layers remove-layer meta-xilinx-tools | 39 | $ bitbake-layers remove-layer meta-xilinx-tools |
| 33 | $ bitbake-layers remove-layer meta-kria | 40 | $ bitbake-layers remove-layer meta-kria |
| @@ -40,16 +47,36 @@ $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-standalone- | |||
| 40 | $ export PATH=$PATH:<ABSOLUTE_PATH>/gen-machine-conf | 47 | $ export PATH=$PATH:<ABSOLUTE_PATH>/gen-machine-conf |
| 41 | ``` | 48 | ``` |
| 42 | 49 | ||
| 43 | 4. Run the script from the build or ${TOPDIR} directory. | 50 | 4. Run the script from the build or ${TOPDIR} directory. This step describes |
| 44 | ``` | 51 | System Device Tree (SDT) with and without pl overlays. Configruations are same |
| 45 | $ gen-machineconf --hw-description <path_to_sdtgen_output_directory> -c <conf> -l conf/local.conf | 52 | for both SDT with and without pl overlays except for linux dts content. |
| 46 | ``` | 53 | |
| 47 | > **Note:** | 54 | > **Note:** |
| 48 | > 1. The -l option will automatically add the necessary parameters to the | 55 | > 1. The -l option will automatically add the necessary parameters to the |
| 49 | local.conf file. If you need to re-run this comment, you just clear the | 56 | local.conf file. If you need to re-run this comment, you just clear the |
| 50 | parameters from the end of the file. Without the -l option the items are | 57 | parameters from the end of the file. Without the -l option the items are |
| 51 | printed to the screen and must be manually added to your conf/local.conf | 58 | printed to the screen and must be manually added to your conf/local.conf |
| 52 | > 2. The --soc-family argument is an optional argument and user can skip this. | 59 | > 2. The --soc-family argument is an optional argument and user can skip this. |
| 60 | > 3. By default minimal set of multiconfigs are generated by gen-machineconf tool. | ||
| 61 | > To enable full multiconfig(APU/RPU baremetal or FreeRTOS) then use | ||
| 62 | > `--multiconfigfull` option. | ||
| 63 | |||
| 64 | a. Without SDT pl overlay: | ||
| 65 | ``` | ||
| 66 | $ gen-machineconf --hw-description <path_to_sdtgen_output_directory> -c <conf> -l conf/local.conf | ||
| 67 | ``` | ||
| 68 | |||
| 69 | b. With SDT pl overlay: | ||
| 70 | To generate SDT pl overlay run gen-machineconf command with | ||
| 71 | `-g {full|dfx-static|dfx-partial}` option. Once SDT pl overlay command is | ||
| 72 | executed successfully pl.dtsi will be generated under | ||
| 73 | <conf>/dts/${MACHINE}/pl-overlay-{full|dfx-static|dfx-partial} directory. | ||
| 74 | User can use this pl.dtsi as input to firmware recipes. | ||
| 75 | |||
| 76 | * ZynqMP Full bitstream or Versal Segmented Configuration: | ||
| 77 | ``` | ||
| 78 | $ gen-machineconf parse-sdt --hw-description <path_to_sdtgen_output_directory> -c <conf> -l conf/local.conf -g full | ||
| 79 | ``` | ||
| 53 | 80 | ||
| 54 | For example, zynqmp: | 81 | For example, zynqmp: |
| 55 | ``` | 82 | ``` |
| @@ -72,9 +99,9 @@ BASE_TMPDIR ?= "${TOPDIR}" | |||
| 72 | 99 | ||
| 73 | # The following is the full set of multiconfigs for this configuration | 100 | # The following is the full set of multiconfigs for this configuration |
| 74 | # A large list can cause a slow parse. | 101 | # A large list can cause a slow parse. |
| 75 | BBMULTICONFIG = " cortexa53-0-zynqmp-fsbl-baremetal cortexa53-0-zynqmp-baremetal cortexa53-0-zynqmp-freertos cortexa53-1-zynqmp-baremetal cortexa53-1-zynqmp-freertos cortexa53-2-zynqmp-baremetal cortexa53-2-zynqmp-freertos cortexa53-3-zynqmp-baremetal cortexa53-3-zynqmp-freertos cortexr5-0-zynqmp-fsbl-baremetal cortexr5-0-zynqmp-baremetal cortexr5-0-zynqmp-freertos cortexr5-1-zynqmp-baremetal cortexr5-1-zynqmp-freertos microblaze-0-pmu" | 102 | #BBMULTICONFIG = " cortexa53-0-zynqmp-fsbl-baremetal cortexa53-0-zynqmp-baremetal cortexa53-0-zynqmp-freertos cortexa53-1-zynqmp-baremetal cortexa53-1-zynqmp-freertos cortexa53-2-zynqmp-baremetal cortexa53-2-zynqmp-freertos cortexa53-3-zynqmp-baremetal cortexa53-3-zynqmp-freertos cortexr5-0-zynqmp-fsbl-baremetal cortexr5-0-zynqmp-baremetal cortexr5-0-zynqmp-freertos cortexr5-1-zynqmp-baremetal cortexr5-1-zynqmp-freertos microblaze-0-pmu" |
| 76 | # Alternatively trim the list to the minimum | 103 | # Alternatively trim the list to the minimum |
| 77 | #BBMULTICONFIG = " cortexa53-0-zynqmp-fsbl-baremetal microblaze-0-pmu" | 104 | BBMULTICONFIG = " cortexa53-0-zynqmp-fsbl-baremetal microblaze-0-pmu" |
| 78 | ``` | 105 | ``` |
| 79 | 106 | ||
| 80 | For example, versal: | 107 | For example, versal: |
| @@ -99,9 +126,9 @@ BASE_TMPDIR ?= "${TOPDIR}" | |||
| 99 | 126 | ||
| 100 | # The following is the full set of multiconfigs for this configuration | 127 | # The following is the full set of multiconfigs for this configuration |
| 101 | # A large list can cause a slow parse. | 128 | # A large list can cause a slow parse. |
| 102 | BBMULTICONFIG = " cortexa72-0-versal-baremetal cortexa72-0-versal-freertos cortexa72-1-versal-baremetal cortexa72-1-versal-freertos microblaze-0-pmc microblaze-0-psm cortexr5-0-versal-baremetal cortexr5-0-versal-freertos cortexr5-1-versal-baremetal cortexr5-1-versal-freertos" | 129 | #BBMULTICONFIG = " cortexa72-0-versal-baremetal cortexa72-0-versal-freertos cortexa72-1-versal-baremetal cortexa72-1-versal-freertos microblaze-0-pmc microblaze-0-psm cortexr5-0-versal-baremetal cortexr5-0-versal-freertos cortexr5-1-versal-baremetal cortexr5-1-versal-freertos" |
| 103 | # Alternatively trim the list to the minimum | 130 | # Alternatively trim the list to the minimum |
| 104 | #BBMULTICONFIG = " microblaze-0-pmc microblaze-0-psm" | 131 | BBMULTICONFIG = " microblaze-0-pmc microblaze-0-psm" |
| 105 | ``` | 132 | ``` |
| 106 | > **Bitbake Performance Note:** | 133 | > **Bitbake Performance Note:** |
| 107 | Each BBMULTICONFIG value requires all of the recipes to be parsed for that | 134 | Each BBMULTICONFIG value requires all of the recipes to be parsed for that |
