Skip to main content
Associate
October 5, 2023
Question

STM32MP153 fip works from sdcard not when loaded through programmer

  • October 5, 2023
  • 1 reply
  • 940 views

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?

This topic has been closed for replies.

1 reply

PatrickF
Technical Moderator
October 6, 2023

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.NEW ! Sidekick STM32 AI agent, see here