readme.txt 2.9 KB

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