We were discussing a problem with the Zephyr integration of TF-M today on
the Zephyr TSC call, determining how to avoid QCBOR being downloaded at
build time, which is against Zephyr project policy. Zephyr project policy
is that all build dependencies need to exist in the Zephyr project Github
org, and be downloaded before building.
During the discussion, it came up that QCBOR actually doesn't have an OSI
approved open license, even if it appears to have one on first glance:
https://github.com/zephyrproject-rtos/zephyr/issues/54017#issuecomment-1422…
"Essentially" 3-Clause BSD really doesn't legally mean anything
https://github.com/laurencelundblade/QCBOR/blob/master/README.md?plain=1#L5…
It looks like `NON-INFRINGEMENT` has been added to the license text, which
is easy to miss, but entirely changes the license terms.
This is highly problematic, since not being OSI compliant now puts us in a
position where we may have to remove TF-M from Zephyr to avoid blocking the
3.3 release, due to project policy around licenses, or I need to remove
anything that relies on QCBOR until the license can be sorted out, with the
3.3 release and freeze scheduled for Friday. I'll look tomorrow at
disabling attestation tokens, which seem to be the main user of this, but I
wanted to bring the license issues up for anyone else who requires
OSI-complliant licenses since this is easy to miss, and has been missed
until now days from a release.
Thought it was important enough to quickly bring up here for TSC attention,
while I try to find a solution less radical that removing TF-M to avoid
blocking the Zephyr release.
--
Thanks and best regards,
Kevin Townsend
Tech Lead - LITE, Vertical Technologies
Linaro.org │ Open source software for ARM SoCs
Hi Antonio,
Thanks for your suggestions. Indeed, if TEST_PSA_API is disabled, the
build will succeed. So I
suppose this build error is specific to PSA Arch test build, but I haven't
got a clue about which files
should be checked, any guidance would be appreciated.
Best Regards,
Poppy Wu
吴偏偏
Macronix Microelectronics (Suzhou) Co.,Ltd
Antonio De Angelis via TF-M <tf-m(a)lists.trustedfirmware.org>
2023/02/06 23:27
Please respond to
Antonio De Angelis <Antonio.DeAngelis(a)arm.com>
To
Edward Yang <edwardyang(a)mxic.com.cn>, "tf-m(a)lists.trustedfirmware.org"
<tf-m(a)lists.trustedfirmware.org>
cc
nd <nd(a)arm.com>
Subject
[TF-M] Re: gcc build error with TF-M v1.6.0 and v1.7.0
Hi,
This looks like an issue with the toolchain, as cc1 should be configured
correctly (in the correct $PATH) in your build environment. I am not sure
about the specific solution for this, can only suggest to:
1. Make sure that cc1 is part of your toolchain installation
2. PATH is set correctly
You can also check if this happens with the default build (i.e. not with
PSA Arch tests). In case this is specific to PSA Arch test build, suggest
to check with them directly.
Hope this somehow helps.
/Antonio
From: Edward Yang via TF-M <tf-m(a)lists.trustedfirmware.org>
Sent: Monday, February 6, 2023 04:02
To: tf-m(a)lists.trustedfirmware.org
Subject: [TF-M] gcc build error with TF-M v1.6.0 and v1.7.0
Hi experts,
Recently we're testing TF-M v1.6.0, but a build error was encountered as
shown below in red box.
The build tool we used is gcc-arm-none-eabi-9-2020-q2-update, Cmake
3.19.6, the command lines are as following,
mkdir cmake_build
cd cmake_build
cmake .. -DTFM_PLATFORM=arm/mps2/an521 -DTEST_PSA_API=CRYPTO
and the detailed build log is shown below:
(python3.6)
root@Thinos16-dev:~/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m#
mkdir cmake_build
(python3.6)
root@Thinos16-dev:~/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m#
cd cmake_build
(python3.6)
root@Thinos16-dev:~/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build#
cmake .. -DTFM_PLATFORM=arm/mps2/an521 -DTEST_PSA_API=CRYPTO
-- Populating tfm_test_repo
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/lib/ext/tfm_test_repo-subbuild
Scanning dependencies of target tfm_test_repo-populate
[ 11%] Creating directories for 'tfm_test_repo-populate'
[ 22%] Performing download step (git clone) for 'tfm_test_repo-populate'
Cloning into 'tfm_test_repo-src'...
remote: Enumerating objects: 2125, done.
remote: Counting objects: 100% (2125/2125), done.
remote: Compressing objects: 100% (1167/1167), done.
remote: Total 3915 (delta 1881), reused 959 (delta 958), pack-reused 1790
Receiving objects: 100% (3915/3915), 2.34 MiB | 1.35 MiB/s, done.
Resolving deltas: 100% (2747/2747), done.
Checking connectivity... done.
Note: checking out '723905d'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 723905d... Test: Fix bug in BL1 TRNG testsuite
[ 33%] Performing update step for 'tfm_test_repo-populate'
[ 44%] No patch step for 'tfm_test_repo-populate'
[ 55%] No configure step for 'tfm_test_repo-populate'
[ 66%] No build step for 'tfm_test_repo-populate'
[ 77%] No install step for 'tfm_test_repo-populate'
[ 88%] No test step for 'tfm_test_repo-populate'
[100%] Completed 'tfm_test_repo-populate'
[100%] Built target tfm_test_repo-populate
-- The C compiler identification is GNU 9.3.1
-- The ASM compiler identification is GNU
-- Found assembler:
/home/a/Tools/gcc-arm-none-eabi-9-2020-q2-update/bin/arm-none-eabi-gcc
-- Found Git: /usr/bin/git (found version "2.7.4")
-- Populating mbedcrypto
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/lib/ext/mbedcrypto-subbuild
Scanning dependencies of target mbedcrypto-populate
[ 11%] Creating directories for 'mbedcrypto-populate'
[ 22%] Performing download step (git clone) for 'mbedcrypto-populate'
Cloning into 'mbedcrypto-src'...
remote: Enumerating objects: 24752, done.
remote: Counting objects: 100% (24752/24752), done.
remote: Compressing objects: 100% (12192/12192), done.
remote: Total 24752 (delta 19476), reused 16609 (delta 12385), pack-reused
0
Receiving objects: 100% (24752/24752), 27.22 MiB | 193.00 KiB/s, done.
Resolving deltas: 100% (19476/19476), done.
Checking connectivity... done.
Note: checking out 'mbedtls-3.1.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at d65aeb3... Merge pull request #871 from
ronald-cron-arm/mbedtls-3.1.0rc0-pr
[ 33%] Performing update step for 'mbedcrypto-populate'
[ 44%] Performing patch step for 'mbedcrypto-populate'
[ 55%] No configure step for 'mbedcrypto-populate'
[ 66%] No build step for 'mbedcrypto-populate'
[ 77%] No install step for 'mbedcrypto-populate'
[ 88%] No test step for 'mbedcrypto-populate'
[100%] Completed 'mbedcrypto-populate'
[100%] Built target mbedcrypto-populate
-- Populating mcuboot
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/lib/ext/mcuboot-subbuild
Scanning dependencies of target mcuboot-populate
[ 11%] Creating directories for 'mcuboot-populate'
[ 22%] Performing download step (git clone) for 'mcuboot-populate'
Cloning into 'mcuboot-src'...
remote: Enumerating objects: 15238, done.
remote: Counting objects: 100% (97/97), done.
remote: Compressing objects: 100% (72/72), done.
remote: Total 15238 (delta 25), reused 56 (delta 20), pack-reused 15141
Receiving objects: 100% (15238/15238), 5.39 MiB | 2.06 MiB/s, done.
Resolving deltas: 100% (9918/9918), done.
Checking connectivity... done.
Note: checking out 'v1.9.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at c657cbe... Update to version 1.9.0
[ 33%] Performing update step for 'mcuboot-populate'
[ 44%] No patch step for 'mcuboot-populate'
[ 55%] No configure step for 'mcuboot-populate'
[ 66%] No build step for 'mcuboot-populate'
[ 77%] No install step for 'mcuboot-populate'
[ 88%] No test step for 'mcuboot-populate'
[100%] Completed 'mcuboot-populate'
[100%] Built target mcuboot-populate
-- Populating psa_arch_tests
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/lib/ext/psa_arch_tests-subbuild
Scanning dependencies of target psa_arch_tests-populate
[ 11%] Creating directories for 'psa_arch_tests-populate'
[ 22%] Performing download step (git clone) for 'psa_arch_tests-populate'
Cloning into 'psa_arch_tests-src'...
remote: Enumerating objects: 12584, done.
remote: Counting objects: 100% (497/497), done.
remote: Compressing objects: 100% (219/219), done.
remote: Total 12584 (delta 321), reused 353 (delta 277), pack-reused 12087
Receiving objects: 100% (12584/12584), 17.82 MiB | 2.50 MiB/s, done.
Resolving deltas: 100% (9416/9416), done.
Checking connectivity... done.
Note: checking out 'f7e8495'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at f7e8495... Merge pull request #317 from
joerchan/tfm-fix-wdt-timeout
[ 33%] Performing update step for 'psa_arch_tests-populate'
[ 44%] Performing patch step for 'psa_arch_tests-populate'
[ 55%] No configure step for 'psa_arch_tests-populate'
[ 66%] No build step for 'psa_arch_tests-populate'
[ 77%] No install step for 'psa_arch_tests-populate'
[ 88%] No test step for 'psa_arch_tests-populate'
[100%] Completed 'psa_arch_tests-populate'
[100%] Built target psa_arch_tests-populate
-- Found Python3: /home/a/python3.6/bin/python3.6 (found version "3.6.12")
found components: Interpreter
Start to generate partition files:
Generating Protected Storage Service in
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/generated/secure_fw/partitions/protected_storage
Generating TF-M Internal Trusted Storage Service in
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/generated/secure_fw/partitions/internal_trusted_storage
Generating TFM Crypto Service in
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/generated/secure_fw/partitions/crypto
Generating TFM Platform Service in
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/generated/secure_fw/partitions/platform
Generating TFM Initial Attestation Service in
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/generated/secure_fw/partitions/initial_attestation
Per-partition files done:
-- ---------- Display crypto configuration - start --------------
-- CRYPTO_RNG_MODULE_DISABLED is set to FALSE
-- CRYPTO_KEY_MODULE_DISABLED is set to FALSE
-- CRYPTO_AEAD_MODULE_DISABLED is set to FALSE
-- CRYPTO_MAC_MODULE_DISABLED is set to FALSE
-- CRYPTO_CIPHER_MODULE_DISABLED is set to FALSE
-- CRYPTO_HASH_MODULE_DISABLED is set to FALSE
-- CRYPTO_KEY_DERIVATION_MODULE_DISABLED is set to FALSE
-- CRYPTO_ASYM_SIGN_MODULE_DISABLED is set to FALSE
-- CRYPTO_ASYM_ENCRYPT_MODULE_DISABLED is set to FALSE
-- CRYPTO_ENGINE_BUF_SIZE is set to 0x5000
-- CRYPTO_CONC_OPER_NUM is set to 8
-- CRYPTO_IOVEC_BUFFER_SIZE is set to 5120
-- ---------- Display crypto configuration - stop ---------------
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Failed
-- Found Perl: /usr/bin/perl (found version "5.22.1")
-- ----------- Display storage configuration - start ------------
-- PS_CREATE_FLASH_LAYOUT is set to ON
-- PS_ENCRYPTION is set to ON
-- PS_RAM_FS is set to OFF
-- PS_ROLLBACK_PROTECTION is set to ON
-- PS_VALIDATE_METADATA_FROM_FLASH is set to ON
-- PS_MAX_ASSET_SIZE is set to 2048
-- PS_NUM_ASSETS is set to 10
-- PS_CRYPTO_AEAD_ALG is set to PSA_ALG_GCM
-- ITS_CREATE_FLASH_LAYOUT is set to ON
-- ITS_RAM_FS is set to OFF
-- ITS_VALIDATE_METADATA_FROM_FLASH is set to ON
-- ITS_MAX_ASSET_SIZE is set to 1229
-- ITS_NUM_ASSETS is set to 10
-- ITS_BUF_SIZE is not set (defaults to ITS_MAX_ASSET_SIZE)
-- ----------- Display storage configuration - stop -------------
-- Found PythonInterp: /home/a/python3.6/bin/python3 (found suitable
version "3.6.12", minimum required is "3")
-- [PSA] : ----------Process input arguments- start-------------
-- [PSA] : TARGET is set to tgt_dev_apis_tfm_an521
-- [PSA] : SUITE is set to CRYPTO
-- [PSA] : TOOLCHAIN is set to GNUARM
-- [PSA] : CPU_ARCH is set to armv8m_ml
-- [PSA] : Defaulting VERBOSE to 3
-- [PSA] : Defaulting INCLUDE_PANIC_TESTS to 0
-- [PSA] : Defaulting WATCHDOG_AVAILABLE to 1
-- [PSA] : Default spec version
-- [PSA] : Defaulting TESTS_COVERAGE to ALL
-- [PSA] : ----------Process input arguments- complete-------------
-- [PSA] : Creating testlist.txt 'available at
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/crypto_testlist.txt'
Non-secure test entry symbol list:
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/test_entry_list.inc,
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/test_entry_fn_declare_list.inc
-- [PSA] : C compiler used
'/home/a/Tools/gcc-arm-none-eabi-9-2020-q2-update/bin/arm-none-eabi-gcc'
-- [PSA] : ASM compiler used
'/home/a/Tools/gcc-arm-none-eabi-9-2020-q2-update/bin/arm-none-eabi-gcc'
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build
(python3.6)
root@Thinos16-dev:~/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build#
make install
Scanning dependencies of target tfm_fih_implementation
[ 0%] Building C object
lib/fih/CMakeFiles/tfm_fih_implementation.dir/src/fih.o
[ 1%] Linking C static library libtfm_fih_implementation.a
[ 1%] Built target tfm_fih_implementation
Scanning dependencies of target tfm_generated_files
[ 1%] Built target tfm_generated_files
Scanning dependencies of target tfm_s_scatter
[ 1%] Building C object
platform/target/CMakeFiles/tfm_s_scatter.dir/__/__/__/__/common/gcc/tfm_common_s.ld
[ 1%] Built target tfm_s_scatter
Scanning dependencies of target tfm_qcbor_s
[ 2%] Building C object
lib/ext/qcbor/CMakeFiles/tfm_qcbor_s.dir/src/ieee754.o
[ 2%] Building C object
lib/ext/qcbor/CMakeFiles/tfm_qcbor_s.dir/src/qcbor_encode.o
[ 2%] Building C object
lib/ext/qcbor/CMakeFiles/tfm_qcbor_s.dir/src/qcbor_decode.o
[ 2%] Building C object
lib/ext/qcbor/CMakeFiles/tfm_qcbor_s.dir/src/UsefulBuf.o
[ 2%] Linking C static library libtfm_qcbor_s.a
[ 2%] Built target tfm_qcbor_s
Scanning dependencies of target tfm_t_cose_s
[ 2%] Building C object
lib/ext/t_cose/CMakeFiles/tfm_t_cose_s.dir/src/t_cose_sign1_sign.o
[ 2%] Building C object
lib/ext/t_cose/CMakeFiles/tfm_t_cose_s.dir/src/t_cose_sign1_verify.o
[ 2%] Building C object
lib/ext/t_cose/CMakeFiles/tfm_t_cose_s.dir/src/t_cose_util.o
[ 3%] Building C object
lib/ext/t_cose/CMakeFiles/tfm_t_cose_s.dir/src/t_cose_parameters.o
[ 3%] Building C object
lib/ext/t_cose/CMakeFiles/tfm_t_cose_s.dir/crypto_adapters/t_cose_psa_crypto.o
[ 3%] Linking C static library libtfm_t_cose_s.a
[ 3%] Built target tfm_t_cose_s
Scanning dependencies of target platform_s
[ 3%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/cmsis_drivers/Driver_Flash.o
[ 3%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/cmsis_drivers/Driver_MPC.o
[ 3%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/cmsis_drivers/Driver_PPC.o
[ 3%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/cmsis_drivers/Driver_USART.o
[ 4%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/retarget/platform_retarget_dev.o
[ 4%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/cmsis_core/system_cmsdk_mps2_an521.o
[ 4%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/native_drivers/mpc_sie200_drv.o
[ 4%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/native_drivers/mpu_armv8m_drv.o
[ 4%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/native_drivers/ppc_sse200_drv.o
[ 4%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/spm_hal.o
[ 4%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/tfm_interrupts.o
[ 5%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/tfm_hal_isolation.o
[ 5%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/tfm_hal_platform.o
[ 5%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/target_cfg.o
[ 5%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/native_drivers/arm_uart_drv.o
[ 5%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/native_drivers/timer_cmsdk/timer_cmsdk.o
[ 5%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/tfm_hal_nvic.o
[ 6%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/tfm_hal_isolation_mpu_v8m.o
[ 6%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/services/src/tfm_platform_system.o
[ 6%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/tfm_hal_ps.o
[ 6%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/tfm_hal_its.o
[ 6%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/tfm_platform.o
[ 6%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/uart_stdout.o
[ 7%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/faults.o
[ 7%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/tfm_hal_memory_symbols.o
[ 7%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/template/attest_hal.o
[ 7%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/template/nv_counters.o
[ 7%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/template/crypto_keys.o
[ 7%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/template/tfm_rotpk.o
[ 8%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/template/crypto_nv_seed.o
[ 8%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/template/flash_otp_nv_counters_backend.o
[ 8%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/template/otp_flash.o
[ 8%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/provisioning.o
[ 8%] Building C object
platform/CMakeFiles/platform_s.dir/__/secure_fw/spm/cmsis_psa/psa_interface_cross.o
[ 8%] Building C object
platform/CMakeFiles/platform_s.dir/__/interface/src/tfm_psa_call_pack.o
[ 9%] Linking C static library libplatform_s.a
[ 9%] Built target platform_s
Scanning dependencies of target tfm_psa_rot_partition_platform
[ 9%] Building C object
secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/platform_sp.o
[ 9%] Building C object
secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/__/__/__/generated/secure_fw/partitions/platform/auto_generated/intermedia_tfm_platform.o
[ 9%] Building C object
secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/__/__/spm/cmsis_psa/psa_interface_cross.o
[ 9%] Building C object
secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/__/__/__/interface/src/tfm_psa_call_pack.o
[ 9%] Linking C static library libtfm_psa_rot_partition_platform.a
[ 9%] Built target tfm_psa_rot_partition_platform
Scanning dependencies of target tfm_psa_rot_partition_its
[ 10%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/tfm_its_req_mngr.o
[ 10%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/tfm_internal_trusted_storage.o
[ 10%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/its_utils.o
[ 10%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash/its_flash.o
[ 10%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash/its_flash_nand.o
[ 10%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash/its_flash_nor.o
[ 11%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash/its_flash_ram.o
[ 11%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash_fs/its_flash_fs.o
[ 11%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash_fs/its_flash_fs_dblock.o
[ 11%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash_fs/its_flash_fs_mblock.o
[ 11%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/__/__/__/generated/secure_fw/partitions/internal_trusted_storage/auto_generated/intermedia_tfm_internal_trusted_storage.o
[ 11%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/__/__/spm/cmsis_psa/psa_interface_cross.o
[ 11%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/__/__/__/interface/src/tfm_psa_call_pack.o
[ 12%] Linking C static library libtfm_psa_rot_partition_its.a
[ 12%] Built target tfm_psa_rot_partition_its
Scanning dependencies of target tfm_app_rot_partition_ps
[ 12%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/tfm_ps_req_mngr.o
[ 13%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/tfm_protected_storage.o
[ 13%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/ps_object_system.o
[ 13%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/ps_object_table.o
[ 13%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/ps_utils.o
[ 13%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/crypto/ps_crypto_interface.o
[ 13%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/ps_encrypted_object.o
[ 14%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/nv_counters/ps_nv_counters.o
[ 14%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/__/__/generated/secure_fw/partitions/protected_storage/auto_generated/intermedia_tfm_protected_storage.o
[ 14%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/__/spm/cmsis_psa/psa_interface_cross.o
[ 14%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/__/__/interface/src/tfm_psa_call_pack.o
[ 14%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/__/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o
[ 14%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/__/__/generated/secure_fw/partitions/initial_attestation/auto_generated/load_info_tfm_initial_attestation.o
[ 15%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/__/__/generated/secure_fw/partitions/protected_storage/auto_generated/load_info_tfm_protected_storage.o
[ 15%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/__/__/generated/secure_fw/partitions/internal_trusted_storage/auto_generated/load_info_tfm_internal_trusted_storage.o
[ 15%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/__/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o
[ 15%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/ns_agent_tz/load_info_ns_agent_tz.o
[ 15%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/idle_partition/load_info_idle_sp.o
[ 15%] Linking C static library libtfm_app_rot_partition_ps.a
[ 15%] Built target tfm_app_rot_partition_ps
Scanning dependencies of target tfm_psa_rot_partition_attestation
[ 15%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/tfm_attest.o
[ 15%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/tfm_attest_req_mngr.o
[ 15%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/attest_core.o
[ 15%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/attest_asymmetric_key.o
[ 15%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/attest_token_encode.o
[ 17%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/generated/secure_fw/partitions/initial_attestation/auto_generated/intermedia_tfm_initial_attestation.o
[ 17%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/spm/cmsis_psa/psa_interface_cross.o
[ 17%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/interface/src/tfm_psa_call_pack.o
[ 17%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/lib/ext/t_cose/src/t_cose_sign1_sign.o
[ 17%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/lib/ext/t_cose/src/t_cose_sign1_verify.o
[ 17%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/lib/ext/t_cose/src/t_cose_util.o
[ 17%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/lib/ext/t_cose/src/t_cose_parameters.o
[ 18%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/lib/ext/t_cose/crypto_adapters/t_cose_psa_crypto.o
[ 18%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o
[ 18%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/generated/secure_fw/partitions/initial_attestation/auto_generated/load_info_tfm_initial_attestation.o
[ 18%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/generated/secure_fw/partitions/protected_storage/auto_generated/load_info_tfm_protected_storage.o
[ 18%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/generated/secure_fw/partitions/internal_trusted_storage/auto_generated/load_info_tfm_internal_trusted_storage.o
[ 18%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o
[ 19%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/ns_agent_tz/load_info_ns_agent_tz.o
[ 19%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/idle_partition/load_info_idle_sp.o
[ 19%] Linking C static library libtfm_psa_rot_partition_attestation.a
[ 19%] Built target tfm_psa_rot_partition_attestation
[ 19%] Generating version_features.c
[ 19%] Generating error.c
[ 19%] Generating ssl_debug_helpers_generated.h,
ssl_debug_helpers_generated.c
Scanning dependencies of target crypto_service_mbedcrypto
[ 19%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/aes.o
[ 19%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/aesni.o
[ 19%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/aria.o
[ 20%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/asn1parse.o
[ 20%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/asn1write.o
[ 20%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/base64.o
[ 20%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/bignum.o
[ 20%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/camellia.o
[ 20%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ccm.o
[ 21%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/chacha20.o
[ 21%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/chachapoly.o
[ 21%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/cipher.o
[ 21%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/cipher_wrap.o
[ 21%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/constant_time.o
[ 21%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/cmac.o
[ 22%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ctr_drbg.o
[ 22%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/des.o
[ 22%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/dhm.o
[ 22%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ecdh.o
[ 22%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ecdsa.o
[ 22%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ecjpake.o
[ 23%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ecp.o
[ 23%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ecp_curves.o
[ 23%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/entropy.o
[ 23%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/entropy_poll.o
[ 23%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/error.o
[ 23%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/gcm.o
[ 24%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/hkdf.o
[ 24%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/hmac_drbg.o
[ 24%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/md.o
[ 24%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/md5.o
[ 24%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/memory_buffer_alloc.o
[ 24%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/mps_reader.o
[ 24%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/mps_trace.o
[ 25%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/nist_kw.o
[ 25%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/oid.o
[ 25%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/padlock.o
[ 25%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/pem.o
[ 25%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/pk.o
[ 25%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/pk_wrap.o
[ 26%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/pkcs12.o
[ 26%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/pkcs5.o
[ 26%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/pkparse.o
[ 26%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/pkwrite.o
[ 26%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/platform.o
[ 26%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/platform_util.o
[ 27%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/poly1305.o
[ 27%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto.o
[ 27%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_aead.o
[ 27%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_cipher.o
[ 27%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_client.o
[ 27%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_driver_wrappers.o
[ 28%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_ecp.o
[ 28%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_hash.o
[ 28%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_mac.o
[ 28%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_rsa.o
[ 28%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_se.o
[ 28%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_slot_management.o
[ 29%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_storage.o
[ 29%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_its_file.o
[ 29%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ripemd160.o
[ 29%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/rsa.o
[ 29%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/rsa_alt_helpers.o
[ 29%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/sha1.o
[ 29%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/sha256.o
[ 30%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/sha512.o
[ 30%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ssl_debug_helpers_generated.o
[ 30%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/threading.o
[ 30%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/timing.o
[ 30%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/version.o
[ 30%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/version_features.o
[ 31%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/__/__/__/__/__/secure_fw/partitions/crypto/tfm_mbedcrypto_alt.o
[ 31%] Linking C static library libmbedcrypto.a
[ 31%] Built target crypto_service_mbedcrypto
Scanning dependencies of target tfm_psa_rot_partition_crypto
[ 31%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_init.o
[ 31%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_alloc.o
[ 31%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_cipher.o
[ 32%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_hash.o
[ 32%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_mac.o
[ 32%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_key.o
[ 32%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_aead.o
[ 32%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_asymmetric.o
[ 32%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_key_derivation.o
[ 34%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_key_management.o
[ 34%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_rng.o
[ 34%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/__/__/__/generated/secure_fw/partitions/crypto/auto_generated/intermedia_tfm_crypto.o
[ 34%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/__/__/spm/cmsis_psa/psa_interface_cross.o
[ 34%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/__/__/__/interface/src/tfm_psa_call_pack.o
[ 34%] Linking C static library libtfm_psa_rot_partition_crypto.a
[ 34%] Built target tfm_psa_rot_partition_crypto
Scanning dependencies of target tfm_sprt
[ 34%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/crt_memcmp.o
[ 34%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/crt_memcpy.o
[ 35%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/crt_memmove.o
[ 35%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/crt_memset.o
[ 35%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/crt_strnlen.o
[ 35%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/service_api.o
[ 35%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/sprt_partition_metadata_indicator.o
[ 35%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/sprt_main.o
[ 36%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/sfn_common_thread.o
[ 36%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/crypto/tfm_crypto_secure_api.o
[ 36%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/initial_attestation/tfm_attest_secure_api.o
[ 36%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/protected_storage/tfm_ps_secure_api.o
[ 36%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/internal_trusted_storage/tfm_its_secure_api.o
[ 36%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/platform/tfm_platform_secure_api.o
[ 37%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/__/spm/cmsis_psa/psa_interface_cross.o
[ 37%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/__/__/interface/src/tfm_psa_call_pack.o
[ 37%] Linking C static library libtfm_sprt.a
[ 37%] Built target tfm_sprt
Scanning dependencies of target tfm_spm
[ 37%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/tfm_boot_data.o
[ 37%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/tfm_core_utils.o
[ 37%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/utilities.o
[ 37%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/arch/tfm_arch.o
[ 37%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/main.o
[ 38%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/spm_ipc.o
[ 38%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/spm_cross_call.o
[ 38%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/static_load.o
[ 38%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/psa_api.o
[ 38%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/backend_ipc.o
[ 38%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/interrupt.o
[ 39%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/tfm_core_svcalls_ipc.o
[ 39%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/tfm_pools.o
[ 39%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/thread.o
[ 39%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/ns_client_ext/tfm_spm_ns_ctx.o
[ 39%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/arch/tfm_arch_v8m_main.o
[ 39%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/ns_agent_tz/ns_agent_tz.o
[ 40%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/idle_partition/idle_partition.o
[ 40%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/psa_interface_cross.o
[ 40%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/interface/src/tfm_psa_call_pack.o
[ 40%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o
[ 40%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/initial_attestation/auto_generated/load_info_tfm_initial_attestation.o
[ 40%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/protected_storage/auto_generated/load_info_tfm_protected_storage.o
[ 41%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/internal_trusted_storage/auto_generated/load_info_tfm_internal_trusted_storage.o
[ 41%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o
[ 41%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/ns_agent_tz/load_info_ns_agent_tz.o
[ 41%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/idle_partition/load_info_idle_sp.o
[ 41%] Linking C static library libtfm_spm.a
[ 41%] Built target tfm_spm
Scanning dependencies of target tfm_s
[ 41%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/partitions/ns_agent_tz/tfm_psa_api_veneers.o
[ 42%] Building ASM object
secure_fw/CMakeFiles/tfm_s.dir/__/platform/ext/target/arm/mps2/an521/gcc/startup_cmsdk_mps2_an521_s.o
[ 42%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o
[ 42%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/initial_attestation/auto_generated/load_info_tfm_initial_attestation.o
[ 42%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/protected_storage/auto_generated/load_info_tfm_protected_storage.o
[ 42%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/internal_trusted_storage/auto_generated/load_info_tfm_internal_trusted_storage.o
[ 42%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o
[ 43%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/partitions/ns_agent_tz/load_info_ns_agent_tz.o
[ 43%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/partitions/idle_partition/load_info_idle_sp.o
[ 43%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/spm/cmsis_psa/psa_interface_cross.o
[ 43%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/__/interface/src/tfm_psa_call_pack.o
[ 43%] Linking C executable ../bin/tfm_s.axf
Memory region Used Size Region Size %age Used
FLASH: 140584 B 446 KB 30.78%
RAM: 73792 B 1 MB 7.04%
[ 43%] Built target tfm_s
Scanning dependencies of target tfm_s_hex
[ 43%] Generating ../bin/tfm_s.hex
[ 43%] Built target tfm_s_hex
Scanning dependencies of target tfm_s_bin
[ 43%] Generating ../bin/tfm_s.bin
[ 43%] Built target tfm_s_bin
Scanning dependencies of target tfm_s_elf
[ 44%] Generating ../bin/tfm_s.elf
[ 44%] Built target tfm_s_elf
Scanning dependencies of target tfm_s_binaries
[ 44%] Built target tfm_s_binaries
[ 44%] Generating s_veneers.o
Scanning dependencies of target tfm_s_veneers
[ 44%] Generating s_veneers.o
[ 45%] Linking C static library libtfm_s_veneers.a
[ 45%] Built target tfm_s_veneers
Scanning dependencies of target tfm_ns_scatter
[ 45%] Building C object
platform/target/CMakeFiles/tfm_ns_scatter.dir/gcc/mps2_an521_ns.ld
[ 45%] Built target tfm_ns_scatter
Scanning dependencies of target platform_ns
[ 46%] Building C object
platform/CMakeFiles/platform_ns.dir/ext/target/arm/mps2/an521/native_drivers/arm_uart_drv.o
[ 46%] Building C object
platform/CMakeFiles/platform_ns.dir/ext/target/arm/mps2/an521/native_drivers/timer_cmsdk/timer_cmsdk.o
[ 46%] Building C object
platform/CMakeFiles/platform_ns.dir/ext/target/arm/mps2/an521/cmsis_drivers/Driver_USART.o
[ 46%] Building C object
platform/CMakeFiles/platform_ns.dir/ext/target/arm/mps2/an521/retarget/platform_retarget_dev.o
[ 46%] Building C object
platform/CMakeFiles/platform_ns.dir/ext/target/arm/mps2/an521/cmsis_core/system_cmsdk_mps2_an521.o
[ 46%] Building C object
platform/CMakeFiles/platform_ns.dir/ext/target/arm/mps2/an521/plat_test.o
[ 47%] Building C object
platform/CMakeFiles/platform_ns.dir/ext/common/uart_stdout.o
[ 47%] Linking C static library libplatform_ns.a
[ 47%] Built target platform_ns
Scanning dependencies of target tfm_api_ns
[ 47%] Building C object
tf-m-tests/app/CMakeFiles/tfm_api_ns.dir/__/__/__/interface/src/tfm_platform_ipc_api.o
[ 47%] Building C object
tf-m-tests/app/CMakeFiles/tfm_api_ns.dir/__/__/__/interface/src/tfm_ps_ipc_api.o
[ 47%] Building C object
tf-m-tests/app/CMakeFiles/tfm_api_ns.dir/__/__/__/interface/src/tfm_its_ipc_api.o
[ 48%] Building C object
tf-m-tests/app/CMakeFiles/tfm_api_ns.dir/__/__/__/interface/src/tfm_crypto_ipc_api.o
[ 48%] Building C object
tf-m-tests/app/CMakeFiles/tfm_api_ns.dir/__/__/__/interface/src/tfm_initial_attestation_ipc_api.o
[ 48%] Building C object
tf-m-tests/app/CMakeFiles/tfm_api_ns.dir/__/__/__/interface/src/tfm_psa_ns_api.o
[ 48%] Building C object
tf-m-tests/app/CMakeFiles/tfm_api_ns.dir/tfm_ns_interface.o
[ 48%] Linking C static library libtfm_api_ns.a
[ 48%] Built target tfm_api_ns
Scanning dependencies of target psa_generate_database_prerequisite
[ 48%] Built target psa_generate_database_prerequisite
Scanning dependencies of target psa_generate_database
[ 48%] Creating directories for 'psa_generate_database'
[ 48%] No download step for 'psa_generate_database'
[ 48%] No update step for 'psa_generate_database'
[ 48%] No patch step for 'psa_generate_database'
[ 50%] Performing configure step for 'psa_generate_database'
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/src/psa_generate_database-build
[ 50%] No build step for 'psa_generate_database'
[ 50%] Performing install step for 'psa_generate_database'
[ 20%] [PSA] : Creating generator source
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/targetConfigGen.c
Scanning dependencies of target TargetConfigGen
[ 40%] Building C object
CMakeFiles/TargetConfigGen.dir/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/targetConfigGen.c.o
cc: error trying to exec 'cc1': execvp: No such file or directory
CMakeFiles/TargetConfigGen.dir/build.make:85: recipe for target
'CMakeFiles/TargetConfigGen.dir/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/targetConfigGen.c.o'
failed
make[5]: ***
[CMakeFiles/TargetConfigGen.dir/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/targetConfigGen.c.o]
Error 1
CMakeFiles/Makefile2:96: recipe for target
'CMakeFiles/TargetConfigGen.dir/all' failed
make[4]: *** [CMakeFiles/TargetConfigGen.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make[3]: *** [all] Error 2
tf-m-tests/app/psa_api_tests/CMakeFiles/psa_generate_database.dir/build.make:93:
recipe for target
'tf-m-tests/app/psa_api_tests/src/psa_generate_database-stamp/psa_generate_database-install'
failed
make[2]: ***
[tf-m-tests/app/psa_api_tests/src/psa_generate_database-stamp/psa_generate_database-install]
Error 2
CMakeFiles/Makefile2:1862: recipe for target
'tf-m-tests/app/psa_api_tests/CMakeFiles/psa_generate_database.dir/all'
failed
make[1]: ***
[tf-m-tests/app/psa_api_tests/CMakeFiles/psa_generate_database.dir/all]
Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2
We've reinstalled the dependency tools as described in TF-M "Getting
Started Guide",
besides the same gcc tool works fine with TF-M v1.4.0, are there anything
we've ignored?
Best Regards,
Poppy Wu
吴偏偏
Macronix Microelectronics (Suzhou) Co.,Ltd--
TF-M mailing list -- tf-m(a)lists.trustedfirmware.org
To unsubscribe send an email to tf-m-leave(a)lists.trustedfirmware.org
Hi experts,
Recently we're testing TF-M v1.6.0, but a build error was encountered as
shown below in red box.
The build tool we used is gcc-arm-none-eabi-9-2020-q2-update, Cmake
3.19.6, the command lines are as following,
mkdir cmake_build
cd cmake_build
cmake .. -DTFM_PLATFORM=arm/mps2/an521 -DTEST_PSA_API=CRYPTO
and the detailed build log is shown below:
(python3.6)
root@Thinos16-dev:~/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m#
mkdir cmake_build
(python3.6)
root@Thinos16-dev:~/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m#
cd cmake_build
(python3.6)
root@Thinos16-dev:~/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build#
cmake .. -DTFM_PLATFORM=arm/mps2/an521 -DTEST_PSA_API=CRYPTO
-- Populating tfm_test_repo
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/lib/ext/tfm_test_repo-subbuild
Scanning dependencies of target tfm_test_repo-populate
[ 11%] Creating directories for 'tfm_test_repo-populate'
[ 22%] Performing download step (git clone) for 'tfm_test_repo-populate'
Cloning into 'tfm_test_repo-src'...
remote: Enumerating objects: 2125, done.
remote: Counting objects: 100% (2125/2125), done.
remote: Compressing objects: 100% (1167/1167), done.
remote: Total 3915 (delta 1881), reused 959 (delta 958), pack-reused 1790
Receiving objects: 100% (3915/3915), 2.34 MiB | 1.35 MiB/s, done.
Resolving deltas: 100% (2747/2747), done.
Checking connectivity... done.
Note: checking out '723905d'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 723905d... Test: Fix bug in BL1 TRNG testsuite
[ 33%] Performing update step for 'tfm_test_repo-populate'
[ 44%] No patch step for 'tfm_test_repo-populate'
[ 55%] No configure step for 'tfm_test_repo-populate'
[ 66%] No build step for 'tfm_test_repo-populate'
[ 77%] No install step for 'tfm_test_repo-populate'
[ 88%] No test step for 'tfm_test_repo-populate'
[100%] Completed 'tfm_test_repo-populate'
[100%] Built target tfm_test_repo-populate
-- The C compiler identification is GNU 9.3.1
-- The ASM compiler identification is GNU
-- Found assembler:
/home/a/Tools/gcc-arm-none-eabi-9-2020-q2-update/bin/arm-none-eabi-gcc
-- Found Git: /usr/bin/git (found version "2.7.4")
-- Populating mbedcrypto
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/lib/ext/mbedcrypto-subbuild
Scanning dependencies of target mbedcrypto-populate
[ 11%] Creating directories for 'mbedcrypto-populate'
[ 22%] Performing download step (git clone) for 'mbedcrypto-populate'
Cloning into 'mbedcrypto-src'...
remote: Enumerating objects: 24752, done.
remote: Counting objects: 100% (24752/24752), done.
remote: Compressing objects: 100% (12192/12192), done.
remote: Total 24752 (delta 19476), reused 16609 (delta 12385), pack-reused
0
Receiving objects: 100% (24752/24752), 27.22 MiB | 193.00 KiB/s, done.
Resolving deltas: 100% (19476/19476), done.
Checking connectivity... done.
Note: checking out 'mbedtls-3.1.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at d65aeb3... Merge pull request #871 from
ronald-cron-arm/mbedtls-3.1.0rc0-pr
[ 33%] Performing update step for 'mbedcrypto-populate'
[ 44%] Performing patch step for 'mbedcrypto-populate'
[ 55%] No configure step for 'mbedcrypto-populate'
[ 66%] No build step for 'mbedcrypto-populate'
[ 77%] No install step for 'mbedcrypto-populate'
[ 88%] No test step for 'mbedcrypto-populate'
[100%] Completed 'mbedcrypto-populate'
[100%] Built target mbedcrypto-populate
-- Populating mcuboot
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/lib/ext/mcuboot-subbuild
Scanning dependencies of target mcuboot-populate
[ 11%] Creating directories for 'mcuboot-populate'
[ 22%] Performing download step (git clone) for 'mcuboot-populate'
Cloning into 'mcuboot-src'...
remote: Enumerating objects: 15238, done.
remote: Counting objects: 100% (97/97), done.
remote: Compressing objects: 100% (72/72), done.
remote: Total 15238 (delta 25), reused 56 (delta 20), pack-reused 15141
Receiving objects: 100% (15238/15238), 5.39 MiB | 2.06 MiB/s, done.
Resolving deltas: 100% (9918/9918), done.
Checking connectivity... done.
Note: checking out 'v1.9.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at c657cbe... Update to version 1.9.0
[ 33%] Performing update step for 'mcuboot-populate'
[ 44%] No patch step for 'mcuboot-populate'
[ 55%] No configure step for 'mcuboot-populate'
[ 66%] No build step for 'mcuboot-populate'
[ 77%] No install step for 'mcuboot-populate'
[ 88%] No test step for 'mcuboot-populate'
[100%] Completed 'mcuboot-populate'
[100%] Built target mcuboot-populate
-- Populating psa_arch_tests
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/lib/ext/psa_arch_tests-subbuild
Scanning dependencies of target psa_arch_tests-populate
[ 11%] Creating directories for 'psa_arch_tests-populate'
[ 22%] Performing download step (git clone) for 'psa_arch_tests-populate'
Cloning into 'psa_arch_tests-src'...
remote: Enumerating objects: 12584, done.
remote: Counting objects: 100% (497/497), done.
remote: Compressing objects: 100% (219/219), done.
remote: Total 12584 (delta 321), reused 353 (delta 277), pack-reused 12087
Receiving objects: 100% (12584/12584), 17.82 MiB | 2.50 MiB/s, done.
Resolving deltas: 100% (9416/9416), done.
Checking connectivity... done.
Note: checking out 'f7e8495'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at f7e8495... Merge pull request #317 from
joerchan/tfm-fix-wdt-timeout
[ 33%] Performing update step for 'psa_arch_tests-populate'
[ 44%] Performing patch step for 'psa_arch_tests-populate'
[ 55%] No configure step for 'psa_arch_tests-populate'
[ 66%] No build step for 'psa_arch_tests-populate'
[ 77%] No install step for 'psa_arch_tests-populate'
[ 88%] No test step for 'psa_arch_tests-populate'
[100%] Completed 'psa_arch_tests-populate'
[100%] Built target psa_arch_tests-populate
-- Found Python3: /home/a/python3.6/bin/python3.6 (found version "3.6.12")
found components: Interpreter
Start to generate partition files:
Generating Protected Storage Service in
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/generated/secure_fw/partitions/protected_storage
Generating TF-M Internal Trusted Storage Service in
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/generated/secure_fw/partitions/internal_trusted_storage
Generating TFM Crypto Service in
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/generated/secure_fw/partitions/crypto
Generating TFM Platform Service in
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/generated/secure_fw/partitions/platform
Generating TFM Initial Attestation Service in
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/generated/secure_fw/partitions/initial_attestation
Per-partition files done:
-- ---------- Display crypto configuration - start --------------
-- CRYPTO_RNG_MODULE_DISABLED is set to FALSE
-- CRYPTO_KEY_MODULE_DISABLED is set to FALSE
-- CRYPTO_AEAD_MODULE_DISABLED is set to FALSE
-- CRYPTO_MAC_MODULE_DISABLED is set to FALSE
-- CRYPTO_CIPHER_MODULE_DISABLED is set to FALSE
-- CRYPTO_HASH_MODULE_DISABLED is set to FALSE
-- CRYPTO_KEY_DERIVATION_MODULE_DISABLED is set to FALSE
-- CRYPTO_ASYM_SIGN_MODULE_DISABLED is set to FALSE
-- CRYPTO_ASYM_ENCRYPT_MODULE_DISABLED is set to FALSE
-- CRYPTO_ENGINE_BUF_SIZE is set to 0x5000
-- CRYPTO_CONC_OPER_NUM is set to 8
-- CRYPTO_IOVEC_BUFFER_SIZE is set to 5120
-- ---------- Display crypto configuration - stop ---------------
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Failed
-- Found Perl: /usr/bin/perl (found version "5.22.1")
-- ----------- Display storage configuration - start ------------
-- PS_CREATE_FLASH_LAYOUT is set to ON
-- PS_ENCRYPTION is set to ON
-- PS_RAM_FS is set to OFF
-- PS_ROLLBACK_PROTECTION is set to ON
-- PS_VALIDATE_METADATA_FROM_FLASH is set to ON
-- PS_MAX_ASSET_SIZE is set to 2048
-- PS_NUM_ASSETS is set to 10
-- PS_CRYPTO_AEAD_ALG is set to PSA_ALG_GCM
-- ITS_CREATE_FLASH_LAYOUT is set to ON
-- ITS_RAM_FS is set to OFF
-- ITS_VALIDATE_METADATA_FROM_FLASH is set to ON
-- ITS_MAX_ASSET_SIZE is set to 1229
-- ITS_NUM_ASSETS is set to 10
-- ITS_BUF_SIZE is not set (defaults to ITS_MAX_ASSET_SIZE)
-- ----------- Display storage configuration - stop -------------
-- Found PythonInterp: /home/a/python3.6/bin/python3 (found suitable
version "3.6.12", minimum required is "3")
-- [PSA] : ----------Process input arguments- start-------------
-- [PSA] : TARGET is set to tgt_dev_apis_tfm_an521
-- [PSA] : SUITE is set to CRYPTO
-- [PSA] : TOOLCHAIN is set to GNUARM
-- [PSA] : CPU_ARCH is set to armv8m_ml
-- [PSA] : Defaulting VERBOSE to 3
-- [PSA] : Defaulting INCLUDE_PANIC_TESTS to 0
-- [PSA] : Defaulting WATCHDOG_AVAILABLE to 1
-- [PSA] : Default spec version
-- [PSA] : Defaulting TESTS_COVERAGE to ALL
-- [PSA] : ----------Process input arguments- complete-------------
-- [PSA] : Creating testlist.txt 'available at
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/crypto_testlist.txt'
Non-secure test entry symbol list:
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/test_entry_list.inc,
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/test_entry_fn_declare_list.inc
-- [PSA] : C compiler used
'/home/a/Tools/gcc-arm-none-eabi-9-2020-q2-update/bin/arm-none-eabi-gcc'
-- [PSA] : ASM compiler used
'/home/a/Tools/gcc-arm-none-eabi-9-2020-q2-update/bin/arm-none-eabi-gcc'
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build
(python3.6)
root@Thinos16-dev:~/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build#
make install
Scanning dependencies of target tfm_fih_implementation
[ 0%] Building C object
lib/fih/CMakeFiles/tfm_fih_implementation.dir/src/fih.o
[ 1%] Linking C static library libtfm_fih_implementation.a
[ 1%] Built target tfm_fih_implementation
Scanning dependencies of target tfm_generated_files
[ 1%] Built target tfm_generated_files
Scanning dependencies of target tfm_s_scatter
[ 1%] Building C object
platform/target/CMakeFiles/tfm_s_scatter.dir/__/__/__/__/common/gcc/tfm_common_s.ld
[ 1%] Built target tfm_s_scatter
Scanning dependencies of target tfm_qcbor_s
[ 2%] Building C object
lib/ext/qcbor/CMakeFiles/tfm_qcbor_s.dir/src/ieee754.o
[ 2%] Building C object
lib/ext/qcbor/CMakeFiles/tfm_qcbor_s.dir/src/qcbor_encode.o
[ 2%] Building C object
lib/ext/qcbor/CMakeFiles/tfm_qcbor_s.dir/src/qcbor_decode.o
[ 2%] Building C object
lib/ext/qcbor/CMakeFiles/tfm_qcbor_s.dir/src/UsefulBuf.o
[ 2%] Linking C static library libtfm_qcbor_s.a
[ 2%] Built target tfm_qcbor_s
Scanning dependencies of target tfm_t_cose_s
[ 2%] Building C object
lib/ext/t_cose/CMakeFiles/tfm_t_cose_s.dir/src/t_cose_sign1_sign.o
[ 2%] Building C object
lib/ext/t_cose/CMakeFiles/tfm_t_cose_s.dir/src/t_cose_sign1_verify.o
[ 2%] Building C object
lib/ext/t_cose/CMakeFiles/tfm_t_cose_s.dir/src/t_cose_util.o
[ 3%] Building C object
lib/ext/t_cose/CMakeFiles/tfm_t_cose_s.dir/src/t_cose_parameters.o
[ 3%] Building C object
lib/ext/t_cose/CMakeFiles/tfm_t_cose_s.dir/crypto_adapters/t_cose_psa_crypto.o
[ 3%] Linking C static library libtfm_t_cose_s.a
[ 3%] Built target tfm_t_cose_s
Scanning dependencies of target platform_s
[ 3%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/cmsis_drivers/Driver_Flash.o
[ 3%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/cmsis_drivers/Driver_MPC.o
[ 3%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/cmsis_drivers/Driver_PPC.o
[ 3%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/cmsis_drivers/Driver_USART.o
[ 4%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/retarget/platform_retarget_dev.o
[ 4%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/cmsis_core/system_cmsdk_mps2_an521.o
[ 4%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/native_drivers/mpc_sie200_drv.o
[ 4%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/native_drivers/mpu_armv8m_drv.o
[ 4%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/native_drivers/ppc_sse200_drv.o
[ 4%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/spm_hal.o
[ 4%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/tfm_interrupts.o
[ 5%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/tfm_hal_isolation.o
[ 5%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/tfm_hal_platform.o
[ 5%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/target_cfg.o
[ 5%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/native_drivers/arm_uart_drv.o
[ 5%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/native_drivers/timer_cmsdk/timer_cmsdk.o
[ 5%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/tfm_hal_nvic.o
[ 6%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/tfm_hal_isolation_mpu_v8m.o
[ 6%] Building C object
platform/CMakeFiles/platform_s.dir/ext/target/arm/mps2/an521/services/src/tfm_platform_system.o
[ 6%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/tfm_hal_ps.o
[ 6%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/tfm_hal_its.o
[ 6%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/tfm_platform.o
[ 6%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/uart_stdout.o
[ 7%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/faults.o
[ 7%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/tfm_hal_memory_symbols.o
[ 7%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/template/attest_hal.o
[ 7%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/template/nv_counters.o
[ 7%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/template/crypto_keys.o
[ 7%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/template/tfm_rotpk.o
[ 8%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/template/crypto_nv_seed.o
[ 8%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/template/flash_otp_nv_counters_backend.o
[ 8%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/template/otp_flash.o
[ 8%] Building C object
platform/CMakeFiles/platform_s.dir/ext/common/provisioning.o
[ 8%] Building C object
platform/CMakeFiles/platform_s.dir/__/secure_fw/spm/cmsis_psa/psa_interface_cross.o
[ 8%] Building C object
platform/CMakeFiles/platform_s.dir/__/interface/src/tfm_psa_call_pack.o
[ 9%] Linking C static library libplatform_s.a
[ 9%] Built target platform_s
Scanning dependencies of target tfm_psa_rot_partition_platform
[ 9%] Building C object
secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/platform_sp.o
[ 9%] Building C object
secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/__/__/__/generated/secure_fw/partitions/platform/auto_generated/intermedia_tfm_platform.o
[ 9%] Building C object
secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/__/__/spm/cmsis_psa/psa_interface_cross.o
[ 9%] Building C object
secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/__/__/__/interface/src/tfm_psa_call_pack.o
[ 9%] Linking C static library libtfm_psa_rot_partition_platform.a
[ 9%] Built target tfm_psa_rot_partition_platform
Scanning dependencies of target tfm_psa_rot_partition_its
[ 10%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/tfm_its_req_mngr.o
[ 10%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/tfm_internal_trusted_storage.o
[ 10%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/its_utils.o
[ 10%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash/its_flash.o
[ 10%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash/its_flash_nand.o
[ 10%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash/its_flash_nor.o
[ 11%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash/its_flash_ram.o
[ 11%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash_fs/its_flash_fs.o
[ 11%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash_fs/its_flash_fs_dblock.o
[ 11%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash_fs/its_flash_fs_mblock.o
[ 11%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/__/__/__/generated/secure_fw/partitions/internal_trusted_storage/auto_generated/intermedia_tfm_internal_trusted_storage.o
[ 11%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/__/__/spm/cmsis_psa/psa_interface_cross.o
[ 11%] Building C object
secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/__/__/__/interface/src/tfm_psa_call_pack.o
[ 12%] Linking C static library libtfm_psa_rot_partition_its.a
[ 12%] Built target tfm_psa_rot_partition_its
Scanning dependencies of target tfm_app_rot_partition_ps
[ 12%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/tfm_ps_req_mngr.o
[ 13%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/tfm_protected_storage.o
[ 13%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/ps_object_system.o
[ 13%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/ps_object_table.o
[ 13%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/ps_utils.o
[ 13%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/crypto/ps_crypto_interface.o
[ 13%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/ps_encrypted_object.o
[ 14%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/nv_counters/ps_nv_counters.o
[ 14%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/__/__/generated/secure_fw/partitions/protected_storage/auto_generated/intermedia_tfm_protected_storage.o
[ 14%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/__/spm/cmsis_psa/psa_interface_cross.o
[ 14%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/__/__/interface/src/tfm_psa_call_pack.o
[ 14%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/__/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o
[ 14%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/__/__/generated/secure_fw/partitions/initial_attestation/auto_generated/load_info_tfm_initial_attestation.o
[ 15%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/__/__/generated/secure_fw/partitions/protected_storage/auto_generated/load_info_tfm_protected_storage.o
[ 15%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/__/__/generated/secure_fw/partitions/internal_trusted_storage/auto_generated/load_info_tfm_internal_trusted_storage.o
[ 15%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/__/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o
[ 15%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/ns_agent_tz/load_info_ns_agent_tz.o
[ 15%] Building C object
secure_fw/partitions/protected_storage/CMakeFiles/tfm_app_rot_partition_ps.dir/__/idle_partition/load_info_idle_sp.o
[ 15%] Linking C static library libtfm_app_rot_partition_ps.a
[ 15%] Built target tfm_app_rot_partition_ps
Scanning dependencies of target tfm_psa_rot_partition_attestation
[ 15%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/tfm_attest.o
[ 15%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/tfm_attest_req_mngr.o
[ 15%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/attest_core.o
[ 15%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/attest_asymmetric_key.o
[ 15%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/attest_token_encode.o
[ 17%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/generated/secure_fw/partitions/initial_attestation/auto_generated/intermedia_tfm_initial_attestation.o
[ 17%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/spm/cmsis_psa/psa_interface_cross.o
[ 17%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/interface/src/tfm_psa_call_pack.o
[ 17%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/lib/ext/t_cose/src/t_cose_sign1_sign.o
[ 17%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/lib/ext/t_cose/src/t_cose_sign1_verify.o
[ 17%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/lib/ext/t_cose/src/t_cose_util.o
[ 17%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/lib/ext/t_cose/src/t_cose_parameters.o
[ 18%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/lib/ext/t_cose/crypto_adapters/t_cose_psa_crypto.o
[ 18%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o
[ 18%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/generated/secure_fw/partitions/initial_attestation/auto_generated/load_info_tfm_initial_attestation.o
[ 18%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/generated/secure_fw/partitions/protected_storage/auto_generated/load_info_tfm_protected_storage.o
[ 18%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/generated/secure_fw/partitions/internal_trusted_storage/auto_generated/load_info_tfm_internal_trusted_storage.o
[ 18%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/__/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o
[ 19%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/ns_agent_tz/load_info_ns_agent_tz.o
[ 19%] Building C object
secure_fw/partitions/initial_attestation/CMakeFiles/tfm_psa_rot_partition_attestation.dir/__/idle_partition/load_info_idle_sp.o
[ 19%] Linking C static library libtfm_psa_rot_partition_attestation.a
[ 19%] Built target tfm_psa_rot_partition_attestation
[ 19%] Generating version_features.c
[ 19%] Generating error.c
[ 19%] Generating ssl_debug_helpers_generated.h,
ssl_debug_helpers_generated.c
Scanning dependencies of target crypto_service_mbedcrypto
[ 19%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/aes.o
[ 19%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/aesni.o
[ 19%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/aria.o
[ 20%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/asn1parse.o
[ 20%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/asn1write.o
[ 20%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/base64.o
[ 20%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/bignum.o
[ 20%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/camellia.o
[ 20%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ccm.o
[ 21%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/chacha20.o
[ 21%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/chachapoly.o
[ 21%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/cipher.o
[ 21%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/cipher_wrap.o
[ 21%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/constant_time.o
[ 21%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/cmac.o
[ 22%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ctr_drbg.o
[ 22%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/des.o
[ 22%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/dhm.o
[ 22%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ecdh.o
[ 22%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ecdsa.o
[ 22%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ecjpake.o
[ 23%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ecp.o
[ 23%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ecp_curves.o
[ 23%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/entropy.o
[ 23%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/entropy_poll.o
[ 23%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/error.o
[ 23%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/gcm.o
[ 24%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/hkdf.o
[ 24%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/hmac_drbg.o
[ 24%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/md.o
[ 24%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/md5.o
[ 24%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/memory_buffer_alloc.o
[ 24%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/mps_reader.o
[ 24%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/mps_trace.o
[ 25%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/nist_kw.o
[ 25%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/oid.o
[ 25%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/padlock.o
[ 25%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/pem.o
[ 25%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/pk.o
[ 25%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/pk_wrap.o
[ 26%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/pkcs12.o
[ 26%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/pkcs5.o
[ 26%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/pkparse.o
[ 26%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/pkwrite.o
[ 26%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/platform.o
[ 26%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/platform_util.o
[ 27%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/poly1305.o
[ 27%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto.o
[ 27%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_aead.o
[ 27%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_cipher.o
[ 27%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_client.o
[ 27%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_driver_wrappers.o
[ 28%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_ecp.o
[ 28%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_hash.o
[ 28%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_mac.o
[ 28%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_rsa.o
[ 28%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_se.o
[ 28%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_slot_management.o
[ 29%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_storage.o
[ 29%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/psa_its_file.o
[ 29%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ripemd160.o
[ 29%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/rsa.o
[ 29%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/rsa_alt_helpers.o
[ 29%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/sha1.o
[ 29%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/sha256.o
[ 30%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/sha512.o
[ 30%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/ssl_debug_helpers_generated.o
[ 30%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/threading.o
[ 30%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/timing.o
[ 30%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/version.o
[ 30%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/version_features.o
[ 31%] Building C object
secure_fw/partitions/crypto/mbedcrypto/library/CMakeFiles/crypto_service_mbedcrypto.dir/__/__/__/__/__/secure_fw/partitions/crypto/tfm_mbedcrypto_alt.o
[ 31%] Linking C static library libmbedcrypto.a
[ 31%] Built target crypto_service_mbedcrypto
Scanning dependencies of target tfm_psa_rot_partition_crypto
[ 31%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_init.o
[ 31%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_alloc.o
[ 31%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_cipher.o
[ 32%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_hash.o
[ 32%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_mac.o
[ 32%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_key.o
[ 32%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_aead.o
[ 32%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_asymmetric.o
[ 32%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_key_derivation.o
[ 34%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_key_management.o
[ 34%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_rng.o
[ 34%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/__/__/__/generated/secure_fw/partitions/crypto/auto_generated/intermedia_tfm_crypto.o
[ 34%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/__/__/spm/cmsis_psa/psa_interface_cross.o
[ 34%] Building C object
secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/__/__/__/interface/src/tfm_psa_call_pack.o
[ 34%] Linking C static library libtfm_psa_rot_partition_crypto.a
[ 34%] Built target tfm_psa_rot_partition_crypto
Scanning dependencies of target tfm_sprt
[ 34%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/crt_memcmp.o
[ 34%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/crt_memcpy.o
[ 35%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/crt_memmove.o
[ 35%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/crt_memset.o
[ 35%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/crt_strnlen.o
[ 35%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/service_api.o
[ 35%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/sprt_partition_metadata_indicator.o
[ 35%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/sprt_main.o
[ 36%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/sfn_common_thread.o
[ 36%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/crypto/tfm_crypto_secure_api.o
[ 36%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/initial_attestation/tfm_attest_secure_api.o
[ 36%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/protected_storage/tfm_ps_secure_api.o
[ 36%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/internal_trusted_storage/tfm_its_secure_api.o
[ 36%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/platform/tfm_platform_secure_api.o
[ 37%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/__/spm/cmsis_psa/psa_interface_cross.o
[ 37%] Building C object
secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/__/__/interface/src/tfm_psa_call_pack.o
[ 37%] Linking C static library libtfm_sprt.a
[ 37%] Built target tfm_sprt
Scanning dependencies of target tfm_spm
[ 37%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/tfm_boot_data.o
[ 37%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/tfm_core_utils.o
[ 37%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/utilities.o
[ 37%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/arch/tfm_arch.o
[ 37%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/main.o
[ 38%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/spm_ipc.o
[ 38%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/spm_cross_call.o
[ 38%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/static_load.o
[ 38%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/psa_api.o
[ 38%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/backend_ipc.o
[ 38%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/interrupt.o
[ 39%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/tfm_core_svcalls_ipc.o
[ 39%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/tfm_pools.o
[ 39%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/thread.o
[ 39%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/ns_client_ext/tfm_spm_ns_ctx.o
[ 39%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/arch/tfm_arch_v8m_main.o
[ 39%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/ns_agent_tz/ns_agent_tz.o
[ 40%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/idle_partition/idle_partition.o
[ 40%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/psa_interface_cross.o
[ 40%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/interface/src/tfm_psa_call_pack.o
[ 40%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o
[ 40%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/initial_attestation/auto_generated/load_info_tfm_initial_attestation.o
[ 40%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/protected_storage/auto_generated/load_info_tfm_protected_storage.o
[ 41%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/internal_trusted_storage/auto_generated/load_info_tfm_internal_trusted_storage.o
[ 41%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o
[ 41%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/ns_agent_tz/load_info_ns_agent_tz.o
[ 41%] Building C object
secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/idle_partition/load_info_idle_sp.o
[ 41%] Linking C static library libtfm_spm.a
[ 41%] Built target tfm_spm
Scanning dependencies of target tfm_s
[ 41%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/partitions/ns_agent_tz/tfm_psa_api_veneers.o
[ 42%] Building ASM object
secure_fw/CMakeFiles/tfm_s.dir/__/platform/ext/target/arm/mps2/an521/gcc/startup_cmsdk_mps2_an521_s.o
[ 42%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o
[ 42%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/initial_attestation/auto_generated/load_info_tfm_initial_attestation.o
[ 42%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/protected_storage/auto_generated/load_info_tfm_protected_storage.o
[ 42%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/internal_trusted_storage/auto_generated/load_info_tfm_internal_trusted_storage.o
[ 42%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o
[ 43%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/partitions/ns_agent_tz/load_info_ns_agent_tz.o
[ 43%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/partitions/idle_partition/load_info_idle_sp.o
[ 43%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/spm/cmsis_psa/psa_interface_cross.o
[ 43%] Building C object
secure_fw/CMakeFiles/tfm_s.dir/__/interface/src/tfm_psa_call_pack.o
[ 43%] Linking C executable ../bin/tfm_s.axf
Memory region Used Size Region Size %age Used
FLASH: 140584 B 446 KB 30.78%
RAM: 73792 B 1 MB 7.04%
[ 43%] Built target tfm_s
Scanning dependencies of target tfm_s_hex
[ 43%] Generating ../bin/tfm_s.hex
[ 43%] Built target tfm_s_hex
Scanning dependencies of target tfm_s_bin
[ 43%] Generating ../bin/tfm_s.bin
[ 43%] Built target tfm_s_bin
Scanning dependencies of target tfm_s_elf
[ 44%] Generating ../bin/tfm_s.elf
[ 44%] Built target tfm_s_elf
Scanning dependencies of target tfm_s_binaries
[ 44%] Built target tfm_s_binaries
[ 44%] Generating s_veneers.o
Scanning dependencies of target tfm_s_veneers
[ 44%] Generating s_veneers.o
[ 45%] Linking C static library libtfm_s_veneers.a
[ 45%] Built target tfm_s_veneers
Scanning dependencies of target tfm_ns_scatter
[ 45%] Building C object
platform/target/CMakeFiles/tfm_ns_scatter.dir/gcc/mps2_an521_ns.ld
[ 45%] Built target tfm_ns_scatter
Scanning dependencies of target platform_ns
[ 46%] Building C object
platform/CMakeFiles/platform_ns.dir/ext/target/arm/mps2/an521/native_drivers/arm_uart_drv.o
[ 46%] Building C object
platform/CMakeFiles/platform_ns.dir/ext/target/arm/mps2/an521/native_drivers/timer_cmsdk/timer_cmsdk.o
[ 46%] Building C object
platform/CMakeFiles/platform_ns.dir/ext/target/arm/mps2/an521/cmsis_drivers/Driver_USART.o
[ 46%] Building C object
platform/CMakeFiles/platform_ns.dir/ext/target/arm/mps2/an521/retarget/platform_retarget_dev.o
[ 46%] Building C object
platform/CMakeFiles/platform_ns.dir/ext/target/arm/mps2/an521/cmsis_core/system_cmsdk_mps2_an521.o
[ 46%] Building C object
platform/CMakeFiles/platform_ns.dir/ext/target/arm/mps2/an521/plat_test.o
[ 47%] Building C object
platform/CMakeFiles/platform_ns.dir/ext/common/uart_stdout.o
[ 47%] Linking C static library libplatform_ns.a
[ 47%] Built target platform_ns
Scanning dependencies of target tfm_api_ns
[ 47%] Building C object
tf-m-tests/app/CMakeFiles/tfm_api_ns.dir/__/__/__/interface/src/tfm_platform_ipc_api.o
[ 47%] Building C object
tf-m-tests/app/CMakeFiles/tfm_api_ns.dir/__/__/__/interface/src/tfm_ps_ipc_api.o
[ 47%] Building C object
tf-m-tests/app/CMakeFiles/tfm_api_ns.dir/__/__/__/interface/src/tfm_its_ipc_api.o
[ 48%] Building C object
tf-m-tests/app/CMakeFiles/tfm_api_ns.dir/__/__/__/interface/src/tfm_crypto_ipc_api.o
[ 48%] Building C object
tf-m-tests/app/CMakeFiles/tfm_api_ns.dir/__/__/__/interface/src/tfm_initial_attestation_ipc_api.o
[ 48%] Building C object
tf-m-tests/app/CMakeFiles/tfm_api_ns.dir/__/__/__/interface/src/tfm_psa_ns_api.o
[ 48%] Building C object
tf-m-tests/app/CMakeFiles/tfm_api_ns.dir/tfm_ns_interface.o
[ 48%] Linking C static library libtfm_api_ns.a
[ 48%] Built target tfm_api_ns
Scanning dependencies of target psa_generate_database_prerequisite
[ 48%] Built target psa_generate_database_prerequisite
Scanning dependencies of target psa_generate_database
[ 48%] Creating directories for 'psa_generate_database'
[ 48%] No download step for 'psa_generate_database'
[ 48%] No update step for 'psa_generate_database'
[ 48%] No patch step for 'psa_generate_database'
[ 50%] Performing configure step for 'psa_generate_database'
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/src/psa_generate_database-build
[ 50%] No build step for 'psa_generate_database'
[ 50%] Performing install step for 'psa_generate_database'
[ 20%] [PSA] : Creating generator source
/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/targetConfigGen.c
Scanning dependencies of target TargetConfigGen
[ 40%] Building C object
CMakeFiles/TargetConfigGen.dir/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/targetConfigGen.c.o
cc: error trying to exec 'cc1': execvp: No such file or directory
CMakeFiles/TargetConfigGen.dir/build.make:85: recipe for target
'CMakeFiles/TargetConfigGen.dir/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/targetConfigGen.c.o'
failed
make[5]: ***
[CMakeFiles/TargetConfigGen.dir/home/a/workspace1/TF-M/trustedfirmware-m/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/targetConfigGen.c.o]
Error 1
CMakeFiles/Makefile2:96: recipe for target
'CMakeFiles/TargetConfigGen.dir/all' failed
make[4]: *** [CMakeFiles/TargetConfigGen.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make[3]: *** [all] Error 2
tf-m-tests/app/psa_api_tests/CMakeFiles/psa_generate_database.dir/build.make:93:
recipe for target
'tf-m-tests/app/psa_api_tests/src/psa_generate_database-stamp/psa_generate_database-install'
failed
make[2]: ***
[tf-m-tests/app/psa_api_tests/src/psa_generate_database-stamp/psa_generate_database-install]
Error 2
CMakeFiles/Makefile2:1862: recipe for target
'tf-m-tests/app/psa_api_tests/CMakeFiles/psa_generate_database.dir/all'
failed
make[1]: ***
[tf-m-tests/app/psa_api_tests/CMakeFiles/psa_generate_database.dir/all]
Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2
We've reinstalled the dependency tools as described in TF-M "Getting
Started Guide",
besides the same gcc tool works fine with TF-M v1.4.0, are there anything
we've ignored?
Best Regards,
Poppy Wu
吴偏偏
Macronix Microelectronics (Suzhou) Co.,Ltd
Hi,
Looking at platform/ext/common/tfm_hal_platform_v8m.c, this line stands out as quite odd:
.veneer_limit =
(uint32_t)®ION_NAME(Image$$, VENEER_ALIGN, $$Limit) - 1,
It seems that the various "$$Limit" values that exist within TF-M aren't actually "limits" in the usual meaning of the word (the last value within the range) but are instead the first value *outside* the range. Elsewhere in TF-M we do seem to use the word "limit" in the conventional way.
I worry that this could lead to errors around the boundaries, particularly as some functions we use to check ranges take a "limit" parameter - we could easily see code that looks correct but that actual does the wrong thing, like
ARM_MPC_ConfigRegion(REGION_NAME(Image$$, ER_VENEER, $$Base),
REGION_NAME(Image$$, VENEER_ALIGN, $$Limit, attr);
Or a similar call to check_address_range().
For example, I suspect that this is a bug in the Nuvoton M2354 platform caused by this issue:
platform/ext/target/nuvoton/m2354/target_cfg.c:
.veneer_limit = (uint32_t)®ION_NAME(Image$$, VENEER_ALIGN, $$Limit),
It's obviously a big thing to fix, but it does look to me to be worthwhile...
Chris Brand
Cypress Semiconductor (Canada), Inc.
An Infineon Technologies Company
Sr Prin Software Engr
CSCA CSS ICW SW PSW 1
Office: +1 778 234 0515
Chris.Brand(a)infineon.com<mailto:Chris.Brand@infineon.com>
International Place 13700
V6V 2X8 Richmond
Canada
www.infineon.com<www.cypress.com> www.cypress.com<http://www.cypress.com> Discoveries<http://www.infineon.com/discoveries> Facebook<http://www.facebook.com/infineon> Twitter<http://www.twitter.com/Infineon> LinkedIn<http://www.linkedin.com/company/infineon-technologies>
Part of your life. Part of tomorrow.
NOTICE: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material of Infineon Technologies AG and its affiliated entities which is for the exclusive use of the individual designated above as the recipient. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact immediately the sender by returning e-mail and delete the material from any computer. If you are not the specified recipient, you are hereby notified that all disclosure, reproduction, distribution or action taken on the basis of this message is prohibited.
Hi All,
it is spotted that FLIH tests failed recently and blocks CI verification. We need to dig into it and found the reason. To avoid blocking the daily work, we will temporarily turn FLIH tests off, and recover when solved.
Background: Sometimes the test application stuck in waiting for interrupts even the interrupt is properly configured. If someone got solutions for similar problems please share your info, thank you in advance.
Best Regards,
Xinyu
Hi all,
After having some troubles with isolation level 3 I have noticed that MbedTLS (mbedcrypto) data/code is not properly linked to crypto partition.
Currently mbed crypto data/code is placed into SPM data/code section in level 3 isolation. This is a problem if optional L3 FFM boundaries are applied (when SPM is isolated from PSA RoT partition (Crypto in particular)) because in this case crypto partition does not have access to the mbedcrypto code/data that is located in SPM code/data sections.
I think Mbedcrypto data/code should be linked to crypto partition and placed in crypto partition linker section. This way it will be protected to be accessible by crypto partition.
So my question is whether this should be fixed or there are objectives to not fix this issue?
If fix is needed I would like to discuss possible ways to solve this problem.
Regards,
Bohdan Hunko
Cypress Semiconductor Ukraine
Engineer
CSUKR CSS ICW SW FW
Mobile: +38099 50 19 714
Bohdan.Hunko(a)infineon.com<mailto:Bohdan.Hunko@infineon.com>
TF-M Open CI is blocked. Please avoid starting new jobs as it would not start and can be cancelled for restart.
We'll let you know once it is back to normal.
Sorry for this news,
Anton
Hi,
I have been working on TZ stuff recently and found small problem in an521 platform protections.
The problem is in SAU config.
sau_cfg in platform/ext/target/arm/mps2/an521/target_cfg.c has entry for NSPE code:
{
((uint32_t)NS_PARTITION_START),
((uint32_t)NS_PARTITION_START +
NS_PARTITION_SIZE - 1),
false,
},
Where both NS_PARTITION_START and NS_PARTITION_SIZE are 32 bytes aligned, which means that when 1 is subtracted lower 5 bits are getting set to 1, for example:
0x1000_0000 + 0x1000 - 1 = 0x10000FFF
Then in sau_and_idau_cfg() function lower 5 bits are cleared by the mask:
sau_cfg[i].RLAR & SAU_RLAR_LADDR_Msk
This means that in reality highest 32 bytes of NSPE are protected as Secure in SAU.
Same problem is present for SECONDARY_PARTITION_SIZE SAU entry.
This is not huge problem, but still worth fixing.
I believe other arm and TZ platforms may also have this bug, but I haven't checked in details.
Regards,
Bohdan Hunko
Cypress Semiconductor Ukraine
Engineer
CSUKR CSS ICW SW FW
Mobile: +38099 50 19 714
Bohdan.Hunko(a)infineon.com<mailto:Bohdan.Hunko@infineon.com>
Hi,
It is reported in a few platforms that the SAU NSC region limit is set 32 bytes larger than expected because the value set did not match the hardware characteristics. The SAU.LADDR treats the last 5 bits as 0x1 which means a valid limit address should be the value with 0x1f in the last bits, take an example if the region starts at 0x1000 with size 0x100, the limit address should be set as 0x1000 + 0x100 - 0x20 which is 0x10E0. The practical region address range is [0x1000 - 0x10FF], all addresses >= 0x1000 and <= 0x10FF would be treated as hitting a region.
If your address and size are 32 bytes aligned already, you can just adjust the limit with "start_address + size - 1", as the tailing 5 bits would be masked. Take this patch as an example:
Platform: Fix the Veneer SAU region for Arm platforms (I2692f318) · Gerrit Code Review (trustedfirmware.org)<https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/18547>
Now only the NSC region is affected, but please check your platform if you are using SAU to see if each region is set properly.
Thanks.
/Ken
Hi all,
TFM in current implementation has following condition in tfm_ns_mailbox.h
#if !defined(TFM_MULTI_CORE_NS_OS) && (NUM_MAILBOX_QUEUE_SLOT > 1)
#error "NUM_MAILBOX_QUEUE_SLOT should be set to 1 for NS bare metal environment"
#endif
I was wondering whether this is real restriction or this check can be removed.
I am not mailbox expert so please correct me if I am wrong.
Quick look at the code shows that it should be ok to have multi slot queue in bare metal environment, with the note that only one slot will be used (as there is only one thread).
If my understanding is correct then it would be nice to remove this compile time check (I am happy to provide a patch for it).
We need this change because we deliver TFM as prebuilt binary and interface (one installed after the build). This binary is built with NUM_MAILBOX_QUEUE_SLOT = 4, so in current implementation it cant be used in bare metal environment.
Regards,
Bohdan Hunko
Cypress Semiconductor Ukraine
Engineer
CSUKR CSS ICW SW FW
Mobile: +38099 50 19 714
Bohdan.Hunko(a)infineon.com<mailto:Bohdan.Hunko@infineon.com>
Hi,
FYI. TF-M Open CI will be on maintenance on 16th Dec.
Time to stop triggering new jobs: 2022-12-16 18:00 UTC
Maintenance end time: 2022-12-16 22:00 UTC
Regards,
Xinyu
From: Kelley Spoon via Tf-openci-triage <tf-openci-triage(a)lists.trustedfirmware.org>
Sent: Thursday, December 15, 2022 4:16 AM
To: tf-openci(a)lists.trustedfirmware.org; tf-openci-triage(a)lists.trustedfirmware.org
Subject: [Tf-openci-triage] [Maintenance] - ci.trustedfirmware.org down time 2022-12-16
Hello All,
The server will be offline to start a maintenance window on 2022-12-16 at 20:00 UTC. Jenkins will be put into "Shutdown Mode" at 2022-12-16 18:00 UTC to stop accepting new jobs and allow executing tasks to complete.
This downtime is required to execute an upgrade for Jenkins to address some security advisories and enable new functionality.
Emails will be sent prior to and following the upgrade to provide status reports.
Start: 2022 12-16 20:00 UTC
End: 2022-12-16 22:00 UTC
Regards,
--
Kelley Spoon <kelley.spoon(a)linaro.org<mailto:kelley.spoon@linaro.org>>
Hello,
I am pleased to announce the release of TF-M v1.7.0.
New major features are:
* Unified API to PSA Service access implementing PSA FF-M and FF-M v1.1 extension
* The Library model is deprecated and removed
* Improve and simplify TF-M configurability
* Introduce the base configuration for TF-M essential
* Shift config options from CMake to C header files for PSA modules and platforms
* Employ Kconfig as a configuration tool and dependency tracker
* Configurable stack size for Secure Partitions
* Add TF-M Medium-ARoT-less profile
* MM-IOVEC deployed in PSA Secure Partitions
* PSA FWU API updated to v1.0
* Mbed TLS updated to v3.2.1
* Code size further optimised
* The manifest tool is decoupled with the build system
* Improvements in the Code size analysis tool
* Updated documentation
It is tagged with TF-Mv1.7.0<https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/tag/?h=TF-Mv1.7…>.
The release time changes will be integrated with the main branch shortly.
Many thanks everyone for contribution, review and support this milestone.
Anton
Hello,
We are currently integrating a protocol stack with a Radio IRQ in a TrustZone environment with the TF-M as the SPE.
The Radio IRQ requires fast treatment from our protocol stack, the need is to have the Radio IRQ handled with the lowest latency possible.
The fact that all the IRQs in the NonSecure side can't preempt IRQ on the Secure side in the TF-M design leads us to the following possibilities with several limitations:
1. Having the Radio IRQ as the lowest priority on the NonSecure side: if a user creates its own partition with an IRQ (which by design will have a lower priority of our IRQ because it's in the Secure side), it could potentially delay for too long the Radio IRQ processing, thus leading to Radio protocol related issues.
1. Having the protocol stack related to the Radio IRQ in a partition directly in Secure side : this configuration is highly disputable from a Security point of view, the possibility to introduce a Security flaw with the protocol stack in Secure being too high.
1. Having the Radio IRQ in a Secure partition (FLIH for faster handling) and forward the IRQ handling to the protocol stack in the NonSecure side, all modifications to the NVIC registers of this Radio IRQ (enable, disable, priority level) requested by the protocol stack in NonSecure side will have to be done through this partition with TF-M API calls (SFN backend for execution performances) : This configuration will probably led to issues such as reentrancy on the TF-M (for example if the TF-M forward an IRQ to the NonSecure which then calls TF-M API for Radio NVIC register manipulations) or having to call TF-M from NonSecure in handler mode.
Do you already have experienced with this type of problematics, or do you see TF-M configurations which will be more suitable for such a use-case ?
Thank you,
Regards,
Romain
ST Restricted
Hi all,
Our team is working on TFM threat modeling, we are analyzing existing code to find and fix any security issues/problems with it.
To better perform this modeling we are interested in having detailed diagrams of TFM boot and execution flows. Ideally the diagrams should be quite detailed to show system state transitions, detailed execution flow and any actions that are not obvious when first looking into TFM code (e.g. scheduling of nested calls, execution of secure IRQs that interrupt nested scheduling, ....).
Does TFM community have such (or similar) diagrams/? If so then where can we find them?
We think that these diagrams may be very useful to TFM in general. They will let TFM users easily understand how TFM works (in details).
Regards,
Bohdan Hunko
Cypress Semiconductor Ukraine
Engineer
CSUKR CSS ICW SW FW
Mobile: +38099 50 19 714
Bohdan.Hunko(a)infineon.com<mailto:Bohdan.Hunko@infineon.com>
Hello,
The branch release/1.7.x<https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/log/?h=release/…> has been created indicating the start of the release process and features freeze.
RC1 tag will follow after successful run of the basic tests.
Let me remind that the code is not frozen, and development can be continued on the main branch.
Thanks,
Anton
Hi,
when I updated from CMake 3.24.0 to the new (two weeks old) CMake 3.25.0 I am no longer
able to build TF-M with -DTEST_PSA_API=CRYPTO.
(Downgrading CMake fixes the issue)
Is there an interoperability issue with the latest CMake release and the TF-M build system?
Reproduced with
TF-Mv1.7.0-RC1
TF-Mv1.6.0
Steps to reproduce:
1. install CMake 3.25.0.
1. cd trusted-firmware-m
1. rm -rf cmake_build && cmake -G Ninja -S . -B cmake_build -DTEST_PSA_API=CRYPTO -DTFM_PLATFORM=nordic_nrf/nrf5340dk_nrf5340_cpuapp -DTFM_TOOLCHAIN_FILE=toolchain_GNUARM.cmake -DCMAKE_BUILD_TYPE=Debug && ninja -C cmake_build
Only reproduces with TEST_PSA_API and CMake 3.25.0. Builds fine with 3.24.0 or non-PSA API builds.
error:
file INSTALL cannot find
"/home/sebo/ncs/modules/tee/tf-m/trusted-firmware-m/cmake_build/tf-m-tests/app/psa_api_tests/src/psa_generate_database-build/target_database.h":
No such file or directory.
Hello,
I'm trying to build the Trusted Firmware M on Win10 x64 for NXP LPC55S69 using the IAR compiler, but I get the following error:
[ 76%] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/platform/ext/target/nxp/lpcxpresso55s69/Device/Source/startup_lpcxpresso55s69.o
extern uint32_t __INITIAL_SP;
^
"C:\Work\TF-M\trusted-firmware-m\platform\ext\target\nxp\lpcxpresso55s69\Device\Source\startup_lpcxpresso55s69.c",29 Error[Pe007]:
unrecognized token
extern uint32_t __INITIAL_SP;
^
"C:\Work\TF-M\trusted-firmware-m\platform\ext\target\nxp\lpcxpresso55s69\Device\Source\startup_lpcxpresso55s69.c",29 Error[Pe065]:
expected a ";"
extern uint32_t __INITIAL_SP;
^
"C:\Work\TF-M\trusted-firmware-m\platform\ext\target\nxp\lpcxpresso55s69\Device\Source\startup_lpcxpresso55s69.c",29 Error[Pe007]:
unrecognized token
extern uint32_t __STACK_LIMIT;
^
"C:\Work\TF-M\trusted-firmware-m\platform\ext\target\nxp\lpcxpresso55s69\Device\Source\startup_lpcxpresso55s69.c",30 Error[Pe007]:
unrecognized token
extern uint32_t __STACK_LIMIT;
^
"C:\Work\TF-M\trusted-firmware-m\platform\ext\target\nxp\lpcxpresso55s69\Device\Source\startup_lpcxpresso55s69.c",30 Error[Pe065]:
expected a ";"
extern uint32_t __STACK_LIMIT;
^
"C:\Work\TF-M\trusted-firmware-m\platform\ext\target\nxp\lpcxpresso55s69\Device\Source\startup_lpcxpresso55s69.c",30 Error[Pe007]:
unrecognized token
(VECTOR_TABLE_Type)(&__INITIAL_SP), /* Initial Stack Pointer */
In the attachment, you can find the full build log and also the CMake build file generation log.
Some details about my setup:
Win10 Enterprise x64. Version 20H2
IAR ANSI C/C++ Compiler V8.50.9.278/W32 for ARM
GNU Make 3.81
git version 2.36.0.windows.1
CMake 3.24.2
Python 3.10.5
I followed the steps from the Getting started guide here<https://tf-m-user-guide.trustedfirmware.org/getting_started/index.html> than the steps to build the framework for LPC55S69 here<https://tf-m-user-guide.trustedfirmware.org/platform/nxp/lpcxpresso55s69/RE…>.
Do you have any idea what I'm missing?
In case you need any further information let me please know.
Thanks in advance.
Kind regards,
Ildikó Pocsai
Hello,
I see that in coming 1.7.0 the file secure_fw/spm/ns_client_ext/tfm_ns_ctx.h contains a comment
/* Supported maximum context for NS. Only support single context for now. */
#define TFM_NS_CONTEXT_MAX 1
Does it mean that several simultaneous NSC call is not supported ?
Best regards
ST Restricted
Dear developers,
I have a question about interrupt SLIH scheduling in IPC model.
Assume that there are two secure partitions P1 and P2, and P1 has higher priority than P2.
P1 calls psa_call(), so SPM blocks P1 and wakes up P2 to execute P2's service handler.
Now P2 is running. Suddenly P1's interrupt occuerred, and P1's SLIH signal is asserted for more processing.
A shedule request is also triggered.
Since P1 has higher priority than P2, will P2 be preemted by P1 to execute P1's SLIH immediately?
If the answer is yes, the psa_call() chain will be corrupted, right?
Thanks in advance.
Alvin Chang
Hi,
Partition is described through configuration in YAML files (manifests). This configuration includes following properties (see Adding Secure Partition - Add manifest<https://tf-m-user-guide.trustedfirmware.org/integration_guide/services/tfm_…>):
* Name, type, priority, model, ...
* List of services provided by partition
* MMIO regions
* List of IRQs
* Dependencies
Each platform should provide implementation of HAL which is specific to standard partitions like Crypto, ITS, etc. It's mandatory to provide proper isolation of memory/peripheral that are used by platform specific code that provides HAL implementation or add a custom dependency for standard partition.
Currently platform can use following approaches to resolve the problem of extending YAML of standard TF-M partition:
* Create a platform specific copy of partition YAML, see https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/15639 as an example of such approach.
* Modify standard partition by introducing optional fields, see https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/17718.
These both solution are not flexible enough. It requires to modify platform independent code or maintain own copy of partition YAML file with needed changes.
I think it make sense to integrate partition YAML extension tool in TF-M. Platform/application should be able to provide manifest-extension file(s). Such manifest-extension file may provide additional properties which should be joined with properties provided by standard partition manifest files.
For example to solve problem for https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/15639 ARM RSS platform may provide following manifest-extension file with structure like this:
{
"extensions": [
{
"name": "TFM_SP_INITIAL_ATTESTATION",
"dependencies": [
"TFM_MEASURED_BOOT"
]
}
]
}
Tool which parses manifests should add a new dependency on "TFM_MEASURED_BOOT" to list of dependencies for "TFM_SP_INITIAL_ATTESTATION" partition.
Please, share your opinion on this topic.
Best regards,
Roman.
Hello!
Seemingly, there is an issue with file deletion in ITS. I would think it is not
possible to delete the last object in a data block (so that the data
block becomes empty).
It's easiest to reproduce with using large objects (because then the number of
involved objects is small), but would also happen with multiple
smaller objects:
With the following flash configuration:
ITS_MAX_ASSET_SIZE=0x1000
TFM_HAL_ITS_SECTORS_PER_BLOCK=1
TFM_HAL_ITS_FLASH_AREA_SIZE=0x20000
TFM_HAL_ITS_PROGRAM_UNIT=0x100
ITS_FLASH_NAND_BUF_SIZE=1*0x1000
In a sequence of writing and deleting an object like:
const uint8_t big_file[ITS_MAX_ASSET_SIZE] = {0};
status = psa_its_set(uid, sizeof(big_file), big_file, flags);
status = psa_its_remove(uid);
deleting the file fails with the status of PSA_ERROR_GENERIC_ERROR.
What I think happens is:
Due to the size of the file, it does not fit in the metadata block, and is put a
second (data only) block. The object is written there as expected.
When the data block is deleted later, an attempt is being made to compact it
with its_flash_fs_dblock_compact_block(). However, there is no data to keep
before the object to be deleted and also no data to keep after it, this block
will become empty, so no call to its_flash_fs_block_to_block_move() happens,
which causes no call to fs_ctx->ops->write() happens. Now the flash driver in
my case is a buffering its_flash_nand.c. In the write() call it would associate
a buffer for the physical sector to write. But since there is no write() call
the subsequent fs_ctx->ops->flush() fails as it has no buffer to flush out.
I believe no compaction of the block should even be attempted - it is known
that the block will be empty beforehand. Perhaps similar to
https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/17578, this is
yet another reason to skip compacting of the block?
It would be very much appreciated if one of the experts could confirm this
suspicious behavior or point out a mistake I am making.
Thank you very much, best regards
Stefan Krug