Jimmy Brisson | ca6bd89 | 2020-04-02 15:19:08 -0500 | [diff] [blame] | 1 | Prerequisites & Requirements |
| 2 | ============================ |
| 3 | |
| 4 | This document describes the software and hardware requiremnts for building TF-A |
| 5 | Tests for AArch32 and AArch64 target platforms. |
| 6 | |
| 7 | It may be possible to build TF-A Tests with combinations of software and |
| 8 | hardware that are different from those listed below. The software and hardware |
| 9 | described in this document are officially supported. |
| 10 | |
| 11 | Build Host |
| 12 | ---------- |
| 13 | |
| 14 | TF-A Tests may be built using a Linux build host machine with a recent Linux |
Daniel Boulby | cc8740b | 2022-05-20 10:21:55 +0100 | [diff] [blame] | 15 | distribution. We have performed tests using Ubuntu 20.04 LTS (64-bit), but other |
Jimmy Brisson | ca6bd89 | 2020-04-02 15:19:08 -0500 | [diff] [blame] | 16 | distributions should also work fine, provided that the tools and libraries |
| 17 | can be installed. |
| 18 | |
Soby Mathew | 7498bbd | 2024-11-26 04:39:38 +0000 | [diff] [blame] | 19 | Dependencies |
| 20 | ------------ |
| 21 | |
| 22 | This section lists the dependencies for TF-A-Tests which are added as |
| 23 | as a git submodule. |
| 24 | |
| 25 | ======================== ===================== |
| 26 | Name Version |
| 27 | ======================== ===================== |
Lauren Wehrmeister | 44e8038 | 2025-04-07 13:18:19 -0500 | [diff] [blame^] | 28 | Mbed TLS 3.6.3 |
Soby Mathew | 7498bbd | 2024-11-26 04:39:38 +0000 | [diff] [blame] | 29 | ======================== ===================== |
| 30 | |
Jimmy Brisson | ca6bd89 | 2020-04-02 15:19:08 -0500 | [diff] [blame] | 31 | Toolchain |
| 32 | --------- |
| 33 | |
| 34 | Install the required packages to build TF-A Tests with the following command: |
| 35 | |
| 36 | :: |
| 37 | |
Leonardo Sandoval | 6ca80a2 | 2020-10-15 12:15:55 -0500 | [diff] [blame] | 38 | sudo apt-get install device-tree-compiler build-essential git perl libxml-libxml-perl |
Jimmy Brisson | ca6bd89 | 2020-04-02 15:19:08 -0500 | [diff] [blame] | 39 | |
| 40 | Download and install the GNU cross-toolchain from Linaro. The TF-A Tests have |
Jayanth Dodderi Chidanand | 25ecf4b | 2022-09-21 14:10:59 +0100 | [diff] [blame] | 41 | been tested with version 11.3.Rel1 (gcc 11.3): |
Jimmy Brisson | ca6bd89 | 2020-04-02 15:19:08 -0500 | [diff] [blame] | 42 | |
| 43 | - `GCC cross-toolchain`_ |
| 44 | |
| 45 | In addition, the following optional packages and tools may be needed: |
| 46 | |
Daniel Boulby | cc8740b | 2022-05-20 10:21:55 +0100 | [diff] [blame] | 47 | - For debugging, Arm `Development Studio (Arm-DS)`_. |
Jimmy Brisson | ca6bd89 | 2020-04-02 15:19:08 -0500 | [diff] [blame] | 48 | |
Daniel Boulby | cc8740b | 2022-05-20 10:21:55 +0100 | [diff] [blame] | 49 | .. _GCC cross-toolchain: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads |
| 50 | .. _Development Studio (Arm-DS): https://developer.arm.com/Tools%20and%20Software/Arm%20Development%20Studio |
Jimmy Brisson | ca6bd89 | 2020-04-02 15:19:08 -0500 | [diff] [blame] | 51 | |
| 52 | -------------- |
| 53 | |
Daniel Boulby | cc8740b | 2022-05-20 10:21:55 +0100 | [diff] [blame] | 54 | *Copyright (c) 2019-2022, Arm Limited. All rights reserved.* |