OP-TEE / optee_os

Trusted side of the TEE
Other
1.56k stars 1.05k forks source link

optee load_address configuration #5885

Closed zzbios closed 1 year ago

zzbios commented 1 year ago

Hi, experts, In our current environment, we use ATF to load op-tee.pkg, op-tee.pkg is packed by ATF using sp_tool on tee-pager_v2.bin. The load_address of optee.pkg is defined in the properties of vm node in m1_spmc_optee_sp_manifest.dts, but since there is an address offset of 0x4000 for entry-point, CFG_TZDRAM_START should add 0x4000 to this address.

So, should CFG_TZDRAM_SIZE add the forward offset 0x4000 from mem_size in the properties of vm node?

jenswi-linaro commented 1 year ago

Yes, because that's where the OP-TEE binary is loaded.

zzbios commented 1 year ago

Thanks

github-actions[bot] commented 1 year ago

This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.