1. Article purpose[edit source]
The article aims to help you to rebase your STM32 MPU project on a new ecosystem release by focusing on main changes impacts.
2. Scope of this article[edit source]
This article provides some details for main changes between STM32 MPU ecosystem release v3.1.0 and new STM32 MPU ecosystem release v4.0.0 , to help you for migration.
3. Impacted domains[edit source]
Ongoing |
3.1. Yocto build environment for Distribution Package[edit source]
Yocto layers/recipes to update for new Kirkstone verson. Follow scripts available in OpenEmbedded-Core layer to help user:
- ./layers/openembedded-core/scripts/contrib/convert-overrides.py
- ./layers/openembedded-core/scripts/contrib/convert-spdx-licenses.py
- ./layers/openembedded-core/scripts/contrib/convert-srcuri.py
- ./layers/openembedded-core/scripts/contrib/convert-variable-renames.py
- (cf Yocto Kirkstone release note[1] for more information)
3.2. Hardware configuration[edit source]
Check device tree files for STMP32 MPU Board:
- Linux Kernel: between Linux kernel v5.15-stm32mp-r1 (v5.15.24) and previous Linux kernel v5.10-stm32mp-r2 (v5.10.61)
- - New STM32MP135x-DK Discovery kit
- - STM32MP157x-EV1 Evaluation board
- - STM32MP157x-DK2 Discovery kit
- - ...
- U-Boot: between U-Boot v2021.10-stm32mp-r1 and previous U-Boot v2020.10-stm32mp-r2
- - ...
- OP-TEE: between OP-TEE 3.16.0-stm32mp-r1 and previous OP-TEE 3.12.0-stm32mp-r2
- - ...
- TF-A: between TF-A v2.6-stm32mp-r1 and previous TF-A v2.4-stm32mp-r2
- - ...
3.3. System configuration[edit source]
FIP only on 4.0. NoFIP no more supported
FOTA (memory mapping if activated). if no FOTA activate, no change at driver level. Impact on flashlayout.
Memory mapping update linked to OP-TEE
3.4. Boot stages[edit source]
BL2 more hardcoded and less configurable.
SP-MIN boot chain deprecated replaced by OP-TEE.
3.5. Security[edit source]
SCMI services usage
Bindings changes on OTP calibration.
OTP provisioning protocol updated
3.6. User space and applications[edit source]
New "weston" user for wayland, which avoid executing some application with root profile
- su -l weston -c "<command>" could be used to specify the user profile
Graphic frameworks user change for security reasons (change from community)
3.7. STM32Cube tools[edit source]
TBC |