This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Enable Secure Partition in ARM-TF and EKD2

Hi,

I'm facing an issue wich makes me very confused : I would like to enable the secure partition in ARM Trusted Firmware and also enable the "MM Mode" in EDK2 in order to communicate between the "Normal World" in EL2 and the "Secure World" EL0-S.

I enbaled the SPM through ARM_TF_ENABLE_SPM flag. I also set BL32 et BL33 files path during ARM TF compilation.

In my trusted firmware source code, MM communication buffer (SP_IMAGE_NS_BUF_MAP) is mapped at 0xFF600000 with MT_RW_DATA | MT_NS | MT_USER

And is also reported in plat_arm_secure_partition_mmap[]

In Uefi, I added the StandalonePkg, wich compiles in "mm_standalone.bin" for BL32 file.

ArmMMCommunation DXE driver has been added in my EDK2.

Unfortunately, every attempt of MM comunication (through 0xFF600000) leads to an Serror Exception, wich could means that access is denied.

Thanks in advance for your help,

Regards,

Fabrice DECROP LONGET