zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.12k stars 6.21k forks source link

stm32u5: Can't run TF-M samples #74880

Closed erwango closed 1 week ago

erwango commented 3 weeks ago

Describe the bug

It is not possible to run TF-M samples on b_u585i_iot02a due to the 2 following issues:

To Reproduce $ west build -p always -b b_u585i_iot02a//ns samples/tfm_integration/tfm_ipc/

Expected behavior We should be able to flash an run TF-M samples on b_u585i_iot02a//ns

Impact Blocker to use TF-M on this target

Additional context Fixes are identified and provided in the following PR: https://github.com/zephyrproject-rtos/trusted-firmware-m/pull/106 For Zephyr 3.7 release, however, these 2 issues should actually be fixed in TF-M LTS (2.1.1 ?) and Zephyr manifest updated to track this version when available. This ticket is created to track this change.

erwango commented 3 weeks ago

@aescolar, @ithinuel FYI

ithinuel commented 2 weeks ago

@erwango I see the fixes are actually merged in TF-M. Would you mind opening a PR on https://github.com/zephyrproject-rtos/trusted-firmware-m/ (or reopening https://github.com/zephyrproject-rtos/trusted-firmware-m/pull/106) cherry picking the commits from TF-M (such that it has the same change & commit message) ?

erwango commented 2 weeks ago

@ithinuel Thanks, PR has been reopened and updated

erwango commented 1 week ago

Closing as https://github.com/zephyrproject-rtos/zephyr/pull/74850 was merged