Populate the target and boot the image

Revision as of 17:43, 31 January 2019 by Registered User

Template:ArticleMainWriter Template:ArticleProposedVersion


STM32MP157X-DK2.png
Let's start Develop on Arm® Cortex®-A7
Step category in.png Unpack the board Step.png Populate the target and boot the image Step.png Execute basic commands Step.png Use the demo launcher Step category out.png


1. Overview[edit source]

This stage will explain to you how to get, install and boot the STM32MP15 Discovery kits Starter Package.

2. Install the tools[edit source]

2.1. STM32CubeProgrammer[edit source]

Info white.png Information
STM32CubeProgrammer requires 1.8 version or later of the Java platfrom.

PC $> sudo apt-get install openjdk-8-jre
PC $> sudo update-alternatives --config java

Select the java-8-openjdk configuration.

  • Create your STM32MPU tools directory on your host computer
PC $> mkdir STM32MPU-Tools
PC $> cd STM32MPU-Tools
PC $> mkdir STM32CubeProgrammer-2.0.0
  • Download the version 2.0.0 of STM32CubeProgrammer archive file in a temporary derectory of your host computer
  • Uncompress the archive file to get the STM32CubeProgrammer installers
PC $> unzip SetupSTM32CubeProgrammer.zip
  • Execute the Linux installer, which guides you through the installation process. Select "STM32MPU-Tools/STM32CubeProgrammer-2.0.0" as the installation directory, when it's requested by the installer
PC $> ./SetupSTM32CubeProgrammer-2.0.0.linux
Splash screen

2.2. USB serial link[edit source]

  • Install the libusb on your host computer
sudo apt-get install libusb-1.0-0
  • To allow STM32CubeProgrammer to access the USB port through low-level commands, proceed as follows
PC $> cd STM32MPU-Tools/STM32CubeProgrammer-2.0.0/Drivers/rules
PC $> sudo cp *.* /etc/udev/rules.d/

3. Download the image[edit source]

  • Create your STM32MP15 Starter Package directory on your host computer
PC $> mkdir STM32MP15-Ecosystem-v1.0.0
PC $> cd STM32MP15-Ecosystem-v1.0.0
PC $> mkdir Starter-Package
PC $> cd Starter-Package
PC $> tar xvf FLASH-stm32mp1-boards-revc-openstlinux-4.14-rocko-mp1-18-11-26.tar.x

4. Populate the SDCard[edit source]

5. Boot the board[edit source]


Back button.png Overview button.png Next button.png