how to see I.MX7 Optee SW / TA side log?

cancel
Showing results for 
Search instead for 
Did you mean: 

how to see I.MX7 Optee SW / TA side log?

433 Views
aminul
Contributor II

Hello,

When I run test application it executes fine.

Here is the client side log
#optee_example_hello_world
Invoking TA to increment 42
TA incremented value to 43

Can someone tell me how I can see TA or SW side log?

I the Makefile of hello_world TA, I can see below lines

CFG_TEE_TA_LOG_LEVEL ?= 4
CPPFLAGS += -DCFG_TEE_TA_LOG_LEVEL=$(CFG_TEE_TA_LOG_LEVEL)

The value is 4 means highest verbose for OPTEE log and TA log should be found. 

0 Kudos
2 Replies

213 Views
aminul
Contributor II

@Victor Linnik

I have read OPTEE documentation. I have connected with a serial port to IMX7. When I run Trutstzone Sample applications from IMX7 serial interface, I can see only CA side log. TA side log does not show.

SO, I have checked flags which have correct values according to OPTEE documentation. 

Still the log of TA/Trustzone application is not shown on Serial console. 

Do you have any idea ?

0 Kudos

213 Views
b36401
NXP TechSupport
NXP TechSupport

Here you can find OP-TEE documentation:

https://optee.readthedocs.io/

0 Kudos