![]() ROS 2 Multi-Node Communications via TSN Tutorial |
Software Build Instructions¶
Overview¶
For the AMD EDF release the TSN application ships as a prebuilt OCI (Docker)
image. Most users do not need to build anything - see
Setting up the Board and Application Deployment to pull
xilinx/kria-tsn-rs485pmod from Docker Hub and run it.
This page is for developers who want to rebuild the container image from source with Yocto/BitBake.
Building the container¶
Set up an AMD EDF build environment by following the Yocto Project build setup instructions for EDF.
Add the meta-kria-apps layer, which provides the TSN container recipe (recipes-containers/container-tsn/container-tsn-rs485pmod.bb):
bitbake-layers add-layer /path/to/meta-kria-apps
Build the container image:
MACHINE=amd-cortexa53-mali-common bitbake container-tsn-rs485pmod
The resulting OCI image is written under
tmp/deploy/images/${MACHINE}/.
Bundled components¶
The container recipe
container-tsn-rs485pmod.bb
is the source of truth for the full bundled set and the exact revision each
component is built from. The table below is a convenience index of where each
application component is built; it does not describe how to build the
components individually - each component builds via the recipe listed here (and
is documented in its own repository).
| Component | Built by recipe | Source repository |
|---|---|---|
| ROS TSN PubSub | meta-kria-apps: recipes-apps/ros-tsn-pubsub | Xilinx/ros-tsn-pubsub |
| PMOD RS485 Test | meta-kria-apps: recipes-apps/pmod-rs485-test | Xilinx/pmod-rs485-test |
| TSN Utilities | meta-xilinx-tsn: recipes-apps/tsn-utils | Xilinx/tsn-utils |
| TSN Talker-Listener | meta-xilinx-tsn: recipes-apps/tsn-examples | Xilinx/tsn-talker-listener |
Note: For the 2026.1 release, meta-kria-apps carries temporary
.bbappendSRCREV bumps fortsn-utilsandtsn-examples(the meta-xilinx-tsn rel-v2026.1 recipes are pinned to earlier revisions). These bbappends are expected to fold into meta-xilinx-tsn in a later release.
