blob: a83338ff730702bd18360fccfc645c4793a10cf7 [file] [log] [blame]
Dan Handleyed09d382017-07-05 17:40:29 +01001ARM Trusted Firmware - version 1.4
Douglas Raillardd7c21b72017-06-28 15:23:03 +01002==================================
3
4ARM Trusted Firmware provides a reference implementation of secure world
5software for `ARMv8-A`_, including a `Secure Monitor`_ executing at
Dan Handleyed09d382017-07-05 17:40:29 +01006Exception Level 3 (EL3). It implements various ARM interface standards, such as:
7
8- The `Power State Coordination Interface (PSCI)`_
9- Trusted Board Boot Requirements (TBBR, ARM DEN0006C-1)
10- `SMC Calling Convention`_
11- `System Control and Management Interface`_
12
13As far as possible the code is designed for reuse or porting to other ARMv8-A
14model and hardware platforms.
Douglas Raillardd7c21b72017-06-28 15:23:03 +010015
16ARM will continue development in collaboration with interested parties to
Dan Handleyed09d382017-07-05 17:40:29 +010017provide a full reference implementation of Secure Monitor code and ARM standards
Douglas Raillardd7c21b72017-06-28 15:23:03 +010018to the benefit of all developers working with ARMv8-A TrustZone technology.
19
20License
21-------
22
23The software is provided under a BSD-3-Clause `license`_. Contributions to this
24project are accepted under the same license with developer sign-off as
25described in the `Contributing Guidelines`_.
26
27This project contains code from other projects as listed below. The original
28license text is included in those source files.
29
30- The stdlib source code is derived from FreeBSD code.
31
32- The libfdt source code is dual licensed. It is used by this project under
33 the terms of the BSD-2-Clause license.
34
Dan Handleyed09d382017-07-05 17:40:29 +010035- The LLVM compiler-rt source code is dual licensed. It is used by this
36 project under the terms of the University of Illinois "BSD-Like" license.
37
Douglas Raillardd7c21b72017-06-28 15:23:03 +010038This Release
39------------
40
41This release provides a suitable starting point for productization of secure
Dan Handleyed09d382017-07-05 17:40:29 +010042world boot and runtime firmware, in either the AArch32 or AArch64 execution
43state.
Douglas Raillardd7c21b72017-06-28 15:23:03 +010044
45Users are encouraged to do their own security validation, including penetration
46testing, on any secure world code derived from ARM Trusted Firmware.
47
48Functionality
49~~~~~~~~~~~~~
50
Dan Handleyed09d382017-07-05 17:40:29 +010051- Initialization of the secure world, for example exception vectors, control
52 registers and interrupts for the platform.
Douglas Raillardd7c21b72017-06-28 15:23:03 +010053
54- Library support for CPU specific reset and power down sequences. This
Dan Handleyed09d382017-07-05 17:40:29 +010055 includes support for errata workarounds and the latest ARM DynamIQ CPUs.
Douglas Raillardd7c21b72017-06-28 15:23:03 +010056
57- Drivers to enable standard initialization of ARM System IP, for example
Dan Handleyed09d382017-07-05 17:40:29 +010058 Generic Interrupt Controller (GIC), Cache Coherent Interconnect (CCI),
59 Cache Coherent Network (CCN), Network Interconnect (NIC) and TrustZone
60 Controller (TZC).
Douglas Raillardd7c21b72017-06-28 15:23:03 +010061
Dan Handleyed09d382017-07-05 17:40:29 +010062- A generic `SCMI`_ driver to interface with conforming power controllers, for
63 example the ARM System Control Processor (SCP).
Douglas Raillardd7c21b72017-06-28 15:23:03 +010064
Dan Handleyed09d382017-07-05 17:40:29 +010065- SMC (Secure Monitor Call) handling, conforming to the `SMC Calling
66 Convention`_ using an EL3 runtime services framework.
Douglas Raillardd7c21b72017-06-28 15:23:03 +010067
Dan Handleyed09d382017-07-05 17:40:29 +010068- `PSCI`_ library support for CPU, cluster and system power management
69 use-cases.
70 This library is pre-integrated with the AArch64 EL3 Runtime Software, and
71 is also suitable for integration with other AArch32 EL3 Runtime Software,
72 for example an AArch32 Secure OS.
73
74- A minimal AArch32 Secure Payload (SP\_MIN) to demonstrate `PSCI`_ library
75 integration with AArch32 EL3 Runtime Software.
Douglas Raillardd7c21b72017-06-28 15:23:03 +010076
77- Secure Monitor library code such as world switching, EL1 context management
78 and interrupt routing.
Dan Handleyed09d382017-07-05 17:40:29 +010079 When a Secure-EL1 Payload (SP) is present, for example a Secure OS, the
80 AArch64 EL3 Runtime Software must be integrated with a dispatcher component
81 (SPD) to customize the interaction with the SP.
Douglas Raillardd7c21b72017-06-28 15:23:03 +010082
Dan Handleyed09d382017-07-05 17:40:29 +010083- A Test SP/SPD to demonstrate AArch64 Secure Monitor functionality and SP
84 interaction with PSCI.
Douglas Raillardd7c21b72017-06-28 15:23:03 +010085
Dan Handleyed09d382017-07-05 17:40:29 +010086- SPDs for the `OP-TEE Secure OS`_, `NVidia Trusted Little Kernel`_
87 and `Trusty Secure OS`_.
Douglas Raillardd7c21b72017-06-28 15:23:03 +010088
89- A Trusted Board Boot implementation, conforming to all mandatory TBBR
Dan Handleyed09d382017-07-05 17:40:29 +010090 requirements. This includes image authentication, Firmware Update (or
91 recovery mode), and packaging of the various firmware images into a
92 Firmware Image Package (FIP).
Douglas Raillardd7c21b72017-06-28 15:23:03 +010093
Dan Handleyed09d382017-07-05 17:40:29 +010094- Pre-integration of TBB with the ARM TrustZone CryptoCell product, to take
95 advantage of its hardware Root of Trust and crypto acceleration services.
96
97- Support for alternative boot flows, for example to support platforms where
98 the EL3 Runtime Software is loaded using other firmware or a separate
99 secure system processor.
100
101- Support for the GCC, LLVM and ARM Compiler 6 toolchains.
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100102
103For a full description of functionality and implementation details, please
104see the `Firmware Design`_ and supporting documentation. The `Change Log`_
105provides details of changes made since the last release.
106
107Platforms
108~~~~~~~~~
109
Dan Handleyed09d382017-07-05 17:40:29 +0100110Various AArch32 and AArch64 builds of this release has been tested on variants
111r0, r1 and r2 of the `Juno ARM Development Platform`_.
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100112
Dan Handleyed09d382017-07-05 17:40:29 +0100113Various AArch64 builds of this release have been tested on the following ARM
114`FVP`_\ s (64-bit host machine only):
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100115
Dan Handleyed09d382017-07-05 17:40:29 +0100116NOTE: Unless otherwise stated, the FVP Version is 11.0, Build 11.0.34.
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100117
Dan Handleyed09d382017-07-05 17:40:29 +0100118- ``Foundation_Platform``
119- ``FVP_Base_AEMv8A-AEMv8A`` (Version 8.5, Build 0.8.8502)
120- ``FVP_Base_Cortex-A35x4``
121- ``FVP_Base_Cortex-A53x4``
122- ``FVP_Base_Cortex-A57x4-A53x4``
123- ``FVP_Base_Cortex-A57x4``
124- ``FVP_Base_Cortex-A72x4-A53x4``
125- ``FVP_Base_Cortex-A72x4``
126- ``FVP_Base_Cortex-A73x4-A53x4``
127- ``FVP_Base_Cortex-A73x4``
128- ``FVP_CSS_SGM-775`` (Version 11.0, Build 11.0.36)
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100129
Dan Handleyed09d382017-07-05 17:40:29 +0100130Various AArch32 builds of this release has been tested on the following ARM
131`FVP`_\ s (64-bit host machine only):
132
133- ``FVP_Base_AEMv8A-AEMv8A`` (Version 8.5, Build 0.8.8502)
134- ``FVP_Base_Cortex-A32x4``
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100135
136The Foundation FVP can be downloaded free of charge. The Base FVPs can be
Dan Handleyed09d382017-07-05 17:40:29 +0100137licensed from ARM. See the `ARM FVP website`_.
138
139All the above platforms have been tested with `Linaro Release 17.04`_.
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100140
141This release also contains the following platform support:
142
Dan Handleyed09d382017-07-05 17:40:29 +0100143- HiKey and HiKey960 boards
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100144- MediaTek MT6795 and MT8173 SoCs
Dan Handleyed09d382017-07-05 17:40:29 +0100145- NVidia T132, T186 and T210 SoCs
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100146- QEMU emulator
Dan Handleyed09d382017-07-05 17:40:29 +0100147- RockChip RK3328, RK3368 and RK3399 SoCs
148- Socionext UniPhier SoC family
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100149- Xilinx Zynq UltraScale + MPSoC
150
151Still to Come
152~~~~~~~~~~~~~
153
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100154- More platform support.
155
156- Ongoing support for new architectural features, CPUs and System IP.
157
Dan Handleyed09d382017-07-05 17:40:29 +0100158- Ongoing support for new `PSCI`_, `SCMI`_ and TBBR features.
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100159
160- Ongoing security hardening, optimization and quality improvements.
161
Dan Handleyed09d382017-07-05 17:40:29 +0100162For a full list of detailed issues in the current code, please see the `Change
163Log`_ and the `GitHub issue tracker`_.
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100164
165Getting Started
166---------------
167
Dan Handleyed09d382017-07-05 17:40:29 +0100168Get the Trusted Firmware source code from `GitHub`_.
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100169
170See the `User Guide`_ for instructions on how to install, build and use
171the Trusted Firmware with the ARM `FVP`_\ s.
172
Dan Handleyed09d382017-07-05 17:40:29 +0100173See the `Firmware Design`_ for information on how the Trusted Firmware works.
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100174
175See the `Porting Guide`_ as well for information about how to use this
176software on another ARMv8-A platform.
177
178See the `Contributing Guidelines`_ for information on how to contribute to this
179project and the `Acknowledgments`_ file for a list of contributors to the
180project.
181
182Feedback and support
183~~~~~~~~~~~~~~~~~~~~
184
Dan Handleyed09d382017-07-05 17:40:29 +0100185ARM welcomes any feedback on Trusted Firmware. If you think you have found a
186security vulnerability, please report this using the process defined in the
187Trusted Firmware `Security Centre`_. For all other feedback, please use the
188`GitHub issue tracker`_.
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100189
190ARM licensees may contact ARM directly via their partner managers.
191
192--------------
193
Dan Handleyed09d382017-07-05 17:40:29 +0100194*Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved.*
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100195
196.. _ARMv8-A: http://www.arm.com/products/processors/armv8-architecture.php
197.. _Secure Monitor: http://www.arm.com/products/processors/technologies/trustzone/tee-smc.php
Dan Handleyed09d382017-07-05 17:40:29 +0100198.. _Power State Coordination Interface (PSCI): PSCI_
199.. _PSCI: http://infocenter.arm.com/help/topic/com.arm.doc.den0022d/Power_State_Coordination_Interface_PDD_v1_1_DEN0022D.pdf
200.. _SMC Calling Convention: http://infocenter.arm.com/help/topic/com.arm.doc.den0028b/ARM_DEN0028B_SMC_Calling_Convention.pdf
201.. _System Control and Management Interface: SCMI_
202.. _SCMI: http://infocenter.arm.com/help/topic/com.arm.doc.den0056a/DEN0056A_System_Control_and_Management_Interface.pdf
203.. _Juno ARM Development Platform: http://www.arm.com/products/tools/development-boards/versatile-express/juno-arm-development-platform.php
204.. _ARM FVP website: FVP_
205.. _FVP: https://developer.arm.com/products/system-design/fixed-virtual-platforms
206.. _Linaro Release 17.04: https://community.arm.com/dev-platforms/b/documents/posts/linaro-release-notes-deprecated#LinaroRelease17.04
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100207.. _OP-TEE Secure OS: https://github.com/OP-TEE/optee_os
208.. _NVidia Trusted Little Kernel: http://nv-tegra.nvidia.com/gitweb/?p=3rdparty/ote_partner/tlk.git;a=summary
Dan Handleyed09d382017-07-05 17:40:29 +0100209.. _Trusty Secure OS: https://source.android.com/security/trusty
210.. _GitHub: https://www.github.com/ARM-software/arm-trusted-firmware
211.. _GitHub issue tracker: https://github.com/ARM-software/tf-issues/issues
212.. _Security Centre: https://github.com/ARM-software/arm-trusted-firmware/wiki/ARM-Trusted-Firmware-Security-Centre
213.. _license: ./license.rst
214.. _Contributing Guidelines: ./contributing.rst
215.. _Acknowledgments: ./acknowledgements.rst
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100216.. _Firmware Design: ./docs/firmware-design.rst
217.. _Change Log: ./docs/change-log.rst
Douglas Raillardd7c21b72017-06-28 15:23:03 +0100218.. _User Guide: ./docs/user-guide.rst
219.. _Porting Guide: ./docs/porting-guide.rst