OP-TEE 3.17.0 makes board not booting anymore
Hi,
I am using an official STM32MP157C-DK2 board.
I tested to build OP-TEE 3.17.0 for stm32mp1 however the boot hangs.
I am building OP-TEE OS using:
make PLATFORM=stm32mp1 \
CROSS_COMPILE_core=arm-linux-gnueabihf- \
CROSS_COMPILE_ta_arm64=arm-linux-gnueabihf- \
CFG_ARM32_core=y \
CROSS_COMPILE_ta_arm32=arm-linux-gnueabihf- \
CFG_TEE_CORE_LOG_LEVEL=2 \
CFG_TEE_CORE_DEBUG=n \
CFG_EMBED_DTB_SOURCE_FILE=stm32mp157c-dk2.dtsThe full image (st-image-core) I am using is based on meta-st-stm32mp and open-stlinux (dunfell branch)
The kernel is the one present in the meta layer: kernel (5.10.61)
I am aware that an existing version of OP-TEE is present in the build however it's from version 3.12.0.
I tried to build OP-TEE OS version 3.16.0 apart and include it in the final image and it works as expected.
I investigated and the issue comes from the linux-stm32mp kernel patches because when I built the stable kernel based on the same version 5.10.61 without patches, it works with OP-TEE 3.17.0 without issues.
My main questions are:
- What are the main differences between the linux-stm32mp based on 5.10.61 and the mainline version?
- What are the main differences between the optee-os-stm32mp based on 3.12.0 and the mainline version?
- Is there security breach if I use mainline optee-os with mainline linux kernel?
- Is there security breach if I mix mainline optee-os with linux-stm32mp and vice versa?
- What is the roadmap regarding updates for optee-os-stm32mp and linux-stm32mp?
Thanks for your help
