[U-Boot] [PATCH] am335x_evm: Fix DFU for eMMC

Lokesh Vutla lokeshvutla at ti.com
Wed Dec 13 05:34:06 UTC 2017



On Tuesday 12 December 2017 11:37 PM, Sam Protsenko wrote:
> Use dfu_alt_info_emmc variable from include/environment/ti/dfu.h file.
> It was probably overlooked when extracting DFU variables to mentioned
> file.
> 
> This patch fixes DFU on BeagleBone Black, so that we can use commands
> like ones below to upgrade various images on eMMC:
> 
>     => setenv dfu_alt_info $dfu_alt_info_emmc
>     => dfu 0 mmc 1
> 
>     $ dfu-util -D MLO -a MLO.raw
>     $ dfu-util -D u-boot.img -a u-boot.img.raw
> 
> Without this patch, the  user is forced to assign the value to
> dfu_alt_info_emmc manually, which contradicts with instructions [1].
> 
> [1] http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User%27s_Guide
> 
> Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>

Reviewed-by: Lokesh Vutla <lokeshvutla at ti.com>

Thanks and regards,
Lokesh



More information about the U-Boot mailing list