Wed, Apr 21
The first patch for this:
https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/9730
Currently GNU 10-2020-q4-major cannot support CMSE well (https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/tree/docs/getting_started/tfm_sw_requirement.rst#n54).
So this GNU version won't be supported in TF-M.
Tue, Apr 13
Mon, Apr 12
I built with
Would fix after the release. Mark as a long term goal.
Wed, Apr 7
Okay, I run into a fault when apply this patch on AN521, may need some investigations :
Running Test Suite Core non-secure interactive tests (TFM_CORE_TEST_2XXX)...
Executing 'TFM_CORE_TEST_2001'
Description: 'Interactive tests'
Segmentation fault
You will need to apply this patch in order for the interactive tests to function as without it the secure part will never build with that part enabled https://review.trustedfirmware.org/c/TF-M/tf-m-tests/+/9431
After applying that and building using:
cmake -DTFM_PLATFORM=lairdconnectivity/bl5340_dvk_cpuapp -GNinja -DTFM_TOOLCHAIN_FILE=../toolchain_GNUARM.cmake -DTEST_S=off -DTEST_NS=on -DCMAKE_BUILD_TYPE=debug -DTFM_INTERACTIVE_TEST=on -DTFM_PERIPH_ACCESS_TEST=ON -DTFM_IRQ_TEST=ON ..
And running it, the first test passes but the freezes at the same point as yours does, it does not continue with the next task
I took a look at this test case, the interactive test suit is disabled by default. Could you append some logs or command on your platform of TFM_CORE_TEST_2001
The test from my side on AN521 will stop after scenario 1:
Executing 'TFM_CORE_TEST_2001'
Description: 'Interactive tests'
Scenario 1 - SequentialTrying to acquire the TFM core from NS [seq_task]NS Lock: acquired [seq_task]Secure call to tfm_spm_core_test_sfn_veneer(&in_vec, 1, NULL, 0) failed, generic!NS Lock: releasing... [seq_task]Scenario 1 - test finished
Tue, Apr 6
@oyvind.ronningstad@nordicsemi.no This issue is on the Nordic platform. Can you take a look at it?
Assigned to Ken for the warning fix.
Fri, Apr 2
Thu, Apr 1
Tue, Mar 30
I will run the GCC version later to check if there are more warnings. Will collect all the warnings and fix them in one shot later.
Mon, Mar 29
Mar 23 2021
Mar 17 2021
Mar 4 2021
Test results:
FPGA:
Feb 19 2021
Jan 26 2021
Jan 8 2021
Dec 30 2020
Above patch has been abandoned, as it is not important at the current stage.
Dec 24 2020
Dec 23 2020
Verified that it passed the compiling & running tests, with the reverted patch.
Thank you for the quick response/fix~
Apparently, the patch didn't work for GCC. Sorry about that.
It has been reverted for the time being:
https://review.trustedfirmware.org/c/TF-M/tf-m-tests/+/7651
Dec 22 2020
Dec 14 2020
Dec 8 2020
Hello,
Here are 2 commits to introduce the support of external flash for secondary slot
https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/7412
https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/7413
Dec 7 2020
Dec 4 2020
Dec 1 2020
Nov 28 2020
Nov 26 2020
The whole problem has boiled down to a flash write issue and it has been worked around by c32710c7fc8514dd0d072a01549e23a94278ee17.