| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| boot.cmd | H A D | 05-Jun-2025 | 306 | 9 | 6 | |
| genimage.cfg | H A D | 05-Jun-2025 | 219 | 17 | 14 | |
| post-build.sh | H A D | 05-Jun-2025 | 90 | 5 | 2 | |
| post-image.sh | H A D | 05-Jun-2025 | 69 | 4 | 1 | |
| readme.txt | H A D | 05-Jun-2025 | 1.6 KiB | 75 | 50 |
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