From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 18 Dec 2017 18:37:49 -0500 Subject: [U-Boot] am335x_evm: Fix DFU for eMMC In-Reply-To: <20171212180741.4896-1-semen.protsenko@linaro.org> References: <20171212180741.4896-1-semen.protsenko@linaro.org> Message-ID: <20171218233749.GP14220@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Dec 12, 2017 at 08:07:41PM +0200, 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 > Reviewed-by: Lokesh Vutla > Reviewed-by: Lukasz Majewski Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: