Julian Hall | e76ade8 | 2020-11-25 03:07:21 +0100 | [diff] [blame] | 1 | Software Requirements |
| 2 | ===================== |
| 3 | |
| 4 | As of today the only available normal-world interface for Trusted Services is available trough linux. Building and end-to-end |
| 5 | firmware stack requires compiling the Linux Kernel and linux user space applications. This restricts the possible host |
| 6 | environments to Linux distributions. |
| 7 | While some TS components can be built under Windows this scenario is not mandated by this documentation. |
| 8 | |
| 9 | The preferred host environment is Ubuntu 18.04. |
| 10 | |
| 11 | The following tools are required: |
| 12 | |
| 13 | * CMake, version 3.18.4. (See the `CMake download page`_.) |
| 14 | * GNU Make v4.1 or higher. |
| 15 | * Git v2.17 or newer. |
| 16 | * Python3.6 and the modules listed in ``<project>/requirements.txt``. |
| 17 | * GCC supporting the deployment. |
| 18 | |
Imre Kis | 3d6848d | 2023-01-04 15:36:19 +0100 | [diff] [blame^] | 19 | * `opteesp` and `sp` environments: a host to aarch64 cross-compiler is needed. Please use the compilers specified by the |
Julian Hall | e76ade8 | 2020-11-25 03:07:21 +0100 | [diff] [blame] | 20 | `OP-TEE documentation`_. |
| 21 | * `arm-linux` environment: a host to aarch64 linux cross-compiler is needed. Please use the version `9.2-2019.12` of the |
| 22 | "aarch64-none-linux-gnu" compiler available from `arm Developer`_. |
| 23 | (Note: the compiler part of the OP-TEE build environment works too.) |
| 24 | * For `linux-pc` environment use the native version of GCC available in your Linux distribution. |
| 25 | |
Gyorgy Szing | bf8a5fc | 2022-11-25 11:33:26 +0100 | [diff] [blame] | 26 | * The `AEM FVP`_ binaries if targeting the FVP platform. |
| 27 | |
Julian Hall | 2075a21 | 2021-03-24 10:11:29 +0000 | [diff] [blame] | 28 | To build the documentation, please refer to :ref:`Documentation Build Instructions`. |
Julian Hall | e76ade8 | 2020-11-25 03:07:21 +0100 | [diff] [blame] | 29 | |
Julian Hall | e76ade8 | 2020-11-25 03:07:21 +0100 | [diff] [blame] | 30 | -------------- |
| 31 | |
| 32 | .. _OP-TEE documentation: https://optee.readthedocs.io/en/latest/building/gits/build.html#step-4-get-the-toolchains |
| 33 | .. _arm Developer: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads |
| 34 | .. _CMake download page: https://cmake.org/files/v3.18/ |
Gyorgy Szing | bf8a5fc | 2022-11-25 11:33:26 +0100 | [diff] [blame] | 35 | .. _`AEM FVP`: https://developer.arm.com/-/media/Files/downloads/ecosystem-models/FVP_Base_RevC-2xAEMvA_11.18_16_Linux64.tgz |
Julian Hall | e76ade8 | 2020-11-25 03:07:21 +0100 | [diff] [blame] | 36 | |
Imre Kis | 3d6848d | 2023-01-04 15:36:19 +0100 | [diff] [blame^] | 37 | *Copyright (c) 2020-2023, Arm Limited and Contributors. All rights reserved.* |
Julian Hall | e76ade8 | 2020-11-25 03:07:21 +0100 | [diff] [blame] | 38 | |
| 39 | SPDX-License-Identifier: BSD-3-Clause |