Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0
Stefan Parvu
sparvu at kronometrix.org
Wed Jul 17 12:13:49 UTC 2019
I have tried the following:
* under FreeBSD 12 RELEASE (using default image) I tried to fetch from svn.freebsd.org <http://svn.freebsd.org/>
the CURRENT source codem which should include the latest fix for nxprtc
# uname -a
FreeBSD k50dev 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC arm64
# svnlite checkout https://svn.freebsd.org/base/head /usr/src
# cd /usr/src/sys/dev/iicbus
# svnlite info nxprtc.c
Path: nxprtc.c
Name: nxprtc.c
Working Copy Root Path: /usr/src
URL: https://svn.freebsd.org/base/head/sys/dev/iicbus/nxprtc.c
Relative URL: ^/head/sys/dev/iicbus/nxprtc.c
Repository Root: https://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 350079
Node Kind: file
Schedule: normal
Last Changed Author: ian
Last Changed Rev: 350016
Last Changed Date: 2019-07-15 21:47:40 +0000 (Mon, 15 Jul 2019)
Text Last Updated: 2019-07-17 10:43:33 +0000 (Wed, 17 Jul 2019)
Checksum: f724d6513c0ac5b29ebf8be65d717faa98aa52cb
So this includes the latest and the greatest. I must rebuild the kernel right, including all drivers and
everything to get nxprtc compiled ? Is this right ? I cannot build only a single driver or only iicbus ?
Thanks,
Stefan Parvu
sparvu at kronometrix.org
> On 17 Jul 2019, at 12.27, Stefan Parvu <sparvu at kronometrix.org> wrote:
>
>> 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>
>
>
> okay. Let me see if I can do this. Some questions:
>
> * can I build only the driver without rebuilding all kernel components ?
>
> * most likely I need the kernel source code, apply the patch for nxprtc driver and build the driver
>
> * If I build the driver on a FreeBSD 12.0 development env can I take the resulting driver and
> copy it over to different vanilla FreeBSD 12.0 RELEASE installations ?
>
> Thanks,
> 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