2025-10-02 12:13 AM
Hi,
I have the STM32MP257F-EV1 and I would like to load a kernel patched with X-LINUX-RT. I am after the PREEMPT_RT functionality.
I have followed the instructions from https://wiki.st.com/stm32mpu/wiki/X-LINUX-RT_expansion_package#How_to_install_X-LINUX-RT_in_the_OpenSTLinux_Developer_Package so that I can patch the kernel and load it to my board.
I have followed these instructions and also applied the patches and fragments from https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP2_boards/STM32MP257x-EV1/Develop_on_Arm%C2%AE_Cortex%C2%AE-A35/Modify,_rebuild_and_reload_the_Linux%C2%AE_kernel#Prepare_the_Linux-C2-AE_kernel_source_code
The build happened fine but when I load the kernel and modules to the board I get the following error and get stuck in boot loop:
[ 24.393964] Time out check load galcore module expired
[ 25.312479] stm32mp_pm_domain power-domain-d1: sync_state() pending due to 48280000.gpu
E/TC:0 Panic 'Watchdog' at /usr/src/debug/optee-os-stm32mp/4.0.0-stm32mp-r2/core/drivers/stm32_iwdg.c:218 <stm32_iwdg_it_handler>
E/TC:0 TEE load address @ 0x82000000
E/TC:0 Call stack:
E/TC:0 0x82007ef0
E/TC:0 0x82043428
E/TC:0 0x8201c104
E/TC:0 0x82040f5c
E/TC:0 0x820141d0
E/TC:0 0x820017dc
I/TC: Halting CPU 1
NOTICE: CPU: STM32MP257FAI Rev.Y
NOTICE: Model: STMicroelectronics STM32MP257F-EV1 Evaluation Board
NOTICE: Board: MB1936 Var1.0 Rev.D-01
NOTICE: Reset reason: IWDG system reset (iwdgX_out_rst) (0x2134
Can someone please advise?