How to build right version ATF+OpteeOS+uboot on i.MX8MQ-EVK ?

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

How to build right version ATF+OpteeOS+uboot on i.MX8MQ-EVK ?

ソリューションへジャンプ
3,879件の閲覧回数
victoryu
Contributor III

How can I build right version ATF + OpteeOS + uboot on i.MX8Mq-EVK board ? I try imx-atf + imx-optee-os + uboot-imx and imx-mkimge, not any branch is run OK. 

タグ(1)
1 解決策
3,622件の閲覧回数
matthias_staube
Contributor II

Please navigate to the following link and download the archive containing Linux Documentation:

https://www.nxp.com/design/i.mx-developer-resources/i.mx-software-and-development-tool:IMX-SW

Inside you will find "i.MX Yocto Project User's Guide". Please follow the instructions to setup a Ubuntu host with the yocto environment. You can then build a SD-Card image and flash it. ATF is required on imx 8 and enabled through imx-atf by default. optee-os requires u-boot SPL to load it, which is used by default with imx8m, as well as optee-os itself. You can try running xtest to see if it is operational. If you use the yocto build, you don't need to run imx-mkimage manually. To be sure, check the output of "bitbake -e <YOUR_IMAGE> | grep IMAGE_INSTALL=.*optee", since packagegroup-fsl-optee must be included in your image, which happens if DISTRO_FEATURES and MACHINE_FEATURES include "optee".

Hope this helps!

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
3,623件の閲覧回数
matthias_staube
Contributor II

Please navigate to the following link and download the archive containing Linux Documentation:

https://www.nxp.com/design/i.mx-developer-resources/i.mx-software-and-development-tool:IMX-SW

Inside you will find "i.MX Yocto Project User's Guide". Please follow the instructions to setup a Ubuntu host with the yocto environment. You can then build a SD-Card image and flash it. ATF is required on imx 8 and enabled through imx-atf by default. optee-os requires u-boot SPL to load it, which is used by default with imx8m, as well as optee-os itself. You can try running xtest to see if it is operational. If you use the yocto build, you don't need to run imx-mkimage manually. To be sure, check the output of "bitbake -e <YOUR_IMAGE> | grep IMAGE_INSTALL=.*optee", since packagegroup-fsl-optee must be included in your image, which happens if DISTRO_FEATURES and MACHINE_FEATURES include "optee".

Hope this helps!

0 件の賞賛
返信
3,623件の閲覧回数
victoryu
Contributor III

Hi  Matthias,

I can't find the document "i.MX Yocto Project User's Guide" in the link https://www.nxp.com/design/i.mx-developer-resources/i.mx-software-and-development-tool:IMX-SW . Can you give me more actual link ? Thank you.

0 件の賞賛
返信
3,623件の閲覧回数
matthias_staube
Contributor II

This document is included inside an archive containing multiple documents. I cannot, at least to my current knowledge, link to only a specific one. However, if you follow my previous instructions, you should be able to acquire the document. For example, you could try this Archive (I'm not sure which version you would need):

0 件の賞賛
返信
3,623件の閲覧回数
victoryu
Contributor III

Mathias,

    I got it and finished this issue. Thank your help.