Is it possible to use some kind of little linux sbc that can do updates but don’t get corrupted in the event of a sudden power loss? So far I just found out that linux in read-only mode can achieve the second, but not the first part.

@vordenken Some sort of atomic filesystem would be a drop-in solution. I don't know if such a thing practically exists.

If the updates are atomic (either happen or don't happen, nothing in between) then it would work, but I don't know of a package manager that has atomic updates.

@skunksarebetter But what about all the smarthome stuff for example? Aren’t they doing exactly that? Thinking about all the alexas, sonos etc.
Even my router has no problems with sudden powerloss.

Follow

@vordenken @skunksarebetter I'm not sure what the Linux-based stuff is doing these days, but ESP32 microcontrollers (which do have OTA updates and a partitionable filesystem on top of their Flash) require you to partition two app partitions and OTA is done by downloading into the spare one, verifying, and then flipping the bit which indicates which one to boot.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.