Skip to main content
jhi
Senior
Feb 13, 2022 15:55 UTC
Question

STM32MP1 boot stuck on SP_MIN: Preparing exit to normal world

After buildroot I'm trying to get the yocto build to work. I'm using openstlinux-5.10-dunfell-mp1-21-11-17. The boot process always stops on SP_MIN: Preparing exit to normal world. Yes, I have already read the https://st.force.com/community/s/article/FAQ-STM32MP1-bring-up-troubleshooting-guide. I do have the memory correct and I do not have any pins configured in &rcc. The same device tree file(s) works on buildroot. How can I debug this? The board I'm using is from MYiR (MYD-YA157C).

Edit: I'm using custom machine, which is defined in layers/meta-st/meta-st-stm32mp-addons/conf/machine

This topic has been closed for replies.

4 replies

jhi
jhiAuthor
Senior
Feb 25, 2022 19:56 UTC

I’m not really getting any further. Anyone any suggestions how to proceed? @OlivierK​ Can you help here?

Associate II
Aug 10, 2024 00:38 UTC

Hello, have you resolved the issue? 

Thanks, Dominik.

Hammy
Associate III
Feb 7, 2023 18:37 UTC
debugging
Lead
Sep 5, 2024 13:07 UTC

Try to enable debug messages in CONFIG/menuconfig to get more clues

 

Symbol: DEBUG_LL
Depends on: DEBUG_KERNEL
Location:
-> Kernel hacking
-> arm Debugging
[*] Kernel low-level debugging functions
Symbol: STM32MP1_DEBUG_UART
Location:
-> Kernel hacking
-> arm Debugging
[*] Kernel low-level debugging functions
[*] Kernel low-level debugging port
(X) Use STM32MP1 UART for low-level debug
Symbol: EARLY_PRINTK
Depends on: DEBUG_LL
Location:
-> Kernel hacking
-> arm Debugging
[*] Kernel low-level debugging functions
[*] Early printk

Change extlinux.conf (found on the bootfs) to include earlyprintk
root=/dev/mmcblk0p6 rootwait rw earlyprintk console=ttySTM0,115200`