nwk Posted March 14, 2018 Posted March 14, 2018 Hello. I change from diet pi to my own compilation of armbian with rt kernel patch (orangepi zero) In dietpi the my python code run perfectly the lcd screen (GPIO) but in armbian the code fail. When I try to install GPIO with : sudo modprobe sunxi-gpio The output is: modprobe: FATAL: Module gpio-sunxi not found in directory /lib/modules/4.13.9-rt1-sunxi Very thanks How I can repair this? pd: I enabled all gpio overlays in armbian-config Also, I founded this, but I dont understand What is proposed here is for all pins or only for the ones set, and if this can work with I2C, Spi, etc... Thanks a lot in advances. nwk
Igor Posted March 14, 2018 Posted March 14, 2018 I am not sure what you are trying to achieve, but I2C LCD display certainly works on Opi Zero. You need to enable I2C bus with overlay and use appropriate drivers for your LCD. In my case, I use display library from @Larry Bank https://github.com/bitbank2/oled_96 I would propose to start with our normal build. RT is considered experimental feature and we don't deal with it very much and also not support. The (modern) kernel for H3 is fragile already without and we still label it "testing", not yet "stable". I have no idea how you could build a kernel 4.13.9-rt1-sunxi in first place. We are at 4.14.y for some time. 4 hours ago, nwk said: How I can repair this? Use our latest official kernel/build and enable only those you need. Below on the picture, you can see real-world example - some mini project on my desk with Opi Zero and OLED display, which is working perfectly fine with http://ix.io/WTy
Larry Bank Posted March 14, 2018 Posted March 14, 2018 6 hours ago, Igor said: I use display library from @Larry Bank https://github.com/bitbank2/oled_96 Thanks for mentioning that @Igor, I share a lot of code, but rarely get any feedback that people are using it. 3
Recommended Posts