2
1

readme.txt 3.2 KB

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