Populate the target and boot the image

Applicable for STM32MP25x lines

Let's start Develop on Arm® Cortex®-A35
Unpack the board Populate the target and boot the image Execute basic commands Use the demo launcher


1. Overview[edit | edit source]

This step explains how to get the Starter Package, then install and boot the STM32MP25 Evaluation boards with the Starter Package.


2. Populate the SD card[edit | edit source]

  • Set the boot switches (located on the MB1936) to the OFF position:
Boot switches position to flash the board
  • Connect the PC to CN15/USB_DRD port of the STM32MP257F-EV1 mother board through the USB Type A to Type C cable.
  • Power up the board.
  • Press the reset button to reset the board.
  • Launch STM32CubeProgrammer to get the GUI :
STM32CubeProgrammer GUI
  • On the right of the window, select USB (instead of STLINK, set by default) from the connection picklist, and click the "Refresh" button. The serial number is displayed if the USB has been detected.
Select USB for connection with board
  • Click "Connect"
  • Select the Open File tab and choose the FlashLayout_sdcard_stm32mp257f-ev1-optee.tsv in the Starter Package installation folder ($HOME/STM32MPU_workspace/STM32MPU-Ecosystem-v6.2.1/Starter-Package/stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v26.06.10/images/stm32mp2/flashlayout_st-image-weston/optee)
  • Fill the "Binaries Path" by browsing to the $[Starter_Pack_Path]/images/stm32mp2 folder.
open .tsv optee and fill Binaries Path for EV1
  • Click "Download" to launch the flashing process.
  • A progress bar indicates the process progress until a completion pop-up message is displayed.

3. Boot the board[edit | edit source]

  • Set the boot switches (located on the MB1936) to the microSD card boot position.
Boot from microSD card
  • Power on the board.
  • Press the "Reset" button to reset the board.
  • After few seconds, the board starts and automatically goes through the following screens:
Warning
The very first boot after flashing takes about 2 minutes so be patient. It takes less than 20 seconds afterwards.
U-Boot splash screen
Linux splash screen
Weston desktop
GTK demo launcher
  • If the board power supply does not supply enough current (< 1500 mA, with a PC USB-A typically), the power LED indicates the issue following the rules below:
Power LED status Display connected Console message Boot process
Red LVDS Console stuck at :
No EFI system partition
Failed to persist EFI variables
Stop before autoboot
Orange No display No particular warning Continue and orange LED stays on