i ma using Armbian 23.02.2 Bullseye with Linux 5.15.93-rockchip64. i connected the rtc ds1307, the ran
i2cdetect -y 1
. That does not show the any connected module.
I checked in /boot/config-5.15.93-rockchip64
, and there CONFIG_RTC_DRV_DS1307=y
.
Am I missing something? why it is finding the rtc module?
RTC ds1307 is not connecting rockpi4c+
Probably you did not load the I²C overlay. Lookup the pinout of the board, check where you have connected your RTC (I²C 7 typically), enable it. In Armbian, run
$ sudo armbian-config
select System|Hardware, tick the I²C bus, reboot.
Note that the RTC driver will occupy the addresses of your RTC, i.e. i2cdetect will show UU.
in this OS, the armbian-config
config is not available. probably the reason is that it is a minimal version of os. how can I do that without armbian-config? or can I even install armbian-config ?
I doubt there are Armbian images without armbian-config. Sure you did
sudo armbian-config ?
Otherwise I would suggest to install it:
sudo apt install armbian-config
If you really want to do it by hand, die Armbian documentation is your friend, for instance