Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SOLVED: DS1307 RTC kernel driver required for ROCK64 board

Featured Replies

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.

  • Author

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.

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.