2021-07-27 12:28 AM
I have followed this guide in order to use custom DTS files (followed step-by-step) and the following error occurs, how can I compile without using the op-tee?
ERROR: optee-os-stm32mp-3.12.0.r1-r0 do_compile: File /home/ubuntu/customer/openstlinux-5.10-dunfell-mp1-21-03-31/layers/meta-st/meta-st-stm32mp-addons/mx/DK2_A7/optee-os/stm32mp157c-dk2_a7-mx.dts not found: compilation aborted for optee-os-stm32mp device tree.
ERROR: Logfile of failure stored in: /home/ubuntu/customer/openstlinux-5.10-dunfell-mp1-21-03-31/build-openstlinuxweston-stm32mp1-DK2_A7/tmp-glibc/work/stm32mp1_DK2_A7-ostl-linux-gnueabi/optee-os-stm32mp/3.12.0.r1-r0/temp/log.do_compile.18640
ERROR: Task (/home/ubuntu/customer/openstlinux-5.10-dunfell-mp1-21-03-31/layers/meta-st/meta-st-stm32mp/recipes-security/optee/optee-os-stm32mp_3.12.0.bb:do_compile) failed with exit code '1'
I've inserted into my machine folder (DK2_A7) the following, populated, folders:
As the linked guide suggests, there is no optee-os folder there, and I don't want to use it.
Solved! Go to Solution.
2021-07-27 12:33 AM
Hi @Riccardo Bruè
Please check parameter BOOTSCHEME_LABELS in your machine.conf
you might set :
BOOTSCHEME_LABELS += "trusted"
and not
BOOTSCHEME_LABELS += "optee"
Olivier
2021-07-27 12:33 AM
Hi @Riccardo Bruè
Please check parameter BOOTSCHEME_LABELS in your machine.conf
you might set :
BOOTSCHEME_LABELS += "trusted"
and not
BOOTSCHEME_LABELS += "optee"
Olivier
2021-07-27 12:57 AM
Ok thank you I am now compiling with the BOOTSCHEME_LABELS += "trusted" uncommented (it was commented before). I am waiting for the compilation to succeed.