cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP1 boot stuck on SP_MIN: Preparing exit to normal world

jhi
Senior

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

2 REPLIES 2
jhi
Senior

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

Hammy
Associate III

Try reading and adapting this patch file. It is needed when you remove CONFIG_ENV_IS_NOWHERE=y from the u-boot defconfig

https://github.com/mendersoftware/meta-mender-community/blob/thud/meta-mender-st-stm32mp/recipes-bsp/u-boot/u-boot-stm32mp-2018.11/0002-stm32mp1-remove-env_get_location-override.patch