Date: Wed, 17 Jul 2019 15:13:39 +0300 From: Stefan Parvu <sparvu@kronometrix.org> To: freebsd-arm@freebsd.org Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Message-ID: <BE321299-8569-4B2E-98FD-FD5210E1B6AF@kronometrix.org> In-Reply-To: <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> References: <41A4CA5C-B487-490F-8A19-2D51F43E1004@kronometrix.org> <95616620-bbaf-dbc3-49eb-3e2562638d49@bunyatech.com.au> <AB510253-52D9-469C-B06E-5EC73C5F188E@kronometrix.org> <fd9991c4e6aaccb812a59ff86c9c8564ebd1d767.camel@freebsd.org> <74E3E782-8481-4B5B-A0AF-A04590C27D6D@kronometrix.org> <790afcb5f0809a89b45982958a85f1539fec05c7.camel@freebsd.org> <36088812-2135-4433-BC49-0BC433EC6767@kronometrix.org> <c52f9d9ab358ac0dc09af411bf97625945579b4e.camel@freebsd.org> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I have tried the following: * under FreeBSD 12 RELEASE (using default image) I tried to fetch from = svn.freebsd.org <http://svn.freebsd.org/>=20 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, =20 Stefan Parvu sparvu@kronometrix.org > On 17 Jul 2019, at 12.27, Stefan Parvu <sparvu@kronometrix.org> wrote: >=20 >> The bottom line is that you need to rebuild the nxprtc driver with = this >> patch applied: >>=20 >> = https://svnweb.freebsd.org/base/head/sys/dev/iicbus/nxprtc.c?r1=3D350016&r= 2=3D348184&view=3Dpatch = <https://svnweb.freebsd.org/base/head/sys/dev/iicbus/nxprtc.c?r1=3D350016&= r2=3D348184&view=3Dpatch> >=20 >=20 > okay. Let me see if I can do this. Some questions: >=20 > * can I build only the driver without rebuilding all kernel components = ? >=20 > * most likely I need the kernel source code, apply the patch for = nxprtc driver and build the driver >=20 > * If I build the driver on a FreeBSD 12.0 development env can I take = the resulting driver and=20 > copy it over to different vanilla FreeBSD 12.0 RELEASE installations ? >=20 > Thanks, > Stefan > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BE321299-8569-4B2E-98FD-FD5210E1B6AF>