Skip to content

(Zephyr 3.7) update to 2.1.2 #131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
320b5ea
Revert "Platform: STM32H5: Align MCUBOOT_UPGRADE_STRATEGY to flash_la…
tomi-font Apr 15, 2025
3789857
Revert "bl2: Add dependency for DIRECT_XIP_REVERT"
tomi-font Apr 15, 2025
d46a554
Revert "platform: ext: add local copy of CMSIS v6 files"
tomi-font Apr 15, 2025
9a1c72e
Revert "build: remove the warning when the version Git tag is not found"
tomi-font Apr 15, 2025
0d6524a
Revert "partial revert: stm : fix error on b_u585i_iot02a with TF-Mv2…
tomi-font Apr 15, 2025
acac77b
Revert "stm : fix error on b_u585i_iot02a with TF-Mv2.1.0"
tomi-font Apr 15, 2025
7b5e2e7
Revert "platform: nxp: Use generic assert for target_cfg"
tomi-font Apr 15, 2025
d68b7bf
Revert "platform: rse: Use generic assert for sds"
tomi-font Apr 15, 2025
362c683
Revert "platform: nordic_nrf: Use generic assert for NRFX_ASSERT"
tomi-font Apr 15, 2025
9257aa4
Revert "platform: nordic_nrf: restore ARM_Flash_Uninitialize()"
tomi-font Apr 15, 2025
cffa30b
Revert "SPM: fix compilation warning"
tomi-font Apr 15, 2025
31194ec
Revert "build: Allow bypassing the tf-m-tests version checks"
tomi-font Apr 15, 2025
7f9de6f
Revert "build: Rename RECOMMEND_TFM_TESTS_VERSION to RECOMMENDED_TFM_…
tomi-font Apr 15, 2025
cba9942
Revert "platform: nordic_nrf: restore TFM_DRIVER_STDIO's default value"
tomi-font Apr 15, 2025
a42730d
Reapply "platform: nordic_nrf: Move partition folder for nordic boards"
tomi-font Apr 15, 2025
3d3bdba
Revert "platform: lpcxpresso55s69: download SDK version MCUX_2.15.000"
tomi-font Apr 15, 2025
4338ebb
Revert "zephyr: module: Add zephyr module file"
tomi-font Apr 15, 2025
dd44485
Revert "lib: ext: Disable t_cose and qcbor if not required"
tomi-font Apr 15, 2025
57b48b3
Revert "build: gcc: Force DWARF v4"
tomi-font Apr 15, 2025
003b36f
SPM: Move update_caller_outvec_len into psa_api
nicola-mazzucato-arm Nov 27, 2024
e75cae8
SPM: psa_api: Move reporting of zero-bytes for outvec_written
nicola-mazzucato-arm Nov 27, 2024
9db461a
SPM: psa_api: mapped and unmapped are mutually exclusive
nicola-mazzucato-arm Nov 27, 2024
6c65d12
Crypto: crypto_init: Fix missing unmapping of input vectors
nicola-mazzucato-arm Nov 27, 2024
7b1956c
Attest: tfm_attest_req_mngr: Add missing invec unmapping
nicola-mazzucato-arm Nov 27, 2024
f66cfda
SPM: psa_api: Fix return value to client when psa_connect fails
nicola-mazzucato-arm Dec 11, 2024
74e14de
platform: ext: adi: max32657: Add platform and fetch hal_adi
Jayashree-Srinivasan-adi Nov 8, 2024
8f62ae3
platform: ext: adi: Enable BL2 for MAX32657
ozersa Nov 20, 2024
e7d3e47
platform: ext: adi: Enable TF-M for MAX32657
ozersa Nov 21, 2024
4143de6
platform: ext: adi: Add PPC driver
ozersa Nov 22, 2024
6d53b28
platform: ext: adi: Define S and NS address
ozersa Nov 26, 2024
c91a72d
platform: ext: adi: Define flash regions
ozersa Nov 26, 2024
1327fd4
platform: ext: adi: Set TF-M flash related macros
ozersa Nov 26, 2024
b03aa21
platform: ext: adi: Add Flash driver
ozersa Dec 11, 2024
0bc34a5
platform: ext: adi: Add MAX32657 custom OTP file
ozersa Dec 9, 2024
bc908e7
platform: ext: adi: Allow to NS app read OTP
PicoBoy2017 Nov 27, 2024
c7d9c8a
platform: ext: adi: Enable crypto configs for MAX32657
Nov 15, 2024
34c3406
platform: ext: adi: Enable Attestation Partition
Jayashree-Srinivasan-adi Nov 1, 2024
aabb63d
platform: ext: adi: Add UART driver
ozersa Dec 12, 2024
74606a4
platform: ext: adi: Add MPC driver
PicoBoy2017 Dec 16, 2024
ab181cf
platform: ext: adi: Configure peripheral and memory
ozersa Dec 18, 2024
1fa33de
platform: ext: adi Add NS support
PicoBoy2017 Oct 15, 2024
ff39b23
platform: ext: adi: Add hal_paltform file
ozersa Dec 23, 2024
ec73061
platform: ext: adi: Enable ICC cache
ozersa Dec 23, 2024
e8780a6
platform: ext: adi: Add hal isolation layer
ozersa Dec 23, 2024
92a11b3
platform: ext: adi: Enable CP10CP11 for MAX32657
ozersa Jan 6, 2025
62fdb70
platform: ext: adi: Manage UART between NS and S domain
ozersa Jan 3, 2025
e8d36e8
platform: ext: adi: Enable system reset for secure domain
ozersa Jan 3, 2025
e5e9bf0
platform: ext: common: Add extra SRAM function section
ozersa Feb 22, 2025
7cb03da
Docs: Update Analog Devices maintainer details
adeaarm Mar 13, 2025
95bbf12
platform: ext: adi: Define RAM function section
ozersa Jan 2, 2025
358cc24
platform: ext: adi: clear FPCA bit of control register
PicoBoy2017 Jan 7, 2025
110559f
platform: ext: adi: Add MAX32657 MCUBoot header
ozersa Nov 20, 2024
2999362
platform: ext: common: Do not add BL1 counter if DEFAULT_BL1 is OFF
ozersa Feb 19, 2025
19c389e
platform: ext: adi: Enable provisioning_bundle for MAX32657
ozersa Feb 11, 2025
0ae0135
doc: Add MAX32657
ozersa Jan 30, 2025
6a4f3fe
platform: ext: adi: Enable ADI TESA extention
ozersa Dec 2, 2024
917d1b1
bl2: mcuboot: Fix wrapper to properly mark NSPE images as such
augustozanellato Feb 18, 2025
85b8476
platform: ext: adi: Refactor MAX32657 cmake
ozersa Mar 20, 2025
2062c28
platform: ext: adi: Configure S-NS peripherals ownership
ozersa Feb 25, 2025
45e099e
platform: ext: adi: Add hal_adi peripheral files
ozersa Mar 20, 2025
32d6e44
platform: ext: adi: Add a weak function for peripheral init
ozersa Mar 20, 2025
94128d9
platform: ext: adi: Configure SRAM over overlay file
ozersa Mar 11, 2025
f2d0a30
platform: ext: adi: Configure flash section over overlay file
ozersa Mar 18, 2025
928e12b
SPM: typofix for uni-directional list macro
nicola-mazzucato-arm Apr 26, 2024
0790612
SPM: Use enumerator for connections status
nicola-mazzucato-arm Jan 9, 2025
f6a4a56
SPM: local_connection: Invalidate connection status on free in Debug
nicola-mazzucato-arm Jan 13, 2025
2400943
SPM: backend_ipc: Catch connection use-after-free
nicola-mazzucato-arm Jan 10, 2025
a535450
SPM: psa_api: Free connection in backend for DISCONNECT
nicola-mazzucato-arm Jan 10, 2025
59df060
SPM: Combine fixes for reverse-handle issue
nicola-mazzucato-arm Jun 20, 2024
445ff1e
SPM: Rename p_handles to p_reqs
Jianliang-Shen Dec 5, 2023
e0a28f3
SPM: Do not set connection status in backend
nicola-mazzucato-arm Apr 17, 2024
843d020
SPM: Fix return value warning
hunkob Nov 8, 2024
a52b346
SPM: Add FIH checks to ipc_schedule()
UEWBot Apr 17, 2024
fd84c6f
SPM: backend_ipc: Remove unnecessary FIH guard for checks in ipc_sche…
nicola-mazzucato-arm Mar 26, 2025
7235c79
Utils: Add missing parentheses in macro
UEWBot Apr 19, 2024
92dc4cf
Crypto: Remove patch for MCUBOOT_USE_PSA_CRYPTO in Mbed TLS guards
adeaarm Sep 23, 2024
b813ea7
Crypto: Update to Mbed TLS 3.6.3
davidvincze Mar 21, 2025
f2aaef0
Protected Storage: Do not align NV counters in init
MarkusLassila Jan 10, 2025
24a4dcc
SPM/interrupts: Add missing checks on fih_rc return value
nicola-mazzucato-arm May 23, 2024
32fe7dd
SPM: Remove specific section for psa_interface_thread_fn_call
nicola-mazzucato-arm May 29, 2024
5ae89a5
Platform: RP2350: Update to Pico SDK 2.1.1
will-v-pi Apr 8, 2025
46fe367
Crypto: Update mbed TLS includes that were missed in the first upgrade
adeaarm Apr 11, 2025
eb81dc0
Interface: Align comments on psa/client.h and psa/service.h
adeaarm Apr 11, 2025
0262f84
Crypto: The client side interface provides psa_can_do_hash()
adeaarm Apr 11, 2025
e4ccd40
Docs: Update maintainers and codeowners
nicola-mazzucato-arm Mar 25, 2025
1481904
Docs: Release notes for v2.1.2
nicola-mazzucato-arm Mar 31, 2025
fa92005
build: gcc: Force DWARF v4
nordicjm Sep 30, 2022
aab068e
lib: ext: Disable t_cose and qcbor if not required
microbuilder Feb 9, 2023
083281d
zephyr: module: Add zephyr module file
joerchan Oct 20, 2021
4a19015
platform: lpcxpresso55s69: download SDK version MCUX_2.15.000
tomi-font May 14, 2024
f129eaa
Revert "platform: nordic_nrf: Move partition folder for nordic boards"
tomi-font May 13, 2024
0e8c315
platform: nordic_nrf: restore TFM_DRIVER_STDIO's default value
tomi-font May 14, 2024
ccdf24a
build: Rename RECOMMEND_TFM_TESTS_VERSION to RECOMMENDED_TFM_TESTS_VE…
tomi-font May 15, 2024
a517d14
build: Allow bypassing the tf-m-tests version checks
tomi-font May 15, 2024
062ed97
SPM: fix compilation warning
tomi-font May 17, 2024
d39e518
platform: nordic_nrf: restore ARM_Flash_Uninitialize()
tomi-font May 23, 2024
ed40fdf
platform: nordic_nrf: Use generic assert for NRFX_ASSERT
nicola-mazzucato-arm Jun 24, 2024
36a15d3
platform: rse: Use generic assert for sds
nicola-mazzucato-arm Jun 24, 2024
5605969
platform: nxp: Use generic assert for target_cfg
nicola-mazzucato-arm Jun 24, 2024
129bbbd
build: remove the warning when the version Git tag is not found
tomi-font Jul 10, 2024
bb2b91c
platform: ext: add local copy of CMSIS v6 files
tomi-font Jul 19, 2024
4df09d6
bl2: Add dependency for DIRECT_XIP_REVERT
Vge0rge Aug 23, 2024
bc47bfc
Platform: STM32H5: Align MCUBOOT_UPGRADE_STRATEGY to flash_layout.h
adeaarm Aug 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bl2/ext/mcuboot/scripts/wrapper/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ def wrap(key, align, version, header_size, pad_header, layout, pad, confirm,
rom_fixed = macro_parser.evaluate_macro(layout, rom_fixed_re, 0, 1)

if measured_boot_record:
if "_s" in layout:
if "_s.o" in layout:
record_sw_type = "SPE"
elif "_ns" in layout:
elif "_ns.o" in layout:
record_sw_type = "NSPE"
else:
record_sw_type = "NSPE_SPE"
Expand Down
2 changes: 1 addition & 1 deletion cmake/version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#-------------------------------------------------------------------------------

# The 'TFM_VERSION_MANUAL' is used for fallback when Git tags are not available
set(TFM_VERSION_MANUAL "2.1.1")
set(TFM_VERSION_MANUAL "2.1.2")

execute_process(COMMAND git describe --tags --always
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
Expand Down
3 changes: 2 additions & 1 deletion config/config_base.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ set(PROJECT_CONFIG_HEADER_FILE "" CACHE FILEPATH "User define
# External libraries source and version
set(MBEDCRYPTO_PATH "DOWNLOAD" CACHE PATH "Path to Mbed Crypto (or DOWNLOAD to fetch automatically")
set(MBEDCRYPTO_FORCE_PATCH OFF CACHE BOOL "Always apply MBed Crypto patches")
set(MBEDCRYPTO_VERSION "mbedtls-3.6.2" CACHE STRING "The version of Mbed Crypto to use")
# TODO update to "mbedtls-3.6.3" after release,
set(MBEDCRYPTO_VERSION "f985bee" CACHE STRING "The version of Mbed Crypto to use")
set(MBEDCRYPTO_GIT_REMOTE "https://github.com/Mbed-TLS/mbedtls.git" CACHE STRING "The URL (or path) to retrieve MbedTLS from.")

set(MCUBOOT_PATH "DOWNLOAD" CACHE PATH "Path to MCUboot (or DOWNLOAD to fetch automatically")
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# -- Project information -----------------------------------------------------

project = 'Trusted Firmware-M'
copyright = '2017-2024, ARM CE-OSS'
copyright = '2017-2025, ARM CE-OSS'
author = 'ARM CE-OSS'
title = 'User Guide'

Expand Down
116 changes: 85 additions & 31 deletions docs/contributing/maintainers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ Chris Brand
:email: `[email protected] <[email protected]>`__
:github: `UEWBot <https://github.com/UEWBot>`__

David Hu
:email: `[email protected] <[email protected]>`__
:github: `davidhuziji <https://github.com/davidhuziji>`__

Code owners
===========

Bootloader and FWU
~~~~~~~~~~~~~~~~~~
Bootloader
~~~~~~~~~~

Tamas Ban
:email: `[email protected] <[email protected]>`__
Expand All @@ -35,6 +39,13 @@ David Vincze
:email: `[email protected] <[email protected]>`__
:github: `davidvincze <https://github.com/davidvincze>`__

Firmware Update (FWU)
~~~~~~~~~~~~~~~~~~~~~

Maulik Patel
:email: `[email protected] <[email protected]>`__
:github: `maulik-arm <https://github.com/maulik-arm>`__

BL1 immutable bootloader
~~~~~~~~~~~~~~~~~~~~~~~~

Expand All @@ -45,9 +56,9 @@ Raef Coles
Secure Storage
~~~~~~~~~~~~~~

Jamie Fox
:email: `jamie.fox@arm.com <jamie.fox@arm.com>`__
:github: `jf549 <https://github.com/jf549>`__
Matthew Dalzell
:email: `Matthew.Dalzell@arm.com <Matthew.Dalzell@arm.com>`__
:github: `mdalzellarm <https://github.com/mdalzellarm>`__

Crypto
~~~~~~
Expand All @@ -56,6 +67,10 @@ Antonio de Angelis
:email: `[email protected] <[email protected]>`__
:github: `adeaarm <https://github.com/adeaarm>`__

David Vincze
:email: `[email protected] <[email protected]>`__
:github: `davidvincze <https://github.com/davidvincze>`__

Framework (SPM, etc.)
~~~~~~~~~~~~~~~~~~~~~

Expand All @@ -70,6 +85,13 @@ Maulik Patel
:email: `[email protected] <[email protected]>`__
:github: `maulik-arm <https://github.com/maulik-arm>`__

Platform Partition
~~~~~~~~~~~~~~~~~~

Nicola Mazzucato
:email: `[email protected] <[email protected]>`__
:github: `nicola-mazzucato-arm <https://github.com/nicola-mazzucato-arm>`__

Build System
~~~~~~~~~~~~

Expand All @@ -88,6 +110,13 @@ Matthew Dalzell
:email: `[email protected] <[email protected]>`__
:github: `mdalzellarm <https://github.com/mdalzellarm>`__

SCMI Partition (TF-M-Extras)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Nicola Mazzucato
:email: `[email protected] <[email protected]>`__
:github: `nicola-mazzucato-arm <https://github.com/nicola-mazzucato-arm>`__

Arm Platforms
~~~~~~~~~~~~~

Expand All @@ -101,9 +130,9 @@ David Hazi
Corstone1000
^^^^^^^^^^^^

Xueliang Zhong
:email: `Xueliang.Zhong@arm.com <xueliang.zhong@arm.com>`__
:github: `xueliang-zhong <https://github.com/xueliang-zhong-arm>`__
Hugues Kamba Mpiana
:email: `Hugues.KambaMpiana@arm.com <hugues.kambampiana@arm.com>`__
:github: `hugueskamba <https://github.com/hugueskamba>`__

Emekcan Aras
:email: `[email protected] <[email protected]>`__
Expand All @@ -112,24 +141,42 @@ Emekcan Aras
RSE
^^^

Jamie Fox
:email: `[email protected] <[email protected]>`__
:github: `jf549 <https://github.com/jf549>`__
Raef Coles
:email: `[email protected] <[email protected]>`__
:github: `RcColes <https://github.com/RcColes>`__

Antonio de Angelis
:email: `[email protected] <[email protected]>`__
:github: `adeaarm <https://github.com/adeaarm>`__

Arm Automotive RD
"""""""""""""""""

Diego Sueiro
:email: `[email protected] <[email protected]>`__
:github: `diego-sueiro <https://github.com/diego-sueiro>`__

Peter Hoyes
:email: `[email protected] <[email protected]>`__
:github: `hoyes <https://github.com/hoyes>`__

Ziad Elhanafy
:email: `[email protected] <[email protected]>`__
:github: `ZiadElhanafy <https://github.com/ZiadElhanafy>`__

NXP Platforms
~~~~~~~~~~~~~

Andrej Butok
:email: `Andrey.Butok@nxp.com <andrey.butok@nxp.com>`__
:github: `butok <https://github.com/butok>`__
Ruchika Gupta
:email: `ruchika.gupta_1@nxp.com <ruchika.gupta_1@nxp.com>`__
:github: `ruchi393 <https://github.com/ruchi393>`__

STM Platforms: DISCO_L562QE, NUCLEO_L552ZE_Q
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Michel JAOUEN
:email: `[email protected] <[email protected]>`__
:github: `jamike <https://github.com/jamike>`__
STM Platforms
~~~~~~~~~~~~~

Ahmad EL JOUAID
:email: `[email protected] <[email protected]>`__
:github: `ahmadstm <https://github.com/ahmadstm>`__

Infineon/Cypress Platforms
~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand All @@ -138,8 +185,8 @@ Chris Brand
:email: `Chris [email protected] <[email protected]>`__
:github: `UEWBot <https://github.com/UEWBot>`__

Laird Connectivity Platforms:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laird Connectivity Platforms
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Greg Leach
:email: `[email protected] <[email protected]>`__
Expand All @@ -152,31 +199,38 @@ Georgios Vasilakis
:email: `[email protected] <[email protected]>`__
:github: `Vge0rge <https://github.com/Vge0rge>`__


Nuvoton Platform:
~~~~~~~~~~~~~~~~~
Nuvoton Platform
~~~~~~~~~~~~~~~~

WS Chang
:email: `MS20 [email protected] <[email protected]>`__
:github: `wschang0 <https://github.com/wschang0>`__


ArmChina Platform:
~~~~~~~~~~~~~~~~~~
ArmChina Platform
~~~~~~~~~~~~~~~~~

Jidong Mei
:email: `[email protected] <[email protected]>`__
:github: `JidongMei <https://github.com/JidongMei>`__

Raspberry Pi Platform:
~~~~~~~~~~~~~~~~~~~~~~
Raspberry Pi Platform
~~~~~~~~~~~~~~~~~~~~~

William Vinnicombe
:email: `[email protected] <[email protected]>`__
:github: `Raspberry Pi <https://github.com/raspberrypi>`__

Analog Devices Platform:
~~~~~~~~~~~~~~~~~~~~~~~~

Sadik Ozer
:email: `[email protected]`__
:github: `ozersa <https://github.com/ozersa>`__

=============

.. _Project Maintenance Process: https://trusted-firmware-docs.readthedocs.io/en/latest/generic_processes/project_maintenance_process.html

*Copyright (c) 2017-2024, Arm Limited. All rights reserved.*
*SPDX-License-Identifier: BSD-3-Clause*

*SPDX-FileCopyrightText: Copyright The TrustedFirmware-M Contributors*
13 changes: 13 additions & 0 deletions docs/platform/adi/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
##############################
Analog Devices, Inc. Platforms
##############################

.. toctree::
:maxdepth: 1
:titlesonly:

MAX32657 <max32657/README.rst>

--------------

*Copyright (c) 2025, Analog Devices, Inc. All rights reserved.*
Loading