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

Zynq 7000 Embedded Design Tutorial (UG1165)

Document_ID
UG1165
Release_Date
2026-07-08
Version
2026.1 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.