Booting Linux in JTAG Mode using QEMU - 2025.2 English - UG1165

Zynq 7000 Embedded Design Tutorial (UG1165)

Document ID
UG1165
Release Date
2025-12-29
Version
2025.2 English

Users can boot Linux (or u-Boot) from Petalinux over QEMU. QEMU is helpful for use cases where the hardware is in development or is unavailable for other reasons.

To boot Linux using QEMU use the command below:

petalinux-boot --qemu --kernel --qemu-args "-net nic,netdev=gem0 -netdev user,id=gem0,hostfwd=tcp:127.0.0.1:1540-10.0.2.15:1534 -net nic"

Note: The above command passes the qemu-args to enable GEM0 and uses host forwarding to setup a connection.