Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0
Stefan Parvu
sparvu at kronometrix.org
Thu Jul 18 22:31:15 UTC 2019
2hrs test:
* time was correct
* but system log showed:
nxprtc0: <NXP PCF2129 RTC> at addr 0xa2 on iicbus0
nxprtc0: WARNING: RTC battery failed; time is invalid
nxprtc0: registered as a time-of-day clock, resolution 0.015625s
nxprtc0: RTC clock not running
* after I did kldunload / load I got:
nxprtc0: detached
iicbus0: <unknown card> at addr 0xa2
nxprtc0: <NXP PCF2129 RTC> at addr 0xa2 on iicbus0
nxprtc0: registered as a time-of-day clock, resolution 0.015625s
I will run a longer test (6-8hrs) and as well test Raspbian on this hdw to really rule out
hardware probalems
Stefan Parvu
sparvu at kronometrix.org
> On 18 Jul 2019, at 23.49, Stefan Parvu <sparvu at kronometrix.org> wrote:
>
>> warning: KLD '/boot/kernel/nxprtc.ko' is newer than the linker.hints file
>> nxprtc0: <NXP PCF2129 RTC> at addr 0xa2 on iicbus0
>> nxprtc0: registered as a time-of-day clock, resolution 0.015625s
>
> ok. that was just an warning. I re-created anyway the linker.hints and
> now that warning is gone.
>
> anyway, here the main issue:
>
> If I keep my RBPI 10 minutes down, no power, all good, time is correctly kept
> and displayed.
>
> $ date
> Thu Jul 18 20:46:21 UTC 2019
>
> $ kldstat
> Id Refs Address Size Name
> 1 9 0xffff000000000000 13d1480 kernel
> 3 1 0xffff000001415000 40ea8 nxprtc.ko
> 4 1 0xffff000053600000 41000 tmpfs.ko
> 5 1 0xffff000053641000 31000 mac_ntpd.ko
>
> $ dmesg | grep nxp
> nxprtc0: <NXP PCF2129 RTC> at addr 0xa2 on iicbus0
> nxprtc0: registered as a time-of-day clock, resolution 0.015625s
>
> I will try to keep it off now for +1hr - and then I bet the problems start to show.
>
> Stefan
>
>
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
More information about the freebsd-arm
mailing list