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 |
Govindraj Raja | 5eceaa3 | 2023-05-12 15:03:02 -0500 | [diff] [blame] | 15 | distribution. We have performed tests using Ubuntu 22.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 | c5f75b9 | 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 | ======================== ===================== |
| 28 | Mbed TLS 3.6.2 |
| 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 | |
Jim Ray | 7ba27bf | 2023-05-25 14:11:51 -0700 | [diff] [blame] | 38 | sudo apt-get install device-tree-compiler build-essential git python3 |
| 39 | |
Harrison Mutai | 0199b6a | 2023-07-03 11:24:41 +0100 | [diff] [blame] | 40 | Note that at least Python 3.8 is required. |
Jimmy Brisson | ca6bd89 | 2020-04-02 15:19:08 -0500 | [diff] [blame] | 41 | |
Jayanth Dodderi Chidanand | 968c95f | 2023-04-18 10:46:21 +0100 | [diff] [blame] | 42 | Download and install the GNU cross-toolchain from Arm. The TF-A Tests have |
Jayanth Dodderi Chidanand | b2fcf90 | 2024-09-30 18:15:55 +0100 | [diff] [blame] | 43 | been tested with version 13.3.Rel1 (gcc 13.3): |
Jimmy Brisson | ca6bd89 | 2020-04-02 15:19:08 -0500 | [diff] [blame] | 44 | |
| 45 | - `GCC cross-toolchain`_ |
| 46 | |
| 47 | In addition, the following optional packages and tools may be needed: |
| 48 | |
Daniel Boulby | cc8740b | 2022-05-20 10:21:55 +0100 | [diff] [blame] | 49 | - For debugging, Arm `Development Studio (Arm-DS)`_. |
Jimmy Brisson | ca6bd89 | 2020-04-02 15:19:08 -0500 | [diff] [blame] | 50 | |
Daniel Boulby | cc8740b | 2022-05-20 10:21:55 +0100 | [diff] [blame] | 51 | .. _GCC cross-toolchain: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads |
| 52 | .. _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] | 53 | |
| 54 | -------------- |
| 55 | |
Jayanth Dodderi Chidanand | e994364 | 2024-04-05 12:59:07 +0100 | [diff] [blame] | 56 | *Copyright (c) 2019-2024, Arm Limited. All rights reserved.* |