cami-fr Posted February 1, 2018 Posted February 1, 2018 Is there a way to set GPIO pin modes and values (much) earlier than a script running in /etc/init.d/ ?
DjangoFingers Posted February 14, 2018 Posted February 14, 2018 I'm trying to figure this out as well The Fex guide tells me to use [gpio_init] in the /boot/script.bin, but it doesn't do anything.
DjangoFingers Posted February 14, 2018 Posted February 14, 2018 I managed to get it working. You have to compile the kernel with CONFIG_GPIO_SUNXI=y, this will read the [gpio_para] section from the fex. Then you can set it up according to the guide.
Recommended Posts