Search the Community
Showing results for tags 'bananapir2pro'.
-
Hello Armbian Team I have one banana pi r2 pro board(https://wiki.banana-pi.org/Banana_Pi_BPI-R2_Pro). I used Armbian_community_24.5.0-trunk.667_Bananapir2pro_bookworm_current_6.6.31_minimal.img(https://github.com/armbian/community/releases/download/24.5.0-trunk.667/Armbian_community_24.5.0-trunk.667_Bananapir2pro_bookworm_current_6.6.31_minimal.img.xz) . I want to use 4 serial port. But when I tried to "cat" command, it gives Input/output error. I tried to screen too but it terminated immediately. it can see there is 7 uart interface ,but only ttyS2 works, for terminal how can I use other uart interfaces. :~# ls -l /dev/ttyS* crw-rw---- 1 root dialout 4, 64 May 24 14:17 /dev/ttyS0 crw-rw---- 1 root dialout 4, 65 May 24 14:17 /dev/ttyS1 crw------- 1 root tty 4, 66 May 24 14:22 /dev/ttyS2 crw-rw---- 1 root dialout 4, 67 May 24 14:17 /dev/ttyS3 crw-rw---- 1 root dialout 4, 68 May 24 14:17 /dev/ttyS4 crw-rw---- 1 root dialout 4, 69 May 24 14:17 /dev/ttyS5 crw-rw---- 1 root dialout 4, 70 May 24 14:17 /dev/ttyS6 crw-rw---- 1 root dialout 4, 71 May 24 14:17 /dev/ttyS7 Thanks, Best regards
-
i want to use led on/off 7 pin (gpio 40 header) but it doesn’t work. Others work fine: echo 20 > /sys/class/gpio/export echo 23 > /sys/class/gpio/export echo 40 > /sys/class/gpio/export echo 42 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio20/direction echo out > /sys/class/gpio/gpio23/direction echo out > /sys/class/gpio/gpio40/direction echo out > /sys/class/gpio/gpio42/direction echo 1 > /sys/class/gpio/gpio20/value echo 1 > /sys/class/gpio/gpio23/value echo 1 > /sys/class/gpio/gpio40/value echo 1 > /sys/class/gpio/gpio42/value May be problem in pwm10 pwm10 { pwm10m0-pins { rockchip,pins = <0x03 0x0d 0x05 0xab>; phandle = <0x9d>; }; pwm10m1-pins { rockchip,pins = <0x02 0x01 0x02 0xab>; phandle = <0x1f5>; }; dts attached from firmware - https://www.armbian.com/bananapi-r2-pro/ r2pro.dts