blob: bac6728df9125974b83bcb4d0461791fb59be9d8 [file] [log] [blame]
Amit Nagalef77a092024-02-15 12:53:46 +05301..
2 Copyright (c) 2024, Advanced Micro Devices, Inc. All rights reserved. !
3 SPDX-License-Identifier: BSD-3-Clause !
4
5Xilinx ZynqMP
6=============
7
8- The TF-A Tests on Xilinx ZynqMP platform runs from DDR.
9- Logs are available only on console and not saved in memory(No NVM support).
10- ZynqMP Platform uses TTC Timer
11
12Build Command
13-------------
14For individual tests/test suite:
15
16.. code-block:: shell
17
18 make CROSS_COMPILE=aarch64-none-elf- PLAT=zynqmp TESTS=<required tests> tftf
19
20For Versal NET Specific tests (includes AMD-Xilinx Tests cases + Standard Test Suite)
21
22.. code-block:: shell
23
24 make CROSS_COMPILE=aarch64-none-elf- PLAT=zynqmp TESTS=versal tftf
25
26Execution on Target
27-------------------
28
29- The TF-A Tests uses the memory location of U-boot.
30- To package the tftf.elf in BOOT.BIN, the u-boot entry in bootgen.bif needs to be replaced with following
31
32.. code-block:: shell
33
34 the_ROM_image:
35 {
36 [bootloader, destination_cpu=a53-0] zynqmp_fsbl.elf
37 [pmufw_image] pmufw.elf
38 [destination_device=pl] pre-built/linux/implementation/download.bit
39 [destination_cpu=a53-0, exception_level=el-3, trustzone] bl31.elf
40 [destination_cpu=a53-0, load=0x00100000] system.dtb
41 [destination_cpu=a53-0, exception_level=el-2] tftf.elf
42 }
43
44- The BOOT.BIN with TF-A Tests can now be used to run on the target.
45- The TF-A Tests will be executed after TF-A and the tests report will be available on the console.