mbox series

[whinlatter,0/1] arm-bsp: corstone1000: Enable secure debug on TF-M v2.2.x

Message ID 20260107134931.585408-1-harsimransingh.tungal@arm.com
Headers show
Series arm-bsp: corstone1000: Enable secure debug on TF-M v2.2.x | expand

Message

Harsimran Singh Tungal Jan. 7, 2026, 1:49 p.m. UTC
Allow TF-M v2.2.1 to boot with Secure Debug enabled on Corstone-1000 and
align the driver implementation with the current psa-adac library.

- Add missing DRBG macros to fix the
  "Failed to generate challenge!" error during Secure Debug.
- Fix an unintended platform reset occurring immediately after setting
  the debug enable bits in the dcu_en register while in SE LCS.

Devaraj Ranganna (1):
  arm-bsp: corstone1000: Enable secure debug on TF-M v2.2.x

 ...-Remove-the-weak-function-definition.patch | 116 +++++++++++++++++
 ...Enable-different-DRBG-configurations.patch |  40 ++++++
 ...0-Remove-psa_adac_to_tfm_apply_permi.patch |  51 ++++++++
 ...-1000-secure-debug-waiting-in-CM-LCS.patch |  56 +++++++++
 ...015-CC3XX-Add-logging-on-cc3xx_dcu.c.patch |  88 +++++++++++++
 ...dcu_en-against-the-permanent_disable.patch |  72 +++++++++++
 ...-checking-ICV-restriction-mask-confi.patch | 118 ++++++++++++++++++
 ...sca-B1-and-Corstone-1000-do-not-chec.patch |  49 ++++++++
 ...nk-psa_interface-instead-of-tfm_sprt.patch |  35 ------
 ...Fix-psa_key_handle_t-initialization.patch} |   0
 ...ate-psa_adac_psa_crypto-dependencies.patch |  30 +++++
 .../trusted-firmware-m-corstone1000.inc       |  13 +-
 12 files changed, 631 insertions(+), 37 deletions(-)
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0011-BL2-Remove-the-weak-function-definition.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0012-Corstone-1000-Enable-different-DRBG-configurations.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0013-bl2-corstone-1000-Remove-psa_adac_to_tfm_apply_permi.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0014-bl2-corstone-1000-secure-debug-waiting-in-CM-LCS.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0015-CC3XX-Add-logging-on-cc3xx_dcu.c.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0016-CC3XX-DCU-Check-dcu_en-against-the-permanent_disable.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0017-CC3XX-DCU-Enable-checking-ICV-restriction-mask-confi.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0018-Platform-ADAC-Musca-B1-and-Corstone-1000-do-not-chec.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/psa-adac/0002-ADAC-Link-psa_interface-instead-of-tfm_sprt.patch
 rename meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/psa-adac/{0003-Fix-psa_key_handle_t-initialization.patch => 0002-Fix-psa_key_handle_t-initialization.patch} (100%)
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/psa-adac/0003-cmake-Update-psa_adac_psa_crypto-dependencies.patch