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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
2,610件の閲覧回数
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 件の賞賛
返信
1 解決策
2,581件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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

 

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,056件の閲覧回数
008kai
Contributor II

How to add tee.bin to u-boot-atf-container.img?

0 件の賞賛
返信
2,582件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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

 

 

0 件の賞賛
返信