Skip to main content
Visitor II
March 8, 2024
Solved

Porting custom yocto distro from STM32MP151A to STM32MP151C

  • March 8, 2024
  • 1 reply
  • 1451 views

Hi,

we are currently porting a custom dunfell distro from STM32MP151A to STM32MP151C.

We followed the guides related to creating our own machine by generating the device tree in CubeMX and succeeded in building it correctly.

https://wiki.st.com/stm32mpu/index.php/How_to_create_your_own_machine

Attempting to flash the board crashes in writing the first partition related to the file "arm-trusted-firmware/tf-a-stm32mp151c-my-project-mx-usb.stm32". What could be the cause?

Attached my conf/machine/<machine>.conf file (extended extension to .txt for uploading)

I would like to thank you for any help.

This topic has been closed for replies.
Best answer by Olivier GALLIEN

Hi @sghezz ,

 

dunfell distro means you are in Version 3.1 or earlier .. which is no longer supported by ST. 

 

If you are starting a new developpement I really advise to switch on latest DV5.0. 

 

If you would like to stick on such old version be aware that you might refer to the corresponding Wiki https://wiki.st.com/stm32mpu-ecosystem-v3/wiki 

 

Content of the latest wiki is not guarantee for usage on old version. 

Be careful also to use the right CubeMX version ( refer to wiki V3 ) . Using latest one only generate Device tree for DV5.0 OSTL. 

 

Hope it help 

Olivier 

 

 

1 reply

Olivier GALLIEN
Olivier GALLIENBest answer
Technical Moderator
March 8, 2024

Hi @sghezz ,

 

dunfell distro means you are in Version 3.1 or earlier .. which is no longer supported by ST. 

 

If you are starting a new developpement I really advise to switch on latest DV5.0. 

 

If you would like to stick on such old version be aware that you might refer to the corresponding Wiki https://wiki.st.com/stm32mpu-ecosystem-v3/wiki 

 

Content of the latest wiki is not guarantee for usage on old version. 

Be careful also to use the right CubeMX version ( refer to wiki V3 ) . Using latest one only generate Device tree for DV5.0 OSTL. 

 

Hope it help 

Olivier 

 

 

Olivier GALLIEN 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.