readme.txt 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. Kontron BL i.MX8M Mini
  2. ======================
  3. https://www.kontron.com/produkte/baseboard-bl-i.mx8m-mini/p158549
  4. How to build it
  5. ===============
  6. Configure buildroot:
  7. $ make kontron_bl_imx8mm_defconfig
  8. Change settings to fit your needs (optional):
  9. $ make menuconfig
  10. Compile everything and build 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. ├── flash.bin
  20. ├── Image
  21. ├── imx8mm-kontron-n801x-s.dtb
  22. ├── lpddr4_pmu_train_1d_dmem_201904.bin
  23. ├── lpddr4_pmu_train_1d_dmem_202006.bin
  24. ├── lpddr4_pmu_train_1d_dmem.bin
  25. ├── lpddr4_pmu_train_1d_dmem_pad.bin
  26. ├── lpddr4_pmu_train_1d_fw.bin
  27. ├── lpddr4_pmu_train_1d_imem_201904.bin
  28. ├── lpddr4_pmu_train_1d_imem_202006.bin
  29. ├── lpddr4_pmu_train_1d_imem.bin
  30. ├── lpddr4_pmu_train_1d_imem_pad.bin
  31. ├── lpddr4_pmu_train_2d_dmem_201904.bin
  32. ├── lpddr4_pmu_train_2d_dmem_202006.bin
  33. ├── lpddr4_pmu_train_2d_dmem.bin
  34. ├── lpddr4_pmu_train_2d_dmem_pad.bin
  35. ├── lpddr4_pmu_train_2d_fw.bin
  36. ├── lpddr4_pmu_train_2d_imem_201904.bin
  37. ├── lpddr4_pmu_train_2d_imem_202006.bin
  38. ├── lpddr4_pmu_train_2d_imem.bin
  39. ├── lpddr4_pmu_train_2d_imem_pad.bin
  40. ├── lpddr4_pmu_train_fw.bin
  41. ├── rootfs.ext2
  42. ├── rootfs.ext4 -> rootfs.ext2
  43. ├── rootfs.tar
  44. ├── sdcard.img
  45. ├── u-boot.bin
  46. └── u-boot-spl.bin
  47. Flashing the SD card image
  48. ==========================
  49. To install the image on a SDCard simply copy sdcard.img to the storage (e.g. SD, eMMC)
  50. $ sudo dd if=output/images/sdcard.img of=<your-sd-device>
  51. Preparing the board
  52. ===================
  53. * Connect a serial line to the board
  54. * Insert the SD card
  55. * Power-up the board
  56. Booting the board
  57. =================
  58. By default the bootloader will search for the first valid image, starting
  59. with the internal eMMC. To make sure the bootloader loads bootscript from
  60. the correct location (SD card) set the boot_targets environment variable:
  61. $ setenv boot_targets mmc1