2025-04-04 12:48 AM - edited 2025-04-04 12:49 AM
I successfully downloaded using STM32CubeProgrammer on the stm32mp257f-dk board by referring to the wiki and using the Yocto OpenSTLinux distribution package.
After that, I built the stm32 buildroot-external-st distribution package in the same way, but an error occurs when trying to download by reading the flash.tsv file.
How can I perform the flashing properly?
Also, the image created this way is for the SD card — how can I build and flash it for eMMC?
2025-04-08 12:41 AM
Hi @jhkim,
About building and flashing on SD card the Buildroot distribution, I would like to point out the following wiki article: https://wiki.st.com/stm32mpu/wiki/Category:Buildroot-based_Linux_embedded_software.
It gives links to STMicroelectronics partner Bootlin repository:
* https://github.com/bootlin/buildroot-external-st/blob/st/2024.02.9/README.md#available-configurations: available configurations including the one for STM32MP257F-DK board
* https://github.com/bootlin/buildroot-external-st/tree/openstlinux-6.6-buildroot-2024.02.9-mpu-v24.11.06 - starter-package: it proposes the pre-built image for STM32MP257F-DK board (SD card). It might be useful to quickly check the flashing process
* https://github.com/bootlin/buildroot-external-st/tree/openstlinux-6.6-buildroot-2024.02.9-mpu-v24.11.06?tab=readme-ov-file#flashing-and-booting-the-system: how to flash the image on a SD card
About building and flashing for eMMC, I could suggest that you contact Bootlin who is STMicroelectronics partner for Buildroot distribution based on the OpenSTLiux BSP.
Hope this information helps.
Regards,
JC.
2025-04-08 6:14 AM
I followed your instructions and the steps in the link to burn the st_stm32mp257f_dk_demo image (https://github.com/bootlin/buildroot-external-st/tree/openstlinux-6.6-buildroot-2024.02.9-mpu-v24.11.06#starter-package) on the SD card. However, after inserting the SD card into the STM32MP257F-DK board and plugging in the power supply, it seems that it does not start normally. The connected HDMI monitor has no input signal, and it cannot be accessed by plugging in the network cable. I don't know if this operation makes it start.