xref: /openbmc/qemu/docs/system/arm/xlnx-zynq.rst (revision 2d30506d)
1*2d30506dSSai Pavan BodduXilinx Zynq board (``xilinx-zynq-a9``)
2*2d30506dSSai Pavan Boddu======================================
3*2d30506dSSai Pavan BodduThe Zynq 7000 family is based on the AMD SoC architecture. These products
4*2d30506dSSai Pavan Bodduintegrate a feature-rich dual or single-core Arm Cortex-A9 MPCore based
5*2d30506dSSai Pavan Bodduprocessing system (PS) and AMD programmable logic (PL) in a single device.
6*2d30506dSSai Pavan Boddu
7*2d30506dSSai Pavan BodduMore details here:
8*2d30506dSSai Pavan Bodduhttps://docs.amd.com/r/en-US/ug585-zynq-7000-SoC-TRM/Zynq-7000-SoC-Technical-Reference-Manual
9*2d30506dSSai Pavan Boddu
10*2d30506dSSai Pavan BodduQEMU xilinx-zynq-a9 board supports following devices:
11*2d30506dSSai Pavan Boddu    - A9 MPCORE
12*2d30506dSSai Pavan Boddu        - cortex-a9
13*2d30506dSSai Pavan Boddu        - GIC v1
14*2d30506dSSai Pavan Boddu        - Generic timer
15*2d30506dSSai Pavan Boddu        - wdt
16*2d30506dSSai Pavan Boddu    - OCM 256KB
17*2d30506dSSai Pavan Boddu    - SMC SRAM@0xe2000000 64MB
18*2d30506dSSai Pavan Boddu    - Zynq SLCR
19*2d30506dSSai Pavan Boddu    - SPI x2
20*2d30506dSSai Pavan Boddu    - QSPI
21*2d30506dSSai Pavan Boddu    - UART
22*2d30506dSSai Pavan Boddu    - TTC x2
23*2d30506dSSai Pavan Boddu    - Gigabit Ethernet Controller x2
24*2d30506dSSai Pavan Boddu    - SD Controller x2
25*2d30506dSSai Pavan Boddu    - XADC
26*2d30506dSSai Pavan Boddu    - Arm PrimeCell DMA Controller
27*2d30506dSSai Pavan Boddu    - DDR Memory
28*2d30506dSSai Pavan Boddu    - USB 2.0 x2
29*2d30506dSSai Pavan Boddu
30*2d30506dSSai Pavan BodduRunning
31*2d30506dSSai Pavan Boddu"""""""
32*2d30506dSSai Pavan BodduDirect Linux boot of a generic ARM upstream Linux kernel:
33*2d30506dSSai Pavan Boddu
34*2d30506dSSai Pavan Boddu.. code-block:: bash
35*2d30506dSSai Pavan Boddu
36*2d30506dSSai Pavan Boddu  $ qemu-system-aarch64 -M xilinx-zynq-a9 \
37*2d30506dSSai Pavan Boddu        -dtb zynq-zc702.dtb  -serial null -serial mon:stdio \
38*2d30506dSSai Pavan Boddu        -display none  -m 1024 \
39*2d30506dSSai Pavan Boddu        -initrd rootfs.cpio.gz -kernel zImage
40*2d30506dSSai Pavan Boddu
41*2d30506dSSai Pavan BodduFor configuring the boot-mode provide the following on the command line:
42*2d30506dSSai Pavan Boddu
43*2d30506dSSai Pavan Boddu.. code-block:: bash
44*2d30506dSSai Pavan Boddu
45*2d30506dSSai Pavan Boddu   -machine boot-mode=qspi
46*2d30506dSSai Pavan Boddu
47*2d30506dSSai Pavan BodduSupported values are jtag, sd, qspi, nor.
48