We're doing an embedded product based on BBB. So far everything looks good except one big HEADACHE: The product will always be powered off directly, and that some times may lead to BBB crash (actually it stays in emergency mode and our own application is not started). The boot info stops at:
Angstrom: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. (i.e., without -a or -p options)
Welcome to emergency mode! After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" to try again
to boot into default mode.
Give root password for system maintenance
(or type Control-D for normal startup):
Any suggestion on how to avoid this problem?