cancel
Showing results for 
Search instead for 
Did you mean: 

Is OP-TEE supposed to work with Linux v5.10-stm32mp-r2.1?

johnnyc
Associate III

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.

6 REPLIES 6
Olivier GALLIEN
ST Employee

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

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
johnnyc
Associate III

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

johnnyc
Associate III

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.

Olivier GALLIEN
ST Employee

Hi @johnnyc​ ,

Yes Release 3.x is OP-TEE capable

eg 3.1 with this set of component :

  • Linux kernel v5.10-stm32mp-r2 (v5.10.61)
  • TF-A v2.4-stm32mp-r2
  • U-Boot v2020.10-stm32mp-r2
  • OP-TEE v3.12.0-stm32mp-r2

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

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

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

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
johnnyc
Associate III

@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.