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!