xref: /OK3568_Linux_fs/buildroot/board/freescale/imx8mmevk/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1***************************
2Freescale i.MX8MM EVK board
3***************************
4
5This file documents the Buildroot support for the Freescale i.MX8MM
6EVK board.
7
8Build
9=====
10
11First, configure Buildroot for the i.MX8MM EVK board:
12
13  make freescale_imx8mmevk_defconfig
14
15Build all components:
16
17  make
18
19You will find in output/images/ the following files:
20  - bl31.bin
21  - boot.vfat
22  - fsl-imx8mm-evk.dtb
23  - Image
24  - imx8-boot-sd.bin
25  - lpddr4_pmu_train_fw.bin
26  - rootfs.ext2
27  - rootfs.ext4
28  - rootfs.tar
29  - sdcard.img
30  - u-boot.bin
31  - u-boot.imx
32  - u-boot-nodtb.bin
33  - u-boot-spl-ddr.bin
34
35Create a bootable SD card
36=========================
37
38To determine the device associated to the SD card have a look in the
39/proc/partitions file:
40
41  cat /proc/partitions
42
43Buildroot prepares a bootable "sdcard.img" image in the output/images/
44directory, ready to be dumped on a SD card. Launch the following
45command as root:
46
47  dd if=output/images/sdcard.img of=/dev/<your-sd-device>
48
49*** WARNING! This will destroy all the card content. Use with care! ***
50
51For details about the medium image layout, see the definition in
52board/freescale/common/imx/genimage.cfg.template_imx8.
53
54Boot the i.MX8MM EVK board
55==========================
56
57To boot your newly created system (refer to the i.MX8MMini EVK Quick Start Guide
58[1] for guidance):
59- insert the SD card in the SD slot of the board;
60- Configure the switches as follows:
61SW1101:	0110110010 [D1-D10]
62SW1102:	0001101000 [D1-D10]
63- put a micro USB cable into the Debug USB Port and connect using a terminal
64  emulator at 115200 bps, 8n1;
65- power on the board.
66
67Enjoy!
68
69References
70==========
71[1] https://www.nxp.com/document/guide/Get-Started-with-the-i.MX-8M-Mini-EVK:GS-iMX-8M-Mini-EVK
72