Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

Compute Module • Re: Auto‐restart CM after shutdown (Halt state)

$
0
0

Code:

root@raspberrypi:~# vcgencmd bootloader_config[all]BOOT_UART=1POWER_OFF_ON_HALT=0BOOT_ORDER=0xf41
if you shutdown with POWER_OFF_ON_HALT=1 set, then the firmware will signal to the PMIC to shut off all power rails
then the RUN_PG pin has no effect on things, and the only way to wake it is by pulling GLOBAL_EN low
but pulling GLOBAL_EN low can also cause an improper shutdown if the system is currently running

if you instead shutdown with POWER_OFF_ON_HALT=0, then the firmware will put the SoC into a low-power mode
while in that state, you can pull GPIO3 i think it was low, and the SoC will boot up again, with no risk of an improper shutdown
you can also pull RUN_PG low to force a reset and get it booting again, but that runs a risk of an improper shutdown if it was already on

Statistics: Posted by cleverca22 — Thu Jul 31, 2025 12:46 pm



Viewing all articles
Browse latest Browse all 8609

Trending Articles