Alec Leamas Posted May 5 Posted May 5 Armbianmonitor: https://paste.armbian.com/xupacojuyu Has anyone found a working gpiolib implementation for Armbian on Orange Pi 5? I'm aware of wiringPi and it sort of works. However, being able to use the "real stuff" so to speak would make my life easier. 0 Quote
Alec Leamas Posted Monday at 12:33 PM Author Posted Monday at 12:33 PM hm... After some digging, it seems like one main problem, perhaps the only one, is the lack of gpio line naming. gpiolib is centered around the idea that lines are referenced using names rather than numbers. However, when listing the names they are all empty i. e. "". This makes it impossible to reference any line. This is obviously about boot/dtb. Moreover, while orangepi 5 successfully reuses the rockchip stuff, the actual names are board specific. I have never worked with the dtb/dts stuff. But assigning names to the connections should not be that complicated. Actually, names like "gpio0", "gpio1" etc reflecting physical lines should be fine. Any hint out there where to start? 0 Quote
Werner Posted Monday at 12:58 PM Posted Monday at 12:58 PM Quite a while ago I added GPIO names to the rock-3a. Perhaps you can get an idea how to do this. Source: https://docs.radxa.com/en/rock3/rock3a/hardware-design/hardware-interface#gpio-interface Implementation: https://github.com/armbian/build/pull/7403/changes 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.