or you can use buildroot with read-only fs. but ultimately we have made one 18650 lithium battery-backed UPS.
when power is out, gracefully shutdown and when power is good, start the am335x. giving us peace of mind. On Fri, Aug 30, 2019 at 4:23 AM Robert Nelson <[email protected]> wrote: > On Thu, Aug 29, 2019 at 2:23 PM <[email protected]> wrote: > > > > Dear sirs, > > > > We are working in a new project with a beaglebone black as main control > system. > > > > Our first difficult is wich OS or software arquitecture used to prevent > system corruption for multiple "not controlled shutdowns" (the system will > work inside a machine and the way to turn it off is cut electrical source) > Battery backup system is not a valid choice for us. > > RAM OS? More ideas? > > > > Yeah use a little pacakge called "overlayroot" newer image have it > installed by default.. > > If you dont: > > sudo apt update > sudo apt install overlayroot > > Then make sure to regenerate the initrd.. > > sudo update-initramfs -uk `uname -r` > > Then in /boot/uEnv.txt append this variable to your existing cmdline > settings. > > cmdline=(existing settings) overlayroot=tmpfs > > Then reboot, your system is now "Read Only".. > > > So Beyond that, what's really really nice about overlayroot, you can > login and actually write stuff to the drive by doing: > > sudo overlayroot-chroot > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/CAOCHtYjEhoi2Xc0oe23WnhHjmNox1%3DZSp%3DAvU5pnj85tbQvxMg%40mail.gmail.com > . > -- Yiling Cao http://ariaboard.com/ http://shanghainovotech.com/ -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAMMUdp%2BK7RbJg_BesowOb9UL-g%2B4zhCpOmLj3YUA-VAf%2BRTi%2BA%40mail.gmail.com.
