2017-02-10, 04:48 PM
The power loss thing is really annoying because if you interrupt a write, it can corrupt the boot partition making the next boot fail.
The only solution I have is:
1) use second sd card on gpio, for writing and keep primary read only
2) ups system... I designed a board that uses super capacitors to give 30 seconds and
it is cheaper to build compared to battery version. This won't work if corrupted before the capacitors get a chance to fully charge, I guess the battery can last for several attempts?
3) use external usb flash drive, and sd card as readonly for boot
Too bad there isn't a way to disable hardware wear leveling and instead implement it in software so that read-only partitions would not face corruption...
The only solution I have is:
1) use second sd card on gpio, for writing and keep primary read only
2) ups system... I designed a board that uses super capacitors to give 30 seconds and
it is cheaper to build compared to battery version. This won't work if corrupted before the capacitors get a chance to fully charge, I guess the battery can last for several attempts?
3) use external usb flash drive, and sd card as readonly for boot
Too bad there isn't a way to disable hardware wear leveling and instead implement it in software so that read-only partitions would not face corruption...