Hi,
Just started playing with BananaPi (I have M2Berry model) and installed Armbian from Armbian download page: Armbian_23.5.2_Bananapim2ultra_bookworm_current_6.1.30_minimal (connecting with board over UART/SSH - no need for desktop at this moment).
Wanted to use GPIO, however using sysfs do not work as expected:
root@bananapim2ultra:~# echo "24" > /sys/class/gpio/export
-bash: echo: write error: Unknown error 517
root@bananapim2ultra:~# echo "24" > /sys/class/gpio/export
-bash: echo: write error: Device or resource busy
Went with lsmod to check modules but having only:
root@bananapim2ultra:~# lsmod | grep gp
gpu_sched 28672 1 lima
Same for modprobe:
root@bananapim2ultra:~# modprobe gpio
modprobe: FATAL: Module gpio not found in directory /lib/modules/6.1.30-sunxi
It looks like the kernel do not have gpio module, which is really strange since the GPIO is main feature for such boards. Running armbian-config - maybe I will find something.
Can somebody help me out a little with it?