This layer provides support for using Xilinx tools on supported architectures MicroBlaze, Zynq, ZynqMP and Versal.
Please send any patches, pull requests, comments or questions for this layer to the meta-xilinx mailing list with ['meta-xilinx-tools'] in the subject:
When sending patches, please make sure the email subject line includes "[meta-xilinx-tools][PATCH]" and cc'ing the maintainers.
For more details follow the OE community patch submission guidelines, as described in:
https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
git send-email --subject-prefix 'meta-xilinx-tools][PATCH' --to [email protected]
Maintainers:
Mark Hatle <[email protected]>
Sandeep Gundlupet Raju <[email protected]>
John Toomey <[email protected]>
This layer depends on: xsct and other layers
xsct-tarball class fetches the required xsct tool and installs it in the local sysroots of Yocto build. All the recipes which depend xsct or bootgen will use from sysroots. Please see the Xilinx EULA license file for xsct after extracting the tarball.
Each release is dependent on the Xilinx XSCT release version. Please note that xsct tools may not be backward compatible with embeddedsw repo. Meaning 2016.3 xsct tools might not work with older version on embeddedsw repo
URI: https://git.openembedded.org/bitbake
URI: https://git.openembedded.org/openembedded-core
layers: meta, meta-poky
URI: https://git.yoctoproject.org/meta-xilinx
layers: meta-xilinx-microblaze, meta-xilinx-bsp, meta-xilinx-core,
meta-xilinx-pynq, meta-xilinx-contrib, meta-xilinx-standalone,
meta-xilinx-vendor.
branch: master or xilinx current release version (e.g. hosister)
meta-xilinx-tools recipes depends on XSA to be provided. As of the 2019.2 release, all design files were renamed from hdf to xsa. But the variables and references to hdf will remain and renamed in the future release.
HDF_BASE can be set to git:https:// or file:https://
HDF_PATH will be git repository or the path containing HDF
For example:
- Using GIT subversion
HDF_BASE = "git:https://"
HDF_PATH = "github.com/Xilinx/hdf-examples.git"
HDF_NAME = "system.xsa"
HDF_MACHINE = "zcu102-zynqmp"
- Using XSA file path
HDF_BASE = "file:https://"
HDF_PATH = "/<absolute-path-to-xsa>/system.xsa"
This layer provides additional configurations through YAML
- Example YAML based configuration for embeddedsw components(FSBL, PMUFW, etc.) uart, memory, flash settings. from machine or local confiruation file.
- FSBL or FS-BOOT
# Microblaze:
YAML_FILE_PATH:pn-fs-boot = "${WORKDIR}/fsboot.yaml"
YAML_SERIAL_CONSOLE_STDIN:microblaze-generic:pn-fs-boot = "axi_uartlite_0"
YAML_SERIAL_CONSOLE_STDOUT:microblaze-generic:pn-fs-boot = "axi_uartlite_0"
YAML_MAIN_MEMORY_CONFIG:microblaze-generic:pn-fs-boot = "mig_7series_0"
or
YAML_MAIN_MEMORY_CONFIG:microblaze-generic:pn-fs-boot = "DDR4_0"
YAML_FLASH_MEMORY_CONFIG:microblaze-generic:pn-fs-boot = "axi_quad_spi_0"
# Zynq-7000:
YAML_SERIAL_CONSOLE_STDIN:zynq-generic:pn-fsbl-firmware = "ps7_uart_1"
YAML_SERIAL_CONSOLE_STDOUT:zynq-generic:pn-fsbl-firmware = "ps7_uart_1"
# ZynqMP:
YAML_SERIAL_CONSOLE_STDIN:zynqmp-generic:pn-fsbl-firmware = "psu_uart_0"
YAML_SERIAL_CONSOLE_STDOUT:zynqmp-generic:pn-fsbl-firmware = "psu_uart_0"
- PMUFW or PLMFW
# ZynqMP:
YAML_SERIAL_CONSOLE_STDIN:zynqmp-generic:pn-pmu-firmware = "psu_uart_1"
YAML_SERIAL_CONSOLE_STDOUT:zynqmp-generic:pn-pmu-firmware = "psu_uart_1"
# Versal:
YAML_SERIAL_CONSOLE_STDIN:versal-generic:pn-plm-firmware = "versal_cips_0_pspmc_0_psv_sbsauart_0"
YAML_SERIAL_CONSOLE_STDOUT:versal-generic:pn-plm-firmware = "versal_cips_0_pspmc_0_psv_sbsauart_0"
- Example YAML based configuration for device tree serial, baudrate, memeory settings.
# Microblaze:
YAML_CONSOLE_DEVICE_CONFIG:microblaze-generic:pn-device-tree = "axi_uartlite_0"
YAML_MAIN_MEMORY_CONFIG:microblaze-generic:pn-device-tree = "mig_7series_0"
or
YAML_MAIN_MEMORY_CONFIG:microblaze-generic:pn-device-tree = "DDR4_0"
# Zynq-7000:
YAML_CONSOLE_DEVICE_CONFIG:zynq-generic:pn-device-tree = "ps7_uart_1"
YAML_MAIN_MEMORY_CONFIG:zynq-generic:pn-device-tree = "PS7_DDR_0"
YAML_SERIAL_CONSOLE_BAUDRATE = "115200"
# ZynqMP:
YAML_CONSOLE_DEVICE_CONFIG:zynqmp-generic:pn-device-tree = "psu_uart_0"
YAML_MAIN_MEMORY_CONFIG:zynqmp-generic:pn-device-tree = "PSU_DDR_0"
YAML_SERIAL_CONSOLE_BAUDRATE = "115200"
# Versal:
YAML_CONSOLE_DEVICE_CONFIG:versal-generic:pn-device-tree = "versal_cips_0_pspmc_0_psv_sbsauart_0"
YAML_SERIAL_CONSOLE_BAUDRATE = "115200"
- Example YAML based configuration for setting eval board specific dtsi files available in DTG repo. Refer https://github.com/Xilinx/device-tree-xlnx/tree/xlnx_rel_v2022.1/device_tree/data/kernel_dtsi/2022.1/BOARD for more details
# Microblaze:
YAML_DT_BOARD_FLAGS:microblaze-generic:pn-device-tree = {BOARD kc705-full}
# Zynq-7000:
YAML_DT_BOARD_FLAGS:zynq-generic:pn-device-tree = "{BOARD zc702}"
# ZynqMP:
YAML_DT_BOARD_FLAGS:zynqmp-generic:pn-device-tree = "{BOARD zcu102-rev1.0}"
# Versal:
YAML_DT_BOARD_FLAGS:versal-generic:pn-device-tree = "{BOARD versal-vck190-reva-x-ebm-01-reva}"
Note only Xilinx eval boards have the dtsi in DTG, for custom board one needs to patch DTG to include the custom board dtsi and enable it using YAML configuration.