johnirak
Posts: 7
Joined: Fri Nov 20, 2015 12:34 am

Set GPIO high at boot causes kernel panic at shutdown

Sat Oct 05, 2019 1:22 pm

I’m using a raspberry pi zero 1.3.
I'm trying to set a GPIO pin high at boot and keep it high until shutdown.
I added this line in config.txt which sets high gpio 5.

Code: Select all

dtoverlay=gpio-poweroff:gpiopin=“5”,active_low="y"
When I hit in command prompt

Code: Select all

sudo shutdown -h now
I get a kernel panic after shutdown and the raspberry pi hangs there. See the image.
Image

I found other topics with the same issue. Is this a normal behaviour?
I have tried 2019-09-26-raspbian-buster and retropie-4.5.1-rpi1_zero.img. Both have the same issue.

Return to “Beginners”