################## Trusted Firmware M ################## Trusted Firmware-M (TF-M) implements the Secure Processing Environment (SPE) for Armv8-M, Armv8.1-M architectures (e.g. the `Cortex-M33`_, `Cortex-M23`_, `Cortex-M55`_ processors) or dual-core platforms. It is the Platform Security Architecture (PSA) reference implementation aligning with `PSA Certified`_ guidelines, enabling chips, Real Time Operating Systems and devices to become PSA Certified. TF-M relies on an isolation boundary between the Non-secure Processing Environment (NSPE) and the Secure Processing Environment (SPE). It can but is not limited to using the `Arm TrustZone technology`_ on Armv8-M and Armv8.1-M architectures. In pre-Armv8-M architectures physical core isolation is required. **Trusted Firmware-M consists of:** - Secure Boot to authenticate integrity of NSPE and SPE images - TF-M Core responsible for controlling the isolation, communication and execution within SPE and with NSPE - Crypto, Internal Trusted Storage (ITS), Protected Storage (PS) and Attestation secure services .. figure:: readme_tfm_v8.png :scale: 65 % :align: center PSA FF compiant design with TF-M Applications and Libraries in the Non-secure Processing Environment can utilize these secure services with a standardized set of PSA Functional APIs. Applications running on Cortex-M devices can leverage TF-M services to ensure secure connection with edge gateways and IoT cloud services. It also protects the critical security assets such as sensitive data, keys and certificates on the platform. TF-M is supported on several Cortex-M based :doc:`Microcontrollers ` and Real Time Operating Systems (RTOS). Terms ``TFM`` and ``TF-M`` are commonly used in documents and code and both refer to ``Trusted Firmware M.`` :doc:`Glossary ` has the list of terms and abbreviations. ####### License ####### The software is provided under a BSD-3-Clause :doc:`License `. Contributions to this project are accepted under the same license with developer sign-off as described in the :doc:`Contributing Guidelines `. This project contains code from other projects as listed below. The code from external projects is limited to ``app``, ``bl2``, ``lib`` and ``platform`` folders. The original license text is included in those source files. - The ``app`` folder contains files imported from CMSIS_5 project and the files have Apache 2.0 license. - The ``bl2`` folder contains files imported from MCUBoot project and the files have Apache 2.0 license. - The ``lib`` folder may contain 3rd party files with diverse licenses. - The ``platform`` folder currently contains platforms support imported from the external project and the files may have different licenses. .. Note:: Any folder that contains or directly imports 3rd party code is kept in a specific subfolder named ``ext`` so that it can be isolated if required. The 'ext' folder can be seen in the folders above mentioned. ######################### Release Notes and Process ######################### The :doc:`Release Cadence and Process ` provides release cadence and process information. The :doc:`Change Log & Release Notes ` provides details of major features of the release and platforms supported. ############### Getting Started ############### ************ Prerequisite ************ Trusted Firmware M provides a reference implementation of PSA specifications. It is assumed that the reader is familiar with PSA concepts and terms. PSA specifications can be found at `Platform Security Architecture Resources `__. The current TF-M implementation specifically targets TrustZone for ARMv8-M so a good understanding of the v8-M architecture is also necessary. A good place to get started with ARMv8-M is `developer.arm.com `__. ********************** Really getting started ********************** Trusted Firmware M source code is available on `git.trustedfirmware.org `__. To build & run TF-M: - Follow the :doc:`SW requirements guide ` to set up your environment. - Follow the :doc:`Build instructions ` to compile and build the TF-M source. - Follow the :doc:`User guide ` for information on running the example. To port TF-M to a another system or OS, follow the :doc:`OS Integration Guide ` Please also see the :doc:`glossary ` of terms used in the project. :doc:`Contributing Guidelines ` contains guidance on how to contribute to this project. Further documents can be found in the ``docs`` folder. ################### Platforms supported ################### - Cortex-M55 system: - `Fast model FVP_SSE300_MPS2. `_ - Cortex-M33 system: - `FPGA image loaded on MPS2 board. `_ - `Fast model FVP_MPS2_AEMv8M. `_ - `Musca-A test chip board. `_ - `Musca-B1 test chip board. `_ - `Musca-S1 test chip board. `_ - `FPGA image loaded on MPS3 board. `_ - `Arm DesignStart FPGA on AWS Cloud. `_ - `LPC55S69. `_ - `NUCLEO L552ZE Q. `_ - `DISCO L562QE. `_ - Cortex-M23 system: - `FPGA image loaded on MPS2 board. `_ - Dual Core Cortex-M system: - `PSoc64. `_ #################### Feedback and support #################### For this release, feedback is requested via email to `tf-m@lists.trustedfirmware.org `__. ############### Version history ############### +-------------+--------------+--------------------+-------------------+ | Version | Date | Description | PSA-arch tag/hash | +=============+==============+====================+===================+ | v1.0-beta | 2019-02-15 | 1.0-beta release | - | +-------------+--------------+--------------------+-------------------+ | v1.0-RC1 | 2019-05-31 | 1.0-RC1 release | v19.06_API0.9 | +-------------+--------------+--------------------+-------------------+ | v1.0-RC2 | 2019-10-09 | 1.0-RC2 release | v19.06_API0.9 | +-------------+--------------+--------------------+-------------------+ | v1.0-RC3 | 2019-11-29 | 1.0-RC3 release | v19.06_API0.9 | +-------------+--------------+--------------------+-------------------+ | v1.0 | 2020-03-27 | 1.0 release | v20.03_API1.0 | +-------------+--------------+--------------------+-------------------+ | v1.1 | 2020-07-15 | 1.1 release | 1f960947 | +-------------+--------------+--------------------+-------------------+ .. _Cortex-M33: https://developer.arm.com/ip-products/processors/cortex-m/cortex-m33 .. _Cortex-M23: https://developer.arm.com/ip-products/processors/cortex-m/cortex-m23 .. _Cortex-M55: https://developer.arm.com/ip-products/processors/cortex-m/cortex-m55 .. _PSA Certified: https://www.psacertified.org/about/developing-psa-certified/ .. _Arm TrustZone technology: https://developer.arm.com/ip-products/security-ip/trustzone/trustzone-for-cortex-m -------------- *Copyright (c) 2017-2020, Arm Limited. All rights reserved.*