-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 Process for 1MB Versions #708
Comments
Yeah, but that old firmware would have do the check. There is no way we can influence that. Only thing we can do it add better documentation. Did you read anything anywhere, were we might add a warning? Perhaps the notes on the release page on github? The warnings for upgrading from an old Rxxx version to ESPEasy v2.0:
|
I'm planning on doing a netscanner app with OTA mass deploy tool where I'll add more info regarding this. Only windows though... |
@Grovkillen could you document my above comment on the proper places on the wiki? |
Sure, will do |
no. wont do it. |
The upgrade programm should have a |
This project could considered to be useful for 1MB/8Mb modules to do OTA
updates with ESPEasy
https://github.com/soif/EspBuddy
|
yes. but still, the standard upgrade process is not working for 1mb and should show a warning message, instead of break the device. |
Sure for now and future releases, but older releases don't have a check like that so it would still break those units. |
Still adding a warning wouldn't hurt. |
Sure, but lets think about it. A generic warning that we could use for the day 4096 bytes aren't enough? We need to think ahead as well. |
Just use some factor between free space and current sketch size. We'll think of something. |
Haha yes. |
Maybe it is possible to slit flash for OTA with 3/4 to 1/4 hah? |
Hmm that would be a bit tricky. |
i think adding a warning is a good start. But isnt your idea way to complicated? I whould add some function that calculate the size that the ota file need. and then a second function that return the free space size. and then simply check if it fit or not. |
@florian-asche Depends on how the intermediate flash firmware operates. |
I could live with lost settings. Add a pre warning step. Add a direct download link with settings backup for later upload. Maybe add some function to the upload process where the settings are written before the system reboots. Only some ideas, dont know if it works. A complete other idea: Split the base system and all the sensor / actor files. The base system is very small and first time installed by serial. can be upgraded with ota because its size without all the sensors and actors is very small. All the sensors / actors come in packages and are opional installed by file upload or some download function. What packages are in use are saved in some config that will be redownloaded after 1mb ota update. |
Lets reopen this? |
Should we provide an official OTA bin file for this two stage update? I mean which is then maintained and released together with the rest of the bin files? Today we only have this one which will not be maintained. |
This seems to be solved, so can be closed. |
I did upgrade my devices to the newest version and the update failed. The device needs to be hard wired for an upgrade.
I did then read the notice on the wiki, that it no longer work with that small flash chips.
How about checking the flash size before the flash process destroys the esp firmware. It should be solved with one small if function. Or disable the flash process from the beginning, instead show some info...
The text was updated successfully, but these errors were encountered: