The supercap method mentioned above does indeed sound interesting.Better than the idea I had( just briefly thinking about it ) Which was to use a battery to supply power to the BBB, and have something like an msp430 signal the BBB when the mains go down. Obviously it is more complex than this, but not by a lot.
On Tue, May 27, 2014 at 11:56 AM, Florian Hänel <[email protected]>wrote: > On 27.05.2014 19:45, Dr. Michael J. Chudobiak wrote: > >> A battery powered > >> cape for a graceful power-down might be option. I don't have the > >> knowledge to design/build one (relatively) easily. > > > > On the BeagleBone white, I use a 5F supercap on the "battery" > > terminals. When my hardware detects failing prime power it flags an > > input that my software watches for. My software then immediately uses > > the magic-sysrq to sync disks and remount as read-only, to protect the > > filesystem. The supercap provides just enough power/time to do that. > > > > Also, I use full data+metadata journaling on the filesystem (ext4). > > > > It's been very robust so far. > > > > - Mike > > > > Sounds cool and easy to implement hardware-wise. > Can you share the code for that? > > Florian > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
