imx6ull optee peripheral access control UART or GPIO

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6ull optee peripheral access control UART or GPIO

216 Views
Karun
Contributor II

Hello,

I have optee-examples running on imx6ull board. also xtest pass all test.

Now I want to implement access control for  UART or GPIO.

only TA can send/receive data over UART, 

or TA can toggle GPIO.

other then that it is not allowed to do so.

 

I searched online/NXP forum a lot about that, but could not get any help to get start.

Is there any reference or guide available?

0 Kudos
Reply
1 Reply

202 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

NXP don't have a reference for your design but you can check the current state of the system's GPIOs can be obtained in user-mode, as shown in the following example:

cat /sys/kernel/debug/gpio

 

Check this note from our third party Variscite:

https://variwiki.com/index.php?title=MX8M_GPIO

 

Regards

0 Kudos
Reply