cancel
Showing results for 
Search instead for 
Did you mean: 

Starter Package Flashing issue on SD Card for STM32MP157F-DK2

asadullah4571
Associate III

Hi ,

I am trying flash the  Starter Package of Krikstone and Dunfell branch, but unsuccessful, but the starter package of  Mickledore branch successfully flash on sd-card.

Note:  Mainly Error on Bootfs partition , and got the segmentation fault.
         SD Card -- 16 GB



4 REPLIES 4
PatrickF
ST Employee

Hi @asadullah4571 

 

Did you flash on target using STM32CubeProg ?

Did you use the official Starter Package or a rebuilt version on your own ?

https://www.st.com/en/embedded-software/stm32mp1starter.html#get-software

I remind:

  • Mickledore Starter Package: v5.1.0 (stm32mp1-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26)
  • Kirkstone Starter Package: v4.1.0 (stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23)
  • Dunfell Starter Package: v3.1.0 (stm32mp1-openstlinux-5.10-dunfell-mp1-21-11-17)

Did you try using "FlashLayout_board_stm32mp157f-dk2-deleteall.tsv" before flashing another Starter Package ?

What is the rationale to go back to Dunfell (as Kirkstone is LTS) ?

Could you share the board UART console log during flashing ?

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.

Hi @PatrickF 

Did you flash on target using STM32CubeProg ?  yes  

Did you use the official Starter Package or a rebuilt version on your own ?  Official starter Package as well as Krikstone branch( i changes many thing on distribution package adding third party layers, Compilation successful , but flash errors), so i decided first use the Starter Package, but flash error.

list of the official Starter package that i want to use 

md@pc:~/Workspace/Starter_Pack$ ls
en.FLASH-stm32mp1-openstlinux-5-10-dunfell-mp1-21-11-17_tar  
en.FLASH-stm32mp1-openstlinux-5-10-dunfell-mp1-21-11-17_tar.xz
en.FLASH-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23  
en.FLASH-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23.tar.gz
stm32mp1-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26        
md@pc:~/Workspace/Starter_Pack$  

Did you try using "FlashLayout_board_stm32mp157f-dk2-deleteall.tsv" before flashing another Starter Package ? Yes i attached the log for deleteall.tsv and again flash (Optee)

Krikstone LTS branch  i want to use on my project , but i got the error on flashing time, i thought i should check the dunfell branch, unfortunately both are not working. Some 3rt party layers are not supporting Mickledore branch. that's why i want to use krikstone branch.

Could you share the board UART console log during flashing? I attached the log while flashing time as well as deleting TSV log.

Note: I changed the SD-Card , but i got the same error.

Hi,

apart the supply warning message (which could be ignored if your supply is really 3A but advertising wrongly as Type-C due to cable or else), I did not see issue.

Did you flash using Virtual Machine ?

If yes, could you try with Windows CubeProgrammer ?

Sound very strange that some Starter Package are flashing ok on STM32MP157F-DK2 board while some other not. On our side, we regularly Flash various Starter Package releases on various ST boards without any issues.

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.

Hi @PatrickF 

I used the 22.5 W power adopter and output is 5V->3A, // 9v->2.5A, i think this is not an issue , i am working on stm32mp157f-dk2 form the last 5 months, with this adaptor mostly I used Mickledore branch, i saw the warning of Type C 3 A but works fine. i cross-check with another adopter. but same result.

No i am not using Vertual machine. i am using ubuntu 22.04.
I try with another laptop "ubuntu 22.04" as well as i try with windows cube_programmer , but the result is same.
I purchased new SD-card , but unsuccessful,

Note: but Mickledore branch package is working fine and flashed. but why this is happen with krickstone branch.
        many time i tried but it fails some in int TF-A , some time in bootfs partition.
did you check the krikstone branch from your side ?