public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v4 0/5] Implement "fastboot flash" for eMMC
@ 2014-08-06 23:55 Steve Rae
  2014-08-06 23:55 ` [U-Boot] [PATCH v4 1/5] usb/gadget: fastboot: add eMMC support for flash command Steve Rae
                   ` (5 more replies)
  0 siblings, 6 replies; 32+ messages in thread
From: Steve Rae @ 2014-08-06 23:55 UTC (permalink / raw)
  To: u-boot

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(???)

This has been tested on ARMv7.

----
While we are struggling with the "sparse_format" copyright and licensing issues,
can we accept the first three patches?
Thanks, Steve

Changes in v4:
- rearranged this patchset so that "sparse_format.h" can be dropped (if we cannot
  resolve the copyright/licensing issues)
- update mmc_get_dev(...) to get_dev("mmc",....)
- update printf() to puts() where applicable
- update debug string as per feedback
- rearranged "sparse format" support in this patchset, in order to isolate...

Changes in v3:
- remove most references to 'mmc',
  which leaves only one mmc specific function: mmc_get_dev()

Changes in v2:
- split large function into three
- improved handling of response messages
- additional partition size checking when writing sparse image
- update README.android-fastboot file
- new in v2

Steve Rae (5):
  usb/gadget: fastboot: add eMMC support for flash command
  usb/gadget: fastboot: add support for flash command
  usb/gadget: fastboot: minor cleanup
  usb/gadget: fastboot: add sparse image definitions
  usb/gadget: fastboot: implement sparse format

 README                          |  10 +++
 common/Makefile                 |   5 ++
 common/cmd_fastboot.c           |   7 +-
 common/fb_mmc.c                 | 191 ++++++++++++++++++++++++++++++++++++++++
 doc/README.android-fastboot     |   5 +-
 drivers/usb/gadget/f_fastboot.c |  44 ++++++++-
 include/fb_mmc.h                |   8 ++
 include/sparse_format.h         |  58 ++++++++++++
 8 files changed, 319 insertions(+), 9 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

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2014-08-10 20:42 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-06 23:55 [U-Boot] [PATCH v4 0/5] Implement "fastboot flash" for eMMC Steve Rae
2014-08-06 23:55 ` [U-Boot] [PATCH v4 1/5] usb/gadget: fastboot: add eMMC support for flash command Steve Rae
2014-08-06 23:55 ` [U-Boot] [PATCH v4 2/5] usb/gadget: fastboot: add " Steve Rae
2014-08-06 23:55 ` [U-Boot] [PATCH v4 3/5] usb/gadget: fastboot: minor cleanup Steve Rae
2014-08-06 23:55 ` [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions Steve Rae
2014-08-07  0:14   ` Marek Vasut
2014-08-07  0:31     ` Steve Rae
2014-08-07  0:37       ` Marek Vasut
2014-08-07  5:36     ` Wolfgang Denk
2014-08-07 13:11       ` Marek Vasut
2014-08-07  5:34   ` Wolfgang Denk
2014-08-07 13:09     ` Marek Vasut
2014-08-07 13:29       ` Sebastian Andrzej Siewior
2014-08-07 13:45         ` Marek Vasut
2014-08-07 13:51           ` Sebastian Andrzej Siewior
2014-08-07 14:12             ` Marek Vasut
2014-08-07 16:40             ` Steve Rae
2014-08-07 20:59         ` Wolfgang Denk
2014-08-07 21:02           ` Jeroen Hofstee
2014-08-07 21:10             ` Wolfgang Denk
2014-08-07 21:15               ` Jeroen Hofstee
2014-08-07 21:19                 ` Jeroen Hofstee
2014-08-07 21:36                 ` Wolfgang Denk
2014-08-07 21:43                   ` Marek Vasut
2014-08-07 22:17                     ` Wolfgang Denk
2014-08-09 12:48                       ` Marek Vasut
2014-08-09 16:53                         ` Steve Rae
2014-08-10 20:42                           ` Marek Vasut
2014-08-07 21:49                 ` Marek Vasut
2014-08-06 23:55 ` [U-Boot] [PATCH v4 5/5] usb/gadget: fastboot: implement sparse format Steve Rae
2014-08-07  0:16 ` [U-Boot] [PATCH v4 0/5] Implement "fastboot flash" for eMMC Marek Vasut
2014-08-07  0:29   ` Steve Rae

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox