summaryrefslogtreecommitdiffstats
path: root/user/bsps/aarch64/xilinx-versal.rst
blob: 51489f22367da8f8c0c022d5e4273eadfc768f07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.. SPDX-License-Identifier: CC-BY-SA-4.0

.. Copyright (C) 2021 Gedare Bloom 

.. _BSP_aarch64_qemu_xilinx_versal_ilp32_qemu:
.. _BSP_aarch64_qemu_xilinx_versal_lp64_qemu:

Qemu Xilinx Versal 
==================

This BSP supports two variants, `xilinx-versal-ilp32-qemu` and
`xilinx-versal-lp64-qemu`. The basic hardware initialization is performed by the
BSP. These BSPs support the GICv3 interrupt controller present in the Xilinx
Versal Adaptive Compute Acceleration Platform (ACAP) systems. The BSPs
currently only work when started in the secure mode.

Boot via ELF
------------
The executable image is booted by Qemu in ELF format.

Clock Driver
------------

The clock driver uses the `ARM Generic Timer`.

Console Driver
--------------

The console driver supports the default Qemu emulated ARM PL011 PrimeCell UART.
There are some differences between the PL011 and the UART used by actual Versal
ACAP hardware systems.

Running Executables
-------------------

Executables generated by these BSPs can be run using the following command::

qemu-system-aarch64 -no-reboot -nographic -serial mon:stdio \
 -machine xlnx-versal-virt -m 4096 -kernel example.exe