README 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. How to Update U-Boot on Warp 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 Warp:
  7. $ make mrproper
  8. $ make warp_config
  9. $ make
  10. This will generate the U-Boot binary called u-boot.imx.
  11. Put warp board in USB download mode
  12. Connect a USB to serial adapter between the host PC and warp
  13. Connect a USB cable between the OTG warp port and the host PC
  14. Open a terminal program such as minicom
  15. Copy u-boot.imx to the imx_usb_loader folder.
  16. Load u-boot.imx via USB:
  17. $ sudo ./imx_usb u-boot.imx
  18. Then U-Boot should start and its messages will appear in the console program.
  19. Use the default environment variables:
  20. => env default -f -a
  21. => saveenv
  22. Run the DFU command:
  23. => dfu 0 mmc 0
  24. Transfer u-boot.imx that will be flashed into the eMMC:
  25. $ sudo dfu-util -D u-boot.imx -a boot
  26. Then on the U-Boot prompt the following message should be seen after a
  27. successful upgrade:
  28. #DOWNLOAD ... OK
  29. Ctrl+C to exit ...
  30. Remove power from the warp board.
  31. Put warp board into normal boot mode
  32. Power up the board and the new updated U-Boot should boot from eMMC