Two questions need your kind support.
I am using Debian9 OS with BeagleBoneBlack Rev C.
1, Everytime after reboot the system datetime would reset to the original manufacture date. Is there any solution to keep datetime without networking and battery?
2, How to config the power or linux so that when push the power button during running, it would trigger the linux shutdown instead of cut off the power directly in order to protect the system?
2: Well the “power” button on the BBB is wired as a “POWER_KEY” so linux will proceed down a proper shutdown path. (your application running might not like that)… If you hold the button for 8 seconds, that works the same as yanking the plug. To better protect your system, take a look at the “overlayroot” option, that is now installed by default on the latest beagleboard.org images. It does take a little bit of ram, but the main os is left in a Read Only state to better protect the root file system…
Currently，When I press the “power” button(the red circle mark) normally (not holding 8 secs), the system would not proceed down a shutdown path but nothing happens. I hope after press this button it can trigger linux shutdown. How can I config linux or do some development work here?Can you give some detail instructions?