cancel
Showing results for 
Search instead for 
Did you mean: 

Use stm32mpu weston image with OP-tee.

Adrian1
Associate III

Hi,

I try use optee with weston image and I find that:

Once the machine is defined with MACHINE_FEATURES += "optee" and the distro is set with DISTRO_FEATURES_append = " optee ", building the OpenSTLinux distribution will provide all necessary binaries to populate and boot with OP-TEE feature.

But after build image with bitbake "bitbake st-image-weston" I don't have Flashlayout_*-optee.tsv in flashlayout_st-image-weston folder.

Do I have add some special macro to generate optee.tsv ?

For now I have only this in conf/local.conf

MACHINE_FEATURES += "optee"

DISTRO_FEATURES_append = " optee "

I add that I have generated:

tee-header_v2-stm32mp157c-dk2-optee.stm32

tee-pageable_v2-stm32mp157c-dk2-optee.stm32

tee-pager_v2-stm32mp157c-dk2-optee.stm32

2 REPLIES 2
mleo
Senior II

Hi Adrian,

i've just tried and I see file e.g. FlashLayout_sdcard_stm32mp157c-dk2-optee.tsv generated as expected.

Do you use latest 1.2.0?

Could you please verify that you correctly updated both files stm32mp1.conf and openstlinux.inc?

BR,

Milan

hi, thanks for answer I solved the problem. That as you written I got the wrong version and in stm32mp1-disco.conf I have commented BOOTSCHEME_LABELS += "optee". now it's works 😉

Thanks !

Adrian