README 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. How to Update U-Boot on Pico-imx6ul board
  2. -----------------------------------------
  3. Required software on the host PC:
  4. - imx_usb_loader: https://github.com/boundarydevices/imx_usb_loader
  5. - dfu-util: http://dfu-util.sourceforge.net/releases/
  6. Build U-Boot for Pico:
  7. $ make mrproper
  8. $ make pico-imx6ul_defconfig
  9. $ make
  10. This will generate the U-Boot binary called u-boot.imx.
  11. Put pico board in USB download mode (refer to the document
  12. http://www.wandboard.org/images/hobbit/hobbitboard-imx6ul-reva1.pdf page 15)
  13. Connect a USB to serial adapter between the host PC and pico
  14. Connect a USB cable between the OTG pico port and the host PC
  15. Open a terminal program such as minicom
  16. Copy u-boot.imx to the imx_usb_loader folder.
  17. Load u-boot.imx via USB:
  18. $ sudo ./imx_usb u-boot.imx
  19. Then U-Boot should start and its messages will appear in the console program.
  20. Use the default environment variables:
  21. => env default -f -a
  22. => saveenv
  23. Run the DFU command:
  24. => dfu 0 mmc 0
  25. Transfer u-boot.imx that will be flashed into the eMMC:
  26. $ sudo dfu-util -D u-boot.imx -a boot
  27. Then on the U-Boot prompt the following message should be seen after a
  28. successful upgrade:
  29. #DOWNLOAD ... OK
  30. Ctrl+C to exit ...
  31. Remove power from the pico board.
  32. Put pico board into normal boot mode
  33. Power up the board and the new updated U-Boot should boot from eMMC.