The following petalinux-boot –qemu
/
--jtag
command line options which are broken in
past releases have been 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
with petalinux-boot
--qemu
does not work for Versal platfroms starting from 2021.1. Since
rootfs is part of the qemu_boot.img file, you
need to repack the image file using petalinux-package --boot
--u-boot --qemu-rootfs rootfs.cpio.gz.u-boot
and then run the petalinux-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