Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 38 additions & 2 deletions boards/amd/versalnet_rpu/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,48 @@ Programming and Debugging

.. zephyr:board-supported-runners::

Build and flash in the usual way. Here is an example for the :zephyr:code-sample:`hello_world` application.
This board supports two deployment targets:

QEMU Emulation
==============

For QEMU target, XSDB (Xilinx System Debugger) is not used and therefore PDI
(Programmable Device Image) is not required. QEMU provides direct emulation
without needing hardware initialization files.

Build and run with QEMU:

.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: versalnet_rpu
:goals: build run

Alternatively, you can build and run separately:

.. code-block:: console

west build -b versalnet_rpu samples/hello_world
west build -t run

Real Hardware
=============

For deployment on real Versal Net hardware, XSDB and a PDI file are required.
The PDI file contains the hardware initialization and boot configuration needed
for the physical device.

Build the application:

.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: versalnet_rpu
:goals: build flash
:goals: build

Flash to real hardware with PDI file:

.. code-block:: console

west flash --runner xsdb --pdi /path/to/your.pdi

You should see the following message on the console:

Expand Down