07-08-2020, 01:35 PM
You need bmap-tools installed.
The usage is then basically:
As @wibble has noted it will take into account regions inside the image file which are unused/full of zeros and skips them when flashing the image,
thus both speeding up the flashing and reducing the wear on the flash storage by not wasting unnecessary write cycles.
The usage is then basically:
Code:
bmaptool copy <path_to_image_file> <block_device_to_flash>
thus both speeding up the flashing and reducing the wear on the flash storage by not wasting unnecessary write cycles.