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.

How to use I2C DS1307 RTC early in boot?

Featured Replies

I have a Nanopi R2s but this is generic to most boards without an inbuilt battery backed RTC.

I have added a battery backed 1307 module on the I2C bus and gone through the process of getting it recogised and used. As far as it goes that's fine.

 

The problem is the RTC is only read late in the boot process so the first part of the syslog record has incorrect date and time.

 

Is there any way to force systemd to process the 1307 at the very start? I tried hacking the non-battery backed RTC script but it didn't take.

Another option is to get the pre-systemd processes to read from the 1307 and set the inbuilt RTC before systemd starts using it?

 

Suggestions appreciated.

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.