2019-10-27 15:49:08 +01:00
|
|
|
STM32MP157C Discovery Kit v2
|
2019-08-07 16:24:56 +02:00
|
|
|
|
|
|
|
Intro
|
|
|
|
=====
|
|
|
|
|
2019-10-27 15:49:08 +01:00
|
|
|
This configuration supports the STM32MP157C Discovery Kit 2 (DK2)
|
2019-08-07 16:24:56 +02:00
|
|
|
platform:
|
|
|
|
|
|
|
|
https://www.st.com/en/evaluation-tools/stm32mp157c-dk2.html
|
|
|
|
|
|
|
|
How to build
|
|
|
|
============
|
|
|
|
|
2019-10-27 15:49:08 +01:00
|
|
|
$ make stm32mp157c_dk2_defconfig
|
2019-08-07 16:24:56 +02:00
|
|
|
$ make
|
|
|
|
|
|
|
|
How to write the microSD card
|
|
|
|
=============================
|
|
|
|
|
|
|
|
Once the build process is finished you will have an image called
|
|
|
|
"sdcard.img" in the output/images/ directory.
|
|
|
|
|
|
|
|
Copy the bootable "sdcard.img" onto an microSD card with "dd":
|
|
|
|
|
|
|
|
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
|
|
|
|
|
|
|
Boot the board
|
|
|
|
==============
|
|
|
|
|
|
|
|
(1) Insert the microSD card in connector CN15
|
|
|
|
|
|
|
|
(2) Plug a micro-USB cable in connector CN11 and run your serial
|
|
|
|
communication program on /dev/ttyACM0.
|
|
|
|
|
|
|
|
(3) Plug a USB-C cable in CN6 to power-up the board.
|
|
|
|
|
|
|
|
(4) The system will start, with the console on UART, but also visible
|
|
|
|
on the screen.
|