Skip to content
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

Firmware and Control UI OTA updates #62

Open
valeriansaliou opened this issue Nov 9, 2020 · 0 comments
Open

Firmware and Control UI OTA updates #62

valeriansaliou opened this issue Nov 9, 2020 · 0 comments

Comments

@valeriansaliou
Copy link
Member

As the RPi will now be plugged right to the motherboard, it will have the ability to flash the firmware by itself.

This opens a room for OTA updates (on demand, not automatic, of course).

Where the Pi would start by updating its Control UI, and then inject the firmware binary contained in its Control UI, if the motherboard fw version is older than the UI contained fw.

As fw updates are more rare and subject to regulatory approval, we could use this mechanism to provide frequent UI updates and fixes, and less frequent fw updates.

The Pi would need to be wired to the Internet over Ethernet. Update packages would be crypto signed using a central authority.

As well, if the UI update fails, the Pi would have a way to roll back to the previous binary by using a rolling mechanism where binary N-1 would always be kept.

Mikrotik routers use a similar update protocol, where the OS is first updated and then the bootloader gets updated as needed after reboot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant