Page MenuHomePhabricator

What are Trusted Firmware-A Tests?

The Trusted Firmware-A Tests (TF-A-Tests) is a suite of baremetal tests to exercise the Trusted Firmware-A (TF-A) features from the Normal World. It enables strong TF-A functional testing without dependency on a Rich OS. It mainly interacts with TF-A through its SMC interface.

It provides a basis for TF-A developers to validate their own platform ports and add their own test cases.

The following TF-A features are currently tested to some extent (this list is not exhaustive):

These tests are not a compliance test suite for the Arm interface standards used in TF-A (such as PSCI).

They do not cover 100% of the TF-A code. The fact that all tests pass does not mean that TF-A is free of bugs.

They are not reference code. They should not be considered as the official way to test hardware/firmware features. Instead, they are provided as example code to experiment with and improve on.

Getting started on Trusted Firmware-A Tests

See the documentation landing page to get an overview of the TF-A Tests project.

Get the source code from

See the Getting Started Guide for instructions on how to install, build and use the TF-A Tests.

See the Design Guide for information on how the TF-A Tests internally work.

See the Porting Guide for information about how to use this software on another Armv8-A platform.