From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Rae Date: Thu, 19 Jun 2014 13:52:05 -0700 Subject: [U-Boot] [RFC PATCH 0/3] Implement "fastboot flash" for eMMC Message-ID: <1403211128-19631-1-git-send-email-srae@broadcom.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.... This has been tested on ARMv7. This is a WIP -- and I would appreciate some comments/advice... Thanks, Steve Steve Rae (3): usb/gadget: fastboot: add sparse image definitions usb/gadget: fastboot: add eMMC support for flash command usb/gadget: fastboot: add support for flash command README | 10 +++ common/Makefile | 5 ++ common/fb_mmc.c | 144 ++++++++++++++++++++++++++++++++++++++++ doc/README.android-fastboot | 5 +- drivers/usb/gadget/f_fastboot.c | 31 +++++++++ include/fb_mmc.h | 8 +++ include/sparse_format.h | 58 ++++++++++++++++ 7 files changed, 259 insertions(+), 2 deletions(-) create mode 100644 common/fb_mmc.c create mode 100644 include/fb_mmc.h create mode 100644 include/sparse_format.h -- 1.8.5