http://man7.org/linux/man-pages/man8/hwclock.8.html
*-f*, *--rtc=**filename*
Override *hwclock*'s default rtc device file name. Otherwise it
will use the first one found in this order:
*/dev/rtc*
*/dev/rtc0*
*/dev/misc/rtc*
For *IA-64:*
*/dev/efirtc*
*/dev/misc/efirtc*
On Sun, Jan 10, 2016 at 9:35 AM, Robert Hurd <[email protected]> wrote:
> I've added an external battery backup real time clock (Adafruit's
> Chronodot) via I2C to my BBB. I've successfully managed to add it as a
> module in Debian 8.2 using Adafruit guide
> <https://learn.adafruit.com/adding-a-real-time-clock-to-beaglebone-black/set-rtc-time>,
> and it is now accessible via hwclock using the override command *hwclock
> -r -f /dev/rtc1*.
>
> Reading around the web it states that the system time, synced with NTP,
> can automatically write the current system time every 11 minutes to the
> hwclock. The default hwclock is /dev/rtc0 which isn't backed up with a
> battery. Is it possible to change the default hwclock to always be
> /dev/rtc1? Or will hwclock automatically update both /dev/rtc0 and
> /dev/rtc1 with the system time?
>
> Thank you for your time.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.