imx8qm (iwg27m) OPTEE support: tee-supplicant nor tee drivers can be found

cancel
Showing results for 
Search instead for 
Did you mean: 

imx8qm (iwg27m) OPTEE support: tee-supplicant nor tee drivers can be found

Jump to solution
214 Views
Terry3
Contributor II

Hello everyone,

I am trying to add optee support to my imx8qm-iwg27m platform with Yocto and I am experencing some difficulties.

Here are the steps I followed:

1. Added optee-os, optee-client, and optee-test to  IMAGE_INSTALL. Also added optee to the machine/distrop_features.
2. Added CONFIG_TEE=y and CONFIG_OPTEE=y to the kernel configs
3. Checked that the plaform_flavor name was correctly set and that the tee.bin was built.
4. Checked that the tee.bin was added to the u-boot-atf-container.img
5. Flashed device

On the device, no /dev/tee* cannot be found, systemctl status tee-supplicant shows  "ERR [618] TEES:main:694: failed to find an OP-TEE supplicant device", and xtest shows "Failed to open TEE context: 0xffff0008".

It looks like u-boot is not setting the Linux drivers for TEE  (by modifying the DTB on the fly as specified for ARMv8 / ATF platform).

Is there something I did wrong or did I miss an extra step ?

Thanks and regards

0 Kudos
1 Solution
185 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Terry3

 

imx8qm-iwg27m software is not supported by nxp, one can test it on i.MX8QM MEK

with linux from source.codeaurora.org/external/imx/linux-imx repository


https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.47_2.2.0

Please follow sect.5.6.10 OP-TEE enablement  i.MX Yocto Project User’s Guide​

 

Best regards
igor

 

 

View solution in original post

0 Kudos
1 Reply
186 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Terry3

 

imx8qm-iwg27m software is not supported by nxp, one can test it on i.MX8QM MEK

with linux from source.codeaurora.org/external/imx/linux-imx repository


https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.47_2.2.0

Please follow sect.5.6.10 OP-TEE enablement  i.MX Yocto Project User’s Guide​

 

Best regards
igor

 

 

View solution in original post

0 Kudos