readme.txt 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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] and [4].
  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 1
  44. This will mount the eMMC content in the host PC as a mass storage device.
  45. To determine the device associated to the eMMC card have a look in the
  46. /proc/partitions file:
  47. cat /proc/partitions
  48. If your system automatically mount some device partitions, make sure
  49. to unmount them.
  50. Buildroot prepares a bootable "sdcard.img" image in the output/images/
  51. directory, ready to be dumped on the eMMC. Launch the following
  52. command as root:
  53. dd if=output/images/sdcard.img of=/dev/<your-sd-device>
  54. *** WARNING! This will destroy all the eMMC content. Use with care! ***
  55. This operation can take several minutes, depending on the image
  56. size. When tested, a 2MB/s transfer rate was observed.
  57. For details about the medium image layout, see the definition in
  58. board/freescale/common/imx/genimage.cfg.template.
  59. Boot the i.MX8M Mini Pico board
  60. ===============================
  61. To boot your newly created system:
  62. - put a micro USB cable into the Debug USB Port and connect using a terminal
  63. emulator at 115200 bps, 8n1;
  64. - power on the board, with USB Type C connector.
  65. Enjoy!
  66. [1]. https://www.technexion.com/products/system-on-modules/pico/pico-compute-modules/detail/PICO-IMX8M-MINI
  67. [2]. https://www.technexion.com/products/pico-evaluation-kits/detail/PICOPIIMX8MM1GDEV
  68. [3]. https://www.technexion.com/support/knowledgebase/boot-configuration-settings-for-pico-baseboards/
  69. [4]. https://www.technexion.com/support/knowledgebase/loading-bootable-software-images-onto-the-emmc-of-picosom-on-pico-pi/