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 |
| 15 | distribution. We have performed tests using Ubuntu 16.04 LTS (64-bit), but other |
| 16 | distributions should also work fine, provided that the tools and libraries |
| 17 | can be installed. |
| 18 | |
| 19 | Toolchain |
| 20 | --------- |
| 21 | |
| 22 | Install the required packages to build TF-A Tests with the following command: |
| 23 | |
| 24 | :: |
| 25 | |
| 26 | sudo apt-get install device-tree-compiler build-essential make git perl libxml-libxml-perl |
| 27 | |
| 28 | Download and install the GNU cross-toolchain from Linaro. The TF-A Tests have |
| 29 | been tested with version 9.2-2019.12 (gcc 9.2): |
| 30 | |
| 31 | - `GCC cross-toolchain`_ |
| 32 | |
| 33 | In addition, the following optional packages and tools may be needed: |
| 34 | |
| 35 | - For debugging, Arm `Development Studio 5 (DS-5)`_. |
| 36 | |
| 37 | .. _GCC cross-toolchain: https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads |
| 38 | .. _Development Studio 5 (DS-5): https://developer.arm.com/products/software-development-tools/ds-5-development-studio |
| 39 | |
| 40 | -------------- |
| 41 | |
| 42 | *Copyright (c) 2019, Arm Limited. All rights reserved.* |