turkerali Posted November 21, 2018 Share Posted November 21, 2018 (edited) Gentlemen, I have a rock64 board, and I would like to use an external RTC module with DS1307 chip. Unfortunately the armbian kernel does not provide DS1307 driver by default: root@rock64:~# cat /boot/config-4.4.162-rockchip64 | grep DS1307 # CONFIG_RTC_DRV_DS1307 is not set I don't have the programming skills for sending a pull request to enable this module. Could you please enable this module for ROCK64? I believe other ROCK64 owners may also benefit from this driver, as the board does not expose a working RTC, and DS1307 is a very common RTC chip. Thanks in advance. Edited November 21, 2018 by turkerali Problem solved. Link to comment Share on other sites More sharing options...
guidol Posted November 21, 2018 Share Posted November 21, 2018 Do you want to use a I2C DS1307 module? Or how do you want to connect the DS1307? Link to comment Share on other sites More sharing options...
turkerali Posted November 21, 2018 Author Share Posted November 21, 2018 I have an external RTC module, which I bought from from AB electronics for my Rasberry Pi (see https://www.abelectronics.co.uk/p/70/rtc-pi). As the pinouts for Raspberry Pi and Rock64 are same, I can connect this RTC module to the ROCK 64 board and i2cdetect detects the module with some minor tweaks. The only missing part is the DS1307 kernel driver. I can change the armbian config and compile my own kernel, but I don't want to do that again and again whenever the kernel gets updated. Therefore if the CONFIG_RTC_DRV_DS1307 option is set to "m" in the default config, every ROCK64 owner can use DS1307 based external RTC modules with the default armbian kernel. I can even write a howto for that. Link to comment Share on other sites More sharing options...
turkerali Posted November 21, 2018 Author Share Posted November 21, 2018 I had to recompile the Armbian kernel for the DS1307 RTC Module. The details are in this thread: https://forum.armbian.com/topic/8856-solved-how-to-add-an-external-rtc-module-to-rock64-board/ Link to comment Share on other sites More sharing options...
bazooka07 Posted November 22, 2018 Share Posted November 22, 2018 I2c-1 is enabled by default. Look at this thread : Link to comment Share on other sites More sharing options...
Recommended Posts