Prasad Kummari | 30b8bc2 | 2023-08-25 13:08:01 +0530 | [diff] [blame] | 1 | .. |
| 2 | Copyright (c) 2023, Advanced Micro Devices, Inc. All rights reserved. ! |
| 3 | SPDX-License-Identifier: BSD-3-Clause ! |
| 4 | |
| 5 | Xilinx Versal NET |
| 6 | ================= |
| 7 | |
| 8 | - The TF-A Tests on Xilinx Versal NET platform runs from DDR. |
| 9 | - Logs are available only on console and not saved in memory(No NVM support). |
| 10 | - Versal NET Platform uses TTC Timer |
| 11 | |
| 12 | Build Command |
| 13 | ------------- |
| 14 | For individual tests/test suite: |
| 15 | |
| 16 | .. code-block:: shell |
| 17 | make CROSS_COMPILE=aarch64-none-elf- PLAT=versal_net TESTS=<required tests> tftf |
| 18 | For Versal NET Specific tests (includes AMD-Xilinx Tests cases + Standard Test Suite) |
| 19 | |
| 20 | .. code-block:: shell |
| 21 | make CROSS_COMPILE=aarch64-none-elf- PLAT=versal_net TESTS=versal tftf |
| 22 | |
| 23 | Execution on Target |
| 24 | ------------------- |
| 25 | |
| 26 | - The TF-A Tests uses the memory location of U-boot. |
| 27 | - To package the tftf.elf in BOOT.BIN, the u-boot entry in bootgen.bif needs to be replaced with following |
| 28 | |
| 29 | .. code-block:: shell |
| 30 | the_ROM_image: |
| 31 | { |
| 32 | image { |
| 33 | { type=bootimage, file=project-spec/hw-description/system.pdi } |
| 34 | { type=bootloader, file=plm.elf } |
| 35 | { core=psm, file=psmfw.elf } |
| 36 | } |
| 37 | image { |
| 38 | id = 0x1c000000, name=apu_subsystem |
| 39 | { type=raw, load=0x00001000, file=system-default.dtb } |
| 40 | { core=a78-0, exception_level=el-3, trustzone, file=bl31.elf } |
| 41 | { core=a78-0, exception_level=el-1, file=tftf.elf } |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | - The BOOT.BIN with TF-A Tests can now be used to run on the target. |
| 46 | - The TF-A Tests will be executed after TF-A and the tests report will be available on the console. |