Skip to main content
GMott.1
Associate
June 20, 2019
Solved

How do I load OpenLinux on the MP157?

  • June 20, 2019
  • 3 replies
  • 1676 views

Hello All,

I received my MP157C-DK2 kit. How do I download the image on it?

Thanks,

Gil

This topic has been closed for replies.
Best answer by GMott.1

Gentlemen,

I ended up using the wiki and it worked. However when using a VM machine, in my case Virtualbox with Ubuntu, you have to be careful!

Thanks to the ST Micro Engineers and the Wiki, I was able to make it work on my desk, it took me three attempts because I had to learn that the MP1 changes its USB device name and the VM does not catch it automatically.

"The VM will work (I use VM as well as dedicated Linux machine) however you have to be careful in regards to USB enumeration between the VM and host OS. During programming, the device will initially start up in DFU for the first and second stage bootloader. It will switch to USB gadget for the remaining pieces such as uimage, dtb,… targetFS."

https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157C-DK2/Let%27s_start/Populate_the_target_and_boot_the_image

3 replies

PatrickF
ST Employee
June 21, 2019

Hell,

out of the box SD-Card of Discovery kit should contain starter package demo image.

To start the demo, simply connect CN6 (PWR IN, the one on Ethernet RJ45 side of the board) to a supply, USB Type-C 5V 3A (1A is enough if no power drawn from USB Type-A connectors). You could display the Linux terminal console using the ST-Link port (USB Type-microB) to a PC (then any terminal SW is ok).

If SD-Card is empty or not working (please tell us the board Serial Number), you should follow https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157C-DK2, you need to use another USB Type-C on CN7 to connect to PC CubeProgrammer.

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
K.Ata15
Associate II
June 21, 2019

Hey Patrick,

I have two brand new DK2 kits here, both came with blank 16 GB micro SD card, formatted to FAT32. Hope this helps.

K.

PatrickF
ST Employee
June 21, 2019

Could you share full DK2 kit part number and serial number present on a white sticker on the PCB.

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
K.Ata15
Associate II
June 21, 2019

Sure!

MB1272-DK2-C01

A185200094

GMott.1
GMott.1AuthorBest answer
Associate
June 21, 2019

Gentlemen,

I ended up using the wiki and it worked. However when using a VM machine, in my case Virtualbox with Ubuntu, you have to be careful!

Thanks to the ST Micro Engineers and the Wiki, I was able to make it work on my desk, it took me three attempts because I had to learn that the MP1 changes its USB device name and the VM does not catch it automatically.

"The VM will work (I use VM as well as dedicated Linux machine) however you have to be careful in regards to USB enumeration between the VM and host OS. During programming, the device will initially start up in DFU for the first and second stage bootloader. It will switch to USB gadget for the remaining pieces such as uimage, dtb,… targetFS."

https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157C-DK2/Let%27s_start/Populate_the_target_and_boot_the_image