This document describes the complete workflow for generating a Zephyr Device Tree with OpenAMP nodes for the VEK385 Versal2 RevB platform. You start with a Vivado Xilinx support archive (XSA) file.
The process includes two major phases:
- You convert the XSA to an system device tree (SDT) by using
sdtgento extract the hardware description. - You convert the SDT to a Zephyr device tree by using a series of
loppertransformations to generate OpenAMP-enabled nodes.
Use this workflow for the Versal2 VEK385 RevB platform. You use this setup for APU-RPU communication through OpenAMP. Linux runs on the Cortex-A78. Zephyr runs on the Cortex-R52.
The following tools are required:
-
sdtgen -
lopper - Device tree compiler (
dtc)