-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Backport of Bootloop detection & recovery (#4793) #4840
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
base: 0_15_x
Are you sure you want to change the base?
Conversation
DedeHai
commented
Aug 15, 2025
- added boot loop detection and config backup
- automatic OTA rollback if loading backup does not fix it
- added new file handling functions
- adding verification of json files, added config restore at bootup if broken
- added function to compare contents of two files for future use (currently not used)
* added boot loop detection and config backup * automatic OTA rollback if loading backup does not fix it * added new file handling functions * adding verification of json files, added config restore at bootup if broken * added function to compare contents of two files for future use (currently not used)
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
still need to resolve the conflicts for V3 builds. edit: |
void bootloopCheckOTA(); // swap boot image if bootloop is detected instead of restoring config | ||
#endif | ||
|
||
void handleBootLoop(); // detect and handle bootloops |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there something special that needs double declaration?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope. merge artefact I overlooked.