Hello,
I’m trying to enable the secure debug feature and configured TF-M as follows:
1) Configuration
# ./config/config_base.cmake
set(PLATFORM_PSA_ADAC_SECURE_DEBUG TRUE CACHE BOOL "Whether to use psa-adac secure debug.")
set(PLATFORM_PSA_ADAC_SOURCE_PATH "DOWNLOAD" CACHE PATH "Path to source dir of psa-adac.")
set(PLATFORM_PSA_ADAC_VERSION "819a254" CACHE STRING "The version of psa-adac to use.")
2) Build result (error)
-- Populating libpsaadac
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/jkpark/ADP620/tf-m/cmake_build/rdv3r1/0/lib/ext/libpsaadac-subbuild
[1/9] Creating directories for 'libpsaadac-populate'
[1/9] Performing download step (git clone) for 'libpsaadac-populate'
Cloning into 'libpsaadac-src'...
HEAD is now at 819a254 ADAC: Check return value of psa_adac_generate_challenge
[2/9] Performing update step for 'libpsaadac-populate'
e*rror: pathspec '819a254;;' did not match any file(s) known to git *
*CMake Error at .../libpsaadac-populate-gitupdate.cmake:188 (execute_process): *
* execute_process failed command indexes: *
* 1: "Child return code: 1" *
3) Generated ExternalProject invocation
/cmake_build/rdv3r1/0/lib/ext/libpsaadac-subbuild/CMakeLists.txt
include(ExternalProject)
ExternalProject_Add(libpsaadac-populate
"UPDATE_DISCONNECTED" "False"
"GIT_REPOSITORY" "https://git.trustedfirmware.org/shared/psa-adac.git"
"EXTERNALPROJECT_INTERNAL_ARGUMENT_SEPARATOR"
"GIT_TAG" "819a254" "" ""
SOURCE_DIR "/home/jkpark/ADP620/tf-m/cmake_build/rdv3r1/0/lib/ext/libpsaadac-src"
BINARY_DIR "/home/jkpark/ADP620/tf-m/cmake_build/rdv3r1/0/lib/ext/libpsaadac-build"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
USES_TERMINAL_DOWNLOAD YES
USES_TERMINAL_UPDATE YES
USES_TERMINAL_PATCH YES
)
*Questions *
*https://git.trustedfirmware.org/shared/psa-adac.git https://git.trustedfirmware.org/shared/psa-adac.git *
*What is causing the tag-related error when using the repository at https://git.trustedfirmware.org/shared/psa-adac.git https://git.trustedfirmware.org/shared/psa-adac.git *
?
Environment
Path: /home/jkpark/ADP620/tf-m/cmake_build/rdv3r1/0/...
Platform: RDV3R1
I would be grateful for any advice or pointers from anyone familiar with this.
Thank you!
Hi,
Thank you for reaching out about the issue you're encountering with enabling the secure debug feature in TF-M. Could you please share the TF-M version you are using? There was a similar issue that was previously resolved by the following patch: https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/41061/2/cmake.... Please ensure that this patch is included in your configuration.
We'll look into this and get back to you soon with any advice or pointers that could help resolve the error. Thank you for your patience.
Best regards, Anton
From: 박진국 via TF-M tf-m@lists.trustedfirmware.org Sent: Tuesday, September 2, 2025 12:43 PM To: tf-m@lists.trustedfirmware.org Subject: [TF-M] libpsaadac-populate build Tag error (PLATFORM_PSA_ADAC_SECURE_DEBUG)
Hello,
I’m trying to enable the secure debug feature and configured TF-M as follows:
1) Configuration
# ./config/config_base.cmake
set(PLATFORM_PSA_ADAC_SECURE_DEBUG TRUE CACHE BOOL "Whether to use psa-adac secure debug.")
set(PLATFORM_PSA_ADAC_SOURCE_PATH "DOWNLOAD" CACHE PATH "Path to source dir of psa-adac.")
set(PLATFORM_PSA_ADAC_VERSION "819a254" CACHE STRING "The version of psa-adac to use.")
2) Build result (error)
-- Populating libpsaadac
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/jkpark/ADP620/tf-m/cmake_build/rdv3r1/0/lib/ext/libpsaadac-subbuild
[1/9] Creating directories for 'libpsaadac-populate'
[1/9] Performing download step (git clone) for 'libpsaadac-populate'
Cloning into 'libpsaadac-src'...
HEAD is now at 819a254 ADAC: Check return value of psa_adac_generate_challenge
[2/9] Performing update step for 'libpsaadac-populate'
error: pathspec '819a254;;' did not match any file(s) known to git
CMake Error at .../libpsaadac-populate-gitupdate.cmake:188 (execute_process):
execute_process failed command indexes:
1: "Child return code: 1"
3) Generated ExternalProject invocation
/cmake_build/rdv3r1/0/lib/ext/libpsaadac-subbuild/CMakeLists.txt
include(ExternalProject)
ExternalProject_Add(libpsaadac-populate
"UPDATE_DISCONNECTED" "False"
"GIT_REPOSITORY" "https://git.trustedfirmware.org/shared/psa-adac.git"
"EXTERNALPROJECT_INTERNAL_ARGUMENT_SEPARATOR"
"GIT_TAG" "819a254" "" ""
SOURCE_DIR "/home/jkpark/ADP620/tf-m/cmake_build/rdv3r1/0/lib/ext/libpsaadac-src"
BINARY_DIR "/home/jkpark/ADP620/tf-m/cmake_build/rdv3r1/0/lib/ext/libpsaadac-build"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
USES_TERMINAL_DOWNLOAD YES
USES_TERMINAL_UPDATE YES
USES_TERMINAL_PATCH YES
)
Questions
https://git.trustedfirmware.org/shared/psa-adac.git
What is causing the tag-related error when using the repository at https://git.trustedfirmware.org/shared/psa-adac.git
?
Environment
Path: /home/jkpark/ADP620/tf-m/cmake_build/rdv3r1/0/...
Platform: RDV3R1
I would be grateful for any advice or pointers from anyone familiar with this.
Thank you!
Hi Anton,
The tag is as follows:
revision="refs/tags/RD-INFRA-2024.12.20"
It looks like the patch you mentioned hasn’t been applied to remote_library.cmake yet.
# Content fetching FetchContent_Declare(${ARG_LIB_NAME} ${ARG_FETCH_CONTENT_ARGS} "${GIT_SUBMODULES}" "${GIT_SUBMODULES_VALUE}" ${PATCH_COMMAND} )
I’ll apply the patch and let you know whether it works.
Thanks for your guidance.
Best regards, JK Park
2025년 9월 5일 (금) 오후 11:34, Anton Komlev Anton.Komlev@arm.com님이 작성:
Hi,
Thank you for reaching out about the issue you're encountering with enabling the secure debug feature in TF-M.
Could you please share the TF-M version you are using? There was a similar issue that was previously resolved by the following patch: https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/41061/2/cmake.... Please ensure that this patch is included in your configuration.
We'll look into this and get back to you soon with any advice or pointers that could help resolve the error.
Thank you for your patience.
Best regards,
Anton
*From:* 박진국 via TF-M tf-m@lists.trustedfirmware.org *Sent:* Tuesday, September 2, 2025 12:43 PM *To:* tf-m@lists.trustedfirmware.org *Subject:* [TF-M] libpsaadac-populate build Tag error (PLATFORM_PSA_ADAC_SECURE_DEBUG)
Hello,
I’m trying to enable the secure debug feature and configured TF-M as follows:
- Configuration
# ./config/config_base.cmake
set(PLATFORM_PSA_ADAC_SECURE_DEBUG TRUE CACHE BOOL "Whether to use psa-adac secure debug.")
set(PLATFORM_PSA_ADAC_SOURCE_PATH "DOWNLOAD" CACHE PATH "Path to source dir of psa-adac.")
set(PLATFORM_PSA_ADAC_VERSION "819a254" CACHE STRING "The version of psa-adac to use.")
- Build result (error)
-- Populating libpsaadac
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/jkpark/ADP620/tf-m/cmake_build/rdv3r1/0/lib/ext/libpsaadac-subbuild
[1/9] Creating directories for 'libpsaadac-populate'
[1/9] Performing download step (git clone) for 'libpsaadac-populate'
Cloning into 'libpsaadac-src'...
HEAD is now at 819a254 ADAC: Check return value of psa_adac_generate_challenge
[2/9] Performing update step for 'libpsaadac-populate'
e*rror: pathspec '819a254;;' did not match any file(s) known to git *
*CMake Error at .../libpsaadac-populate-gitupdate.cmake:188 (execute_process): *
*execute_process failed command indexes: *
*1: "Child return code: 1" *
- Generated ExternalProject invocation
/cmake_build/rdv3r1/0/lib/ext/libpsaadac-subbuild/CMakeLists.txt
include(ExternalProject)
ExternalProject_Add(libpsaadac-populate
"UPDATE_DISCONNECTED" "False"
"GIT_REPOSITORY" "https://git.trustedfirmware.org/shared/psa-adac.git"
"EXTERNALPROJECT_INTERNAL_ARGUMENT_SEPARATOR"
"GIT_TAG" "819a254" "" ""
SOURCE_DIR "/home/jkpark/ADP620/tf-m/cmake_build/rdv3r1/0/lib/ext/libpsaadac-src"
BINARY_DIR "/home/jkpark/ADP620/tf-m/cmake_build/rdv3r1/0/lib/ext/libpsaadac-build"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
USES_TERMINAL_DOWNLOAD YES
USES_TERMINAL_UPDATE YES
USES_TERMINAL_PATCH YES
)
*Questions *
*https://git.trustedfirmware.org/shared/psa-adac.git https://git.trustedfirmware.org/shared/psa-adac.git *
*What is causing the tag-related error when using the repository at https://git.trustedfirmware.org/shared/psa-adac.git https://git.trustedfirmware.org/shared/psa-adac.git *
?
Environment
Path: /home/jkpark/ADP620/tf-m/cmake_build/rdv3r1/0/...
Platform: RDV3R1
I would be grateful for any advice or pointers from anyone familiar with this.
Thank you!
Hi Anton,
I’ve applied the patch, and the error we reported earlier is now resolved. Thank you for your advice.
For reference, the (now-resolved) error was:
error: pathspec '819a254;;' did not match any file(s) known to git CMake Error at .../libpsaadac-populate-gitupdate.cmake:188 (execute_process): execute_process failed command indexes: 1: "Child return code: 1"
I’ll proceed with the remaining setup and let you know if anything else comes up. Thanks again for your support.
Best regards, JK Park
2025년 9월 8일 (월) 오후 8:09, 박진국 sky2free1975@gmail.com님이 작성:
Hi Anton,
The tag is as follows:
revision="refs/tags/RD-INFRA-2024.12.20"
It looks like the patch you mentioned hasn’t been applied to remote_library.cmake yet.
# Content fetching FetchContent_Declare(${ARG_LIB_NAME} ${ARG_FETCH_CONTENT_ARGS} "${GIT_SUBMODULES}" "${GIT_SUBMODULES_VALUE}" ${PATCH_COMMAND} )
I’ll apply the patch and let you know whether it works.
Thanks for your guidance.
Best regards, JK Park
2025년 9월 5일 (금) 오후 11:34, Anton Komlev Anton.Komlev@arm.com님이 작성:
Hi,
Thank you for reaching out about the issue you're encountering with enabling the secure debug feature in TF-M.
Could you please share the TF-M version you are using? There was a similar issue that was previously resolved by the following patch: https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/41061/2/cmake.... Please ensure that this patch is included in your configuration.
We'll look into this and get back to you soon with any advice or pointers that could help resolve the error.
Thank you for your patience.
Best regards,
Anton
*From:* 박진국 via TF-M tf-m@lists.trustedfirmware.org *Sent:* Tuesday, September 2, 2025 12:43 PM *To:* tf-m@lists.trustedfirmware.org *Subject:* [TF-M] libpsaadac-populate build Tag error (PLATFORM_PSA_ADAC_SECURE_DEBUG)
Hello,
I’m trying to enable the secure debug feature and configured TF-M as follows:
- Configuration
# ./config/config_base.cmake
set(PLATFORM_PSA_ADAC_SECURE_DEBUG TRUE CACHE BOOL "Whether to use psa-adac secure debug.")
set(PLATFORM_PSA_ADAC_SOURCE_PATH "DOWNLOAD" CACHE PATH "Path to source dir of psa-adac.")
set(PLATFORM_PSA_ADAC_VERSION "819a254" CACHE STRING "The version of psa-adac to use.")
- Build result (error)
-- Populating libpsaadac
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/jkpark/ADP620/tf-m/cmake_build/rdv3r1/0/lib/ext/libpsaadac-subbuild
[1/9] Creating directories for 'libpsaadac-populate'
[1/9] Performing download step (git clone) for 'libpsaadac-populate'
Cloning into 'libpsaadac-src'...
HEAD is now at 819a254 ADAC: Check return value of psa_adac_generate_challenge
[2/9] Performing update step for 'libpsaadac-populate'
e*rror: pathspec '819a254;;' did not match any file(s) known to git *
*CMake Error at .../libpsaadac-populate-gitupdate.cmake:188 (execute_process): *
*execute_process failed command indexes: *
*1: "Child return code: 1" *
- Generated ExternalProject invocation
/cmake_build/rdv3r1/0/lib/ext/libpsaadac-subbuild/CMakeLists.txt
include(ExternalProject)
ExternalProject_Add(libpsaadac-populate
"UPDATE_DISCONNECTED" "False"
"GIT_REPOSITORY" "https://git.trustedfirmware.org/shared/psa-adac.git"
"EXTERNALPROJECT_INTERNAL_ARGUMENT_SEPARATOR"
"GIT_TAG" "819a254" "" ""
SOURCE_DIR "/home/jkpark/ADP620/tf-m/cmake_build/rdv3r1/0/lib/ext/libpsaadac-src"
BINARY_DIR "/home/jkpark/ADP620/tf-m/cmake_build/rdv3r1/0/lib/ext/libpsaadac-build"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
USES_TERMINAL_DOWNLOAD YES
USES_TERMINAL_UPDATE YES
USES_TERMINAL_PATCH YES
)
*Questions *
*https://git.trustedfirmware.org/shared/psa-adac.git https://git.trustedfirmware.org/shared/psa-adac.git *
*What is causing the tag-related error when using the repository at https://git.trustedfirmware.org/shared/psa-adac.git https://git.trustedfirmware.org/shared/psa-adac.git *
?
Environment
Path: /home/jkpark/ADP620/tf-m/cmake_build/rdv3r1/0/...
Platform: RDV3R1
I would be grateful for any advice or pointers from anyone familiar with this.
Thank you!
tf-m@lists.trustedfirmware.org