-
|
Hi, Would anyone know how to enable I2C on raspberry pi 4B with OpenWRT 1.4.0 release? I am currently trying to enable I2C on the RPI 4B to interface with the Waveshare UPS boards. I am following the instruction from OpenWRT website, Using I2C and SPI. However, when I attempt to install the additional kernel module I get the error root@rpi-halow-00:~# opkg install kmod-i2c-bcm2835
Unknown package 'kmod-i2c-bcm2835'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.167-1-ff3c8e5d13ba51d6e12024010af1a071) for kmod-i2c-bcm2835
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-i2c-bcm2835 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-i2c-bcm2835.
I have updated But I don't see any additional I2C devices in Any help will be much appreciated. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Finally gotten around to taking another look at this. When I built the OpenWRT image locally, the output DIR |
Beta Was this translation helpful? Give feedback.
Finally gotten around to taking another look at this.
When I built the OpenWRT image locally, the output DIR
bin/target/<platform>/<target>/, actually contains the modulekmod-i2c-bcm2835. After copying the module over and installing, I2C controllers now show up in/dev.