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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,069 Views
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 Kudos
1 Solution
960 Views
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 

View solution in original post

0 Kudos
3 Replies
960 Views
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!
-----------------------------------------------------------------------------------------------------------------------

960 Views
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 Kudos
961 Views
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 Kudos