mx7dsabresd: enable DFU support
authorTzu-Jung Lee <roylee17@currantlabs.com>
Tue, 27 Oct 2015 23:00:50 +0000 (23:00 +0000)
committerStefano Babic <sbabic@denx.de>
Thu, 12 Nov 2015 16:14:48 +0000 (17:14 +0100)
commit73f1b80c77ad0628c2ca78d3a21dafabb5761d48
tree0fdca4f20e3954412fb489d4aab319b383f03e5b
parent5f5620ab2679608f94b3a77e51c77d0a770103bd
mx7dsabresd: enable DFU support

On the target board:

  => dfu 0 mmc 0

On the host PC:

  $ dfu-util -l

    Found DFU: [0525:a4a5] devnum=0, cfg=1, intf=0, alt=0, name="image"
    Found DFU: [0525:a4a5] devnum=0, cfg=1, intf=0, alt=1, name="u-boot"
    Found DFU: [0525:a4a5] devnum=0, cfg=1, intf=0, alt=2, name="bootimg"
    Found DFU: [0525:a4a5] devnum=0, cfg=1, intf=0, alt=3, name="rootfs"

  Update with a full SD image

  $ dfu-util -a image -D core-image-minimal-imx7dsabresd.sdcard

  Update u-boot only

  $ dfu-util -a u-boot -D u-boot.imx

Signed-off-by: Tzu-Jung Lee <roylee17@currantlabs.com>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
include/configs/mx7dsabresd.h