Skip to main content
Adrian1
Associate II
March 18, 2020
Question

Use stm32mpu weston image with OP-tee.

  • March 18, 2020
  • 1 reply
  • 1665 views

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

This topic has been closed for replies.

1 reply

mleo
Visitor II
March 19, 2020

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

Adrian1
Adrian1Author
Associate II
March 20, 2020

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