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

273件の閲覧回数
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 返信

249件の閲覧回数
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 件の賞賛