Skip to content

Implement "fastboot flash" for eMMC

Steve Rae u-boot 13 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest posting 2/20 of 4 patches 0 repliesNew
  2. v5 posting 4/40 of 4 patches 0 repliesSuperseded
  3. v6 posting 1/24 patches 0 repliesSuperseded
Earlier versions · 10
VersionPostedPatchesRepliesStatus
v5 posting 3/40 of 4 patches0 repliesSuperseded
v5 posting 2/40 of 4 patches0 repliesSuperseded
v5 posting 1/44 patches0 repliesSuperseded
v4 posting 2/20 of 5 patches0 repliesSuperseded
v4 posting 1/25 patches0 repliesSuperseded
v3 posting 3/30 of 4 patches0 repliesSuperseded
v3 posting 2/30 of 4 patches0 repliesSuperseded
v3 posting 1/34 patches0 repliesSuperseded
v24 patches0 repliesSuperseded
v1 RFC0 of 3 patches0 repliesSuperseded

Patches in v6 posting 2/2 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [U-Boot] [PATCH v6 0/4] Implement "fastboot flash" for eMMC

Hi Tom,

Quoted 8 lines · Steve Rae

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

Quoted 6 lines

This has been tested on ARMv7.

----

This series depends on:

   http://patchwork.ozlabs.org/patch/382443/ (to 382446)

(which is now accepted)

Quoted 42 lines

Changes in v6:
- printf() to error()
- fix spelling
- remove excess braces

Changes in v5:
- use the common/aboot.c for the "sparse format" handling

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 (4):
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: implement sparse format

  README                          | 10 +++++
  common/Makefile                 |  6 +++
  common/cmd_fastboot.c           |  7 ++--
  common/fb_mmc.c                 | 92 +++++++++++++++++++++++++++++++++++++++++
  doc/README.android-fastboot     |  5 ++-
  drivers/usb/gadget/f_fastboot.c | 44 ++++++++++++++++++--
  include/fb_mmc.h                |  8 ++++
  7 files changed, 163 insertions(+), 9 deletions(-)
Quoted 3 lines

create mode 100644 common/fb_mmc.c
create mode 100644 include/fb_mmc.h

I assume that because of all the churn with the "Android sparse image" (BTW - thanks for accepting it...) it seems that this patchset got incorrectly marked as superseded in "Patchwork". I have corrected its status (to NEW).
Can this please be pulled ASAP! ?!?!?
Thanks in advance, Steve