DESK-MP1-L/Development/How to create a bootable microSD card

From DAVE Developer's Wiki
Jump to: navigation, search
History
Issue Date Notes
01/08/2023 DESK-MP1-L-1.0.0 release

Introduction[edit | edit source]

There are multiple ways to do create a bootable microSD card. The following sections describes

Using Balena Etcher and WIF image file[edit | edit source]

The process is relatively straightforward: it consists of writing the WIC file of interest generated by Yocto onto the SD card. The most common tool to do that is the well-known Balena Etcher program. The following instruction explains how to use it on a Windows host. The procedure is similar when working with a Linux host.

  • Download the desired binary image to flash (*.wic or *.wic.bz2)
    • Among the binaries made available in the mirror there are several *.wic.bz2 files for the available releases. In particular, there is the desk-image-qt5-openstlinux-weston-desk-mp1.wic.bz2 file. This image is the one used to program the microSD card delivered along with the evaluation kit.
  • Connect the microSD card to the PC Host
  • Open BalenaEtcher tool
  • Once the tool is open:
    • Select the binary to flash by clicking on "Flash from file"
    • Select the microSD to flash by clicking on "Select target"
    • Flash the uSD by clicking o "Flash".
Unpacking
Flashing
Validating

Using STM32CubeProgrammer[edit | edit source]

Another way is to use the STM32CubeProgrammer tool, which has a little different approach than BalenaEtcher. STM32CubeProgrammer makes use of several files generated by Yocto.

TBD complete with some instructions and a screenshot