Hi,
I’ve been following the Development Guide to start using GPIO but there are a few problems for which there is no explanation on the wiki. I’m using the latest Ubuntu server image: 4.19.193-56-rockchip-gf62b47f70096. The system is up-to-date.
mraa is installed and lists gpio properly, haven’t tested the binary pins though because it’s the least relevant to me (it will be important, but later). The worst problem that I have is that none of the I2C buses from the GPIO pins are visible. I suppose that it is because they’re not enabled but there is no /boot/uEnv.txt file to enable the required overlays.
There is however the /boot/config.txt file which looks as if it allowed for enabling the overlays. It doesn’t do anything though. All I know is that i2c2 and i2c3 are NOT visible in the OS. I haven’t checked yet but most likely all other interfaces are also non-functional.
Can anything be done to fix this?
I’d also like to mention that I’ve had no problems on 4C+.