[time-nuts] 5370 processor boards available
shalimr9 at gmail.com
Thu Feb 27 09:40:18 EST 2014
The BBB has 2GB of flash on board (non removable) and has a micro SD socket. Would not be too hard to keep a backup copy of the OS and apps on the SD card so that it would be easy to boot from SD and reload the built-in flash if the BBB fails to boot from the built-in image.
That would not be a replacement for a workable, safe boot process that can be interrupted without trashing the file system. Just a few days ago, an overnight storm caused power to flicker maybe 5 times in less than a minute. My Raspberry Pi managed to survive it, but I am not sure that will always be the case.
I think a super cap with proper shutdown routine would probably the easiest to implement. Alternately, running the flash read only, copy OS, apps and everything else to a RAM disk and run from the RAM disk would probably be the safest. Not sure you can do that with 512MB of RAM without some serious pruning of the Linux kernel.
On February 27, 2014 2:26:13 AM CST, Hal Murray <hmurray at megapathdsl.net> wrote:
>> I think a better solution would be to find a very large "super cap"
>> power the BBB from that while giving it a power fail interrupt to
>> sync the file system.
>The advantage of something like the BBB is that it runs Linux so you
>nice environment in which to run your code. The disadvantage of Linux
>that it's complicated and you have things like file systems that can
>trashed. Now, in addition of being the sysadmin for your PC(s), you
>be an admin for your lab gear. That may be more "interesting" that you
>expecting. A friend reports that his scope caught a virus...
>The Linux ext4 file system is pretty robust. There are lots of PCs out
>that mostly survive power failures.
>If I was worried about the file system getting trashed on power off,
>on the software long before I added a super-cap. I think my first try
>be to run the file system read-only until I figured out that I needed
>write a file. Then I would know something about how much data I wanted
>write and the usage patterns.
>You can help a lot with flush() in the right places in your code. That
>cost performance if you are writing a lot of data.
>Another approach is to make sure you can put the "disk" back together
>and quickly. Then it's not such a big deal if/when the disk gets
>That's probably a good idea anyway. Power fail isn't the only thing
>trash a disk.
>It shouldn't take much more than a simple script to format the disk and
>over all the bits from a backup place on a PC. Maybe it's install the
>standard distro package and then add your bits. (That's assuming you
>take the disk out of the BBB and plug it into a PC.)
>These are my opinions. I hate spam.
>time-nuts mailing list -- time-nuts at febo.com
>To unsubscribe, go to
>and follow the instructions there.
Sent from my Motorola Droid Razr 4G LTE wireless tracker while I do other things.
More information about the time-nuts