The following petalinux-boot –qemu
/ --jtag
command line options which are broken in past
releases are fixed in this release.
-
petalinux-boot –qemu/--jtag --kernel/--u-boot
-
petalinux-boot –qemu/--jtag –-dtb
-
petalinux-boot –qemu/--jtag --kernel/--u-boot –-pmufw
for Zynq UltraScale+ MPSoC. -
petalinux-boot --qemu/--jtag --kernel --rootfs <specify custom cpio.gz.u-boot rootfs path>
Note:--rootfs
withpetalinux-boot --qemu
does not work for Versal platforms starting from 2022.1. Since rootfs is part of the qemu_boot.img file, you need to repack the image file usingpetalinux-package --boot --u-boot --qemu-rootfs rootfs.cpio.gz.u-boot
and run thepetalinux-boot --qemu --kernel
command to use rootfs.cpio.gz.u-boot. - Specify this option to disable GDB via QEMU boot:
petalinux-boot --qemu --prebuilt 2/--prebuilt 3 --qemu-no-gdb petalinux-boot --qemu --u-boot/--kernel --qemu-no-gdb