Page MenuHomePhabricator
Feed Advanced Search

Tue, Apr 6

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
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

Thu, Apr 1

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

Tue, Mar 30

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.

Tue, Mar 30, 8:06 AM · Trusted Firmware M
davidhuziji added a project to T911: Build warnings: Trusted Firmware M.
Tue, Mar 30, 8:03 AM · Trusted Firmware M
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.

Tue, Mar 30, 5:31 AM · Trusted Firmware M
davidhuziji added a comment to T911: Build warnings.

Besides, can you share the Compiler information please?

Tue, Mar 30, 3:27 AM · Trusted Firmware M
davidhuziji added a comment to T911: Build warnings.
Tue, Mar 30, 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.

Tue, Mar 30, 3:09 AM

Mon, Mar 29

davidhuziji closed T892: AUDIT_LOG secure regression tests don't compile with TFM_PSA_API=ON as Resolved.
Mon, Mar 29, 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

Mon, Mar 29, 8:16 AM
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.

Mon, Mar 29, 6:58 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

Mon, Mar 29, 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

Mon, Mar 29, 6:45 AM

Wed, Mar 24

davidhuziji added a comment to T904: Dual-cpu NS mailbox initialization shall be executed after CMSIS RTX kernel initialization.

The fix is merged: https://review.trustedfirmware.org/c/TF-M/tf-m-tests/+/8178

Wed, Mar 24, 3:08 AM · Restricted Project
davidhuziji closed T904: Dual-cpu NS mailbox initialization shall be executed after CMSIS RTX kernel initialization as Resolved.
Wed, Mar 24, 3:07 AM · Restricted Project

Tue, Mar 23

davidhuziji created T902: NV counter test in PS regression test 4001 is stuck on SSE-300 in isolation level 2 when PXN is enabled.
Tue, Mar 23, 6:26 AM · Trusted Firmware M

Dec 30 2020

davidhuziji added a comment to T878: Failed to build when TEST_PSA_API is set.

A hotfix is under review: https://review.trustedfirmware.org/c/TF-M/tf-m-tests/+/7753

Dec 30 2020, 3:23 AM

Dec 21 2020

davidhuziji added a comment to T874: PSoC64 fails on Non-Seucre TFM_IPC_TEST_1007 test.

A patch to fix this issue: https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/7708

Dec 21 2020, 8:14 AM · Restricted Project

Dec 18 2020

davidhuziji added a comment to T874: PSoC64 fails on Non-Seucre TFM_IPC_TEST_1007 test.

Previously, memory access check was only performed in TF-M SPM. Therefore multi-core memory access check checks whether current execution is in Handler mode.
Memory access check is allowed only in Handler mode.

Dec 18 2020, 2:54 PM · Restricted Project

Dec 4 2020

davidhuziji created T871: Optimize NS client iovecs parameter copies.
Dec 4 2020, 2:45 AM · Trusted Firmware M

Nov 5 2020

davidhuziji triaged T866: NS audit logging test fails when Secure regression test is not selected as Low priority.
Nov 5 2020, 3:21 AM · Restricted Project

May 11 2020

davidhuziji closed T744: Improve secure function entry point of Library model as Resolved.
May 11 2020, 11:00 AM · Trusted Firmware M

May 7 2020

davidhuziji added a project to T744: Improve secure function entry point of Library model: Trusted Firmware M.
May 7 2020, 4:10 AM · Trusted Firmware M
davidhuziji triaged T743: Mbed-crypto persistent key builds fail with GNUARM when Protected Storage is disabled as High priority.
May 7 2020, 4:10 AM · Trusted Firmware M
davidhuziji created T744: Improve secure function entry point of Library model.
May 7 2020, 3:50 AM · Trusted Firmware M
davidhuziji created T743: Mbed-crypto persistent key builds fail with GNUARM when Protected Storage is disabled.
May 7 2020, 3:48 AM · Trusted Firmware M

Apr 22 2020

davidhuziji updated subscribers of T717: Conflict in task notification in NS mailbox in dual-cpu TF-M.
Apr 22 2020, 9:49 AM · Trusted Firmware M
davidhuziji added a comment to T717: Conflict in task notification in NS mailbox in dual-cpu TF-M.
Apr 22 2020, 4:18 AM · Trusted Firmware M
davidhuziji created T717: Conflict in task notification in NS mailbox in dual-cpu TF-M.
Apr 22 2020, 3:57 AM · Trusted Firmware M

Feb 18 2020

davidhuziji moved T623: Implement dual-cpu multiple outstanding PSA client calls feautre from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Feb 18 2020, 10:35 AM · Restricted Project

Feb 10 2020

davidhuziji added a comment to T660: Low level return type checked during init.

Thx Vikas.
I add @chrisb to take a look since he is the designer. :)

Feb 10 2020, 1:57 AM · Restricted Project
davidhuziji updated subscribers of T660: Low level return type checked during init.
Feb 10 2020, 1:56 AM · Restricted Project
davidhuziji closed T654: The token_size is not updated with actual token length in Library Model as Resolved.
Feb 10 2020, 1:52 AM · Trusted Firmware M

Jan 22 2020

davidhuziji created T654: The token_size is not updated with actual token length in Library Model.
Jan 22 2020, 3:31 PM · Trusted Firmware M

Jan 21 2020

davidhuziji moved T574: Move document from tf.org wiki into TF-M code repo from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jan 21 2020, 2:22 AM · Restricted Project

Jan 13 2020

davidhuziji closed T645: Fail to compile PSoC64 with GNUARM as Resolved.
Jan 13 2020, 3:10 AM · Trusted Firmware M

Jan 10 2020

davidhuziji added a comment to T645: Fail to compile PSoC64 with GNUARM.

Patch is uploaded to https://review.trustedfirmware.org/c/trusted-firmware-m/+/3107.

Jan 10 2020, 10:16 AM · Trusted Firmware M
davidhuziji added a comment to T645: Fail to compile PSoC64 with GNUARM.

The root cause is:

  1. When building SPRTL, arch type is fetched from GNUARM cmake file since SPRTL CMake file is included with add_subdirectory() instead of include().
  2. The CM0+ arch type should be "armv6s-m". However, it is set to "armv6-m" in GNUARM cmake file, which stands for CM0. CM0 doesn't support SVC. Thus the build failed.
  3. Previously, the psa_client.c and` psa_service.c` were not in SPRTL folder. When building the both files, cpu type is fetched which is correct.
Jan 10 2020, 10:15 AM · Trusted Firmware M

Dec 23 2019

davidhuziji closed T537: Deprecated Invert Test suite, a subtask of T532: TF-M / CMSIS-Pack Alignment, as Resolved.
Dec 23 2019, 7:14 AM · Restricted Project
davidhuziji closed T537: Deprecated Invert Test suite as Resolved.
Dec 23 2019, 7:14 AM · Restricted Project
davidhuziji moved T623: Implement dual-cpu multiple outstanding PSA client calls feautre from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Dec 23 2019, 7:14 AM · Restricted Project

Dec 18 2019

davidhuziji added a comment to T623: Implement dual-cpu multiple outstanding PSA client calls feautre.

https://review.trustedfirmware.org/q/topic:%22dualcpu-multi-client-call%22+(status:open%20OR%20status:merged) implement multiple calls feature.
https://review.trustedfirmware.org/q/topic:%22dualcpu-test-framework%22+(status:open%20OR%20status:merged) implement a test framework for dual-cpu to verify multiple calls feature.

Dec 18 2019, 7:31 AM · Restricted Project
davidhuziji created T623: Implement dual-cpu multiple outstanding PSA client calls feautre.
Dec 18 2019, 7:16 AM · Restricted Project

Dec 17 2019

davidhuziji closed T539: Dummy platform files, a subtask of T532: TF-M / CMSIS-Pack Alignment, as Resolved.
Dec 17 2019, 5:52 AM · Restricted Project
davidhuziji closed T539: Dummy platform files as Resolved.
Dec 17 2019, 5:52 AM · Restricted Project

Dec 13 2019

davidhuziji added a comment to T537: Deprecated Invert Test suite.

The patch set is submit to https://review.trustedfirmware.org/q/topic:%22remove-deprecated-test%22+(status:open%20OR%20status:merged) for review.

Dec 13 2019, 3:13 AM · Restricted Project

Dec 12 2019

davidhuziji added a comment to T537: Deprecated Invert Test suite.

The change to CI scripts is merged.

Dec 12 2019, 10:28 AM · Restricted Project
davidhuziji closed T611: Fix XXX_ATTR_FN section label for Application RoT Secure Partitions in GNUARM linker script as Resolved.
Dec 12 2019, 10:26 AM · Trusted Firmware M

Dec 11 2019

davidhuziji added a comment to T539: Dummy platform files.

Patch set has been uploaded to https://review.trustedfirmware.org/q/topic:%22template_plat_files%22+(status:open%20OR%20status:merged) for review.

Dec 11 2019, 10:41 AM · Restricted Project
davidhuziji added a comment to T611: Fix XXX_ATTR_FN section label for Application RoT Secure Partitions in GNUARM linker script.

Patch set: https://review.trustedfirmware.org/c/trusted-firmware-m/+/2767

Dec 11 2019, 8:07 AM · Trusted Firmware M
davidhuziji created T611: Fix XXX_ATTR_FN section label for Application RoT Secure Partitions in GNUARM linker script.
Dec 11 2019, 8:06 AM · Trusted Firmware M
davidhuziji added a comment to T537: Deprecated Invert Test suite.

CI should be updated to remove the tracking of deprecated test cases, before the patch set is uploaded.
The patch to modify CI scripts is under review on https://review.trustedfirmware.org/c/ci/tf-m-ci-scripts/+/2745.

Dec 11 2019, 7:56 AM · Restricted Project
davidhuziji added a comment to T610: Upstream Cypress PSoC 64 platform support to master branch.

Patch set: https://review.trustedfirmware.org/q/topic:%22psoc64_on_master%22+(status:open%20OR%20status:merged)

Dec 11 2019, 5:33 AM · Trusted Firmware M
davidhuziji created T610: Upstream Cypress PSoC 64 platform support to master branch.
Dec 11 2019, 5:33 AM · Trusted Firmware M

Dec 5 2019

davidhuziji moved T583: TF-M dualcpu merging patches hotfix from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Dec 5 2019, 8:40 AM · Restricted Project

Nov 18 2019

davidhuziji moved T583: TF-M dualcpu merging patches hotfix from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Nov 18 2019, 10:25 AM · Restricted Project
davidhuziji added a comment to T583: TF-M dualcpu merging patches hotfix.

Under review: https://review.trustedfirmware.org/q/topic:%22dualcpu-hotfix%22+(status:open%20OR%20status:merged)

Nov 18 2019, 10:25 AM · Restricted Project
davidhuziji created T583: TF-M dualcpu merging patches hotfix.
Nov 18 2019, 10:21 AM · Restricted Project
davidhuziji moved T515: Merge changes to linker scripts from feature-twincpu branch back to master branch from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Nov 18 2019, 2:14 AM · Restricted Project

Nov 13 2019

davidhuziji moved T511: Merge NS part changes on feature-twincpu back to master branch from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Nov 13 2019, 9:56 AM · Restricted Project
davidhuziji moved T512: Merge multi-core memory access check from feature-twincpu back to master branch from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Nov 13 2019, 9:56 AM · Restricted Project

Nov 8 2019

davidhuziji moved T574: Move document from tf.org wiki into TF-M code repo from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Nov 8 2019, 7:06 AM · Restricted Project
davidhuziji created T574: Move document from tf.org wiki into TF-M code repo.
Nov 8 2019, 7:06 AM · Restricted Project

Oct 21 2019

davidhuziji created T556: Merge Vikas SST multi-sector feature patch back to master branch.
Oct 21 2019, 5:37 AM
davidhuziji moved T507: Merge topology changes back to master branch from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 21 2019, 5:30 AM · Restricted Project
davidhuziji moved T509: Merge TF-M Core/SPM changes and RPC/mailbox on feature-twincpu back to master branch from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 21 2019, 5:30 AM · Restricted Project

Oct 9 2019

davidhuziji moved T526: The file name and include guard doesn't match from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 9 2019, 6:15 AM · Restricted Project
davidhuziji added a comment to T526: The file name and include guard doesn't match.

https://review.trustedfirmware.org/c/trusted-firmware-m/+/2195 Merged.

Oct 9 2019, 6:15 AM · Restricted Project

Sep 27 2019

davidhuziji moved T473: Identify conflicts to prepare for merging feature-twincpu back to master branch from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 27 2019, 7:27 AM · Restricted Project
davidhuziji moved T504: Merge Arch changes back to master branch. from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 27 2019, 6:27 AM · Restricted Project

Sep 26 2019

davidhuziji moved T515: Merge changes to linker scripts from feature-twincpu branch back to master branch from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 26 2019, 2:54 AM · Restricted Project
davidhuziji created T515: Merge changes to linker scripts from feature-twincpu branch back to master branch.
Sep 26 2019, 2:54 AM · Restricted Project

Sep 25 2019

davidhuziji moved T512: Merge multi-core memory access check from feature-twincpu back to master branch from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 25 2019, 8:26 AM · Restricted Project
davidhuziji created T512: Merge multi-core memory access check from feature-twincpu back to master branch.
Sep 25 2019, 8:24 AM · Restricted Project

Sep 24 2019

davidhuziji moved T511: Merge NS part changes on feature-twincpu back to master branch from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 24 2019, 10:10 AM · Restricted Project
davidhuziji created T511: Merge NS part changes on feature-twincpu back to master branch.
Sep 24 2019, 10:09 AM · Restricted Project

Sep 23 2019

davidhuziji moved T509: Merge TF-M Core/SPM changes and RPC/mailbox on feature-twincpu back to master branch from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 23 2019, 10:58 AM · Restricted Project
davidhuziji renamed T509: Merge TF-M Core/SPM changes and RPC/mailbox on feature-twincpu back to master branch from Merge TF-M Core/SPM changes and RPC on feature-twincpu back to master branch to Merge TF-M Core/SPM changes and RPC/mailbox on feature-twincpu back to master branch.
Sep 23 2019, 10:12 AM · Restricted Project
davidhuziji created T509: Merge TF-M Core/SPM changes and RPC/mailbox on feature-twincpu back to master branch.
Sep 23 2019, 10:04 AM · Restricted Project

Sep 20 2019

davidhuziji moved T507: Merge topology changes back to master branch from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 20 2019, 7:38 AM · Restricted Project
davidhuziji closed T505: Merge topology enhancement on feature-twincpu back to master branch as Wontfix.
Sep 20 2019, 7:37 AM · Restricted Project
davidhuziji created T507: Merge topology changes back to master branch.
Sep 20 2019, 7:34 AM · Restricted Project
davidhuziji moved T467: Merge build system changes on feature-twincpu back to master branch from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 20 2019, 7:29 AM · Restricted Project
davidhuziji added a comment to T502: Initial support for IAR Embedded Workbench for Arm toolchain for twincpu feature branch.

Yeah, we have been such a quick pace for a while. There are still some major PSoC 6 feature coming in next 2 weeks. So I guess there will be a more stable code base in mid-OCt.

Sep 20 2019, 4:37 AM · Trusted Firmware M

Sep 19 2019

davidhuziji created T505: Merge topology enhancement on feature-twincpu back to master branch.
Sep 19 2019, 9:28 AM · Restricted Project
davidhuziji moved T301: Boot NS CPU from S CPU on PSoC6 from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 19 2019, 9:15 AM · Restricted Project
davidhuziji moved T300: Add synchronisation between secure and non-secure CPUs from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 19 2019, 9:15 AM · Restricted Project
davidhuziji added a comment to T502: Initial support for IAR Embedded Workbench for Arm toolchain for twincpu feature branch.

Hi Thomas, tfm-twin-cpu is a dedicated project tag for multi-core feature development with special schedule, task plan and target, which have been determined.
Please select other tags. Sorry for any inconvenience.

Sep 19 2019, 9:14 AM · Trusted Firmware M
davidhuziji edited projects for T502: Initial support for IAR Embedded Workbench for Arm toolchain for twincpu feature branch, added: Trusted Firmware M; removed Restricted Project.
Sep 19 2019, 9:11 AM · Trusted Firmware M
davidhuziji moved T467: Merge build system changes on feature-twincpu back to master branch from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 19 2019, 9:10 AM · Restricted Project
davidhuziji moved T504: Merge Arch changes back to master branch. from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 19 2019, 9:09 AM · Restricted Project
davidhuziji moved T504: Merge Arch changes back to master branch. from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 19 2019, 9:09 AM · Restricted Project
davidhuziji created T504: Merge Arch changes back to master branch..
Sep 19 2019, 8:27 AM · Restricted Project
davidhuziji created T503: Add platform-specific HW initialization.
Sep 19 2019, 1:43 AM · Trusted Firmware M

Sep 6 2019

davidhuziji moved T427: Define multi-core specific memory check in Isolation Level 2 policy and APIs from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 6 2019, 5:14 AM · Restricted Project
davidhuziji moved T473: Identify conflicts to prepare for merging feature-twincpu back to master branch from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 6 2019, 5:14 AM · Restricted Project

Aug 20 2019

davidhuziji added a comment to T473: Identify conflicts to prepare for merging feature-twincpu back to master branch.

Changes to build environment after rebasing/merging

  1. mbed-crypto
  2. CMSIS 5.5
Aug 20 2019, 8:46 AM · Restricted Project

Aug 19 2019

davidhuziji added a comment to T473: Identify conflicts to prepare for merging feature-twincpu back to master branch.

The conflicts in source code include but not limited to the following list

Aug 19 2019, 6:58 AM · Restricted Project