blob: bea412e9be861f156dd90905a4c359c692af2fbf [file] [log] [blame]
Jimmy Brissonca6bd892020-04-02 15:19:08 -05001Prerequisites & Requirements
2============================
3
4This document describes the software and hardware requiremnts for building TF-A
5Tests for AArch32 and AArch64 target platforms.
6
7It may be possible to build TF-A Tests with combinations of software and
8hardware that are different from those listed below. The software and hardware
9described in this document are officially supported.
10
11Build Host
12----------
13
14TF-A Tests may be built using a Linux build host machine with a recent Linux
Govindraj Raja5eceaa32023-05-12 15:03:02 -050015distribution. We have performed tests using Ubuntu 22.04 LTS (64-bit), but other
Jimmy Brissonca6bd892020-04-02 15:19:08 -050016distributions should also work fine, provided that the tools and libraries
17can be installed.
18
19Toolchain
20---------
21
22Install the required packages to build TF-A Tests with the following command:
23
24::
25
Leonardo Sandoval6ca80a22020-10-15 12:15:55 -050026 sudo apt-get install device-tree-compiler build-essential git perl libxml-libxml-perl
Jimmy Brissonca6bd892020-04-02 15:19:08 -050027
Jayanth Dodderi Chidanand968c95f2023-04-18 10:46:21 +010028Download and install the GNU cross-toolchain from Arm. The TF-A Tests have
29been tested with version 12.2.Rel1 (gcc 12.2):
Jimmy Brissonca6bd892020-04-02 15:19:08 -050030
31- `GCC cross-toolchain`_
32
33In addition, the following optional packages and tools may be needed:
34
Daniel Boulbycc8740b2022-05-20 10:21:55 +010035- For debugging, Arm `Development Studio (Arm-DS)`_.
Jimmy Brissonca6bd892020-04-02 15:19:08 -050036
Daniel Boulbycc8740b2022-05-20 10:21:55 +010037.. _GCC cross-toolchain: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads
38.. _Development Studio (Arm-DS): https://developer.arm.com/Tools%20and%20Software/Arm%20Development%20Studio
Jimmy Brissonca6bd892020-04-02 15:19:08 -050039
40--------------
41
Daniel Boulbycc8740b2022-05-20 10:21:55 +010042*Copyright (c) 2019-2022, Arm Limited. All rights reserved.*