petalinux-build -c components - 2020.2 English

PetaLinux Tools Documentation Reference Guide (UG1144)

Document ID
UG1144
Release Date
2020-11-24
Version
2020.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 ATF 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