Skip to main content
Visitor II
August 30, 2025
Question

The firmware generated by Yocto cannot be downloaded.

  • August 30, 2025
  • 1 reply
  • 1049 views

Hi,

The bootfs firmware compiled from the Yocto environment I am using is a symbolic link. Every time the STM32CubeProgrammer software downloads this firmware, it exits directly.

I am certain that the firmware itself is fine. If I directly modify the bootfs firmware to the file pointed to by the symlink, it can be downloaded.

I don't know if the behavior of generating symlinks is controlled by ST or Yocto.

How can I avoid this problem?

 

Environment info:

  Ubuntu 24.04.2 LTS on WSL2:

  •   Yocto, branch: scarthgap, commit 792d18b4cb2451b00280641403e6eaf37bd6e53f
  •   meta-st-stm32mp, tag: openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11
  •   meta-st-openstlinux, tag: openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11

  Windows 11:

  •   STM32CubeProgrammer v2.20.0

 

Thanks

Dunliang

1 reply

Olivier GALLIEN
Technical Moderator
September 22, 2025

Hi @Dunliang,

 

I got information that indeed such symlink from WSL2 is not working well with CubeProg.

Manual copy is used as workaround. 

 

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.