From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 20 Jun 2014 08:32:19 +0200 Subject: [U-Boot] [RFC PATCH 0/3] Implement "fastboot flash" for eMMC In-Reply-To: <20140620081842.50471ae4@amdc2363> References: <1403211128-19631-1-git-send-email-srae@broadcom.com> <20140620081842.50471ae4@amdc2363> Message-ID: <201406200832.19841.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday, June 20, 2014 at 08:18:42 AM, Lukasz Majewski wrote: > Hi Steve, > > > This series implements the "fastboot flash" command for eMMC devices. > > It supports both raw and sparse images. > > > > NOTES: > > - the support for the "fastboot flash" command is enabled with > > CONFIG_FASTBOOT_FLASH > > - the support for eMMC is enabled with CONFIG_FASTBOOT_FLASH_MMC_DEV > > - (future) the support for NAND would be enabled with > > CONFIG_FASTBOOT_FLASH_NAND(???) > > - thus the proposal is to place the code in common/fb_mmc.c and > > (future) common/fb_nand.c(???), however, this may not be the > > appropriate location.... > > Would you consider another approach for providing flashing backend for > fastboot? > > I'd like to propose reusing of the dfu flashing code for this purpose. > Such approach has been used successfully with USB "thor" downloading > function. > > Since the "fastboot" is using gadget infrastructure (thanks to the > effort of Rob Herring) I think that it would be feasible to reuse the > same approach as "thor" does. In this way the low level code would be > kept in one place and we could refine and test it more thoroughly. I'm all for this approach as well if possible. Best regards, Marek Vasut