cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP2 early start of M33 app from U-Boot

aritec
Associate III

Following the instructions at https://wiki.st.com/stm32mpu/wiki/How_to_start_the_Cortex-M_coprocessor_from_U-Boot#Manual_start I try to load and run an M33 app from U-Boot.

Within the U-Boot console I managed to load the elf file from the boot partition. But I can't load the file to the M33 coprocessor using rproc.

rproc is available in the console, but doesn't show any coprocessor:

STM32MP> rproc init
        Remote Processors are already initialized
STM32MP> rproc list
STM32MP> 

 My board is from MYIR with an stm32mp257D MPU on it using:
- I/TC: OP-TEE version: 3.9.0-3162-g355cb55d2 (gcc version 12.3.0 (GCC)) #1 Fri Nov 1 10:58:57 UTC 2024 aarc
- U-Boot 2022.10-stm32mp-r2 (Nov 07 2024 - 02:59:13 +0000)
CPU: STM32MP257DAL Rev.Y
Model: MYiR STM32MP257F Evaluation Board
Board: stm32mp2 (myir,myb-stm32mp257x-2GB)
DRAM: 2 GiB
optee optee: OP-TEE: revision 3.19 (355cb55d)
Core: 416 devices, 38 uclasses, devicetree: board

U-Boot config has COPROC settings:

CONFIG_REMOTEPROC=Y
CONFIG_REMOTEPROC_OPTEE=y
CONFIG_REMOTEPROC_STM32_COPRO=y

What might be wrong and where can I find more information about it?

Best regards
Armin

 

0 REPLIES 0