Debug logs in optee


hello ,
I am trying to communicate with my spi device through optee, for this, am using spi driver.

And I do not have access to uart

My query is :
Is there any possibility to see debug logs of optee ( secure world ) from usb (adb shell) ?

I see a dir in hikey board-> /bugreports ? I wonder if there is any logging mechanism which I dont know of !!!



There was an effort to try to do this [1] but sort of abandoned now. You can try the patch if you feel adventurous, but there won’t be much in terms of support.

[1] (send traces to tee-supplicant when CFG_LOG_SYSLOG=y)