diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2018-06-29 15:19:19 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-07-23 10:59:48 +0200 |
commit | 619fc167b65ea07601e0ce1cd969718c7092a40c (patch) | |
tree | 13ef3c4ff99bab021e2f450ec2e0fcfe4f5b4bfd /board/technexion | |
parent | 190702af514df2cd121417bcf3c316d1c7eb93b8 (diff) | |
download | u-boot-619fc167b65ea07601e0ce1cd969718c7092a40c.tar.gz |
pico-imx7d: README: Use dfu-util to flash U-Boot
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>
Diffstat (limited to 'board/technexion')
-rw-r--r-- | board/technexion/pico-imx7d/README | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/board/technexion/pico-imx7d/README b/board/technexion/pico-imx7d/README index 8af4effa78..9e88bc2f3d 100644 --- a/board/technexion/pico-imx7d/README +++ b/board/technexion/pico-imx7d/README @@ -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. |