petalinux-boot qemu Options - 2025.1 English - UG1144

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2025-05-29
Version
2025.1 English

The following table contains details of options specific to the QEMU boot workflow:

Table 1. petalinux-boot qemu Options
Otion Functional Description Value Range Default Value
--prebuilt Boot a prebuilt image. This is optional.
  • 2 (U-Boot)
  • 3 (Linux kernel)
None
--u-boot This option can be use to download specified U-Boot binary along with dependent files to boot into the U-Boot. It selects an U-Boot ELF image from <plnx-proj-root>/images/linux/. This is optional. User-specified <plnx-proj-root>/images/linux/u-boot.elf
--kernel This option can be use to download specified kernel binary along with dependent files to boot kernel. This option picks the kernel image from <plnx-proj-root>/images/linux/. This is optional. User-specified
  • zImage for AMD Zynq™ 7000 devices
  • Image for AMD Zynq™ UltraScale+™ MPSoC, and AMD Versal™ adaptive SoC
  • image.elf for MicroBlaze™ CPU

The default image is in <plnx-proj-root>/images/linux.

--qemu-args Extra arguments to QEMU command. This is optional. None None
--tftp Path to tftp boot directory User-specified None
--pmu-qemu-args Extra arguments for PMU instance of QEMU. This is optional. User-specified None
--rootfs The cpio rootfile system to use for QEMU boot. SupportsZynq, Zynq UltraScale+ MPSoC, and MicroBlaze. User-specified <plnx-proj-root>/images/linux/rootfs.cpio.gz.u-boot
--qemu-no-gdb To disable GDB through QEMU boot. None None