I need optee_os support for Maaxboard in yocto project, any help?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

I need optee_os support for Maaxboard in yocto project, any help?

跳至解决方案
2,417 次查看
gonewithwind-peter
Senior Contributor I

I have successful built yocto project image with the maaxboard company's kernel and u-boot code at here: https://www.element14.com/community/message/288659/l/re-how-can-i-build-an-image-for-the-maaxboard-m...

 

 

it seems imx original  imx8mqevk board yocto project support optee_os.

why my yocto image and maaxboard company's yocto image with shipment do NOT support optee_os?

do you know what different between original  imx8mqevk  u-boot code and maaxboard company's uboot code ? or something else differences?

I am trying to find the differences.

can you give me some ideas about it  I checked the linux kernel  optee config, it's chosen by kernel config. the issue is not in kernel.

 

ps.

I posted my yocto project tar file  at here for your reference:

 

https://www.element14.com/community/message/288659/l/re-how-can-i-build-an-image-for-the-maaxboard-m...

https://drive.google.com/drive/folders/1hT6AgSL9Y1xAYyshSJcXCPYYbBQZOPrg?usp=sharing

I also asked here: 

https://www.element14.com/community/message/288875/l/i-need-opteeos-support-for-maaxboard-in-yocto-p... 

0 项奖励
1 解答
2,308 次查看
gonewithwind-peter
Senior Contributor I

done!

because the maaxboard modified the soc.mk file at u-boot/tools/imx-boot/iMX8M/soc.mk(yocto at imx-mkimage/imx-boot ) it can not  support optee before because of no yocto project. I change back, so It supports now.

I share the yocto project tar file here for reference.

maaxboard-optee - Google Drive 

在原帖中查看解决方案

0 项奖励
3 回复数
2,308 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Peter

one can use steps provided "gonewtinwind  Feb 26, 2020 10:04 PM"

https://www.element14.com/community/message/288659/l/re-how-can-i-build-an-image-for-the-maaxboard-m... 

and follow sect.5.6.10 OP-TEE enablement attached Yocto Guide

More Linux documentation can be found on
i.MX Software and Development Tools | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

2,308 次查看
gonewithwind-peter
Senior Contributor I

Hi igorpadykov,

Thank you

gonewtinwind is me at there.

I successfully merged Maaxboard company's  kernel and uboot code into the yocto project except optee support.

it seems the uboot mkimage from Maaxboard company's  u-boot code is different with the original  imx8mqevk board mkimage code (imx-boot.bb in yocto). it seems do not include tee.bin in uboot image.

I am trying to understand it and find the differences. I always enable optee in yocto following the  imx_yocto_project_user's_guide sect.5.6.10

0 项奖励
2,309 次查看
gonewithwind-peter
Senior Contributor I

done!

because the maaxboard modified the soc.mk file at u-boot/tools/imx-boot/iMX8M/soc.mk(yocto at imx-mkimage/imx-boot ) it can not  support optee before because of no yocto project. I change back, so It supports now.

I share the yocto project tar file here for reference.

maaxboard-optee - Google Drive 

0 项奖励