1 How to Update U-Boot on Warp7 board 2 ---------------------------------- 3 4 Required software on the host PC: 5 6 - imx_usb_loader: https://github.com/boundarydevices/imx_usb_loader 7 8 - dfu-util: http://dfu-util.sourceforge.net/releases/ (if you are in a 9 Debian distribution then you can get it via libdfu-dev package) 10 11 - libusb: http://libusb.org/ (if you are in a Debian distribution 12 then you can get it via libusb-dev and libusb-1.0-0-dev) 13 14 In U-Boot folder, build U-Boot for Warp7: 15 16 $ make mrproper 17 $ make warp7_config 18 $ make 19 20 This will generate the U-Boot binary called u-boot.imx. 21 22 Put warp7 board in USB download mode: 23 24 Remove the CPU board from the base board then put switch 2 in the upper 25 position 26 27 Connect a USB to serial adapter between the host PC and warp7 28 29 Connect a USB cable between the OTG warp7 port and the host PC 30 31 Copy u-boot.imx to the imx_usb_loader folder. 32 33 Load u-boot.imx via USB: 34 35 $ sudo ./imx_usb u-boot.imx 36 37 Then U-Boot should start and its messages will appear in the console program. 38 39 Open a terminal program such as minicom 40 41 Use the default environment variables: 42 43 => env default -f -a 44 => saveenv 45 46 Run the DFU command: 47 => dfu 0 mmc 0 48 49 Transfer u-boot.imx that will be flashed into the eMMC: 50 51 $ sudo dfu-util -D u-boot.imx -a boot 52 53 Then on the U-Boot prompt the following message should be seen after a 54 successful upgrade: 55 56 #DOWNLOAD ... OK 57 Ctrl+C to exit ... 58 59 Remove power from the warp7 board. 60 61 Put warp7 board into normal boot mode (put the switch 2 in the lower position) 62 63 Power up the board and the new updated U-Boot should boot from eMMC 64