2022-10-17 02:26 AM
I'm using latest ST official U-Boot release v2021.10-stm32mp-r1 and I'm trying to get OP-TEE working with ST's official Linux release v5.10-stm32mp-r2.1 and it's stuck after U-Boot:
Starting kernel ...
I/TC: Secondary CI/TC: Secondary CPU 1 switching to normal world boot
E/TC:0 Panic 'Watchdog' at ?:0
With ST's official Linux release v5.15-stm32mp-r1 it boots correctly. Can anyone from ST please tell me if v5.10-stm32mp-r2.1 is generally supported? I'm using an STM32MP157C SoC.
2022-10-19 11:19 PM
Hi @johnnyc,
I understand you try to use kernel 5.10 (from a 3.1 ecosystem version) with a more recent BSP (u-boot / optee) from 4.0 version.
This is not functional due to some dependances between kernel and BSP around power or secure services.
That's why ST recommend to always use the full release's consistent set of components.
Can you share rational to upgrade BSP without kernel in your case ?
Thanks
Olivier
2022-10-20 12:59 AM
Hi @Community member,
thanks for the information. We are on our own custom hardware and want to have OP-TEE support. Now as 5.15 has only 1 more year of support, the question came up if 5.10 is able to provide OP-TEE support, as 5.10 has much longer support. But apparently this is not the case. So we either have to use 5.15 for OP-TEE or wait for the next LTS kernel support from ST, right?
Best regards
2022-10-20 01:21 AM
Or is the combination v2020.10-stm32mp-r2.1 / v2020.01-stm32mp-r2.2 in combination with v5.10-stm32mp-r2.1 OP-TEE capable? I tried this, but it was not successful.
2022-10-21 03:43 AM
Hi @johnnyc ,
Yes Release 3.x is OP-TEE capable
eg 3.1 with this set of component :
Refer to STM32MP15 OpenSTLinux release note - stm32mpu-ecosystem-v3
How to populate and boot a board with OP-TEE - stm32mpu-ecosystem-v3
How to configure OP-TEE - stm32mpu-ecosystem-v3
Olivier
2022-10-21 03:49 AM
kernel v5.10-stm32mp-r2.1 + u-boot v2020.10-stm32mp-r2.1 is the 3.1.1 minor release combination
Working with OP-TEE 3.12.0-stm32mp-r2.1 https://github.com/STMicroelectronics/optee_os/releases/tag/3.12.0-stm32mp-r2.1
cf STM32MP15 OpenSTLinux release note - stm32mpu-ecosystem-v3
Olivier
2022-12-08 01:33 AM
@Community member Thanks for the information, Olivier.
Is the U-Boot version v2020.10-stm32mp-r2 supposed to work only with OP-TEE TF-A?
While v2020.01 still boots an SP_MIN TF-A, v2020.10 does not. Is this expected behaviour?
The SP_MIN version hangs during boot of v2020.10, some SCMI issue I guess.