Skip to main content
Visitor II
October 5, 2023
Question

STM32MP153 fip works from sdcard not when loaded through programmer

  • October 5, 2023
  • 1 reply
  • 939 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

    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