Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0

Stefan Parvu sparvu at kronometrix.org
Thu Jul 18 20:49:54 UTC 2019


> 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 




More information about the freebsd-arm mailing list