readme.txt 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. ********************************************************
  2. Freescale i.MX6 Q, DL and SoloX SABRE development boards
  3. ********************************************************
  4. This file documents the Buildroot support for the Freescale SABRE Board
  5. for Smart Devices Based on the i.MX 6 and i.MX 6SoloX Series (SABRESD),
  6. as well as the Freescale SABRE Board for Automotive Infotainment.
  7. Read the i.MX 6 SABRESD Quick Start Guide for an introduction to the
  8. board:
  9. http://cache.freescale.com/files/32bit/doc/quick_start_guide/SABRESDB_IMX6_QSG.pdf
  10. Read the i.MX 6 SoloX SABRESD Quick Start Guide for an introduction to
  11. the board:
  12. http://cache.freescale.com/files/32bit/doc/user_guide/IMX6SOLOXQSG.pdf
  13. Read the SABRE for Automotive Infotainment Quick Start Guide for an
  14. introduction to the board:
  15. http://cache.freescale.com/files/32bit/doc/user_guide/IMX6SABREINFOQSG.pdf
  16. Building with NXP kernel and NXP U-Boot
  17. =======================================
  18. First, configure Buildroot for your SABRE board.
  19. For i.MX6Q SABRE SD board:
  20. make freescale_imx6qsabresd_defconfig
  21. For i.MX6DL SABRE SD board:
  22. make freescale_imx6dlsabresd_defconfig
  23. For i.MX6 SoloX SABRE SD board:
  24. make freescale_imx6sxsabresd_defconfig
  25. For i.MX6Q SABRE Auto board:
  26. make freescale_imx6qsabreauto_defconfig
  27. For i.MX6DL SABRE Auto board:
  28. make freescale_imx6dlsabreauto_defconfig
  29. Build all components:
  30. make
  31. You will find in ./output/images/ the following files:
  32. - imx6dl-sabresd.dtb or imx6q-sabresd.dtb or imx6sx-sdb.dtb or
  33. imx6q-sabreauto.dtb or imx6dl-sabreauto.dtb
  34. - rootfs.ext2
  35. - rootfs.tar
  36. - u-boot.imx
  37. - uImage, or zImage for i.MX6 SoloX
  38. Building with mainline kernel and mainline U-Boot
  39. =================================================
  40. Mainline U-Boot uses SPL and can support the three
  41. variants of mx6sabreauto boards: mx6q, mx6dl and mx6qp.
  42. First, configure Buildroot for your mx6sabreauto board
  43. make imx6-sabreauto_defconfig
  44. Build all components:
  45. make
  46. You will find in output/images/ the following files:
  47. - imx6dl-sabresd.dtb, imx6q-sabresd.dtb, imx6q-sabresd.dtb
  48. - rootfs.ext2
  49. - SPL and u-boot.img
  50. - u-boot.imx
  51. - zImage
  52. Create a bootable SD card
  53. =========================
  54. To determine the device associated to the SD card have a look in the
  55. /proc/partitions file:
  56. cat /proc/partitions
  57. Buildroot prepares a bootable "sdcard.img" image in the output/images/
  58. directory, ready to be dumped on a microSD card. Launch the following
  59. command as root:
  60. dd if=./output/images/sdcard.img of=/dev/<your-microsd-device>
  61. *** WARNING! The script will destroy all the card content. Use with care! ***
  62. For details about the medium image layout, see the definition in
  63. board/freescale/common/imx/genimage.cfg.template.
  64. Boot the SABRE board
  65. ====================
  66. i.MX6 SABRE SD
  67. --------------
  68. To boot your newly created system on an i.MX6 SABRE SD Board (refer to
  69. the i.MX6 SABRE SD Quick Start Guide for guidance):
  70. - insert the SD card in the SD3 slot of the board;
  71. - locate the BOOT dip switches (SW6), set dips 2 and 7 to ON, all others to OFF;
  72. - connect a Micro USB cable to Debug Port and connect using a terminal emulator
  73. at 115200 bps, 8n1;
  74. - power on the board.
  75. i.MX6 SoloX SABRE SD
  76. --------------------
  77. To boot your newly created system on an i.MX6 SoloX SABRE SD Board
  78. (refer to the i.MX6 SoloX SABRE SD Quick Start Guide for guidance):
  79. - insert the SD card in the J4-SD4 socket at the bottom of the board;
  80. - Set the SW10, SW11 and SW12 DIP switches at the top of the board in
  81. their default position, to boot from SD card. Reference configuration:
  82. SW10
  83. 1 2 3 4 5 6 7 8
  84. off off off off off off off off
  85. SW11
  86. 1 2 3 4 5 6 7 8
  87. off off ON ON ON off off off
  88. SW12
  89. 1 2 3 4 5 6 7 8
  90. off ON off off off off off off
  91. - connect a Micro USB cable to the J16 Debug Port at the bottom of the
  92. board. This is a dual UART debug port; connect to the first tty using
  93. a terminal emulator at 115200 bps, 8n1;
  94. - power on the board with the SW1-PWR switch at the top of the board.
  95. SABRE Auto
  96. ----------
  97. To boot your newly created system on a SABRE Auto Board (refer to the SABRE for
  98. Automotive Infotainment Quick Start Guide for guidance):
  99. - insert the SD card in the CPU card SD card socket J14;
  100. - Set the S1, S2 and S3 DIP switches and J3 jumper to boot from SD on CPU card.
  101. Reference configuration:
  102. S1
  103. 1 2 3 4 5 6 7 8 9 10
  104. off ON off off ON off off off off off
  105. S2
  106. 1 2 3 4
  107. off off ON off
  108. S3
  109. 1 2 3 4
  110. off off ON ON
  111. J3: 1-2
  112. - connect an RS-232 UART cable to CPU card debug port J18 UART DB9 and
  113. connect using a terminal emulator at 115200 bps, 8n1;
  114. - power on the board.
  115. Enjoy!
  116. References
  117. ==========
  118. https://community.freescale.com/docs/DOC-95015
  119. https://community.freescale.com/docs/DOC-95017
  120. https://community.freescale.com/docs/DOC-99218