How to improve speed in USB recovery?
We noticed that executing the recovery procedure in the bootloader takes considerable longer than manual executing an upgrade with sysupgrade. Respectively 9 to 6 minutes (approximately). Can we speed this up?
When examining the output on the serial port I see it takes about 3 minutes to read the binary file from USB. Executing the file copy manually when the Onion has booted is only a matter of seconds.
In u-boot main-stream a fix was made for a recurring 5ms delay in USB reading. I backported this fix but it doesn't seem to do a lot (I'll test further).
Are there other known reasons as to why the file reading in the recovery procedure takes so long? And how can we improve this?