Using Bmap-tools together with dfu-util

Kanevskiy, Alexander alexander.kanevskiy at intel.com
Tue Jan 16 04:24:40 PST 2018


I’m not 100% sure, but as I recall, dfu-util is using standard protocol, and that protocol did not had ideas about transferring images of firmware by chunks. It was always “whole image” type of flashing. 
But I might be wrong.

-- 
Best regards, Alexander Kanevskiy.

On 16/01/2018, 08:57, "Artem Bityutskiy" <dedekind1 at gmail.com> wrote:

    On Mon, 2018-01-15 at 21:40 +0000, Martin Siegumfeldt wrote:
    > Hi,
    > 
    > I am wondering if there is a way to combine bmap-tool with dfu-util
    > rather than writing to an SD card? The use case is an image generated
    > by Openembedded (using wic) as a combination of vfat- and ext4
    > partitions that is currently flashed using dfu-util to an eMMC chip.
    > The ext4 partition is empty and the complete partition is transferred
    > blind-folded by dfu-util, hence I assume there must be a way to
    > optimize this?
    
    Well, the only prerequisite is the image created properly, with holes.
    The partition does not matter then.
    
    Bmap-tools was added to wic in Yocto, AFAIK, but I never used
    wic/yocto. May be one of the folks in CC knows?
    
    I do not know dfu-util either, so I di not know for sure what it takes
    to make it use bmat-tools. I guess you or someone should just try and
    see.
    

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


More information about the Bmap-tools mailing list