pico-imx7d: README: Use dfu-util to flash U-Boot
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 29 Jun 2018 18:19:19 +0000 (15:19 -0300)
committerStefano Babic <sbabic@denx.de>
Mon, 23 Jul 2018 08:59:48 +0000 (10:59 +0200)
The DFU allows a more user friendly use as the details where the
bootloader is installed are abstracted.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
board/technexion/pico-imx7d/README

index 8af4eff..9e88bc2 100644 (file)
@@ -35,12 +35,17 @@ Use the default environment variables:
 => env default -f -a
 => saveenv
 
-Run the UMS command:
-=> ums 0 mmc 0
+Run the DFU agent so we can flash the new images using dfu-util tool:
 
-Transfer u-boot.imx to be flashed into the eMMC:
+=> dfu 0 mmc 0
 
-$ sudo dd if=u-boot.imx of=/dev/sdX bs=1K seek=1; sync
+Flash SPL into the eMMC:
+
+$ sudo dfu-util -D SPL -a spl
+
+Flash u-boot.img into the eMMC:
+
+$ sudo dfu-util -D u-boot.img -a u-boot
 
 Remove power from the pico board.