nodemcu / nodemcu-firmware

Lua based interactive firmware for ESP8266, ESP8285 and ESP32
https://nodemcu.readthedocs.io
MIT License
7.63k stars 3.12k forks source link

OTA for nodemcu #1496

Closed romanchyla closed 2 years ago

romanchyla commented 7 years ago

Missing feature

OTA - Over the air update of the firmware

Justification

OTA is super important for devices that work in the field. It is not as important for hobbyists, but they might also enjoy little bit of freedom. Even though there are various mechanisms for updating lua scripts, the firmware still remains the same.

There exist two PR #806 and #816 that implement OTA.

I'm proposing to review both, test them and report back to community the results. Hopefully, in the form of PR that could be incorporated.

Requirements

Because of the ssh verify reported not working, I'd like to concentrate on the most recent SDK (so no backward compatibility).

Questions

Here is what I'd like to answer in this Issue.

  1. test each implementation against current master (or dev branch) for esp-01 (1Mb version) esp-12 (32m version; dev kit)
  2. describe details how each solution works and explain consequences
  3. make a PR with a justification of why/what seems like the best to incorporate

I'll generate detailed questions. PLEASE add whatever concerns you would like to have addressed into the comments. Hopefully, the authors of the respective OTA implementation will be kind enough to help me with some questions/problems.

Also, I'd very interested in having lua snippets that exercise critical functionality. For example, if you know that certain cryptographic functions might be affected, it would be helpful to suggest ways to test them.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

532910 commented 3 years ago

Is it really stale?

TerryE commented 3 years ago

Nope

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.