How xilinx/meta-petalinux works
meta-petalinux is a Yocto/OpenEmbedded distro layer for MicroBlaze, Zynq, ZynqMP, and Versal. Its product workflow is to select distro and image metadata, combine board-support customizations and packages, and use BitBake to build a target image or standalone toolchain. The tree also shows developer utilities for root-filesystem Kconfig generation, recipe configuration, and extensible-SDK updates. The README documents the distro and toolchain roles; sampled utility code shows its direct BitBake and SDK-update interactions. Other recipe relationships are not asserted because their wiring was not excerpted.
Main entry points: gen-plnx-kconfig.py Rootfs Kconfig Generator · plnx-sdk-update.py SDK Update · xilinx-standalone-sdt Standalone Toolchain · configure.py Recipe Configure
Components 20
Distro Configuration
- PetaLinux Distro
conf/distro/petalinux.conf - Layer Metadata
conf/layer.conf - Distro Features
conf/distro/include/petalinux-features.conf - Standalone Toolchain
dynamic-layers/xilinx-standalone-sdt
Images and Packages
- Minimal Image
recipes-core/images/petalinux-image-minimal.bb - Full Image
recipes-core/images/petalinux-image-full.bb - Everything Image
recipes-core/images/petalinux-image-everything.bb - Image Common Metadata
recipes-core/images/petalinux-image-common.inc - Initramfs Image
recipes-core/images/petalinux-initramfs-image.bb - Package Groups
recipes-core/packagegroups
Platform Customization
- Kernel Customization
recipes-kernel/linux-xlnx/linux-xlnx_%.bbappend - Device Tree
dynamic-layers/xilinx-core/recipes-bsp/device-tree/device-tree.bbappend - U-Boot Platform
dynamic-layers/xilinx-core/recipes-bsp/u-boot/u-boot-xlnx/platform-top.h - Board Applications
recipes-apps
Developer Utilities
- Rootfs Kconfig Generator
lib/devtool/gen-plnx-kconfig.py - Recipe Configure
lib/devtool/configure.py - SDK Update
lib/devtool/plnx-sdk-update.py
Other components
- Layer User
- BitBake
- SDK Update Source
Connections 7
- Layer User → Standalone Toolchain: selects machine
README.md - Standalone Toolchain → BitBake: builds toolchain
README.md - Recipe Configure → BitBake: runs configure
lib/devtool/configure.py - Rootfs Kconfig Generator → BitBake: queries recipes
lib/devtool/gen-plnx-kconfig.py - Rootfs Kconfig Generator → BitBake: sanity-builds
lib/devtool/gen-plnx-kconfig.py - SDK Update → SDK Update Source: reads manifest
lib/devtool/plnx-sdk-update.py - SDK Update → SDK Update Source: installs SDK data
lib/devtool/plnx-sdk-update.py