PetaLinux Tools - 2021.2 English

Versal ACAP System Software Developers Guide (UG1304)

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

PetaLinux offers tools to customize, build, and deploy embedded Linux solutions on Xilinx processing systems. Tailored to accelerate design productivity for SoC devices, the solution works with the Xilinx hardware design tools to facilitate the development of open source Linux systems for Versal devices.

PetaLinux tools include the following:

  • Build tools, such as GNU, petalinux-build, and make to build the kernel images and the application software.
  • Debug tools, such as GNU debugger (GDB), petalinux-boot, and Oprofile for profiling. The following partial list shows the supported PetaLinux toolchain:
    GNU gcc/g++ toolchain
    Xilinx Arm GNU tools.
    petalinux-build
    Used to build software image files.
    Make
    Make build for compiling the applications.
    GDB
    GDB tools for debugging.
    petalinux-package
    Used to create the boot image.
    petalinux-boot
    Used to boot Linux.
    QEMU
    Emulator platform for the Versal device.
    Oprofile
    Used for profiling.

The following figure shows the PetaLinux tool flow.

Figure 1. PetaLinux Tool-Based Flow

For more information, refer to the following: