You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is to discuss expanding compressed OTA binaries. #6614 (comment)
My understanding so far is that .bin files must be compressed on the command line, and then signed manually (if so inclined), before being uploaded to the sketch. The sketch must have defined ATOMIC_FS_UPDATE for the bootloader to write the compressed FS (i'm curious how this works for say FS sizes of 3Mb which when compressed gives a file greater than max OTA size (which for 3Mb FS on a 4Mb flash is 512Kb).
I would like to propose.
A mechanism to report compression functionality in the boot loader (ie a #DEFINE)
A mechanism whereby the OTA updater class can report back to espota.py that it supports compression
espota.py can then send compressed binaries instead.
advantages:
no user input required, fully transparent, uploads will be much faster for everyone without the user having to do anything at all.
disadvantages
possible extra handshake during OTA
Any thoughts?
The text was updated successfully, but these errors were encountered:
Sorry for the delay. I am afraid I do not have any work to contribute. I have no python skills! More importantly I'm currently fairly occupied with the second wave here in the Uk as an icu dr!
This is to discuss expanding compressed OTA binaries.
#6614 (comment)
My understanding so far is that .bin files must be compressed on the command line, and then signed manually (if so inclined), before being uploaded to the sketch. The sketch must have defined
ATOMIC_FS_UPDATE
for the bootloader to write the compressed FS (i'm curious how this works for say FS sizes of 3Mb which when compressed gives a file greater than max OTA size (which for 3Mb FS on a 4Mb flash is 512Kb).I would like to propose.
advantages:
disadvantages
Any thoughts?
The text was updated successfully, but these errors were encountered: