how to enlarge TEE memory size

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to enlarge TEE memory size

789件の閲覧回数
jiankang
Contributor III

hello,

I want to enlarge the DDR memory region used by TEE.

please help to provide the way about how to config DDR memory region type as secure ?

and how to config memory type as shared by secure and nonsecure ?

in ATF /optee / uboot / kernel DTB...

thanks a lot!

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

785件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Jiankang

 

file was sent via mail.

 

Best regards
igor

0 件の賞賛
返信

778件の閲覧回数
jiankang
Contributor III

hello,

I checked the attachment.

but it only mentioned about how to change whole DDR size. TEE always use top 32M address in DDR.

anyway I already enlarge the TEE from 32M to 48M.

could you provide how to config mem type as secure or shared ?

as imx8 serial products don't use "plat-imx/tzasc.c" to config the memory type in DDR...

what I want to do is just mark memory  in DDR as secure(only accessable by TEE), please help to check again!

thanks.

0 件の賞賛
返信

773件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

one can also to look at Chapter 5  Configuring OP-TEE  i.MX Porting Guide

 

Best regards
igor

0 件の賞賛
返信

749件の閲覧回数
jiankang
Contributor III

hello,

thanks for your help. 

but I still cannot config the memory type with the document.

As it is mentioned in the document, memory type should be config by TZASC feature in OPTEE.

but for imx8qm serial products. it doesn't support this feature.

103 else ifneq (,$(filter $(PLATFORM_FLAVOR),$(mx8qm-flavorlist)))
104 $(call force,CFG_MX8QM,y)
105 $(call force,CFG_ARM64_core,y)
106 $(call force,CFG_TEE_CORE_NB_CORE,6)
107 $(call force,CFG_NXP_CAAM,n)
108 $(call force,CFG_TZC380,n)
109 $(call force,CFG_CSU,n)
110 $(call force,CFG_IMX_UART,n)
111 $(call force,CFG_IMX_SNVS,n)

please help to check again, about how to config the memory in DDR as secure ?

in OPTEE or ATF or Uboot or secofw ?

thanks.

0 件の賞賛
返信