1st post here.
I want to implement some form of safe power removal on the RPi 4 and I thought I could make use of the GPIO POWEROFF overlay feature.
I have read that this works on the RPi 3/3B but does not work on my RPi 4.
RPi 4, 2GB ram.
Installed latest <recovery> bootloader rc3.3 which keeps the 3.3V rail powered after shutdown and enables WAKE ON GPIO.
I am running the current version of Raspbian.
In the /boot/config.txt I enable dtoverlay gpio-poweroff.
When I issue a shutdown or halt -p (same thing I believe) I get the following message:
I have tried different gpio pins and states (active_low, active_high) but the result is the same.
Code: Select all
reboot: Power Down Kernel panic - not syncing: Attempted to kill init! exitcode 0x00000000 CPU: 0 PID: 1 Comm systemd-shutdow Taintcd: G WC 4.19.66-v71* #1253 etc...etc... end Kernel panic
Is this a bug in the bootloader/Raspbian or something I am not doing correctly?