Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 1 | ################## |
| 2 | Trusted Firmware M |
| 3 | ################## |
| 4 | Trusted Firmware M provides a reference implementation of secure world software |
Ken Liu | fc75006 | 2020-05-09 15:16:20 +0800 | [diff] [blame] | 5 | for Arm M-profile architecture. |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 6 | |
| 7 | .. Note:: |
| 8 | The software implementation contained in this project is designed to be a |
| 9 | reference implementation of the Platform Security Architecture (PSA). |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 10 | |
| 11 | Terms ``TFM`` and ``TF-M`` are commonly used in documents and code and both |
Minos Galanakis | e409401 | 2020-06-12 14:25:34 +0100 | [diff] [blame^] | 12 | refer to ``Trusted Firmware M.`` :doc:`Glossary </docs/reference/glossary>` has the list |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 13 | of terms and abbreviations. |
| 14 | |
| 15 | ####### |
| 16 | License |
| 17 | ####### |
Minos Galanakis | e409401 | 2020-06-12 14:25:34 +0100 | [diff] [blame^] | 18 | The software is provided under a BSD-3-Clause :doc:`License </docs/contributing/lic>`. |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 19 | Contributions to this project are accepted under the same license with developer |
Minos Galanakis | e409401 | 2020-06-12 14:25:34 +0100 | [diff] [blame^] | 20 | sign-off as described in the :doc:`Contributing Guidelines </docs/contributing/contributing>`. |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 21 | |
| 22 | This project contains code from other projects as listed below. The code from |
Ken Liu | fc75006 | 2020-05-09 15:16:20 +0800 | [diff] [blame] | 23 | external projects is limited to ``app``, ``bl2``, ``lib`` and ``platform`` |
| 24 | folders. The original license text is included in those source files. |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 25 | |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 26 | - The ``app`` folder contains files imported from CMSIS_5 project and the files |
| 27 | have Apache 2.0 license. |
| 28 | - The ``bl2`` folder contains files imported from MCUBoot project and the files |
| 29 | have Apache 2.0 license. |
Ken Liu | fc75006 | 2020-05-09 15:16:20 +0800 | [diff] [blame] | 30 | - The ``lib`` folder may contain 3rd party files with diverse licenses. |
| 31 | - The ``platform`` folder currently contains platforms support imported from |
| 32 | the external project and the files may have different licenses. |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 33 | |
| 34 | .. Note:: |
Ken Liu | fc75006 | 2020-05-09 15:16:20 +0800 | [diff] [blame] | 35 | Any folder that contains or directly imports 3rd party code is kept in a |
| 36 | specific subfolder named ``ext`` so that it can be isolated if required. |
| 37 | The 'ext' folder can be seen in the folders above mentioned. |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 38 | |
Soby Mathew | d8efe8f | 2020-03-16 15:19:05 +0000 | [diff] [blame] | 39 | ############# |
| 40 | Release Notes |
| 41 | ############# |
Minos Galanakis | e409401 | 2020-06-12 14:25:34 +0100 | [diff] [blame^] | 42 | The :doc:`Change Log & Release Notes </docs/reference/changelog>` provides details of |
Soby Mathew | d8efe8f | 2020-03-16 15:19:05 +0000 | [diff] [blame] | 43 | major features of the release and platforms supported. |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 44 | |
| 45 | ############### |
| 46 | Getting Started |
| 47 | ############### |
| 48 | |
| 49 | ************ |
| 50 | Prerequisite |
| 51 | ************ |
| 52 | Trusted Firmware M provides a reference implementation of PSA specifications. |
| 53 | It is assumed that the reader is familiar with PSA concepts and terms. PSA |
Ken Liu | fc75006 | 2020-05-09 15:16:20 +0800 | [diff] [blame] | 54 | specifications can be found at |
| 55 | `Platform Security Architecture Resources <https://developer.arm.com/architectures/security-architectures/platform-security-architecture>`__. |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 56 | |
| 57 | The current TF-M implementation specifically targets TrustZone for ARMv8-M so a |
| 58 | good understanding of the v8-M architecture is also necessary. A good place to |
| 59 | get started with ARMv8-M is |
| 60 | `developer.arm.com <https://developer.arm.com/technologies/trustzone>`__. |
| 61 | |
| 62 | ********************** |
| 63 | Really getting started |
| 64 | ********************** |
Ken Liu | fc75006 | 2020-05-09 15:16:20 +0800 | [diff] [blame] | 65 | Trusted Firmware M source code is available on |
Minos Galanakis | 0f39fa5 | 2020-06-08 16:53:53 +0100 | [diff] [blame] | 66 | `git.trustedfirmware.org <https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/>`__. |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 67 | |
| 68 | To build & run TF-M: |
| 69 | |
Minos Galanakis | e409401 | 2020-06-12 14:25:34 +0100 | [diff] [blame^] | 70 | - Follow the :doc:`SW requirements guide </docs/getting_started/tfm_sw_requirement>` |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 71 | to set up your environment. |
| 72 | - Follow the |
Minos Galanakis | e409401 | 2020-06-12 14:25:34 +0100 | [diff] [blame^] | 73 | :doc:`Build instructions </docs/getting_started/tfm_build_instruction>` to compile |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 74 | and build the TF-M source. |
Minos Galanakis | e409401 | 2020-06-12 14:25:34 +0100 | [diff] [blame^] | 75 | - Follow the :doc:`User guide </docs/getting_started/tfm_user_guide>` for information |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 76 | on running the example. |
| 77 | |
| 78 | To port TF-M to a another system or OS, follow the |
Minos Galanakis | e409401 | 2020-06-12 14:25:34 +0100 | [diff] [blame^] | 79 | :doc:`OS Integration Guide </docs/getting_started/tfm_integration_guide>` |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 80 | |
Minos Galanakis | e409401 | 2020-06-12 14:25:34 +0100 | [diff] [blame^] | 81 | Please also see the :doc:`glossary </docs/reference/glossary>` of terms used in the project. |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 82 | |
Minos Galanakis | e409401 | 2020-06-12 14:25:34 +0100 | [diff] [blame^] | 83 | :doc:`Contributing Guidelines </docs/contributing/contributing>` contains guidance on how to |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 84 | contribute to this project. |
| 85 | |
| 86 | Further documents can be found in the ``docs`` folder. |
| 87 | |
Tamas Ban | ab1c828 | 2020-04-29 10:00:04 +0100 | [diff] [blame] | 88 | ################### |
| 89 | Platforms supported |
| 90 | ################### |
Mark Horvath | 9a5a9b9 | 2019-11-29 15:57:55 +0100 | [diff] [blame] | 91 | - Cortex-M55 system: |
| 92 | |
| 93 | - `Fast model FVP_SSE300_MPS2. |
| 94 | <https://developer.arm.com/tools-and-software/open-source-software/arm-platforms-software/arm-ecosystem-fvps>`_ |
| 95 | |
Tamas Ban | ab1c828 | 2020-04-29 10:00:04 +0100 | [diff] [blame] | 96 | - Cortex-M33 system: |
| 97 | |
| 98 | - `FPGA image loaded on MPS2 board. |
| 99 | <https://developer.arm.com/products/system-design/development-boards/cortex-m-prototyping-systems/mps2>`_ |
| 100 | - `Fast model FVP_MPS2_AEMv8M. |
| 101 | <https://developer.arm.com/products/system-design/fixed-virtual-platforms>`_ |
| 102 | - `Musca-A test chip board. |
| 103 | <https://developer.arm.com/products/system-design/development-boards/iot-test-chips-and-boards/musca-a-test-chip-board>`_ |
| 104 | - `Musca-B1 test chip board. |
| 105 | <https://developer.arm.com/products/system-design/development-boards/iot-test-chips-and-boards/musca-b-test-chip-board>`_ |
| 106 | - `Musca-S1 test chip board. |
| 107 | <https://developer.arm.com/tools-and-software/development-boards/iot-test-chips-and-boards/musca-s1-test-chip-board>`_ |
| 108 | - `FPGA image loaded on MPS3 board. |
| 109 | <https://developer.arm.com/tools-and-software/development-boards/fpga-prototyping-boards/mps3>`_ |
| 110 | - `Arm DesignStart FPGA on AWS Cloud. |
| 111 | <https://developer.arm.com/docs/101965/0102/arm-designstart-fpga-on-cloud-arm-ds-getting-started>`_ |
| 112 | - `NXP LPC55S69. |
| 113 | <https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/lpc5500-cortex-m33/lpcxpresso55s69-development-board:LPC55S69-EVK>`_ |
Ludovic Barre | 8a77bdd | 2020-03-26 19:53:07 +0100 | [diff] [blame] | 114 | - `NUCLEO L552ZE Q. |
| 115 | <https://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-mpu-eval-tools/stm32-mcu-mpu-eval-tools/stm32-nucleo-boards/nucleo-l552ze-q.html>`_ |
| 116 | - `DISCO L562QE. |
| 117 | <https://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-mpu-eval-tools/stm32-mcu-mpu-eval-tools/stm32-discovery-kits/stm32l562e-dk.html>`_ |
Tamas Ban | ab1c828 | 2020-04-29 10:00:04 +0100 | [diff] [blame] | 118 | |
| 119 | - Cortex-M23 system: |
| 120 | |
| 121 | - `FPGA image loaded on MPS2 board. |
| 122 | <https://developer.arm.com/products/system-design/development-boards/cortex-m-prototyping-systems/mps2>`_ |
| 123 | |
| 124 | - Dual Core Cortex-M system: |
| 125 | |
| 126 | - `Cypress PSoc64. |
| 127 | <https://www.cypress.com/documentation/product-brochures/cypress-psoc-64-secure-microcontrollers>`_ |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 128 | |
| 129 | #################### |
| 130 | Feedback and support |
| 131 | #################### |
Minos Galanakis | fc6804e | 2020-03-10 11:03:34 +0000 | [diff] [blame] | 132 | For this release, feedback is requested via email to |
| 133 | `tf-m@lists.trustedfirmware.org <tf-m@lists.trustedfirmware.org>`__. |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 134 | |
| 135 | ############### |
| 136 | Version history |
| 137 | ############### |
Soby Mathew | d8efe8f | 2020-03-16 15:19:05 +0000 | [diff] [blame] | 138 | +-------------+--------------+--------------------+---------------+ |
| 139 | | Version | Date | Description | PSA-arch tag | |
| 140 | +=============+==============+====================+===============+ |
| 141 | | v1.0-beta | 2019-02-15 | 1.0-beta release | - | |
| 142 | +-------------+--------------+--------------------+---------------+ |
| 143 | | v1.0-RC1 | 2019-05-31 | 1.0-RC1 release | v19.06_API0.9 | |
| 144 | +-------------+--------------+--------------------+---------------+ |
| 145 | | v1.0-RC2 | 2019-10-09 | 1.0-RC2 release | v19.06_API0.9 | |
| 146 | +-------------+--------------+--------------------+---------------+ |
| 147 | | v1.0-RC3 | 2019-11-29 | 1.0-RC3 release | v19.06_API0.9 | |
| 148 | +-------------+--------------+--------------------+---------------+ |
| 149 | | v1.0 | 2020-03-27 | 1.0 release | v20.03_API1.0 | |
| 150 | +-------------+--------------+--------------------+---------------+ |
Galanakis, Minos | 6ccf7ec | 2019-11-07 15:15:05 +0000 | [diff] [blame] | 151 | |
| 152 | -------------- |
| 153 | |
Minos Galanakis | fc6804e | 2020-03-10 11:03:34 +0000 | [diff] [blame] | 154 | *Copyright (c) 2017-2020, Arm Limited. All rights reserved.* |