Hi all,
I am currently trying out TF-M together with Zephyr and therefore ported it to the Nucleo-U575ZI-Q evaluation board. I started to struggle when trying to implement an example for a custom Secure Partition (SP) which should access peripherals.
I recognized, that the `target_cfg.*` throughout different vendors follow different design principles. E.g. for Nordic controllers an example is given with their nordic-sdk on how to implement peripheral access for a SP (https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrf/samples/tfm/t...). For ST devices I tried to transfer this, however, where unsuccessful so far as for the ST microcontrollers the peripheral definitions are missing, and things are just different.
Is there any example for ST controllers on how to make specific peripherals only accessible through SPE? Is this currently supported for ST devices?
And another question, as the Embedded Open Source Summit arises, is TF-M represented somewhere on conferences?
Kind Regards Christian Spinnler
Siemens AG Technology Connectivity & Edge T CED SSI-DE Schuckertstrasse 2 91058 Erlangen, Deutschland mailto:christian.spinnler@siemens.com www.siemens.comhttps://siemens.com
Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Jim Hagemann Snabe; Vorstand: Roland Busch, Vorsitzender; Cedrik Neike, Matthias Rebellius, Ralf P. Thomas, Judith Wiese; Sitz der Gesellschaft: Berlin und München, Deutschland; Registergericht: Berlin-Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE 23691322
Hi, from Nordics point of view we haven't followed any other design principles other than what the TF-M documentation has given us. However, each platform must add support for accessing the peripherals of their board. We have added support for our peripheral set, from what I have seen in other platforms most of them do not, except for what the test-suite requires.
So, the answer is really that ST is lacking support.
-Joakim
From: Spinnler, Christian via TF-M tf-m@lists.trustedfirmware.org Sent: Tuesday, June 20, 2023 10:36 To: tf-m@lists.trustedfirmware.org Subject: [TF-M] ST support for secure peripheral partition
Caution: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi all,
I am currently trying out TF-M together with Zephyr and therefore ported it to the Nucleo-U575ZI-Q evaluation board. I started to struggle when trying to implement an example for a custom Secure Partition (SP) which should access peripherals.
I recognized, that the `target_cfg.*` throughout different vendors follow different design principles. E.g. for Nordic controllers an example is given with their nordic-sdk on how to implement peripheral access for a SP (https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrf/samples/tfm/t...). For ST devices I tried to transfer this, however, where unsuccessful so far as for the ST microcontrollers the peripheral definitions are missing, and things are just different.
Is there any example for ST controllers on how to make specific peripherals only accessible through SPE? Is this currently supported for ST devices?
And another question, as the Embedded Open Source Summit arises, is TF-M represented somewhere on conferences?
Kind Regards Christian Spinnler
Siemens AG Technology Connectivity & Edge T CED SSI-DE Schuckertstrasse 2 91058 Erlangen, Deutschland mailto:christian.spinnler@siemens.com www.siemens.comhttps://siemens.com/
Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Jim Hagemann Snabe; Vorstand: Roland Busch, Vorsitzender; Cedrik Neike, Matthias Rebellius, Ralf P. Thomas, Judith Wiese; Sitz der Gesellschaft: Berlin und München, Deutschland; Registergericht: Berlin-Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE 23691322
Hi Christian,
On Tue, 20 Jun 2023 at 10:36, Spinnler, Christian via TF-M < tf-m@lists.trustedfirmware.org> wrote:
And another question, as the Embedded Open Source Summit arises, is TF-M represented somewhere on conferences?
I've presented on TF-M and related topics in the past, but this year I'll just be giving a general talk on IoT security. There's a mention of TF-M in there in the context of an example project, but nothing TF-M specific.
Best regards, Kevin Townsend Tech Lead - LITE, Vertical Technologies Linaro.org │ Open source software for ARM SoCs
Hi Christian, Kevin,
I don’t know if the question below was only about talks at EOSS, or if there was an interest in discussing anything TF-M related with other attendees. If it was latter then, just fyi, I will be at the conference and happy to sync up.
Thanks, Abhishek From: Kevin Townsend via TF-M tf-m@lists.trustedfirmware.org Sent: Tuesday, June 20, 2023 11:26 AM To: Spinnler, Christian christian.spinnler@siemens.com Cc: tf-m@lists.trustedfirmware.org Subject: [TF-M] Re: ST support for secure peripheral partition
Hi Christian,
On Tue, 20 Jun 2023 at 10:36, Spinnler, Christian via TF-M <tf-m@lists.trustedfirmware.orgmailto:tf-m@lists.trustedfirmware.org> wrote: And another question, as the Embedded Open Source Summit arises, is TF-M represented somewhere on conferences?
I've presented on TF-M and related topics in the past, but this year I'll just be giving a general talk on IoT security. There's a mention of TF-M in there in the context of an example project, but nothing TF-M specific.
Best regards, Kevin Townsend Tech Lead - LITE, Vertical Technologies Linaro.org │ Open source software for ARM SoCs
Hi Kevin, Abhishek,
thank you for your replies! The question was very unspecific. But I am interested if TF-M will be represented somewhere on the future conferences with talks / representatives to get a more detailed overview of the status and to discuss about TF-M. I would appreciate to sync and discuss the status and future directions of TF-M in person, unfortunately I will attend the conference only virtually.
Kind regards Christian
Von: Abhishek Pandit Abhishek.Pandit@arm.com Datum: Mittwoch, 21. Juni 2023 um 11:10 An: Kevin Townsend (kevin.townsend@linaro.org) kevin.townsend@linaro.org, Spinnler, Christian (T CED SSI-DE) christian.spinnler@siemens.com Cc: tf-m@lists.trustedfirmware.org tf-m@lists.trustedfirmware.org Betreff: RE: [TF-M] Re: ST support for secure peripheral partition Hi Christian, Kevin,
I don’t know if the question below was only about talks at EOSS, or if there was an interest in discussing anything TF-M related with other attendees. If it was latter then, just fyi, I will be at the conference and happy to sync up.
Thanks, Abhishek From: Kevin Townsend via TF-M tf-m@lists.trustedfirmware.org Sent: Tuesday, June 20, 2023 11:26 AM To: Spinnler, Christian christian.spinnler@siemens.com Cc: tf-m@lists.trustedfirmware.org Subject: [TF-M] Re: ST support for secure peripheral partition
Hi Christian,
On Tue, 20 Jun 2023 at 10:36, Spinnler, Christian via TF-M <tf-m@lists.trustedfirmware.orgmailto:tf-m@lists.trustedfirmware.org> wrote: And another question, as the Embedded Open Source Summit arises, is TF-M represented somewhere on conferences?
I've presented on TF-M and related topics in the past, but this year I'll just be giving a general talk on IoT security. There's a mention of TF-M in there in the context of an example project, but nothing TF-M specific.
Best regards, Kevin Townsend Tech Lead - LITE, Vertical Technologies Linaro.org │ Open source software for ARM SoCs
tf-m@lists.trustedfirmware.org