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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,285 次查看
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 项奖励
回复
2 回复数

1,065 次查看
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 项奖励
回复

1,065 次查看
b36401
NXP Employee
NXP Employee

Here you can find OP-TEE documentation:

https://optee.readthedocs.io/

0 项奖励
回复