-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update docs for Updater/etc. explaining how to use gzip uploads #6923
Comments
The active sketch should have support for gzipped files right? |
Yes. If you try to upload a GZ sketch to the old updater.cpp, it will disallow it as an invalid app and the eboot present in flash won't understand it, either. You need one uncompressed upload compiled with the new updater.cpp and then you can just send .GZs up. Or, if using direct serial upload (esptool.py), then a simple compile and upload will get the new eboot compressed support. |
Good to know, so I will make a new version of our 2-step OTA image including this. |
Per @pfalcon: If you give credit to me, please give credit to the original authors too, from uzlib's README: uzlib is based on: Library integrated and maintained by Paul Sokolovsky. I guess the same wording as above for LittleFS would work, i.e. "uzlib library written by Joergen Ibsen, Simon Tatham, Paul Sokolovsky, licensed under the ZLib license". (That may be not entirely formally correct, but if Joergen or Simon will ever object claim that they wrote that lib, could be rewritten with "based on code by".) |
@AdrianEddy found a bug in the format string setup.
|
Fixes esp8266#6923 Documents the user steps needed to do a compressed upload, and notes the 2-step process needed for deploying compressed uploads to the field for the first time. Fixes a bug in serial output formatting discovered by @AdrianEddy. Adds additional contributors for uzlib, per @pfalcon.
* Add documentation for compressed OTA, fix bug Fixes #6923 Documents the user steps needed to do a compressed upload, and notes the 2-step process needed for deploying compressed uploads to the field for the first time. Fixes a bug in serial output formatting discovered by @AdrianEddy. Adds additional contributors for uzlib, per @pfalcon. * Update README for esptool.py, too
Is it correct that this does not work for the spiffs partition? Would be great as 2mb becomes 60kb after zip. edit: on a second thought I could simply upload the files as the 2mb spiff upload is really not done in difficult wifi-areas. |
#6820 was merged w/o docs to allow @ChocolateFrogsNuts to do his magic on combining the XMC flash patch into eboot without delay, but lacked specific documentation updates.
Documentation the capabilities and process eboot now uses.
The text was updated successfully, but these errors were encountered: