Name Date Size #Lines LOC

..--

boot.cmdH A D05-Jun-2025306 96

genimage.cfgH A D05-Jun-2025219 1714

post-build.shH A D05-Jun-202590 52

post-image.shH A D05-Jun-202569 41

readme.txtH A D05-Jun-20251.6 KiB7550

readme.txt

1Kontron pitx-imx8m
2==================
3
4https://www.kontron.com/produkte/pitx-imx8m/p155258
5
6
7How to build it
8===============
9
10Configure buildroot:
11
12  $ make kontron_pitx_imx8m_defconfig
13
14Change settings to fit your needs (optional):
15
16  $ make menuconfig
17
18Compile everything and buildr the rootfs image:
19
20  $ make
21
22
23Result of the build
24===================
25
26After building, the output/images directory contains:
27
28  output/images/
29    ├── bl31.bin
30    ├── boot.scr
31    ├── ddr_fw.bin
32    ├── Image
33    ├── imx8-boot-sd.bin
34    ├── imx8mq-kontron-pitx-imx8m.dtb
35    ├── lpddr4_pmu_train_fw.bin
36    ├── rootfs.ext2
37    ├── rootfs.ext4 -> rootfs.ext2
38    ├── rootfs.tar
39    ├── sdcard.img
40    ├── signed_hdmi_imx8m.bin
41    ├── u-boot.bin
42    ├── u-boot.itb
43    ├── u-boot-nodtb.bin
44    ├── u-boot-spl.bin
45    └── u-boot-spl-ddr.bin
46
47
48Flashing the SD card image
49==========================
50
51To install the image on a SDCard simply copy sdcard.img to the storage (e.g. SD, eMMC)
52
53  $ sudo dd if=output/images/sdcard.img of=<your-sd-device>
54
55
56Preparing the board
57===================
58
59 * Connect a serial line to the board
60 * Insert the SD card
61 * Make sure the boot source selection DIP switches are set correctly
62  * SW1 1-4 OFF
63  * SW1 2-3 OFF
64 * Power-up the board
65
66
67Booting the board
68=================
69
70By default the bootloader will search for the first valid image, starting
71with the internal eMMC. To make sure the bootloader loads bootscript from
72the correct location (SD card) set the boot_targets environment variable:
73
74  $ setenv boot_targets mmc1
75