SOLVED: DS1307 RTC kernel driver required for ROCK64 board


Recommended Posts

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 by turkerali
Problem solved.
Link to post
Share on other sites
Donate and support the project!

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 post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...