cancel
Showing results for 
Search instead for 
Did you mean: 

Porting custom yocto distro from STM32MP151A to STM32MP151C

sghezz
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

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.

View solution in original post

1 REPLY 1
Olivier GALLIEN
ST Employee

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.