qdl icon indicating copy to clipboard operation
qdl copied to clipboard

Implement sparse image support (no deps on libsparse)

Open bmx666 opened this issue 2 years ago • 4 comments

Hi @andersson, yep, it is another "sparse" version but without deps on libsparse. I've been testing it on several QCOM projects for over 2 years now, no problem.

bmx666 avatar Feb 17 '23 15:02 bmx666

@bmx666 Hi,

Why is this PR a draft? Are there any flaws in this implementation?

parport0 avatar Mar 04 '23 22:03 parport0

Hi @parport0

Why is this PR a draft?

I'm waiting feedback from maintainer...

Are there any flaws in this implementation?

There are only two flaws:

  • upload speed can drop significantly if the image contains a lot of small chunks, compared to QPST / QFIL. Some kind of optimization is needed to merge and send many small fragments at once, because image may contain several small fragments following each other.
  • CHUNK_TYPE_FILL is not yet supported, but it can be easily implemented.

bmx666 avatar Mar 05 '23 09:03 bmx666