Name Date Size #Lines LOC

..--

readme.txtH A D05-Jun-20252 KiB7757

readme.txt

1***************************
2Freescale i.MX8QM MEK board
3***************************
4
5This file documents the Buildroot support for the NXP i.MX8QM MEK board.
6
7You will find a reference to the board on nxp.com:
8https://www.nxp.com/design/development-boards/i.mx-evaluation-and-development-boards/i.mx-8quadmax-multisensory-enablement-kit-mek:MCIMX8QM-CPU
9
10You can also find the get started guide here:
11https://www.nxp.com/document/guide/get-started-with-the-i.mx-8quadmax-mek:GS-iMX-8QM-MEK
12
13Build
14=====
15
16First, configure Buildroot for the i.MX8QM MEK board:
17
18$ make freescale_imx8qmmek_defconfig
19
20Build all components:
21
22$ make
23
24You will find in output/images/ the following files:
25  - ahab-container.img
26  - bl31.bin
27  - boot.vfat
28  - fsl-imx8qm-mek.dtb
29  - Image
30  - imx8-boot-sd.bin
31  - mkimg.commit
32  - mx8qm-mek-scfw-tcm.bin
33  - mx8qm-val-scfw-tcm.bin
34  - mx8qm-a0-ddr4-scfw-tcm.bin
35  - mx8qm-a0-mek-scfw-tcm.bin
36  - mx8qm-a0-val-scfw-tcm.bin
37  - mx8qm-ddr4-scfw-tcm.bin
38  - rootfs.ext2
39  - rootfs.ext4
40  - rootfs.tar
41  - sdcard.img
42  - u-boot-atf.bin
43  - u-boot.bin
44  - u-boot-hash.bin
45
46Create a bootable SD card
47=========================
48
49To determine the device associated to the SD card have a look in the
50/proc/partitions file:
51
52  cat /proc/partitions
53
54Buildroot prepares a bootable "sdcard.img" image in the output/images/
55directory, ready to be dumped on a SD card. Launch the following
56command as root:
57
58  dd if=output/images/sdcard.img of=/dev/<your-sd-device>
59
60*** WARNING! This will destroy all the card content. Use with care! ***
61
62For details about the medium image layout, see the definition in
63board/freescale/common/imx/genimage.cfg.template_imx8.
64
65Boot the i.MX8QM MEK board
66==========================
67
68To boot your newly created system:
69- insert the SD card in the SD slot of the board;
70- Configure the boot switch as follows:
71SW2:	OFF	OFF	ON	ON	OFF	OFF
72- put a micro USB cable into the Debug USB Port and connect using a terminal
73  emulator at 115200 bps, 8n1;
74- power on the board.
75
76Enjoy!
77