Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0

Stefan Parvu sparvu at kronometrix.org
Wed Feb 19 19:12:27 UTC 2020


Hi,

Testing now RBPI3B+ on latest FreeBSD 12.1 release. 
FreeBSD k1 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC  arm64


> The bottom line is that you need to rebuild the nxprtc driver with this
> patch applied:
> 
> https://svnweb.freebsd.org/base/head/sys/dev/iicbus/nxprtc.c?r1=350016&r2=348184&view=patch <https://svnweb.freebsd.org/base/head/sys/dev/iicbus/nxprtc.c?r1=350016&r2=348184&view=patch>

Just to make sure: this patch should be already under FreeBSD 12.1 release ? Correct ? 

I see correctly the device:

% dmesg | grep nxp
nxprtc0: <NXP PCF2129 RTC> at addr 0xa2 on iicbus0
nxprtc0: registered as a time-of-day clock, resolution 0.015625s


% sysctl -b hw.fdt.dtb | dtc -I dtb -O dts | grep pcf
			pcf2129 at 51 {
				compatible = "nxp,pcf2129";

Thanks,
stefan


More information about the freebsd-arm mailing list