Alec Leamas Posted Tuesday at 08:14 PM Posted Tuesday at 08:14 PM 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 1 hour ago Author Posted 1 hour ago 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 1 hour ago Posted 1 hour ago 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.