Firmware Recipe
EDF provides a firmware packaging recipe for the OpenAMP RPU Zephyr demo: https://github.com/Xilinx/meta-xilinx/blob/rel-v2025.2/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-zephyr-demo.bb
meta-xilinx-standalone-sdt/
└── recipes-applications/
└── openamp-fw/
└── openamp-zephyr-demo.bb
This recipe declares a multiconfig dependency on the firmware
build:
FW_MCDEPENDS = "mc::${MACHINE}-${TARGET_MC}:zephyr-openamp-rpmsg-multi-srv:do_deploy"
This dependency means:
- Yocto builds the firmware under a specific multiconfig.
- Yocto deploys the firmware output.
- The Linux-side package knows where to find and install it.
Enable the Firmware Package
Add the firmware package to your image in
local.conf:
IMAGE_INSTALL:append = " openamp-zephyr-demo "
Build the Image
Use a MACHINE that defines the required firmware multiconfigs.
For VEK385 RevB, run the following:
MACHINE=versal-2ve-2vm-vek385-revb-sdt-seg bitbake edf-linux-disk-image
What Happens During the Build
- Yocto starts the Linux image build.
- Yocto pulls
openamp-zephyr-demointo the image. - Yocto builds the dependent firmware recipe under its target multiconfig.
- In this case, Yocto targets RPU0, cluster 0, running Zephyr.
- Yocto deploys the firmware binary.
-
openamp-zephyr-demopackages the firmware in a known location. -
edf-linux-disk-imageinstalls the firmware package into the rootfs.
You do not need manual steps beyond selecting the correct MACHINE
and enabling the package.