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

Update strategy for the not just the app but the whole system. #29

Closed
martonborzak opened this issue Nov 26, 2019 · 1 comment · Fixed by #76
Closed

Update strategy for the not just the app but the whole system. #29

martonborzak opened this issue Nov 26, 2019 · 1 comment · Fixed by #76
Assignees
Labels
enhancement New feature or request

Comments

@martonborzak
Copy link
Member

Let's try to start thinking about it how to do it.

For inspiration:
https://mkrak.org/2018/01/10/updating-embedded-linux-devices-part1/

@zehnm zehnm added the enhancement New feature or request label Nov 26, 2019
@martonborzak martonborzak added the low priority Non urgent or cosmetic issue label Jan 1, 2020
@zehnm zehnm added this to the Full System Update milestone Mar 9, 2021
@zehnm zehnm self-assigned this Mar 9, 2021
@zehnm
Copy link
Member

zehnm commented Mar 9, 2021

Summary of our discussion, feedback from Discord and initial experiments:

  • Using SWUpdate as system update framework
    • Optional web server allows uploading system image and triggering update
  • A / B system partition setup for failsafe system updates
  • U-Boot for choosing the valid system partition
    • Boot counter & setting U-Boot env variable in Linux after successful boot
    • After n failed boots: switch back to the old partition

Open issues:

Further resources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants