Difference between revisions of "DESK-MP1-L/Development/How to create a bootable microSD card"

From DAVE Developer's Wiki
Jump to: navigation, search
Line 10: Line 10:
 
|-
 
|-
 
|}
 
|}
<section end="History" />
 
<section begin="Body" />
 
  
The process is relatively straightforward: it consists of writing the WIC file of interest generated by Yocto onto the SD card. There are multiple ways to do that.
+
== Introduction ==
 +
There are multiple ways to do create a bootable microSD card. The following sections describes
  
The most common is to use the well-known BalenaEtcher tool ([https://etcher.balena.io/ download BalenaEtcher]). The following instruction explains how to use it on a Windows host. The procedure is similar when working with a Linux host.
+
== Using Balena Etcher and WIF image file ==
 +
<section end="History" /><section begin="Body" />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 [https://etcher.balena.io/ 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 (<code>*.wic</code> or <code>*.wic.bz2</code>)
 
* Download the desired binary image to flash (<code>*.wic</code> or <code>*.wic.bz2</code>)
 
**Among the binaries made available in the [[mirror:desk-mp1-l/| mirror]] there are several <code>*.wic.bz2</code> files for the available releases. In particular, there is the <code>desk-image-qt5-openstlinux-weston-desk-mp1.wic.bz2</code> file. This image is the one used to program the microSD card delivered along with the evaluation kit.
 
**Among the binaries made available in the [[mirror:desk-mp1-l/| mirror]] there are several <code>*.wic.bz2</code> files for the available releases. In particular, there is the <code>desk-image-qt5-openstlinux-weston-desk-mp1.wic.bz2</code> file. This image is the one used to program the microSD card delivered along with the evaluation kit.
Line 31: Line 31:
 
|}
 
|}
  
 +
== Using STM32CubeProgrammer ==
 
Another way is to use the [https://www.st.com/en/development-tools/stm32cubeprog.html STM32CubeProgrammer] tool, which has a little different approach than BalenaEtcher. STM32CubeProgrammer makes use of several files generated by Yocto.
 
Another way is to use the [https://www.st.com/en/development-tools/stm32cubeprog.html STM32CubeProgrammer] tool, which has a little different approach than BalenaEtcher. STM32CubeProgrammer makes use of several files generated by Yocto.
  

Revision as of 13:54, 3 August 2023

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