readme.txt 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. ****************************
  2. Technexion i.MX8M Pico board
  3. ****************************
  4. This file documents the Buildroot support for the Technexion i.MX8M
  5. Pico board. The Pico i.MX8M system-on-module [1] is present in
  6. development kits like the Pico Pi i.MX8M [2].
  7. Build
  8. =====
  9. First, configure Buildroot for the i.MX8M Pico board:
  10. make imx8mpico_defconfig
  11. Build all components:
  12. make
  13. You will find in output/images/ the following files:
  14. - bl31.bin
  15. - boot.vfat
  16. - Image
  17. - imx8-boot-sd.bin
  18. - lpddr4_pmu_train_fw.bin
  19. - pico-8m-dcss-ili9881c.dtb
  20. - pico-8m.dtb
  21. - rootfs.ext4
  22. - sdcard.img
  23. - signed_hdmi_imx8m.bin
  24. - u-boot.imx
  25. Flashing sdcard.img on the eMMC
  26. ===============================
  27. i.MX8M Pico board does not have a SD card slot. The storage is an
  28. eMMC. An easy way to flash the eMMC is to use the u-boot ums
  29. command. The boards are sold pre-flashed with such a u-boot. It is
  30. assumed here that the board has already a working u-boot on eMMC and
  31. jumpers are set to boot on eMMC. See [3].
  32. Jumper configuration for eMMC boot:
  33. J1: jumper on pins 4 and 6.
  34. J2: jumper on pins 2 and 4.
  35. In case the board was flashed with a wrong u-boot, or the eMMC is
  36. erased, u-boot can be loaded by USB Serial Download boot mode, using
  37. imx-usb-loader. See [3].
  38. For flashing:
  39. - Plug the micro USB cable from the Debug USB Port, to your computer
  40. - Plug the USB Type C to your computer, this will power up the board
  41. In the U-Boot prompt launch:
  42. => ums 0 mmc ${mmcdev}
  43. This will mount the eMMC content in the host PC as a mass storage device.
  44. Note: the ${mmcdev} id may change from one uboot version to another. The
  45. actual id can be confirmed by running commands "mmc rescan" then
  46. "mmc list", to find the eMMC entry. Finally it's possible to enter
  47. directly the mmc device id, for example: "ums 0 mmc 2".
  48. To determine the device associated to the eMMC card have a look in the
  49. /proc/partitions file:
  50. cat /proc/partitions
  51. If your system automatically mount some device partitions, make sure
  52. to unmount them.
  53. Buildroot prepares a bootable "sdcard.img" image in the output/images/
  54. directory, ready to be dumped on the eMMC. Launch the following
  55. command as root:
  56. dd bs=1M if=output/images/sdcard.img of=/dev/<your-sd-device>
  57. *** WARNING! This will destroy all the eMMC content. Use with care! ***
  58. This operation can take several minutes, depending on the image
  59. size. When tested, a 10MB/s transfer rate was observed. Note: the
  60. blocksize "bs=1M" parameter gives better transfer performances.
  61. For details about the medium image layout, see the definition in
  62. board/freescale/common/imx/genimage.cfg.template.
  63. Boot the i.MX8M Pico board
  64. ==========================
  65. To boot your newly created system:
  66. - put a micro USB cable into the Debug USB Port and connect using a terminal
  67. emulator at 115200 bps, 8n1;
  68. - power on the board, with USB Type C connector.
  69. Enjoy!
  70. [1]. https://www.technexion.com/products/system-on-modules/pico/pico-compute-modules/detail/PICO-IMX8M
  71. [2]. https://www.technexion.com/products/system-on-modules/evk/pico-pi-imx8m/
  72. [3]. https://developer.technexion.com/docs/pico-evaluation-kit-boot-mode-settings#picoimx8m-and-picoimx8mmini