bluerobotics / companion

Companion computer startup scripts and examples
https://www.ardusub.com/operators-manual/companion-web.html
GNU General Public License v3.0
48 stars 54 forks source link

Add multiboot + recovery/update partition #124

Open jaxxzer opened 6 years ago

jaxxzer commented 6 years ago

As an alternative to the update process, we can have a small recover/update partition that we can boot into. This partition would remain completely static, and serve a webpage that allows uploading a new image file. The recovery partition will image a second (main) partition with the companion software image.

This method of updates will provide a lot of benefits:

Some things to think about:

patrickelectric commented 6 years ago

Next steps with the multiboot is like this:

jaxxzer commented 6 years ago

For user data and configuration we can have yet another partition that is just for this, and remains untouched during the update process.