readme.txt 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. i.MX8MN BSH SMM S2 PRO
  2. ======================
  3. How to build it
  4. ---------------
  5. Configure buildroot:
  6. $ make imx8mn_bsh_smm_s2_pro_defconfig
  7. Change settings to fit your needs (optional):
  8. $ make menuconfig
  9. Compile everything and build the rootfs image:
  10. $ make
  11. Result of the build
  12. -------------------
  13. After building, the output/images directory contains:
  14. output/images/
  15. ├── bl31.bin
  16. ├── Image
  17. ├── flash.bin
  18. ├── ddr3*
  19. ├── rootfs.ext2
  20. ├── rootfs.ext4 -> rootfs.ext2
  21. ├── rootfs.tar
  22. ├── sdcard.img
  23. ├── u-boot.bin
  24. ├── u-boot-nodtb.bin
  25. └── u-boot-spl.bin
  26. Preparing the board
  27. -------------------
  28. Plug the USB type A to micro B cable into the USB Debug
  29. Connector (DBG UART). Use serial port settings 115200 8N1
  30. to access the debug console.
  31. Plug another USB type A to micro B cable into the USB-OTG
  32. Connector (USB1). This connection is used to flash the board
  33. firmware using the Freescale/NXP UUU tool.
  34. Connect the power supply/adaptor to the DC Power Jack (labelled
  35. +5V).
  36. Flashing the emmc card image
  37. ----------------------------
  38. Power up the board by switching on the Power ON Switch, which is
  39. placed right next to the DC Jack.
  40. Enter the following U-Boot commands on the debug serial console:
  41. $ fastboot usb 0
  42. Flash the images on eMMC. On your computer, run:
  43. $ board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh output/
  44. Booting the board
  45. -----------------
  46. By default the bootloader will search for the first valid image,
  47. starting with the internal eMMC.