Hi Yuye,
On Wed, Jan 4, 2023 at 6:10 PM 梅建强(禹夜) meijianqiang.mjq@alibaba-inc.com wrote:
Hello expert,
I have a few questions about the optee device tree and tee driver. In our environment, optee uses version 3.19 vexpress-fvp and runs on top of hafnium as SPMC. Here's my question.
- Does the current optee version support adding ACPI table iterm for optee to enable REE to identify the installed optee driver so that TA and CA can establish communication?
Since you mention SPMC I assume you're using FF-A also. With FF-A there is no need for OP-TEE to have anything in DTB or ACPI. The FF-A framework is able to tell if there's an OP-TEE available to communicate with or not.
(I raise this question because I cannot find the corresponding optee node in "/sys/devices/platform" in the current linux environment. While in the QEMU runtime environment, the corresponding optee node is in "/proc/device-tree/firmware", i.e. "linaro,optee-tz".)
Yes, but only in the non-FF-A case.
- If I want to transfer dtb file which includes a device tree node written by optee to linux, How to configure CFG_DT, CFG_DT_ADDR, and CFG_EXTERNAL_DTB_OVERLAY?
(I understand that this method should be independent from the method in question 1. If it is not, look forward your explain.)
In the FF-A case, this isn't necessary or even possible in an easy way.
Cheers, Jens
Looking forward to your reply. Thanks.
regards, yuye