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
--
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 beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
HI WIlliam,Thank you for getting back to my post, really appreciate your time.However, your solution is the same approach as I mentioned my initial post (hwclock -r -f /dev/rtc1).
Actually, on reflection there's another file that should be edited and not the one I posted above.root:# nano /etc/default/hwclock
--
I also had to change the default rtc... I managed it by recompiling the kernel. In the menu config you can specify the default rtc....
Robert, when using rtc0, did you also use .../i2c-adapter/i2c-0... ?
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/03a7b32a-3e38-44f1-8f1e-9725ed24f05a%40googlegroups.com.
I don~t think Robert recompiled the kernel. I am using 3.8.13 Debian.
--
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 beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/4e6fdc99-4137-4c04-8c1d-72fa9de5a6a4%40googlegroups.com.
The best way I found for myself. Was to simply install ntpdate, run it, then update the external real clock from system time. Then, if you *absolutely* need rtc0 updated. You update it from the system time. Or rtc1. No need to recompile the kernel.Sure, it's a couple of extra steps, but steps that can be done at boot with a simple script / service. Then if you need, or want to update the real time clock. Since time on computer can drift. You run a cron job every X time frame to run a script that pulls in system time from an atomic clock, then re-apply to rtc1.
On Sun, Oct 9, 2016 at 3:21 PM, maxmike <maxmi...@gmail.com> wrote:
I don~t think Robert recompiled the kernel. I am using 3.8.13 Debian.
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/4e6fdc99-4137-4c04-8c1d-72fa9de5a6a4%40googlegroups.com.
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORqDsbBWiO%2BJOUPuaeAsG1O%2B4dxiP6G3PqUkOxE1GeVhgA%40mail.gmail.com.