cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP153 fip works from sdcard not when loaded through programmer

lorenzoruffati
Associate

I have a system (built using yocto kirkstone) working with the bootchain TF-a -> sp_min -> uboot when loaded from the sdcard and from the emmc

I have tried to boot into uboot by loading it directly into memory (as a precondition to the use it to flash the emmc) by following this guide: https://wiki.st.com/stm32mpu/wiki/How_to_load_U-Boot_with_STM32CubeProgrammer

I have used the correct tf-a binary and it does manage to load SP_MIN (I get all the SP_MIN traces), but the boot just hangs afterwards.

Does u-boot require some special compilation flag in order to be used in this manner?

1 REPLY 1
PatrickF
ST Employee

Hi @lorenzoruffati ,

Could you share

  • the command line you are using with CubeProgrammer
  • the .TSV file
  • the complete cubeprogrammer log
  • the complete board serial console log

Did you hit CTRL+C on the board serial console to get the uBoot prompt ?

Regards

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.