Assign Secure memory via TZASC and access it via Trusted Application in OP-TEE

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

Assign Secure memory via TZASC and access it via Trusted Application in OP-TEE

834 次查看
TwinkleGoyal
Contributor I

I am using 'core-image-base' for MACHINE = imx8mn-lpddr4-evk. I was able to successfully build and deploy optee-examples along with the image. I tested the optee using xtest and then ran the optee_hello_world example which seems to work fine.

I now want to assign some memory to the secure region and access it using Trusted Application. I checked the SRM but I need a clearer idea of where in the linux drivers do I make these changes and how to access it via TA.

Any lead would be helpful.

Thanks.

标签 (1)
0 项奖励
回复
1 回复

810 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @TwinkleGoyal 

I haven't done a similar experiment either.

Some advice as following. You can check the configuration of tzc380 in optee. Where to configure memory permissions or change the configuration file of optee to increase the size of secure world memory. If want to access it, at least need to establish an MMC mapping relationship in it, and then Linux That side should also reserve this memory.

 

Best regards

Harvey

0 项奖励
回复