Hi,
New TF-M Release Candidate 2 is tagged by TF-Mv1.3.0-RC2.
Please update all repositories as it contain fixes for issues found in RC1.
Best regards,
Anton
Thanks , it solved.
Best Regards
Michel
From: TF-M <tf-m-bounces(a)lists.trustedfirmware.org> On Behalf Of Thomas Törnblom via TF-M
Sent: lundi 29 mars 2021 17:37
To: tf-m(a)lists.trustedfirmware.org
Subject: Re: [TF-M] FW: TF-Mv1.3.0-RC1 => build with IARARM 8.5.4 failed
Apparently I have not tested this before.
Check the fix at:
https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/9455
/Thomas
Den 2021-03-29 kl. 16:35, skrev Michel JAOUEN via TF-M:
Sure
Variable $tfm_work point to trustedfirmware local dir.
Here is my command
cmake -S . -B build_dir -G"Unix Makefiles"
-DTFM_PLATFORM=stm/stm32l562e_dk
-DTFM_TOOLCHAIN_FILE=$tfm_work/toolchain_IARARM.cmake
-DCMAKE_BUILD_TYPE=RelWithDebInfo
-DTEST_S=ON -DTEST_NS=ON -DTFM_PSA_API=ON -DTFM_ISOLATION_LEVEL=2
Best regards
Michel
From: TF-M <tf-m-bounces(a)lists.trustedfirmware.org<mailto:tf-m-bounces@lists.trustedfirmware.org>> On Behalf Of Thomas Törnblom via TF-M
Sent: lundi 29 mars 2021 16:06
To: tf-m(a)lists.trustedfirmware.org<mailto:tf-m@lists.trustedfirmware.org>
Subject: Re: [TF-M] TF-Mv1.3.0-RC1 => build with IARARM 8.5.4 failed
Hi Michel,
Can you provide the cmake line and I'll have a look.
That argument looks like a gcc argument not recognized by the IAR tools.
Cheers,
Thomas
Den 2021-03-29 kl. 15:34, skrev Michel JAOUEN via TF-M:
Hello,
I got the following build issue when I build with IARAR, it occurs when build mbed-crypto
IAR ANSI C/C++ Compiler V8.50.4.261/W32 for ARM
Copyright 1999-2020 IAR Systems AB.
Network license: 10.157.2.156 (STD)
Command line error: Unexpected command line arguments:
-Wno-unused-parameter
Does someone else reproduce the issue ?
Best regards
--
Thomas Törnblom, Product Engineer
IAR Systems AB
Box 23051, Strandbodgatan 1
SE-750 23 Uppsala, SWEDEN
Mobile: +46 76 180 17 80 Fax: +46 18 16 78 01
E-mail: thomas.tornblom(a)iar.com<mailto:thomas.tornblom@iar.com> Website: www.iar.com<http://www.iar.com>
Twitter: www.twitter.com/iarsystems<http://www.twitter.com/iarsystems>
--
Thomas Törnblom, Product Engineer
IAR Systems AB
Box 23051, Strandbodgatan 1
SE-750 23 Uppsala, SWEDEN
Mobile: +46 76 180 17 80 Fax: +46 18 16 78 01
E-mail: thomas.tornblom(a)iar.com<mailto:thomas.tornblom@iar.com> Website: www.iar.com<http://www.iar.com>
Twitter: www.twitter.com/iarsystems<http://www.twitter.com/iarsystems>
Apparently I have not tested this before.
Check the fix at:
https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/9455
/Thomas
Den 2021-03-29 kl. 16:35, skrev Michel JAOUEN via TF-M:
>
> Sure
>
> Variable $tfm_work point to trustedfirmware local dir.
>
> Here is my command
>
> cmake -S . -B build_dir -G"Unix Makefiles"
>
> -DTFM_PLATFORM=stm/stm32l562e_dk
>
> -DTFM_TOOLCHAIN_FILE=$tfm_work/toolchain_IARARM.cmake
>
> -DCMAKE_BUILD_TYPE=RelWithDebInfo
>
> -DTEST_S=ON -DTEST_NS=ON -DTFM_PSA_API=ON -DTFM_ISOLATION_LEVEL=2
>
> Best regards
>
> Michel
>
> *From:*TF-M <tf-m-bounces(a)lists.trustedfirmware.org
> <mailto:tf-m-bounces@lists.trustedfirmware.org>> *On Behalf Of *Thomas
> Törnblom via TF-M
> *Sent:* lundi 29 mars 2021 16:06
> *To:* tf-m(a)lists.trustedfirmware.org
> <mailto:tf-m@lists.trustedfirmware.org>
> *Subject:* Re: [TF-M] TF-Mv1.3.0-RC1 => build with IARARM 8.5.4 failed
>
> Hi Michel,
>
> Can you provide the cmake line and I'll have a look.
>
> That argument looks like a gcc argument not recognized by the IAR tools.
>
> Cheers,
> Thomas
>
> Den 2021-03-29 kl. 15:34, skrev Michel JAOUEN via TF-M:
>
> Hello,
>
> I got the following build issue when I build with IARAR, it occurs
> when build mbed-crypto
>
> IAR ANSI C/C++ Compiler V8.50.4.261/W32 for ARM
>
> Copyright 1999-2020 IAR Systems AB.
>
> Network license: 10.157.2.156 (STD)
>
> Command line error: Unexpected command line arguments:
>
> -Wno-unused-parameter
>
> Does someone else reproduce the issue ?
>
> Best regards
>
> --
>
> *Thomas Törnblom*, /Product Engineer/
> IAR Systems AB
> Box 23051, Strandbodgatan 1
> SE-750 23 Uppsala, SWEDEN
> Mobile: +46 76 180 17 80 Fax: +46 18 16 78 01
> E-mail: thomas.tornblom(a)iar.com
> <mailto:thomas.tornblom@iar.com>Website: www.iar.com <http://www.iar.com>
> Twitter: www.twitter.com/iarsystems <http://www.twitter.com/iarsystems>
>
>
--
*Thomas Törnblom*, /Product Engineer/
IAR Systems AB
Box 23051, Strandbodgatan 1
SE-750 23 Uppsala, SWEDEN
Mobile: +46 76 180 17 80 Fax: +46 18 16 78 01
E-mail: thomas.tornblom(a)iar.com <mailto:thomas.tornblom@iar.com>
Website: www.iar.com <http://www.iar.com>
Twitter: www.twitter.com/iarsystems <http://www.twitter.com/iarsystems>
Sure
Variable $tfm_work point to trustedfirmware local dir.
Here is my command
cmake -S . -B build_dir -G"Unix Makefiles"
-DTFM_PLATFORM=stm/stm32l562e_dk
-DTFM_TOOLCHAIN_FILE=$tfm_work/toolchain_IARARM.cmake
-DCMAKE_BUILD_TYPE=RelWithDebInfo
-DTEST_S=ON -DTEST_NS=ON -DTFM_PSA_API=ON -DTFM_ISOLATION_LEVEL=2
Best regards
Michel
From: TF-M <tf-m-bounces(a)lists.trustedfirmware.org<mailto:tf-m-bounces@lists.trustedfirmware.org>> On Behalf Of Thomas Törnblom via TF-M
Sent: lundi 29 mars 2021 16:06
To: tf-m(a)lists.trustedfirmware.org<mailto:tf-m@lists.trustedfirmware.org>
Subject: Re: [TF-M] TF-Mv1.3.0-RC1 => build with IARARM 8.5.4 failed
Hi Michel,
Can you provide the cmake line and I'll have a look.
That argument looks like a gcc argument not recognized by the IAR tools.
Cheers,
Thomas
Den 2021-03-29 kl. 15:34, skrev Michel JAOUEN via TF-M:
Hello,
I got the following build issue when I build with IARAR, it occurs when build mbed-crypto
IAR ANSI C/C++ Compiler V8.50.4.261/W32 for ARM
Copyright 1999-2020 IAR Systems AB.
Network license: 10.157.2.156 (STD)
Command line error: Unexpected command line arguments:
-Wno-unused-parameter
Does someone else reproduce the issue ?
Best regards
--
Thomas Törnblom, Product Engineer
IAR Systems AB
Box 23051, Strandbodgatan 1
SE-750 23 Uppsala, SWEDEN
Mobile: +46 76 180 17 80 Fax: +46 18 16 78 01
E-mail: thomas.tornblom(a)iar.com<mailto:thomas.tornblom@iar.com> Website: www.iar.com<http://www.iar.com>
Twitter: www.twitter.com/iarsystems<http://www.twitter.com/iarsystems>
Hi Michel,
Can you provide the cmake line and I'll have a look.
That argument looks like a gcc argument not recognized by the IAR tools.
Cheers,
Thomas
Den 2021-03-29 kl. 15:34, skrev Michel JAOUEN via TF-M:
>
> Hello,
>
> I got the following build issue when I build with IARAR, it occurs
> when build mbed-crypto
>
> IAR ANSI C/C++ Compiler V8.50.4.261/W32 for ARM
>
> Copyright 1999-2020 IAR Systems AB.
>
> Network license: 10.157.2.156 (STD)
>
> Command line error: Unexpected command line arguments:
>
> -Wno-unused-parameter
>
> Does someone else reproduce the issue ?
>
> Best regards
>
>
--
*Thomas Törnblom*, /Product Engineer/
IAR Systems AB
Box 23051, Strandbodgatan 1
SE-750 23 Uppsala, SWEDEN
Mobile: +46 76 180 17 80 Fax: +46 18 16 78 01
E-mail: thomas.tornblom(a)iar.com <mailto:thomas.tornblom@iar.com>
Website: www.iar.com <http://www.iar.com>
Twitter: www.twitter.com/iarsystems <http://www.twitter.com/iarsystems>
Hello,
I got the following build issue when I build with IARAR, it occurs when build mbed-crypto
IAR ANSI C/C++ Compiler V8.50.4.261/W32 for ARM
Copyright 1999-2020 IAR Systems AB.
Network license: 10.157.2.156 (STD)
Command line error: Unexpected command line arguments:
-Wno-unused-parameter
Does someone else reproduce the issue ?
Best regards
Hi Anton,
I'd like give a short session on "stateless handle and service in TF-M", about 20min.
Regards,
Mingyang
From: TF-M <tf-m-bounces(a)lists.trustedfirmware.org> On Behalf Of Anton Komlev via TF-M
Sent: Friday, March 26, 2021 6:57 AM
To: tf-m(a)lists.trustedfirmware.org
Cc: nd <nd(a)arm.com>
Subject: [TF-M] Technical Forum call - April 1 (not a joke :)
Hi,
The next Technical Forum is planned on Thursday, April 1 , 07:00-08:00 UTC (Asia time zone).
Please mine the gap of the time change in Europe!
Please reply on this email with your proposals for agenda topics.
Recording and slides of previous meetings are here:
https://www.trustedfirmware.org/meetings/tf-m-technical-forum/
Best regards,
Anton
Hi,
The next Technical Forum is planned on Thursday, April 1 , 07:00-08:00 UTC (Asia time zone).
Please mine the gap of the time change in Europe!
Please reply on this email with your proposals for agenda topics.
Recording and slides of previous meetings are here:
https://www.trustedfirmware.org/meetings/tf-m-technical-forum/
Best regards,
Anton
Hi Alexander,
Thanks for reporting this issue.
Can I ask for more details of the failures?
* What's the build configuration on PSoC 64 with PSA Arch test?
* What's the version of TF-M? Have you tried the latest one in master branch?
* What's the version of PSA Arch test?
* Can you share more log of the failure test case?
Thanks.
Best regards,
Hu Ziji
From: TF-M <tf-m-bounces(a)lists.trustedfirmware.org> On Behalf Of Alexander.Moore--- via TF-M
Sent: Tuesday, March 23, 2021 6:42 AM
To: tf-m(a)lists.trustedfirmware.org
Subject: [TF-M] Regression observed in PSA Crypto after Mbed TLS upgrade to 2.25
Hello,
After "28659c49 Crypto: Upgrade Mbed TLS to 2.25" we see the following 7 PSA Crypto test failures on PSoC64 which were passing before this commit:
TEST: 206
TEST: 207
TEST: 208
TEST: 211
TEST: 237
TEST: 243
TEST: 244
Are these failures expected? As far as we can tell, there is nothing else to be done associated with the 2.25 upgrade, i.e. the build automatically pulls 2.25 down, and there are no corresponding commits to psa-arch-tests to support the upgrade or any other changes necessary.
Thanks,
Alex
Hi Michel,
Quote from the armlink user guide:
ALIGN on an execution region causes both the load address and execution address to be aligned.
This can result in padding being added to the ELF file. To align only the execution address, use
the AlignExpr expression on the base address.
So I guess the alignment on execution regions (TFM_UNPRIV_CODE) overrides the alignment of the Load Region.
And the fix is easy - as the user guide suggests - use AlignExpr
In you case, could you try:
+0 ALIGN 0x2000 -> AlignExpr(+0, 0x2000)
Best Regards,
Kevin
From: TF-M <tf-m-bounces(a)lists.trustedfirmware.org> On Behalf Of Michel JAOUEN via TF-M
Sent: Tuesday, March 16, 2021 10:33 PM
To: tf-m(a)lists.trustedfirmware.org
Subject: [TF-M] Armclang linker alignement question
Hello,
This question is relative to linker script with Compiler armclang 'V6.14' (For the other toolchain IAR , GNUARM ,it works )
I need to place code aligned to flash PAGE SIZE (0x2000 or 8192) to be able to set hardware protection.
As follow , here is the description of the issue.
With a Linker file having the following value for Code placement
LR_CODE 0x0c024400 0x20000 {
ER_TFM_CODE 0x0c024400 {
*.o (RESET +First)
* (+RO)
}
TFM_UNPRIV_CODE +0 ALIGN 0x2000 {
stm32u5xx_hal*.o (+RO)
tick.o (+RO)
*(SFN)
*armlib*
}
}
We get the following error :
Build started: Project: Project_s
*** Using Compiler 'V6.14', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
Build Project 'Project_s' - Target xxxxxxxxxxx _TFM_Appli_S'
linking...
xxxxxxxxxxx_S\Exe\Project.axf: Error: L6244E: Load region LR_CODE address (0x0c024400) not aligned on a 8192 byte boundary.
Not enough information to list image symbols.
Finished: 1 information, 0 warning and 1 error messages.
" xxxxxxxxxxx _S\Exe\Project.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:03
If we change the linker file as follow :
LR_CODE 0x0c024400 0x20000 {
ER_TFM_CODE 0x0c024400 {
*.o (RESET +First)
* (+RO)
}
TFM_UNPRIV_CODE +0 ALIGN 0x400 {
stm32u5xx_hal*.o (+RO)
tick.o (+RO)
*(SFN)
*armlib*
}
}
No Error is reported.
Is this an known issue with ARMCLANG ?
Best Regards
.