Page MenuHomePhabricator
Feed All Stories

May 5 2021

nullr0ute added a comment to T925: ATF v2.5-rc0 fails to build rk3399 support with gcc11.

I'm using Fedora 34/35 with the distribution toolchain (gcc 11.1 GA)

May 5 2021, 9:26 AM · Trusted Firmware A
odeprez added a comment to T925: ATF v2.5-rc0 fails to build rk3399 support with gcc11.

Can you please provide the link to the gcc11 toolchain you use?
AFAIK latest public Arm release of the cross compiler toolchains is 10.2 (https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads)

May 5 2021, 9:19 AM · Trusted Firmware A

May 4 2021

nullr0ute created T925: ATF v2.5-rc0 fails to build rk3399 support with gcc11.
May 4 2021, 9:08 PM · Trusted Firmware A
andvib created T924: Protected Storage Non-Secure Client Identification test cases failing.
May 4 2021, 2:54 PM · Trusted Firmware M

May 3 2021

ioannisg triaged T921: Supporting Non-Secure RTOS applications, integrated with Trusted Firmware-M, which want to use the FPU as High priority.

Setting this to High for now - but feel free to re-triage this was not appropriate.

May 3 2021, 8:21 AM · Trusted Firmware M
ioannisg added a comment to T921: Supporting Non-Secure RTOS applications, integrated with Trusted Firmware-M, which want to use the FPU.

Hi Feder,

May 3 2021, 8:04 AM · Trusted Firmware M

Apr 30 2021

federliangarm added a comment to T921: Supporting Non-Secure RTOS applications, integrated with Trusted Firmware-M, which want to use the FPU.

For the concern you mentioned, yes, we need to add extra steps in secure scheduler, I am still working on this part.

  1. When secure doing secure calls: a. if lazy fp is disabled, hardware will push/pop FP context automatically during exception entry/return. b. if lazy fp is enable, for isolation 1, secure scheduler will save and restore FP context, but not invalidate FP context; for isolation 2 and 3, secure scheduler will trigger lazy fp stacking, hardware will push FP context to thread' stack and invalidate them automatically.
  2. When non-secure doing secure calls, non-secure side will SG to secure world in tfm_nspm_thread_entry, then doing secure calls as same as above. FP context of non-secure can be restored when bxns lr to non-secure side.
Apr 30 2021, 3:57 AM · Trusted Firmware M

Apr 29 2021

gyuri-szing added a comment to T922: cmake: TF-M documentation build issue.

At a quick glance this seems to be an m2r bug: https://github.com/sphinx-doc/sphinx/issues/8705. m2r seems to be abandoned, switching to m2r2 might be a workaround, as that seems to have a fix merged.
For now the best might be to stick to the documented package versions. I am wondering if the requirements file should be more strict on Spninx version.

Apr 29 2021, 8:06 AM · Restricted Project
davidhuziji reassigned T923: PS relies on linking ITS library to get its definition from davidhuziji to Sherryzhang2.
Apr 29 2021, 7:12 AM
AlamyLiu triaged T923: PS relies on linking ITS library to get its definition as Normal priority.
Apr 29 2021, 7:10 AM
AndreyButokNXP added a comment to T922: cmake: TF-M documentation build issue.

Hi Minos,
Is this a compatibility issue and the TFM doc build system can be upgraded, or this a bug in the latest version of Sphinx?

Apr 29 2021, 5:47 AM · Restricted Project

Apr 28 2021

MartinaHanusovaNXP added a comment to T922: cmake: TF-M documentation build issue.

Hi Minos,

Apr 28 2021, 3:55 PM · Restricted Project
minosgalanakis added a comment to T922: cmake: TF-M documentation build issue.

Hi Martina.

Apr 28 2021, 1:26 PM · Restricted Project
MartinaHanusovaNXP triaged T922: cmake: TF-M documentation build issue as Low priority.
Apr 28 2021, 10:30 AM · Restricted Project
davidwang reassigned T921: Supporting Non-Secure RTOS applications, integrated with Trusted Firmware-M, which want to use the FPU from Anton-TF to federliangarm.
Apr 28 2021, 2:23 AM · Trusted Firmware M

Apr 27 2021

ioannisg created T921: Supporting Non-Secure RTOS applications, integrated with Trusted Firmware-M, which want to use the FPU.
Apr 27 2021, 9:12 AM · Trusted Firmware M

Apr 21 2021

shebuk edited the content of Trusted Services (TS) Roadmap.
Apr 21 2021, 10:14 AM
KenLSoft added a comment to T911: Build warnings.

The first patch for this:
https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/9730

Apr 21 2021, 9:49 AM · Trusted Firmware M
davidhuziji added a comment to T911: Build warnings.

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.

Apr 21 2021, 9:46 AM · Trusted Firmware M

Apr 19 2021

shebuk edited the content of Trusted Services (TS) Roadmap.
Apr 19 2021, 2:41 PM
shebuk edited the content of Trusted Services.
Apr 19 2021, 2:41 PM · Trusted Services
shebuk created an object: Trusted Services (TS) Roadmap.
Apr 19 2021, 2:40 PM

Apr 13 2021

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

Apr 12 2021

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

I built with

Apr 12 2021, 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.

Apr 12 2021, 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.

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

Apr 7 2021

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. TF-A conforms to FF-A, which is a different spec.

Apr 7 2021, 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?

I somehow messed up the two files and got confused

Apr 7 2021, 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

Apr 7 2021, 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

Apr 7 2021, 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

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

Apr 6 2021

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.

Apr 6 2021, 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.

Apr 6 2021, 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.

Apr 6 2021, 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?

Apr 6 2021, 9:26 AM · Trusted Firmware M
lairdjm created T920: Cryptocell CC312 does not work on Nordic nRF5340.
Apr 6 2021, 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.
Apr 6 2021, 3:06 AM · Trusted Firmware M
davidwang added a comment to T911: Build warnings.

Assigned to Ken for the warning fix.

Apr 6 2021, 3:01 AM · Trusted Firmware M
davidwang reassigned T911: Build warnings from davidwang to KenLSoft.
Apr 6 2021, 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?

Apr 6 2021, 1:42 AM

Apr 5 2021

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.

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

Apr 3 2021

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

Apr 2 2021

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

Apr 2 2021, 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).

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

Apr 1 2021

gyuri-szing created T917: cmake: change install rules to use GNUInstallDirs..
Apr 1 2021, 12:24 PM · Trusted Services
ta9ya created T916: The Assert State for Checking PSCI_INVALID_DATA dose not work, dose it?.
Apr 1 2021, 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.
Apr 1 2021, 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.
Apr 1 2021, 2:47 AM · Trusted Firmware M

Mar 31 2021

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..
Mar 31 2021, 3:05 PM · Trusted Services
imre-kis-arm added a project to T915: Implement FF-A Direct Message Routing Extension: Trusted Services.
Mar 31 2021, 2:47 PM · Trusted Services
imre-kis-arm created T915: Implement FF-A Direct Message Routing Extension.
Mar 31 2021, 2:46 PM · Trusted Services
gyuri-szing created an object: Design.
Mar 31 2021, 12:18 PM · Trusted Services
balintdobszay created T914: SPM: unmap FIP SP image after loading.
Mar 31 2021, 8:35 AM · Trusted Services
gyuri-szing created T913: CppUtest features are limited on arm-linux builds..
Mar 31 2021, 7:31 AM · Trusted Services

Mar 30 2021

nathan-menhorn created T912: OP-TEE OS 3.11.0 Hangs at opteed_enter_sp on Cold Boot.
Mar 30 2021, 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.
Mar 30 2021, 10:43 AM
maulik-arm edited the content of Psa Arch Crypto Test Failure Analysis In Tf-m V1.3 Release.
Mar 30 2021, 9:54 AM
davidhuziji 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.

Mar 30 2021, 8:06 AM · Trusted Firmware M
davidhuziji added a project to T911: Build warnings: Trusted Firmware M.
Mar 30 2021, 8:03 AM · Trusted Firmware M
oyvindronningstad added a comment to T911: Build warnings.

Makes sense :)
Here is the GCC version output:

$arm-zephyr-eabi-gcc --version
arm-zephyr-eabi-gcc (crosstool-NG 1.24.0.212_d7da3a9) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Mar 30 2021, 7:48 AM · Trusted Firmware M
Summer-ARM edited the content of Psa Arch Crypto Test Failure Analysis In Tf-m V1.3 Release.
Mar 30 2021, 6:51 AM
davidhuziji added a comment to T911: Build warnings.

It looks like your compiler is bit more stricter than mine :)
It won't take too much to effort to fix those warnings I guess.

Mar 30 2021, 5:31 AM · Trusted Firmware M
Summer-ARM edited the content of Psa Arch Crypto Test Failure Analysis In Tf-m V1.3 Release.
Mar 30 2021, 3:29 AM
davidhuziji added a comment to T911: Build warnings.

Can you share the Compiler information please?

Mar 30 2021, 3:27 AM · Trusted Firmware M
davidhuziji added a comment to T911: Build warnings.
Mar 30 2021, 3:22 AM · Trusted Firmware M
davidhuziji added a comment to Twin-cpu.

Hi Martin, this *dual-cpu* design is dedicated for the platforms which consist of a non-secure core and a secure core. The secure core is protected from the non-secure core by system physical isolation. PSoC 64 is an example port of this *dual-cpu* implementation.

Mar 30 2021, 3:09 AM

Mar 29 2021

oyvindronningstad created T911: Build warnings.
Mar 29 2021, 10:28 AM · Trusted Firmware M
MartinSchoenstedt added a comment to Twin-cpu.

Don't know where to ask this, current TF-M design allows only for one secure cpu and one non-secure?
Why not have SPE and NSPE on both cores, as would be possible on mps2/an521 e.g. (dual M-33 with TrustZone). Could TF-M be modified to allow for such a behavior in the current version?
Thankful for any answers!

Mar 29 2021, 10:23 AM
lairdjm triaged T910: Interactive tests fail to return to main thread after test has ran and sit in osRtxIdleThread() function as Normal priority.
Mar 29 2021, 8:32 AM · Trusted Firmware M
davidhuziji closed T892: AUDIT_LOG secure regression tests don't compile with TFM_PSA_API=ON as Resolved.
Mar 29 2021, 8:16 AM
davidhuziji added a comment to T892: AUDIT_LOG secure regression tests don't compile with TFM_PSA_API=ON.

Improved by https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/9451

Mar 29 2021, 8:16 AM
gyuri-szing edited the content of Trusted Services.
Mar 29 2021, 8:12 AM · Trusted Services
gyuri-szing created an object: Public Videos And Presentations.
Mar 29 2021, 8:10 AM · Trusted Services
davidhuziji added a comment to T892: AUDIT_LOG secure regression tests don't compile with TFM_PSA_API=ON.

Great suggestion. Will add one in build configuration check soon.

Mar 29 2021, 6:58 AM
oyvindronningstad added a comment to T892: AUDIT_LOG secure regression tests don't compile with TFM_PSA_API=ON.

I see. It would be good to have an error message in that case.

Mar 29 2021, 6:48 AM
davidhuziji added a comment to T907: AUDIT_LOG incompatible with profile_medium.

Profile Medium selects IPC model by default. TF-M IPC model disables audit log service since audit log doesn't implement IPC model interface yet.
Please see: https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/tree/config/tfm_ipc_config_default.cmake

Mar 29 2021, 6:46 AM
davidhuziji added a comment to T892: AUDIT_LOG secure regression tests don't compile with TFM_PSA_API=ON.

TF-M audit log service doesn't implement IPC model interface. Therefore it is not enabled by default in IPC model.
IPC model default configuration disables TF-M audit log. Please see: https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/tree/config/tfm_ipc_config_default.cmake

Mar 29 2021, 6:45 AM
KenLSoft updated the task description for T909: 'psa-arch-tests' panic test result inconsistent between ARMCLANG and GNUARM.
Mar 29 2021, 6:01 AM · Trusted Firmware M
KenLSoft created T909: 'psa-arch-tests' panic test result inconsistent between ARMCLANG and GNUARM.
Mar 29 2021, 6:00 AM · Trusted Firmware M
davidwang reassigned T907: AUDIT_LOG incompatible with profile_medium from Anton-TF to davidhuziji.
Mar 29 2021, 3:22 AM
davidwang reassigned T892: AUDIT_LOG secure regression tests don't compile with TFM_PSA_API=ON from Anton-TF to davidhuziji.
Mar 29 2021, 3:22 AM

Mar 26 2021

raghuncstate added a comment to T908: Move platform description to the Hypervisor manifest.

Hi Olivier,

Mar 26 2021, 6:44 PM · Hafnium
odeprez updated the task description for T908: Move platform description to the Hypervisor manifest.
Mar 26 2021, 5:35 PM · Hafnium
odeprez added a comment to T908: Move platform description to the Hypervisor manifest.

Raghu as you are originator for this ask; can you state more about the requirements as to the why we'd really need to do so?

Mar 26 2021, 5:34 PM · Hafnium
odeprez renamed T908: Move platform description to the Hypervisor manifest from Move platform descripton to the Hypervisor manifest to Move platform description to the Hypervisor manifest.
Mar 26 2021, 5:30 PM · Hafnium
odeprez created T908: Move platform description to the Hypervisor manifest.
Mar 26 2021, 5:29 PM · Hafnium
oyvindronningstad updated the task description for T907: AUDIT_LOG incompatible with profile_medium.
Mar 26 2021, 1:54 PM
oyvindronningstad created T907: AUDIT_LOG incompatible with profile_medium.
Mar 26 2021, 1:51 PM
gyuri-szing closed T899: protobuf is missing from nanapob python dependencies. as Resolved.

Fix is merged to integration and master. (https://git.trustedfirmware.org/TS/trusted-services.git/commit/?h=refs/heads/main&id=840696b9ac1ba6aa9ccd024ca9dc3b4be12bf837)

Mar 26 2021, 9:15 AM · Trusted Services
oyvindronningstad assigned T892: AUDIT_LOG secure regression tests don't compile with TFM_PSA_API=ON to Anton-TF.
Mar 26 2021, 8:08 AM
oyvindronningstad closed T837: -fshort-wchar causes incompatibility as Resolved.
Mar 26 2021, 8:05 AM
lairdjm claimed T906: Interactive tests do not work and fail.
Mar 26 2021, 7:58 AM
lairdjm added a comment to T906: Interactive tests do not work and fail.

Submitted for review at https://review.trustedfirmware.org/c/TF-M/tf-m-tests/+/9431

Mar 26 2021, 7:58 AM

Mar 25 2021

lairdjm triaged T906: Interactive tests do not work and fail as High priority.
Mar 25 2021, 5:35 PM