I am a noob with OPTEE OS and i need some help to understand how writing a kernel module in RICH OS which communicates with a Trusted Application in the TrustZone (if it is possible).
At fthe beginning a basic example is enough. For instance by starting from https://github.com/linaro-swg/optee_examples/tree/master/hello_world how can i implement the host part of the hello_world example in a kernel module which is running on the RICH OS ? If i could understand that then i will do my own.
I am working on ARM 32 bit.
Please refer to this op-tee Linux reference driver https://github.com/OP-TEE/optee_linuxdriver
Please pay attention to this note:
Since the release of OP-TEE 2.0.0, we are no longer using this OP-TEE Linux kernel driver, but we will keep it here for reference in case anyone needs it for one or another reason. Also, this version of the OP-TEE driver is not compatible with OP-TEE 2.0.0 and later. I.e, you cannot use this with latest on the other OP-TEE gits like optee_os, optee_client, optee_test etc.
The optee_linuxdriver git, containing the source code for the TEE driver module in Linux. It is distributed under the GPLv2 open-source license. For a general overview of OP-TEE, please see the Notice.md file. ThirtyOneToday.com