]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/warp/README
bootcount: Migrate CONFIG_SYS_BOOTCOUNT_ADDR
[people/ms/u-boot.git] / board / warp / README
CommitLineData
a187559e 1How to Update U-Boot on Warp board
1f9d1cf6
FE
2----------------------------------
3
4Required 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/
9
a187559e 10Build U-Boot for Warp:
1f9d1cf6
FE
11
12$ make mrproper
13$ make warp_config
14$ make
15
a187559e 16This will generate the U-Boot binary called u-boot.imx.
1f9d1cf6
FE
17
18Put warp board in USB download mode
19
20Connect a USB to serial adapter between the host PC and warp
21
22Connect a USB cable between the OTG warp port and the host PC
23
24Open a terminal program such as minicom
25
26Copy u-boot.imx to the imx_usb_loader folder.
27
28Load u-boot.imx via USB:
29
30$ sudo ./imx_usb u-boot.imx
31
a187559e 32Then U-Boot should start and its messages will appear in the console program.
1f9d1cf6
FE
33
34Use the default environment variables:
35
36=> env default -f -a
68006aeb 37=> saveenv
1f9d1cf6
FE
38
39Run the DFU command:
40=> dfu 0 mmc 0
41
42Transfer u-boot.imx that will be flashed into the eMMC:
43
44$ sudo dfu-util -D u-boot.imx -a boot
45
a187559e 46Then on the U-Boot prompt the following message should be seen after a
e719cdde 47successful upgrade:
1f9d1cf6
FE
48
49#DOWNLOAD ... OK
50Ctrl+C to exit ...
51
52Remove power from the warp board.
53
54Put warp board into normal boot mode
55
a187559e 56Power up the board and the new updated U-Boot should boot from eMMC