Last edited one week ago

How to choose the STM32MP2 boot flavor

Applicable for STM32MP21x lines, STM32MP23x lines, STM32MP25x lines

The STM32MP2 series can boot on its Arm® Cortex®-A35 or the Arm® Cortex®-M33 core so, one of the first questions to answer while evaluating the platform is to determine which boot flow is the most pertinent for your product, and this is the purpose of this article.

1. Boot chain and trusted domain[edit | edit source]

The boot chain is executed on the boot processor, that can be the Arm® Cortex®-A35 or the Arm® Cortex®-M33 according to boot pins or OTP programming selection.
Since the STM32MP2 series implements a secure boot, this choice also determines the core that owns the security on the platform and the management of the system resources (power, reset, clock, ...). This core is so called the Trusted Domain, or TD.
The TD security foundations are implemented via the resource isolation framework (RIF) where the boot processor is known as the TDCID.

2. Trusted Domain flavor selection helper[edit | edit source]

Below is the key questions ones should answer to decide which trusted domain flavor is the best for his product.


3. Which Trusted Domain flavor does ST support with its software ecosystem[edit | edit source]

Distribution A35-TD flavor M33-TD flavor
Yocto-based OpenSTLinux Yes Yes
Android-based OpenSTDroid Yes (1) Yes (2)
Buildroot-based Linux Yes
OpenWrt-based Linux Yes

(1) Versions OpenSTDroid v6.2.0 or earlier.
(2) Versions OpenSTDroid v6.2.1 or later.

4. Features available by flavor and OSTL version[edit | edit source]

Domains/features A35-TD flavor M33-TD flavor
Boot
Trusted domain boot Yes Yes
Legacy OSTL boot chain Yes
Early services launch on Cortex-M33 (less than 1s) Yes
Dual flash devices boot Yes
Power
Low power consumption Yes Yes
Power management system on Arm® Cortex®-A35 Yes
Power management system on Arm® Cortex®-M33 Yes
Safety
Independent reboot of Arm® Cortex®-A35 Yes
Security
Secure storage Yes
Firmware update Yes Yes
Trusted Domain
TrustZone, Isolation, data integrity, system control Yes Yes
Application
Hard real time on Arm® Cortex®-M33 (2) Yes

(1) See restriction in STM32 MPU ecosystem release note.

(2) To address hard real time on the Arm® Cortex®-M33, it is suggested to select the A35-TD flavor to avoid alteration of the real time on the Arm® Cortex®-M33, due to the system control and interruptions, running on this same core.

5. How to go further with A35-TD flavor [edit | edit source]

A35-TD flavor is available for all STM32MP2 series' boards .

You can start with Getting started set of articles and then switch on

More details, specific to configuration of A35-TD flavor , can be found in :

6. How to go further with M33-TD flavor [edit | edit source]

M33-TD flavor is available for all STM32MP2 series' boards .

You can start with Getting started set of articles and then switch on

More details, specific to configuration of M33-TD flavor , can be found in :

Then you can also visit :