Hi Thomas,

 

The nonsecure test failure is caused by the GCC bug in *10-2020-q4-major*. See document here https://tf-m-user-guide.trustedfirmware.org/docs/getting_started/tfm_getting_started.html#install-a-toolchain. gcc 10.2.1. is not recommended. Sorry, when I switched to that gcc version, I used an incremental compile, so the image I tested is actually compiled by 9-2019-q4-major gcc.

 

Regards,

Sherry Zhang

 

From: Sherry Zhang
Sent: Friday, November 5, 2021 4:03 PM
To: Thomas Törnblom <thomas.tornblom@iar.com>; tf-m@lists.trustedfirmware.org
Cc: nd <nd@arm.com>
Subject: RE: [TF-M] lpcxpresso55s69 builds broken

 

Hi Thomas,

 

I verified this patch https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/12282/ on lpcxpresso55s69 with

“cmake -S . -B cmake_build -DTFM_PLATFORM=nxp/lpcxpresso55s69 -DBL2=0 -DTEST_NS=ON -DTEST_S=ON”

 

All the regression tests passed and the ITS/PS file system was inherited after the reboot. The compiler I used is 10.2.1 20201103 (release).

I do not have the IAR environment so I did not test it with IAR.

 

Can you tested this patch again on lpcxpresso55s69? If it still fails, can you share the logs?

 

Thanks

 

Regards,

Sherry Zhang

 

From: Thomas Törnblom <thomas.tornblom@iar.com>
Sent: Friday, November 5, 2021 12:00 AM
To: Sherry Zhang <Sherry.Zhang2@arm.com>; tf-m@lists.trustedfirmware.org
Cc: nd <nd@arm.com>
Subject: Re: [TF-M] lpcxpresso55s69 builds broken

 

Hi Sherry,

For some reason I can no longer build for the lpcxpresso55s69 with bl2 support, and I had to wipe the board to get it working again after the earlier mishaps so I need to install bl2 on it.

I'm using gcc 10.2.1.

I'm having tomorrow off and I will continue looking into this on Monday.

The build lines I've used have been:
cmake -GNinja -S .. -B . -DTFM_PLATFORM=nxp/lpcxpresso55s69 "-DTFM_TOOLCHAIN_FILE=..\toolchain_IARARM.cmake"  -DTEST_NS=ON -DTEST_S=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DTFM_PSA_API=ON -DBL2=OFF

but also
cmake -GNinja -S .. -B . -DTFM_PLATFORM=nxp/lpcxpresso55s69 "-DTFM_TOOLCHAIN_FILE=..\toolchain_GNUARM.cmake"  -DTEST_NS=ON -DTEST_S=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBL2=OFF

* bc7fe469 Sherry Zhang  (HEAD -> master, origin/master, origin/HEAD) Boot: Support AES256 in TF-M integration (32 hours ago)
* 0cec47c9 Sherry Zhang  Boot: Update MCUboot to version v1.8.0 (2 days ago)
* dc478370 David Hu  Test: Update tf-m-tests commit ID (9 hours ago)
* 6bf8dd46 David Hu  Platform: PSoC64: Build TF-M SPE alone with NS test flags selected (6 days ago)
* 263bf0ae Sherry Zhnag  ITS: Support ITS file system backward compatibility (2 weeks ago)
*

Cheers,
Thomas

--

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@iar.com Website: www.iar.com
Twitter:
www.twitter.com/iarsystems