UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 66148

PetaLinux 2015.4 - petalinux-util command allows connection of XSDB to a running QEMU instance.

Description

A new feature introduced in PetaLinux 2015.4 allows users to use XSDB to connect to a running QEMU target.

Solution

After starting QEMU in a separate terminal, you can attach XSDB to it.

Here is the syntax for the command:

petalinux-util --xsdb-connect <host>

required options for connecting XSDB to QEMU usage:

--xsdb-connect <host>

This is the required argument to specify the remote end port that XSDB should connect to. This should be the host and port that QEMU has open for GDB connections.
This can be found in the command line arguments from: --gdb tcp:<QEMU_HOST>:<QEMU_PORT>

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
66107 PetaLinux 2015.4 - Product Update Release Notes and Known Issues N/A N/A
AR# 66148
Date Created 12/07/2015
Last Updated 01/26/2016
Status Active
Type General Article
Devices
  • Zynq UltraScale+ MPSoC
  • Zynq-7000
  • Zynq-7000Q
Tools
  • PetaLinux - 2015.4