Skip to main content
Visitor II
October 17, 2022
Question

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

  • October 17, 2022
  • 5 replies
  • 2076 views

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.

    This topic has been closed for replies.

    5 replies

    Technical Moderator
    October 20, 2022

    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

    johnnycAuthor
    Visitor II
    October 20, 2022

    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

    johnnycAuthor
    Visitor II
    October 20, 2022

    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.

    Technical Moderator
    October 21, 2022

    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

    Technical Moderator
    October 21, 2022
    johnnycAuthor
    Visitor II
    December 8, 2022

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