[U-Boot] [PATCH v2 0/5] Update fastboot sparse image handling
Steve Rae
srae at broadcom.com
Tue Jun 7 20:38:14 CEST 2016
On Tue, Jun 7, 2016 at 11:36 AM, Sergey Kubushyn <ksi at koi8.net> wrote:
> On Tue, 7 Jun 2016, Steve Rae wrote:
>
> Quick question before diving in -- does anybody work on making
> fastboot able to flash multiple devices?
>
> There are some braindead designs (e.g. Variscite SOMs) that have both
> eMMC and NAND on board and only able to boot off of NAND. Android
> FS layout uses insane number of partitions so it would be logical to
> put some of those onto NAND while keeping others on eMMC. However at
> present time the target device for "flash" command is a compile-time
> option that only allows writing to one device.
>
> Is anybody working on this currently? I don't want to re-invent the
> wheel. I will come up with initial RFC if nobody work on this...
I am not aware of anyone working on this -- I look forward to your RFC!
Thanks, Steve
>
>> While retaining the storage abstraction feature implemented in U-Boot,
>> this series updates the fastboot sparse image handling by
>> (1) fixing broken code,
>> (2) resync'ing with the upstream code, and
>> (3) improving performance when writing CHUNK_TYPE_FILL
>>
>> Changes in v2:
>> - series rebased onto v2016.07-rc1
>>
>> Steve Rae (5):
>> fastboot: sparse: remove session-id logic
>> fastboot: sparse: resync common/image-sparse.c (part 1)
>> fastboot: sparse: resync common/image-sparse.c (part 2)
>> fastboot: sparse: implement reserve()
>> fastboot: sparse: improve CHUNK_TYPE_FILL write performance
>>
>> common/fb_mmc.c | 79 +++----
>> common/fb_nand.c | 106 +++++----
>> common/image-sparse.c | 478
>> +++++++++++++++-------------------------
>> drivers/usb/gadget/f_fastboot.c | 47 ++--
>> include/fastboot.h | 4 +-
>> include/fb_mmc.h | 7 +-
>> include/fb_nand.h | 7 +-
>> include/image-sparse.h | 29 ++-
>> 8 files changed, 312 insertions(+), 445 deletions(-)
>>
>> --
>> 1.8.5
>>
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
>>
>
> ---
> ******************************************************************
> * KSI at home KOI8 Net < > The impossible we do immediately. *
> * Las Vegas NV, USA < > Miracles require 24-hour notice. *
> ******************************************************************
More information about the U-Boot
mailing list