As previously noted, the Linux and RPU Zephyr device trees that
gen-machineconf generates depend on the domain YAML and the design
SDT. Use the RPU Zephyr device tree to configure the default OpenAMP RPU Zephyr
firmware.
The recipe that connects this flow to the build is in meta-xilinx/meta-amd-zephyr/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bbappend at rel-v2025.2 · Xilinx/meta-xilinx.
gen-machineconf defines environment variables for the build. These
variables make the Zephyr fork use the RPU Zephyr device tree from the
gen-machineconf run.
The build then copies that device tree into the Zephyr source tree. Copy the generated
device tree into this file: boards/amd/versal2_rpu/versal2_rpu.dts.
This versal2_rpu.dts file configures the RPU Zephyr application.