We are using Beagle Bone BlackREVC3 module. We are using 3.6V battery /600mAh capacity for the safe shutdown if power fails. All things found working, means battery charging, backup found ok. But for below test case we found BBB hangs.
Test Condition :
BBB supplied via mains (5V) & also battery connected as per guidelines.
2.We removed the mains supply(5V), BBB switch supply to battery supply & found working, Then we sent “power off” command to BBB module. It turns off & if we connected mains supply within 3 seconds , BBB found hangs. Reset switch , debug port not found working. Again after removing & applying mains supply to BBB module, it BOOT UP.
After “POWER OFF” command, If we connect mains supply after 5 seconds, no issue observed.
The starting point is getting a linux port debug connected and monitor the boot process. Then you will see where it hangs. Use gtk term and set it up to log. Also, look at how systemd is configured, if you are waiting for the network to come up that will prevent some services from starting and make it appear to hang. Just way too many issues to begin guessing, you need actual boot sequence information.
not sure what image your using
Debian Bullseye IoT Image 2023-09-02
with this image, following your test case
I have to press the “POWER” button to get the BBB to boot again.
even if I wait longer than 5 seconds after the serial console displays “reboot: Power down”
i’m running from an sdcard.