From patchwork Wed Jan 7 13:51:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harsimran Singh Tungal X-Patchwork-Id: 2094 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1178CFD63C for ; Wed, 7 Jan 2026 13:51:35 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.6212.1767793888747933302 for ; Wed, 07 Jan 2026 05:51:28 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: harsimransingh.tungal@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9553B497; Wed, 7 Jan 2026 05:51:21 -0800 (PST) Received: from e132995.cambridge.arm.com (e132995.arm.com [10.1.35.36]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CDEF73F5A1; Wed, 7 Jan 2026 05:51:27 -0800 (PST) From: Harsimran Singh Tungal To: meta-arm@lists.yoctoproject.org Cc: Harsimran Singh Tungal Subject: [PATCH 0/1] arm-bsp: corstone1000: Enable secure debug on TF-M v2.2.x Date: Wed, 7 Jan 2026 13:51:19 +0000 Message-Id: <20260107135120.585754-1-harsimransingh.tungal@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 07 Jan 2026 13:51:35 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/6821 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 ...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 +++++++++++++++++++ ...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 | 9 ++- 7 files changed, 184 insertions(+), 37 deletions(-) create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0011-Corstone-1000-Enable-different-DRBG-configurations.patch create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0012-bl2-corstone-1000-Remove-psa_adac_to_tfm_apply_permi.patch create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0013-bl2-corstone-1000-secure-debug-waiting-in-CM-LCS.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