Set GPIO at boot on Raspberry Pi

Toby misc.lists at fsck.ch
Sun Dec 20 17:18:14 UTC 2015


Hi all

Is there a way to set GPIOs at boot? I'd like to set GPIO 28 to out and
high before usb devices are probed, in order to be able to use my usb
disk. If I have it plugged in during boot, I can't get it to work. It
works though if I boot the pi, then plug in the disk and then set the
pin to high.

Thanks,
Toby


More information about the freebsd-arm mailing list