Hi all,
Please be noted that the TF-M example Secure Partition has been moved from the tf-m-tools repo to the tf-m-extrashttps://git.trustedfirmware.org/TF-M/tf-m-extras.git/tree/examples/example_partition repo. It has also been aligned with the latest TF-M. The documentations are improved as well. It could be a good reference for Secure Partition developer starters.
Best Regards, Kevin
Not sure this is the correct place to post comments on the example code, but I can see that there is something outdated in the following code comment:
/** * \brief An example service implementation that prints out an argument from the * client and then starts a timer. */
From what I can see the timer was removed in the last commit, so this should be updated.
If more examples are needed on how to write secure partitions then there is also an example in the zephyr project: https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/tfm_integrati...
-Joakim.
From: Kevin Peng via TF-M tf-m@lists.trustedfirmware.org Sent: mandag 8. august 2022 12:03 To: tf-m@lists.trustedfirmware.org Cc: nd nd@arm.com Subject: [TF-M] Example Partition Updates
Hi all,
Please be noted that the TF-M example Secure Partition has been moved from the tf-m-tools repo to the tf-m-extrashttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.trustedfirmware.org%2FTF-M%2Ftf-m-extras.git%2Ftree%2Fexamples%2Fexample_partition&data=05%7C01%7Cjoakim.andersson%40nordicsemi.no%7Cd3e20f642ff341022f2a08da79253d39%7C28e5afa2bf6f419a8cf6b31c6e9e5e8d%7C0%7C0%7C637955498087608841%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=S9q2UIP91xAk%2BFALMctm%2BCDPBFckdpQdPzr9dXpe3s4%3D&reserved=0 repo. It has also been aligned with the latest TF-M. The documentations are improved as well. It could be a good reference for Secure Partition developer starters.
Best Regards, Kevin
Thanks for pointing this out. Here is the fixhttps://review.trustedfirmware.org/c/TF-M/tf-m-extras/+/16183.
Best Regards, Kevin
From: Andersson, Joakim Joakim.Andersson@nordicsemi.no Sent: Monday, August 8, 2022 7:06 PM To: Kevin Peng Kevin.Peng@arm.com; tf-m@lists.trustedfirmware.org Cc: nd nd@arm.com Subject: RE: Example Partition Updates
Not sure this is the correct place to post comments on the example code, but I can see that there is something outdated in the following code comment:
/** * \brief An example service implementation that prints out an argument from the * client and then starts a timer. */
From what I can see the timer was removed in the last commit, so this should be updated.
If more examples are needed on how to write secure partitions then there is also an example in the zephyr project: https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/tfm_integrati...
-Joakim.
From: Kevin Peng via TF-M <tf-m@lists.trustedfirmware.orgmailto:tf-m@lists.trustedfirmware.org> Sent: mandag 8. august 2022 12:03 To: tf-m@lists.trustedfirmware.orgmailto:tf-m@lists.trustedfirmware.org Cc: nd <nd@arm.commailto:nd@arm.com> Subject: [TF-M] Example Partition Updates
Hi all,
Please be noted that the TF-M example Secure Partition has been moved from the tf-m-tools repo to the tf-m-extrashttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.trustedfirmware.org%2FTF-M%2Ftf-m-extras.git%2Ftree%2Fexamples%2Fexample_partition&data=05%7C01%7Cjoakim.andersson%40nordicsemi.no%7Cd3e20f642ff341022f2a08da79253d39%7C28e5afa2bf6f419a8cf6b31c6e9e5e8d%7C0%7C0%7C637955498087608841%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=S9q2UIP91xAk%2BFALMctm%2BCDPBFckdpQdPzr9dXpe3s4%3D&reserved=0 repo. It has also been aligned with the latest TF-M. The documentations are improved as well. It could be a good reference for Secure Partition developer starters.
Best Regards, Kevin
tf-m@lists.trustedfirmware.org