Skip to main content
Visitor II
June 15, 2025
Solved

Boot issue in STM32MP257F-DK board

  • June 15, 2025
  • 4 replies
  • 902 views

Move from MCU forums: STM32MP25 are MPUs - not MCUs


Hello Experts, 
I am using  STM32MP257F-DK board and trying to bring up the board with starter package. 

I followed the steps as mentioned in this link - https://wiki.st.com/stm32mpu/wiki/STM32MP25_Discovery_kits_-_Starter_Package

The starter package that I have downloaded and flashed - en.FLASH-stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06.tar.gz

I was able to flash the SD card successfully as mentioned in section 6.

(Note that I have taken care of boot switches accordingly)

However, when I restart the board for booting, seems there are issues and does not stop at login prompt. Instead stops or boots in loop. Attaching 2 logs with 2 instances of reset. Kindly help to review and suggest work around if  have missed any steps.

~R 

    This topic has been closed for replies.
    Best answer by radbhat

    Hello Olivier,

    FInally I am able to resolve the boot issue. The issue turned out to be due to one of the faulty able used during flashing and port. While image flash was succesful, but seems did not reflected correctly in the SD card. After replacing the cable and port, I see the board is able to boot up. Thanks again for the support!

    4 replies

    Technical Moderator
    June 16, 2025

    Hi @radbhat ,

    Quite unusual issue. 

    Please specify with .tsv you used for flashing. 

    Did you try using another SDCard ? 

    Olivier 

    radbhatAuthor
    Visitor II
    June 17, 2025

    Hello @Olivier GALLIEN , 

    Thanks for your response. 

    I used this .tsv file as per the wiki guide 

    flashlayout_st-image-weston/optee/FlashLayout_sdcard_stm32mp257f-dk-optee.tsv

     

    I have tried with another SD card as well, but observed same boot issue. 

    Look forward to hear from you on possible root cause and the fix. 

    Technical Moderator
    June 17, 2025

    Hi  @radbhat ,

    We are suspecting an HW issue, maybe around DDR on your board. 

    I can suggest few trials to eliminate other problem and confirm this assumption: 

    - provide full log of the flash operation with CubeProg

    - try populating the SDCard with dd ( How to populate the SD card with dd command - stm32mpu ) 

    - try booting maintaining a pressure on the SoC ? 

    - try performing some DDR tests with STM32DDRFW-UTIL - stm32mpu 

    Thanks 

    Olivier 

     

     

     

     

     

     

    radbhatAuthorAnswer
    Visitor II
    June 20, 2025

    Hello Olivier,

    FInally I am able to resolve the boot issue. The issue turned out to be due to one of the faulty able used during flashing and port. While image flash was succesful, but seems did not reflected correctly in the SD card. After replacing the cable and port, I see the board is able to boot up. Thanks again for the support!