littlekernel / lk

LK embedded kernel
MIT License
3.11k stars 613 forks source link

How to access little kernel drivers from Trusted application #282

Open alekarasma opened 3 years ago

alekarasma commented 3 years ago

Hello Everyone,

We are using Android's Trusty TEE based on the Little Kernel in our project on platform IMX7D. I have written an SPI and a GPIO driver in the little kernel and a Trusted application. I am struggling to find an example or method on, how can a Trusted Application access data from a driver written in the Little Kernel? All I can find is an example of AVB, keymaster etc which does not communicate with the drivers written in the little kernel.

Is there any example code of TA accessing data from little kernel drivers?

Any help is really appreciated.

Thanks, Asma