Closed notly closed 6 months ago
@notly I just tried your branch. I don't think libusb is being cleaned up properly. After qdl exits I attempt to run it again and get:
qdl: libusb_claim_interface: Device or resource busy
Opened PR which fixes this -> https://github.com/nullog/qdl/pull/1
Did some testing on this with UFS target (USB 3.0 Fedora 33). Same flat build folder for both tests, files in question have been un-sparsed using img2img.
I've included the largest deltas.
The libusb branch should be re-based to tip of tree, and pick up the larger buffer size in case of SS.
system_a = 1,610,612,736 bytes
userdata = 1,999,998,976 bytes
modem_a = 62,558,208 bytes
dsp_a = 67,108,864 bytes
[PROGRAM] flashed "system_a" successfully at 12582kB/s [PROGRAM] flashed "userdata" successfully at 12440kB/s [PROGRAM] flashed "modem_a" successfully at 12218kB/s [PROGRAM] flashed "dsp_a" successfully at 10922kB/s
[PROGRAM] flashed "system_a" successfully at 12098kB/s [PROGRAM] flashed "userdata" successfully at 12056kB/s [PROGRAM] flashed "modem_a" successfully at 15273kB/s [PROGRAM] flashed "dsp_a" successfully at 13107kB/s
superseded by #59
Signed-off-by: hello hello@ifnot.cc