Page MenuHomePhabricator

Open Tasks

Unbreak Now! (1)

Recent Activity

Tue, Apr 13

shebuk edited the content of Roadmap.
Tue, Apr 13, 3:29 PM
shebuk edited the content of Roadmap.
Tue, Apr 13, 2:44 PM
shebuk edited the content of Trusted Firmware M.
Tue, Apr 13, 1:19 PM
shebuk edited the content of TF-M Videos.
Tue, Apr 13, 12:21 PM · Trusted Firmware M
shebuk created an object: Linaro Virtual Connect 2021.
Tue, Apr 13, 12:20 PM

Mon, Apr 12

zoescott25 updated zoescott25.
Mon, Apr 12, 10:17 AM
oyvindronningstad added a comment to T911: Build warnings.

I built with

Mon, Apr 12, 7:21 AM · Trusted Firmware M
KenLSoft added a comment to T911: Build warnings.

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, Apr 12, 5:41 AM · Trusted Firmware M
KenLSoft added a comment to T911: Build warnings.

Would fix after the release. Mark as a long term goal.

Mon, Apr 12, 5:10 AM · Trusted Firmware M

Wed, Apr 7

adrianlshaw added a comment to Twin-cpu.

Hi Martin. I was referring to PSA FF-M, not FF-A. See the spec here, in Section 2.1.

Wed, Apr 7, 1:37 PM
MartinSchoenstedt added a comment to Twin-cpu.

Thanks @adrianlshaw for your comment. A multi-core TF-M design is indeed a different thing than this twin-cpu design or any of the implemented designs for multiple CPUs in TF-M.
Do I understand you correctly, that such a multi-core TF-M design would not be possible to design according to PSA FF-A guidelines, because no mutex is defined in these?
How is this problem handled in TF-A as the same PSA guidelines apply there?

Wed, Apr 7, 1:28 PM
Karl added a comment to T910: Interactive tests fail to return to main thread after test has ran and sit in osRtxIdleThread() function.

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

Wed, Apr 7, 7:02 AM · Trusted Firmware M
lairdjm added a comment to T910: Interactive tests fail to return to main thread after test has ran and sit in osRtxIdleThread() function.

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

Wed, Apr 7, 6:44 AM · Trusted Firmware M
Karl claimed T910: Interactive tests fail to return to main thread after test has ran and sit in osRtxIdleThread() function.

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

Wed, Apr 7, 6:41 AM · Trusted Firmware M

Tue, Apr 6

adrianlshaw added a comment to Twin-cpu.

If the NSPE can use all the ARMv8-M processors, then it makes sense to use a model similar to ARMv8-A. In that model, the request for a secure service is usually handled by the local core - no cross core interaction.

Tue, Apr 6, 3:34 PM
davidhuziji added a comment to Twin-cpu.

Imo, the implementation can be very platform specific. It is required that the two cores shall be physically isolated.
Besides, when NS requires secure services on the other core, the other core must runs in S world. It is a bit difficult to guarantee.

Tue, Apr 6, 2:33 PM
MartinSchoenstedt added a comment to Twin-cpu.

The concept I am working on would allow for execution of two NS environments both with access to TF-M services. The goal is also to isolate the NS environments from one another to provide safety in case of failure / maliciousness of one NS env. But this safety feature is not necessary for the use case of two Cortex M-33 with NS + TF-M.

Tue, Apr 6, 9:50 AM
Sherryzhang2 added a comment to T918: Issues with alignment and buffer locations.

@oyvind.ronningstad@nordicsemi.no This issue is on the Nordic platform. Can you take a look at it?

Tue, Apr 6, 9:26 AM · Trusted Firmware M
lairdjm created T920: Cryptocell CC312 does not work on Nordic nRF5340.
Tue, Apr 6, 8:56 AM
davidwang assigned T910: Interactive tests fail to return to main thread after test has ran and sit in osRtxIdleThread() function to karl-zh.
Tue, Apr 6, 3:06 AM · Trusted Firmware M
davidwang added a comment to T911: Build warnings.

Assigned to Ken for the warning fix.

Tue, Apr 6, 3:01 AM · Trusted Firmware M
davidwang reassigned T911: Build warnings from davidwang to KenLSoft.
Tue, Apr 6, 3:01 AM · Trusted Firmware M
davidhuziji added a comment to Twin-cpu.

@MartinSchoenstedt so are you trying to run Non-secure OS + TF-M on both MPS2 AN521 cores?
Are you designing a SMP (symmetric multiprocessing) system for both NS and S? May I know the benefit to run NS + TF-M on both cores, compared to running a single Cortex-M33?

Tue, Apr 6, 1:42 AM

Mon, Apr 5

ta9ya closed T916: The Assert State for Checking PSCI_INVALID_DATA dose not work, dose it? as Resolved.

I solved this issue by myself.
The assert state works normally.

Mon, Apr 5, 12:40 AM · TF-A Question

Sat, Apr 3

elmadavis added a comment to T885: What is a Minimum Viable Product (MVP) and what is its use in app development?.
Sat, Apr 3, 7:55 AM

Fri, Apr 2

MartinSchoenstedt added a comment to Twin-cpu.

Yes this was indeed what I was thinking about. I am now trying to modify the secure enclave implementation to work with both CPUs in the SSE 200 on the MPS2 AN521 image. This would also also both cores to still be used by nonsecure OS / applications

Fri, Apr 2, 8:07 PM
adrianlshaw added a comment to Twin-cpu.

Hi David. What about a scenario where non-secure applications want to use both cores? I think this is what Martin is asking about. Dedicating one M33 to act as a secure enclave can be considered a waste of compute resource (it will be idle most of the time).

Fri, Apr 2, 5:32 PM
KenLSoft created T918: Issues with alignment and buffer locations.
Fri, Apr 2, 12:39 AM · Trusted Firmware M

Thu, Apr 1

gyuri-szing created T917: cmake: change install rules to use GNUInstallDirs..
Thu, Apr 1, 12:24 PM · Restricted Project
ta9ya created T916: The Assert State for Checking PSCI_INVALID_DATA dose not work, dose it?.
Thu, Apr 1, 7:50 AM · TF-A Question
davidhuziji updated subscribers of T910: Interactive tests fail to return to main thread after test has ran and sit in osRtxIdleThread() function.
Thu, Apr 1, 2:48 AM · Trusted Firmware M
davidhuziji added a project to T910: Interactive tests fail to return to main thread after test has ran and sit in osRtxIdleThread() function: Trusted Firmware M.
Thu, Apr 1, 2:47 AM · Trusted Firmware M

Wed, Mar 31

gyuri-szing renamed T893: User and system includes are not consistent. from User ar system includes are not consistent. to User and system includes are not consistent..
Wed, Mar 31, 3:05 PM · Restricted Project
imre-kis-arm added a project to T915: Implement FF-A Direct Message Routing Extension: Restricted Project.
Wed, Mar 31, 2:47 PM · Restricted Project
imre-kis-arm created T915: Implement FF-A Direct Message Routing Extension.
Wed, Mar 31, 2:46 PM · Restricted Project
gyuri-szing created an object: Design.
Wed, Mar 31, 12:18 PM · Restricted Project
balintdobszay created T914: SPM: unmap FIP SP image after loading.
Wed, Mar 31, 8:35 AM · Restricted Project
gyuri-szing created T913: CppUtest features are limited on arm-linux builds..
Wed, Mar 31, 7:31 AM · Restricted Project

Tue, Mar 30

nathan-menhorn created T912: OP-TEE OS 3.11.0 Hangs at opteed_enter_sp on Cold Boot.
Tue, Mar 30, 4:11 PM · TF-A Bug, Trusted Firmware A
maulik-arm edited the content of Psa Arch Crypto Test Failure Analysis In Tf-m V1.3 Release.
Tue, Mar 30, 10:43 AM