Sandrine Bailleux | d2f3184 | 2020-04-28 12:28:27 +0200 | [diff] [blame] | 1 | Trusted Firmware-A Tests |
| 2 | ======================== |
Sandrine Bailleux | 060a44d | 2020-04-22 12:09:36 +0200 | [diff] [blame] | 3 | |
| 4 | The Trusted Firmware-A Tests (TF-A-Tests) is a suite of baremetal tests to |
| 5 | exercise the `Trusted Firmware-A (TF-A)`_ features from the Normal World. It |
| 6 | enables strong TF-A functional testing without dependency on a Rich OS. It |
| 7 | mainly interacts with TF-A through its SMC interface. |
| 8 | |
| 9 | It provides a basis for TF-A developers to validate their own platform ports and |
| 10 | add their own test cases. |
| 11 | |
| 12 | The following TF-A features are currently tested to some extent (this list is |
| 13 | not exhaustive): |
| 14 | |
| 15 | - `SMC Calling Convention`_ |
| 16 | - `Power State Coordination Interface (PSCI)`_ |
| 17 | - `Software Delegated Exception Interface (SDEI)`_ |
| 18 | - `Performance Measurement Framework (PMF)`_ |
| 19 | - Communication and interaction with the `Test Secure Payload (TSP)`_ |
| 20 | - `Firmware update`_ (or recovery mode) |
| 21 | - `EL3 payload`_ boot flow |
| 22 | - `Secure partition`_ support |
| 23 | |
| 24 | These tests are not a compliance test suite for the Arm interface standards used |
| 25 | in TF-A (such as PSCI). |
| 26 | |
| 27 | They do not cover 100% of the TF-A code. The fact that all tests pass does not |
| 28 | mean that TF-A is free of bugs. |
| 29 | |
| 30 | They are not reference code. They should not be considered as the official way |
| 31 | to test hardware/firmware features. Instead, they are provided as example code |
| 32 | to experiment with and improve on. |
| 33 | |
Sandrine Bailleux | d2f3184 | 2020-04-28 12:28:27 +0200 | [diff] [blame] | 34 | More Info and Documentation |
| 35 | --------------------------- |
Sandrine Bailleux | 060a44d | 2020-04-22 12:09:36 +0200 | [diff] [blame] | 36 | |
Sandrine Bailleux | d2f3184 | 2020-04-28 12:28:27 +0200 | [diff] [blame] | 37 | To find out more about Trusted Firmware-A Tests, please |
| 38 | `view the full documentation`_ that is available through `trustedfirmware.org`_. |
Sandrine Bailleux | 060a44d | 2020-04-22 12:09:36 +0200 | [diff] [blame] | 39 | |
| 40 | -------------- |
| 41 | |
| 42 | *Copyright (c) 2018-2020, Arm Limited. All rights reserved.* |
| 43 | |
Sandrine Bailleux | 060a44d | 2020-04-22 12:09:36 +0200 | [diff] [blame] | 44 | .. _Power State Coordination Interface (PSCI): PSCI_ |
| 45 | .. _PSCI: http://infocenter.arm.com/help/topic/com.arm.doc.den0022d/Power_State_Coordination_Interface_PDD_v1_1_DEN0022D.pdf |
Sandrine Bailleux | d2f3184 | 2020-04-28 12:28:27 +0200 | [diff] [blame] | 46 | |
Sandrine Bailleux | 060a44d | 2020-04-22 12:09:36 +0200 | [diff] [blame] | 47 | .. _Software Delegated Exception Interface (SDEI): SDEI_ |
| 48 | .. _SDEI: http://infocenter.arm.com/help/topic/com.arm.doc.den0054a/ARM_DEN0054A_Software_Delegated_Exception_Interface.pdf |
Sandrine Bailleux | 060a44d | 2020-04-22 12:09:36 +0200 | [diff] [blame] | 49 | |
Sandrine Bailleux | d2f3184 | 2020-04-28 12:28:27 +0200 | [diff] [blame] | 50 | .. _SMC Calling Convention: https://developer.arm.com/docs/den0028/latest |
Sandrine Bailleux | 060a44d | 2020-04-22 12:09:36 +0200 | [diff] [blame] | 51 | |
| 52 | .. _Trusted Firmware-A (TF-A): TF-A_ |
Sandrine Bailleux | d2f3184 | 2020-04-28 12:28:27 +0200 | [diff] [blame] | 53 | .. _TF-A: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git |
Sandrine Bailleux | 060a44d | 2020-04-22 12:09:36 +0200 | [diff] [blame] | 54 | |
Sandrine Bailleux | d2f3184 | 2020-04-28 12:28:27 +0200 | [diff] [blame] | 55 | .. _Test Secure Payload (TSP): TSP_ |
| 56 | .. _TSP: https://trustedfirmware-a.readthedocs.io/en/latest/perf/tsp.html |
| 57 | |
| 58 | .. _Performance Measurement Framework (PMF): PMF_ |
| 59 | .. _PMF: https://trustedfirmware-a.readthedocs.io/en/latest/design/firmware-design.html#performance-measurement-framework |
| 60 | |
| 61 | .. _Firmware update: https://trustedfirmware-a.readthedocs.io/en/latest/components/firmware-update.html |
| 62 | .. _EL3 payload: https://trustedfirmware-a.readthedocs.io/en/latest/design/alt-boot-flows.html#el3-payloads-alternative-boot-flow |
Madhukar Pappireddy | 91407ba | 2023-10-31 13:27:26 -0500 | [diff] [blame] | 63 | .. _Secure partition: https://trustedfirmware-a.readthedocs.io/en/latest/components/secure-partition-manager.html |
Sandrine Bailleux | d2f3184 | 2020-04-28 12:28:27 +0200 | [diff] [blame] | 64 | |
| 65 | .. _view the full documentation: https://trustedfirmware-a-tests.readthedocs.io/ |
| 66 | .. _trustedfirmware.org: http://www.trustedfirmware.org |