petalinux-build -c component options - 2021.2 English

PetaLinux Tools Documentation: Reference Guide

Document ID
UG1144
Release Date
2021-10-27
Version
2021.2 English

The following table summarizes the available components that can be targeted with this command:

Table 1. petalinux-build -c Components
Component Equivalent Bitbake Commands Description
bootloader bitbake virtual/fsbl

bitbake virtual/fsboot (for MicroBlaze™ processor)

Build only the boot loader elf image and copy it into <plnx-proj-root>/images/linux/. For Zynq® UltraScale+™ MPSoC and Zynq-7000 devices, it is FSBL and for MicroBlaze™ processor, it is fs-boot.
device tree bitbake virtual/dtb

Build only the device tree DTB file and copy it into <plnx-proj-root>/images/linux/.

The device tree source is in <plnx-proj-root>/components/plnx_workspace/device-tree/device-tree/.

arm-trusted-firmware bitbake virtual/arm-trusted-firmware Build only the TF-A image and copy it into <plnx-proj-root>/images/linux.
pmufw bitbake virtual/pmufw Build only the PMU firmware image and copy it into <plnx-proj-root>/images/linux.
kernel bitbake virtual/kernel Build only the Linux kernel image and copy it into <plnx-proj-root>/images/linux.
rootfs bitbake petalinux-user-image -c do_image_complete Build only the root file system. It generates the target rootfs in ${TMPDIR}/work/${MACHINE}/petalinux-user-image/1.0-r0/rootfs/ and the sysroot in ${TMPDIR}/tmp/sysroots/${MACHINE}.
u-boot bitbake virtual/bootloader Build only the U-Boot elf image and copy it into <plnx-proj-root>/images/linux.
plm virtual/plm Build only the PLM image and copy it into <plnx-proj-root>/images/linux.
psmfw virtual/psm-firmware Build only the PSM firmware image and copy it into <plnx-proj-root>/image/linux.
image selector imgsel Build only the Image Selector firmware image and copy it into <plnx-proj-root>/image/linux.