[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: GPIO on SUNXI H3
Hi Sascha --
I added support for this yesterday morning. Are you running at least r1.11
of the SUNXI kernel config?
Also because of some (annoying IMHO) securelevel restrictions you need to
configure the pins before securelevel is raised to 1.
Put this in /etc/gpio.conf:
gpio0 15 set out error_led
And in /etc/rc.conf:
Hope this helps!
On Fri, 7 Jul 2017, wilde%sha-bang.de@localhost wrote:
I see that there is an sunxi_gpio which is build, too with the SUNXI
kernel, but the gpio seems not to be initialized with the kernel, i see
nothing matching in the boot messages and gpioctl doesn't work:
# gpioctl gpio0 15 set out error_led
gpioctl: /dev/gpio0: Device not configured
is this a known issue, or a problem with my dtb?
Main Index |
Thread Index |