But included in the trusted os, few other TAs are available: skel, skel1, spinner , …
I would like to test for example skel or timer samples -hello world alike TAs-.
How can I do it?
Can I use tipc_test for testing (e.g. list available TAs, send TIPC commands, …), or is there any other testing tools available TAs without developing a CA. If tipc_test should be used, do you have any documentation on this tool?
In addition, would you have additional CA sample code to call skel/spinner/timer TAs?
you should have your board enable Jetson security. so, during boot process, it’s bpmp to load EKS from eMMC, using PKC/SBK keys to decrypt EKS, after that, it’ll load SecureOS image from eMMC and decrypt/validate tos.img and write results to TZRAM.
it’s a Trusted Execution Environment (TEE) to provide secure environment for applications that running inside a SecureOS, those apps were known as Trusted Applications, TAs; there’s a client application (CA) running in the NSE (non-secure environment), typically has a partner trusted application (TA) running in the secure world.
please check developer guide, Secure Samples.
it shows an example and describes the scenarios that apply to the secure sample applications.
I’ve further digged into the luks-srv application source code to generate a new sample TA/CA application.
I have now: a CA sending data to a TA, a TA processing the data, and sending back the result to the CA.
Eventhough compilation and flashing processes were clearly described in atf_and_trusty.README, I have to admit that the development of new application could be a bit more explicit on the document. A step-by-step development & testing instructions would be appreciated.
@JerryChang I believe lgiori knows a “step-by-step development & testing instructions” documentation does not exist… but was suggesting that one be created. I agree with lgiori. The documentation that is currently referenced is not straight forward…
I understand it’s always not detail enough for the documentation.
we had readme file, atf_and_trusty.README, Trusted Application Development documentation, and related discussion thread, Topic 128041.
so, please kindly share the experience, which part of improvements you would like to have to make it better.