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.
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