docs(zynqmp): add zynqmp documentation
Add information about ZynqMP platform for TF-A Tests and provide
the build commands.
Change-Id: I508d062d2ce16201b578e95d14d70e137ad709bf
Signed-off-by: Amit Nagal <amit.nagal@amd.com>
diff --git a/docs/plat/index.rst b/docs/plat/index.rst
index 6f5d9a5..33c0ab9 100644
--- a/docs/plat/index.rst
+++ b/docs/plat/index.rst
@@ -8,6 +8,7 @@
xilinx-versal_net
xilinx-versal
+ xilinx-zynqmp
This section provides a list of supported upstream *platform ports* and the
documentation associated with them.
diff --git a/docs/plat/xilinx-zynqmp.rst b/docs/plat/xilinx-zynqmp.rst
new file mode 100644
index 0000000..bac6728
--- /dev/null
+++ b/docs/plat/xilinx-zynqmp.rst
@@ -0,0 +1,45 @@
+..
+ Copyright (c) 2024, Advanced Micro Devices, Inc. All rights reserved. !
+ SPDX-License-Identifier: BSD-3-Clause !
+
+Xilinx ZynqMP
+=============
+
+- The TF-A Tests on Xilinx ZynqMP platform runs from DDR.
+- Logs are available only on console and not saved in memory(No NVM support).
+- ZynqMP Platform uses TTC Timer
+
+Build Command
+-------------
+For individual tests/test suite:
+
+.. code-block:: shell
+
+ make CROSS_COMPILE=aarch64-none-elf- PLAT=zynqmp TESTS=<required tests> tftf
+
+For Versal NET Specific tests (includes AMD-Xilinx Tests cases + Standard Test Suite)
+
+.. code-block:: shell
+
+ make CROSS_COMPILE=aarch64-none-elf- PLAT=zynqmp TESTS=versal tftf
+
+Execution on Target
+-------------------
+
+- The TF-A Tests uses the memory location of U-boot.
+- To package the tftf.elf in BOOT.BIN, the u-boot entry in bootgen.bif needs to be replaced with following
+
+.. code-block:: shell
+
+ the_ROM_image:
+ {
+ [bootloader, destination_cpu=a53-0] zynqmp_fsbl.elf
+ [pmufw_image] pmufw.elf
+ [destination_device=pl] pre-built/linux/implementation/download.bit
+ [destination_cpu=a53-0, exception_level=el-3, trustzone] bl31.elf
+ [destination_cpu=a53-0, load=0x00100000] system.dtb
+ [destination_cpu=a53-0, exception_level=el-2] tftf.elf
+ }
+
+- The BOOT.BIN with TF-A Tests can now be used to run on the target.
+- The TF-A Tests will be executed after TF-A and the tests report will be available on the console.