-
Notifications
You must be signed in to change notification settings - Fork 1.4k
TF-M (2.2.0) upmerge 2025.08.15 #24031
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
TF-M (2.2.0) upmerge 2025.08.15 #24031
Conversation
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:trusted-firmware-m: PR head: 97e79ea61a6572ed56cdd33396ad7546ef9dfb5d more detailstrusted-firmware-m:
sdk-nrf:
zephyr:
Github labels
List of changed files detected by CI (2079)
Outputs:ToolchainVersion: Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM pending testing and correct SHA
626b446
to
c28bd74
Compare
844cc65
to
290c186
Compare
f23ae07
to
a0e7545
Compare
a0e7545
to
8522032
Compare
You can find the documentation preview for this PR here. |
e432d68
to
1312f12
Compare
1312f12
to
52a01f0
Compare
I want to get that in to unblock upmerge, changelog entries will be added in a separate PR. |
52a01f0
to
cb63fbf
Compare
cb63fbf
to
da89115
Compare
Memory footprint analysis revealed the following potential issuesapplications.hpf.gpio.icbmsg[nrf54l15dk/nrf54l15/cpuflpr]: High RAM usage: 12430[B] - link (cc: @nrfconnect/ncs-ll-ursus) Note: This message is automatically posted and updated by the CI (latest/sdk-nrf/PR-24031/17) |
Bring TF-M updated from 2.1.2 to 2.2.0, aligning with Zephyr. Signed-off-by: Tomi Fontanilles <[email protected]>
Bring updated tf-m-tests revision (v2.2.0) from Zephyr as well as Zephyr commits touching the TF-M integration in order to align NCS. Signed-off-by: Tomi Fontanilles <[email protected]>
Upmerge. Signed-off-by: Tomi Fontanilles <[email protected]>
The in-tree TF-M is now 2.2.0. It requires newer documentation to be available. Signed-off-by: Tomi Fontanilles <[email protected]>
Group most of the appending to TFM_CMAKE_OPTIONS in this CMakeLists.txt file into a single set_property() call. This allows to reduce the number of lines and to make it more obvious that all we are doing is passing configuration options to TF-M. Some occurrences are left untouched. They use more complex conditions than just a single variable boolean check, which would become unreadable with generator expressions. Signed-off-by: Tomi Fontanilles <[email protected]>
TF-M now propagates this CMake option as a compile definition. Pass to the build system the same value that we set in tfm_config.h, otherwise we end up with different redefinitions of PS_ROLLBACK_PROTECTION between the command line (CMake options) and the generated configuration header file. Signed-off-by: Tomi Fontanilles <[email protected]>
TF-M has added a context argument to tfm_plat_err_t. Adjust the definition of our HUK/IAK functions. Message of the upstream commit which made this change: "To allow generic loader functions which load multiple keys. For the time being no loader function actively uses the ctx parameter, but it will be used in RSE in a future patch set" Signed-off-by: Tomi Fontanilles <[email protected]>
The tf-m-tests repo now specifically checks that TFM_PROFILE is equal to profile_large. Because we are using our own profile, it gets considered as invalid configuration. Just fool the TF-M configuration system by passing it what it wants. Signed-off-by: Tomi Fontanilles <[email protected]>
The cmake logic which checks the mcuboot_single_image in order to enable the NRF_NS_SECONDARY variable is wrong since it evaluates the actual mcuboot_single_image string and not the variable. As a result the boolean check is always true and thus the NRF_NS_SECONDARY is never enabled. Fix the check to use the variable and not the literal string. Signed-off-by: Georgios Vasilakis <[email protected]>
da89115
to
8ad144c
Compare
Align TF-M version with Zephyr (2.2.0) and additionally pull in commits related to TF-M from the Zephyr repo.
test_crypto: PR-846
test_tfm: PR-203