mbox series

[0/3] Enable mmc to write sparse images

Message ID 1522996457-23191-1-git-send-email-jassisinghbrar@gmail.com
Headers show
Series Enable mmc to write sparse images | expand

Message

Jassi Brar April 6, 2018, 6:34 a.m. UTC
From: Jassi Brar <jaswinder.singh@linaro.org>

Hi,

 Having capability to flash sparse images from mmc subsystem could be useful.
For example, non-android/fastboot platforms could leverage the concept. Or
some platforms that need to 'pull' updates (get images over tftp and flash
using mmc). Or when we want to flash image at some non-zero offset from the
start of a partition. Or simply when USB-Device has issues for fastboot
to work (my itch).

 This patchset first cleans and makes write_sparse_image agnostic of
fastboot and then adds a new 'swrite' command to 'mmc'. 

Jassi Brar (3):
  fastboot: sparse: remove redundant argument to write_sparse_image
  fastboot: sparse: make write_sparse_image useable for non-fastboot
  mmc: support writing sparse images

 cmd/mmc.c              | 67 ++++++++++++++++++++++++++++++++++++++++++++++++
 common/fb_mmc.c        |  7 +++--
 common/fb_nand.c       |  6 +++--
 common/image-sparse.c  | 69 +++++++++++++++++++++++---------------------------
 include/image-sparse.h |  6 +++--
 5 files changed, 112 insertions(+), 43 deletions(-)

Comments

Jassi Brar May 8, 2018, 3:59 a.m. UTC | #1
On Fri, Apr 6, 2018 at 12:04 PM,  <jassisinghbrar@gmail.com> wrote:
> From: Jassi Brar <jaswinder.singh@linaro.org>
>
> Hi,
>
>  Having capability to flash sparse images from mmc subsystem could be useful.
> For example, non-android/fastboot platforms could leverage the concept. Or
> some platforms that need to 'pull' updates (get images over tftp and flash
> using mmc). Or when we want to flash image at some non-zero offset from the
> start of a partition. Or simply when USB-Device has issues for fastboot
> to work (my itch).
>
>  This patchset first cleans and makes write_sparse_image agnostic of
> fastboot and then adds a new 'swrite' command to 'mmc'.
>
> Jassi Brar (3):
>   fastboot: sparse: remove redundant argument to write_sparse_image
>   fastboot: sparse: make write_sparse_image useable for non-fastboot
>   mmc: support writing sparse images
>
>  cmd/mmc.c              | 67 ++++++++++++++++++++++++++++++++++++++++++++++++
>  common/fb_mmc.c        |  7 +++--
>  common/fb_nand.c       |  6 +++--
>  common/image-sparse.c  | 69 +++++++++++++++++++++++---------------------------
>  include/image-sparse.h |  6 +++--
>  5 files changed, 112 insertions(+), 43 deletions(-)
>
A polite reminder to look into the patchset please.

Thank