README.mx6qsabrelite 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. U-Boot for the Freescale i.MX6q SabreLite board
  2. This file contains information for the port of U-Boot to the Freescale
  3. i.MX6q SabreLite board.
  4. 1. Boot source, boot from SD card
  5. ---------------------------------
  6. The recent mainline U-Boot for the Freescale i.MX6q SabreLite board supports
  7. boot from SD card only. However, by default, the SabreLite
  8. boards boot from the SPI NOR flash. These boards need to be reflashed with
  9. a small SD card loader to support boot from SD card. This small SD card loader
  10. will be flashed into the SPI NOR. The board will still boot from SPI NOR, but
  11. the loader will in turn request the BootROM to load the U-Boot from SD card.
  12. The SD card loader is available from
  13. https://wiki.linaro.org/Boards/MX6QSabreLite
  14. under a open-source 3-clause BSD license.
  15. To update the SPI-NOR on the SabreLite board without the Freescale
  16. manufacturing tool use the following procedure:
  17. 1. Write this SD card loader onto a large SD card using:
  18. sudo dd if=iMX6DQ_SPI_to_uSDHC3.bin of=/dev/sXx
  19. Note: Replace sXx with the device representing the SD card in your system.
  20. Note: This writes SD card loader at address 0
  21. 2. Put this SD card into the slot for the large SD card (SD3 on the bottom of
  22. the board). Make sure SW1 switch is at position "00", so that it can boot
  23. from the fuses.
  24. 3. Power-up the SabreLite, press 'space' to enter command mode in the U-Boot
  25. (the default one the board is shipped with, starting from the SPI NOR) and
  26. enter the following commands:
  27. MX6Q SABRELITE U-Boot > mmc dev 0
  28. MX6Q SABRELITE U-Boot > mmc read 0x10800000 0 200
  29. MX6Q SABRELITE U-Boot > sf probe
  30. MX6Q SABRELITE U-Boot > sf erase 0 0x40000
  31. MX6Q SABRELITE U-Boot > sf write 0x10800000 0 0x40000
  32. 4. done.
  33. In case you somehow do not succeed with this procedure you will have to use
  34. the Freescale manufacturing tool in order to reflash the SPI-NOR.
  35. Note: The board now boots from full size SD3 on the bottom of the board. NOT
  36. the micro SD4/BOOT slot on the top of the board. I.e. you have to use
  37. full size SD cards.
  38. This information is taken from
  39. https://wiki.linaro.org/Boards/MX6QSabreLite
  40. 2. Build
  41. --------
  42. To build U-Boot for the SabreLite board:
  43. make mx6qsabrelite_config
  44. make
  45. To copy the resulting u-boot.imx to the SD card:
  46. sudo dd if=u-boot.imx of=/dev/sXx bs=512 seek=2&&sudo sync
  47. Note: Replace sXx with the device representing the SD card in your system.