trillobite Posted October 6, 2020 Share Posted October 6, 2020 I was able to install an ebay 18650 UPS on my ROC-RK3328-CC, and found out in the instructions that it also has an RTC Module. I would like to utilize that feature, if possible, but I am not entirely sure how to go about it. I have used the armbian-config to enable i2c7, and... that's pretty much as far as I got. Viewing the instructions under "How to setup and check the RTC module:" https://wiki.52pi.com/index.php/UPS_(With_RTC_%26_Coulometer)_For_Raspberry_Pi_SKU:_EP-0118 The instructions call to use modprobe i2c-bcm2835 however, it doesn't appear that my copy of Armbian 20.08.7 Buster has this driver. Is there another way to setup an RTC Module? I2C is a completely new topic for me, and not something I have worked with before, thanks in advance 0 Quote Link to comment Share on other sites More sharing options...
trillobite Posted October 7, 2020 Author Share Posted October 7, 2020 It appears that I have these drivers: $ ls /lib/modules/$(uname -r)/kernel/drivers/i2c/busses i2c-cadence.ko i2c-cbus-gpio.ko i2c-diolan-u2c.ko i2c-meson.ko i2c-mv64xxx.ko i2c-robotfuzz-osif.ko i2c-taos-evm.ko i2c-tiny-usb.ko $ls /lib/modules/$(uname -r)/kernel/drivers/rtc rtc-ac100.ko rtc-cadence.ko rtc-ds1347.ko rtc-fm3130.ko rtc-m41t93.ko rtc-mcp795.ko rtc-pcf85063.ko rtc-pcf8583.ko rtc-rs5c348.ko rtc-rx4581.ko rtc-rx8581.ko rtc-x1205.ko rtc-as3722.ko rtc-ds1302.ko rtc-ds1390.ko rtc-hid-sensor-time.ko rtc-m41t94.ko rtc-meson-vrtc.ko rtc-pcf8523.ko rtc-r9701.ko rtc-rv3028.ko rtc-rx6110.ko rtc-s35390a.ko rtc-bd70528.ko rtc-ds1305.ko rtc-ds3232.ko rtc-isl12026.ko rtc-max6902.ko rtc-pcf2123.ko rtc-pcf85363.ko rtc-rc5t583.ko rtc-rv3029c2.ko rtc-rx8010.ko rtc-s5m.ko rtc-bq32k.ko rtc-ds1343.ko rtc-em3027.ko rtc-m41t80.ko rtc-max6916.ko rtc-pcf2127.ko rtc-pcf8563.ko rtc-rc5t619.ko rtc-rv8803.ko rtc-rx8025.ko rtc-sd3078.ko 0 Quote Link to comment Share on other sites More sharing options...
TonyMac32 Posted October 19, 2020 Share Posted October 19, 2020 Remember the bcm2835 is the RPi SoC, you'll find no drivers for that mess in an Armbian distro for another SoC. You need to see if I2C is enabled via overlay for your board, and if you have an overlay for the specific RTC, in this case looking at your documentation rtc-ds1307. If you don't want the kernel to be using it, you should be able to probe for it on I2C0 and use some reference materials on the web to operate it: 0 Quote Link to comment Share on other sites More sharing options...
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.