xref: /OK3568_Linux_fs/buildroot/board/stmicroelectronics/stm32mp157c-dk2/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSTM32MP157C Discovery Kit v2
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunIntro
4*4882a593Smuzhiyun=====
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunThis configuration supports the STM32MP157C Discovery Kit 2 (DK2)
7*4882a593Smuzhiyunplatform:
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun  https://www.st.com/en/evaluation-tools/stm32mp157c-dk2.html
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunHow to build
12*4882a593Smuzhiyun============
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun $ make stm32mp157c_dk2_defconfig
15*4882a593Smuzhiyun $ make
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunHow to write the microSD card
18*4882a593Smuzhiyun=============================
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunOnce the build process is finished you will have an image called
21*4882a593Smuzhiyun"sdcard.img" in the output/images/ directory.
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunCopy the bootable "sdcard.img" onto an microSD card with "dd":
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun  $ sudo dd if=output/images/sdcard.img of=/dev/sdX
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunBoot the board
28*4882a593Smuzhiyun==============
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun (1) Insert the microSD card in connector CN15
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun (2) Plug a micro-USB cable in connector CN11 and run your serial
33*4882a593Smuzhiyun     communication program on /dev/ttyACM0.
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun (3) Plug a USB-C cable in CN6 to power-up the board.
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun (4) The system will start, with the console on UART, but also visible
38*4882a593Smuzhiyun     on the screen.
39