readme.txt 1.6 KB

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