6

As mentioned in a comment to https://raspberrypi.stackexchange.com/a/19701/8697 and also in a few other places on this Forum "when the pi is shut down, pulling pin 5 low will make it boot up again"

I can find no reference to this supposed behaviour, although holding this pin low was supposed to boot in safe mode in older versions of Raspbian.

Indeed it does not work on my Pi Model B Revision 2. I can find no mechanism by which it could possibly work. The P6 connector makes the reset function accessible.

Have those proposing this tested this behaviour?

3
  • pulling +5V pin low will definitely make RPi boot up again, though this may put a lot of strain on your power supply. I2C pins generally have pull-up resistors connected to them, and pulling one down might results in the same effect like pulling +5V down, hence the probable reboot. personally, I would not rely on this nor use in any reasonable design.
    – lenik
    Jun 28, 2014 at 4:36
  • 1
    This is called the wake-from-halt function. This is implemented in the firmware. So you might need to update your Pi.
    – Gerben
    Jun 28, 2014 at 9:38
  • 1
    Where is this documented? When was it implemented? I last updated my pi rpi-update on 2014-05-17
    – Milliways
    Jun 28, 2014 at 11:05

1 Answer 1

10

When the pi is halted using sudo halt or similar, pulling pin 5 low will make it boot up again.

This is implemented in bootcode.bin as documented
http://elinux.org/RPI_safe_mode#Wake_from_Halt.5B1.5D

NOTE This will not reboot the Pi if the power has been interrupted.

The original Pi4 put the MxL7704 power management chip into a low power state when off - turning off the 3.3V supply and effectively totally shutting down the SoC. (I verified this by measuring the current.)
Unfortunately due to lobbying by a lot of luddites who had designed HATs that assumed 3.3V power was always available the EPROM is now configured by default to enable the MXL7704 PMIC when shut down. So you can now reboot by pulling pin 5 low.
It is possible to change this behaviour by modifying the Pi4 EEPROM. See Pi 4 Bootloader Configuration.

A reset button can be attached to the P6 header on Pi Model B Revision 2, which performs a similar reboot, and also works if the power has been interrupted.


EDIT The B+ and A+ have a Run header to reboot.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.