Page MenuHomePhabricator
Feed All Stories

Feb 18 2020

mingyangSun added a comment to T676: Move some SPM files out of core folder and combine with other SPM files..

https://review.trustedfirmware.org/c/trusted-firmware-m/+/3886
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3887
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3433
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3514
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3888

Feb 18 2020, 2:51 PM · Trusted Firmware M
mingyangSun created T676: Move some SPM files out of core folder and combine with other SPM files..
Feb 18 2020, 2:38 PM · Trusted Firmware M
mingyangSun closed T567: SPRTL - SPRTL framework and c runtime library as Resolved.
Feb 18 2020, 2:35 PM · Trusted Firmware M
edison-ai added a comment to T549: Enhancement TF-M to support ACK test.

https://review.trustedfirmware.org/c/trusted-firmware-m/+/3098
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3350/9
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3360/8

Feb 18 2020, 10:58 AM · Trusted Firmware M
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 17 2020

Raincode updated the task description for T675: [Question] Configuring GICv3 from TF-A driver in BL31.
Feb 17 2020, 3:20 PM · TF-A Question
Raincode triaged T675: [Question] Configuring GICv3 from TF-A driver in BL31 as Normal priority.
Feb 17 2020, 3:18 PM · TF-A Question

Feb 15 2020

rickdic closed T632: End-of-interrupt (EOI) handling is missing for RAS interrupts as Resolved.
Feb 15 2020, 10:01 PM

Feb 14 2020

Summer-ARM added a comment to T674: Refine the booting strategy.

patch link: https://review.trustedfirmware.org/c/trusted-firmware-m/+/3434
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3515
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3563
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3564
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3565
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3566
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3567
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3750
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3751
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3752
https://review.trustedfirmware.org/c/trusted-firmware-m/+/4029
https://review.trustedfirmware.org/c/trusted-firmware-m/+/4116
https://review.trustedfirmware.org/c/trusted-firmware-m/+/4117

Feb 14 2020, 9:50 AM · Restricted Project
Summer-ARM created T674: Refine the booting strategy.
Feb 14 2020, 9:45 AM · Restricted Project
Summer-ARM closed T292: refine thread part source for incoming patches as Resolved.
Feb 14 2020, 2:25 AM · Restricted Project
edison-ai closed T557: PSA FF 1.0.0 alignment as Resolved.

All patches had been merged into the master branch.

Feb 14 2020, 1:58 AM · Trusted Firmware M
kevin-peng-hao added a comment to T615: Simplify RTOS / TF-M interface (single thread execution).

It's configured in CommonConfig.cmake, line #321.
The name is CONFIG_TFM_ENABLE_CTX_MGMT.

Feb 14 2020, 1:47 AM

Feb 13 2020

ReinhardKeil added a comment to T615: Simplify RTOS / TF-M interface (single thread execution).

Great, I asssue that this is configured with a #define.

Feb 13 2020, 11:32 AM
davidwang closed T615: Simplify RTOS / TF-M interface (single thread execution) as Resolved.
Feb 13 2020, 7:38 AM
kevin-peng-hao closed T634: Crypto: Refine how crypto modules are selected as Resolved.
Feb 13 2020, 7:38 AM · Trusted Firmware M
davidwang added a comment to T615: Simplify RTOS / TF-M interface (single thread execution).

Thanks, Kevin.

Feb 13 2020, 7:38 AM
kevin-peng-hao closed T594: Remove include paths relative to TF-M root as Wontfix.
Feb 13 2020, 7:38 AM · Trusted Firmware M
kevin-peng-hao added a comment to T615: Simplify RTOS / TF-M interface (single thread execution).

Hi Reinhard, FYI the patches have been merged.

Feb 13 2020, 7:36 AM
KenLSoft closed T652: Stuck in tfm_nspm_thread_entry() as Resolved.
Feb 13 2020, 7:04 AM · Trusted Firmware M

Feb 12 2020

tkaman closed T600: Create GPIO platform service for Musca-A and Musca-B1 as Resolved.
Feb 12 2020, 1:40 PM · Trusted Firmware M
tkaman closed T593: Fix QSPI uninit function for Musca A platform as Resolved.
Feb 12 2020, 1:39 PM · Trusted Firmware M
KenLSoft added a comment to T652: Stuck in tfm_nspm_thread_entry().

Hi Andrej,

Feb 12 2020, 12:10 PM · Trusted Firmware M
AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

Hi Ken,
Yes, the final patch has fixed the issue.
It works now without our workarounds.

Feb 12 2020, 9:40 AM · Trusted Firmware M
Summer-ARM closed T576: Align parameters packing method between ns caller and secure caller and implement the secure parameter packing in SPRTL as Resolved.
Feb 12 2020, 8:56 AM · Trusted Firmware M
KenLSoft added a comment to T652: Stuck in tfm_nspm_thread_entry().

Hi Andrej,
I have updated patch and test with FP enabled in my side and it works. Can you take a try on your side?
Thanks.

Feb 12 2020, 5:10 AM · Trusted Firmware M

Feb 11 2020

jf549 added a comment to T561: Update the TFM Crypto Service to use the mbedCrypto v2.0.

Hi Andrej, Thomas,

Feb 11 2020, 3:59 PM · Restricted Project
TTornblom added a comment to T561: Update the TFM Crypto Service to use the mbedCrypto v2.0.

I would really like to see tf-m support the latest mbed-crypto.

Feb 11 2020, 12:40 PM · Restricted Project
KenLSoft added a comment to T652: Stuck in tfm_nspm_thread_entry().

Thanks. I just found the patch missed something, I will re-create a patch to update that.

Feb 11 2020, 4:00 AM · Trusted Firmware M

Feb 10 2020

jf549 closed T609: ITS: Add support for scaling buffer size as Resolved.
Feb 10 2020, 5:42 PM · Restricted Project
jf549 closed T286: SST: Add support for program units up to flash block size as Resolved.
Feb 10 2020, 5:41 PM · Restricted Project
jf549 closed T543: ITS: Reduce code duplication with PS as Resolved.
Feb 10 2020, 5:41 PM · Restricted Project
chrisb added a comment to T660: Low level return type checked during init.

I agree, it definitely shouldn't propagate that MAILBOX status.
Looks like the header file says that it returns 0 on success. We should probably make it clear which zero that is :-)

Feb 10 2020, 4:58 PM · Restricted Project
KenLSoft added a comment to T673: The design proposal document update .

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

Feb 10 2020, 12:36 PM · Trusted Firmware M
KenLSoft created T673: The design proposal document update .
Feb 10 2020, 11:19 AM · Trusted Firmware M
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

Feb 7 2020

jainvikas8 updated the task description for T660: Low level return type checked during init.
Feb 7 2020, 11:48 AM · Restricted Project
jainvikas8 updated the task description for T660: Low level return type checked during init.
Feb 7 2020, 11:48 AM · Restricted Project
minosgalanakis added a comment to T670: Expose the Non-Volatile (NV) counters through the Platform Service.

Patch under review:

Feb 7 2020, 11:03 AM
minosgalanakis triaged T672: Rename Secure Storage Service (SST) to Protected Storage as Normal priority.
Feb 7 2020, 11:00 AM · Restricted Project
minosgalanakis triaged T671: Move the PS partition to the Application RoT as High priority.
Feb 7 2020, 10:55 AM · Restricted Project
minosgalanakis triaged T670: Expose the Non-Volatile (NV) counters through the Platform Service as Normal priority.
Feb 7 2020, 9:47 AM

Feb 6 2020

GaborAbonyi closed T663: Fix SRAM sanity check in common scatter file as Resolved.

Fix reviewed and merged:
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3333/

Feb 6 2020, 12:51 PM · Trusted Firmware M
GaborAbonyi closed T662: Add eFlash and QSPI flash driver to Musca-B1 platform as Resolved.

Changes reviewed and merged:
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3334/
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3335/
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3336/

Feb 6 2020, 12:50 PM · Trusted Firmware M
AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

Should to confirm, that after the patch the issue is still present.

Feb 6 2020, 7:53 AM · Trusted Firmware M
KenLSoft added a comment to T652: Stuck in tfm_nspm_thread_entry().

Patch created:

Feb 6 2020, 6:03 AM · Trusted Firmware M

Feb 5 2020

tamasban closed T666: Fix static code analyser findings in QCBOR as Resolved.
Feb 5 2020, 3:29 PM · Trusted Firmware M
tamasban closed T665: Fix static code analyser findings in attestation as Resolved.
Feb 5 2020, 1:24 PM · Trusted Firmware M
Yann-lms added a project to T661: BL32/SP_min cannot use arg3 from BL2 in AARCH32: Trusted Firmware A.
Feb 5 2020, 8:28 AM · Trusted Firmware A, TF-A Bug

Feb 3 2020

KenLSoft added a comment to T652: Stuck in tfm_nspm_thread_entry().

Thanks for your input, that helps much. I will create fixes when I back to office.

Feb 3 2020, 4:52 PM · Trusted Firmware M
ReinhardKeil added a comment to T615: Simplify RTOS / TF-M interface (single thread execution).

Are the patches now part of a release? I'm asking as there is a need to support PSA Certification for Level 2 with FreeRTOS.

Feb 3 2020, 3:05 PM
AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

Hi Ken,
after farther testings, PSA Test application still goes to the memory fault.
So I have returned all my two workarounds, which work for all applications:

  1. .stack_top = PART_REGION_ADDR(ARM_LIB_STACK, $$ZI$$Limit) - 0x48,
  2. Disable if (stacked_ctx_pos != p_cur_sp->runtime_data.sp_thrd.sp_btm)
Feb 3 2020, 1:12 PM · Trusted Firmware M
AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

Hi Ken,
Also, it should be done something with the check in tfm_svcalls.c, tfm_core_validate_caller() line 1001:

Feb 3 2020, 12:56 PM · Trusted Firmware M
AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

Hi Ken,

Feb 3 2020, 7:53 AM · Trusted Firmware M

Feb 1 2020

joannafarley-arm added a comment to T669: sunxi h6 need fix memory map.

Hi sunxi h6,

Feb 1 2020, 2:21 PM · Trusted Firmware A
armlabs triaged T669: sunxi h6 need fix memory map as Normal priority.
Feb 1 2020, 8:07 AM · Trusted Firmware A
KenLSoft added a comment to T652: Stuck in tfm_nspm_thread_entry().

BTW, can you update other tfm_arch_*.h as well?
We can help verify the changes not covered in your side.

Feb 1 2020, 4:35 AM · Trusted Firmware M
KenLSoft added a comment to T652: Stuck in tfm_nspm_thread_entry().

Hi Andrey,

Feb 1 2020, 4:33 AM · Trusted Firmware M

Jan 31 2020

AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

So my workaround, to avoid psa_panic(), is to disable the check:

Jan 31 2020, 3:54 PM · Trusted Firmware M
AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

So I have returned to the RESET issue.

Jan 31 2020, 3:42 PM · Trusted Firmware M
AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

After the following fix - 0x48, the applications does not have the memory fault:

{
    .stack_bottom         = PART_REGION_ADDR(ARM_LIB_STACK, $$ZI$$Base),
    .stack_top            = PART_REGION_ADDR(ARM_LIB_STACK, $$ZI$$Limit) - 0x48, //NXP
    .rw_start             = PART_REGION_ADDR(ARM_LIB_STACK, $$ZI$$Base),
},
Jan 31 2020, 2:34 PM · Trusted Firmware M
AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

Hi Ken,

Jan 31 2020, 11:32 AM · Trusted Firmware M
tamasban added a comment to T666: Fix static code analyser findings in QCBOR.

Related change: https://review.trustedfirmware.org/c/trusted-firmware-m/+/3328

Jan 31 2020, 11:18 AM · Trusted Firmware M
tamasban triaged T666: Fix static code analyser findings in QCBOR as Normal priority.
Jan 31 2020, 11:16 AM · Trusted Firmware M
tamasban added a comment to T665: Fix static code analyser findings in attestation.

Related change: https://review.trustedfirmware.org/c/trusted-firmware-m/+/3288

Jan 31 2020, 11:11 AM · Trusted Firmware M
tamasban triaged T665: Fix static code analyser findings in attestation as Normal priority.
Jan 31 2020, 11:02 AM · Trusted Firmware M
KenLSoft added a comment to T652: Stuck in tfm_nspm_thread_entry().

More hints for you:

Jan 31 2020, 4:31 AM · Trusted Firmware M
KenLSoft added a comment to T652: Stuck in tfm_nspm_thread_entry().

Sorry for the late response and thanks for the findings. Could you share your image binary so that I could take a try? I got a board but not set up the environment yet.

Jan 31 2020, 4:04 AM · Trusted Firmware M

Jan 30 2020

jf549 updated subscribers of T660: Low level return type checked during init.
Jan 30 2020, 4:35 PM · Restricted Project
GaborAbonyi triaged T663: Fix SRAM sanity check in common scatter file as Normal priority.
Jan 30 2020, 4:25 PM · Trusted Firmware M
GaborAbonyi triaged T662: Add eFlash and QSPI flash driver to Musca-B1 platform as Normal priority.
Jan 30 2020, 3:08 PM · Trusted Firmware M
Patater added a comment to T660: Low level return type checked during init.

Yes, lower level error codes can vary widely and applications won't know which particular one to check for. Error codes at the same level of abstraction as this API should be used, like TFM_SUCCESS.

Jan 30 2020, 10:44 AM · Restricted Project
Yann-lms created T661: BL32/SP_min cannot use arg3 from BL2 in AARCH32.
Jan 30 2020, 9:30 AM · Trusted Firmware A, TF-A Bug

Jan 29 2020

AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

I have tried to workaround it. Current steps:

  1. Updated to the latest TFM commit.
  2. Reverted changes related to:
    1. 5248af2d7b86775364a0e131eb80ac0330bc81fb
    2. 490281df3736b11b62e25bc98d3e2c6e4e10478c
    3. 483da6447e4360c514538807275904be68395dff

After that, PSA Test application starts working.
But the regression test application still goes to the Memory fault during the first App ROT partition initialization, on the first SVC call.

  1. Switched App ROT partitions to PSA ROT, in tfm_spm_db.inc => after that regression tests are OK.
Jan 29 2020, 9:53 AM · Trusted Firmware M

Jan 28 2020

AndreyButokNXP added a comment to T561: Update the TFM Crypto Service to use the mbedCrypto v2.0.

Hi Antonio
FYI:
mbedCrypto v3.0.1: https://github.com/ARMmbed/mbed-crypto/tags

Jan 28 2020, 3:50 PM · Restricted Project
jainvikas8 created T660: Low level return type checked during init.
Jan 28 2020, 3:10 PM · Restricted Project
matetothpal closed T598: TF-M: Move debug authentication documentation as Resolved.

Change for this issue had been merged

Jan 28 2020, 2:44 PM · Trusted Firmware M
matetothpal closed T601: TF-M Core: Unify register clear in naked functions as Resolved.

Fix for this issue had been merged

Jan 28 2020, 2:26 PM · Trusted Firmware M

Jan 27 2020

jf549 closed T655: SST: Fix initialisation of object table entry as Resolved.
Jan 27 2020, 5:40 PM · Restricted Project
davidvincze closed T619: Integrate TF-M buildsystem with upstream MCUBoot as Resolved.
Jan 27 2020, 2:06 PM · Trusted Firmware M
AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

FYI:
For ARMClang/Keil

  1. Functional API and TFM_LVL=1, all applications/tests are OK!!!
  2. IPC API and TFM_LVL=1 => repetitive reset.
  3. IPC API and TFM_LVL=2 => goes to the mentioned memory fault.
Jan 27 2020, 1:55 PM · Trusted Firmware M
ronald-cron-arm claimed T658: Add support for Armv8.1-M architecture.
Jan 27 2020, 12:49 PM
ronald-cron-arm raised the priority of T657: Add support for ArmClang version 6.13 from Normal to Needs Triage.
Jan 27 2020, 12:48 PM · Trusted Firmware M
ronald-cron-arm claimed T657: Add support for ArmClang version 6.13.
Jan 27 2020, 12:46 PM · Trusted Firmware M
AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

Another experiment. Switching to Armasm V5 from v6 did not help, the same result - goes to the Memory fault.
So, for this moment only GCC (for PSA tests) is OK.

Jan 27 2020, 12:15 PM · Trusted Firmware M
jf549 moved T659: Crypto: Disable SHA-1 by default from Restricted Project Column to Restricted Project Column on the Restricted Project board.

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

Jan 27 2020, 11:24 AM · Restricted Project
jf549 triaged T659: Crypto: Disable SHA-1 by default as Normal priority.
Jan 27 2020, 11:24 AM · Restricted Project
AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

BTW: At the same time the TFM Regression Tests application (using GCC) goes to infinite reset on test_app()=>tfm_secure_client_run_tests()=>psa_connect(TFM_SECURE_CLIENT_SFN_RUN_TESTS_SID,TFM_SECURE_CLIENT_SFN_RUN_TESTS_VERSION)=>tfm_ns_interface_dispatch()=>fn()=>causes reset

Jan 27 2020, 9:33 AM · Trusted Firmware M
tamasban closed T608: Integrate QCBOR and COSE update as Resolved.
Jan 27 2020, 9:12 AM · Trusted Firmware M
AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

Hi Ken,

Jan 27 2020, 9:07 AM · Trusted Firmware M
AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

Hi Ken,

Jan 27 2020, 8:26 AM · Trusted Firmware M
ronald-cron-arm triaged T658: Add support for Armv8.1-M architecture as Normal priority.
Jan 27 2020, 8:14 AM
ronald-cron-arm triaged T657: Add support for ArmClang version 6.13 as Normal priority.
Jan 27 2020, 8:02 AM · Trusted Firmware M
ronald-cron-arm closed T591: Update CMSIS includes to those of CMSIS v5.6.0 as Resolved.

Update completed.

Jan 27 2020, 7:57 AM

Jan 25 2020

KenLSoft added a comment to T652: Stuck in tfm_nspm_thread_entry().

Looks like this was caused by the push operation, and it was caused by accessing an address out of ARM_LIB_STACK.

Jan 25 2020, 8:31 AM · Trusted Firmware M

Jan 24 2020

AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

After tfm_core_svc_handler() returns, the execution jumps to tfm_nspm_thread_entry().
Strange is, that during this jump PSP is changed from 0x30000FE0 to 0x30001048.

Jan 24 2020, 2:47 PM · Trusted Firmware M
AndreyButokNXP added a comment to T652: Stuck in tfm_nspm_thread_entry().

So the PSP, during main() has following values:
PSP = 0x300001000 PSPLIM = 0x30000800

Jan 24 2020, 11:57 AM · Trusted Firmware M
jf549 moved T656: Crypto: Add support for persistent keys from Restricted Project Column to Restricted Project Column on the Restricted Project board.

https://review.trustedfirmware.org/c/trusted-firmware-m/+/3252
https://review.trustedfirmware.org/c/trusted-firmware-m/+/3253

Jan 24 2020, 10:44 AM · Restricted Project