Skip to main content
jhi
Senior
February 13, 2022
Question

STM32MP1 boot stuck on SP_MIN: Preparing exit to normal world

  • February 13, 2022
  • 3 replies
  • 1903 views

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

3 replies

jhi
jhiAuthor
Senior
February 25, 2022

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

Associate II
August 10, 2024

Hello, have you resolved the issue? 

Thanks, Dominik.

Hammy
Associate III
February 7, 2023
debugging
Lead
September 5, 2024

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`