Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2018 11:43:33 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        Stefan Parvu <sparvu@kronometrix.org>, freebsd-arm@freebsd.org
Subject:   Re: FreeBSD 12.0 RBPI3B+ and hardware clock support
Message-ID:  <1542825813.56571.77.camel@freebsd.org>
In-Reply-To: <70D1E906-D92A-4413-9327-DE1779E479E8@kronometrix.org>
References:  <70D1E906-D92A-4413-9327-DE1779E479E8@kronometrix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2018-11-21 at 20:31 +0200, Stefan Parvu wrote:
> Hi,
> 
> What is the status regarding FreeBSD 12.0 on RBPI3B+ regarding
> support for
> a hardware clock ? Do we have support only for Maxim DS chipsets ? 
> 
> I download the latest 12.0 RC1 can I simple use the hardware clock
> without rebuilding anything or
> do I really still need to build a new kernel ? 
> 
> Thank you,
> Stefan

We have support for most major/popular i2c-based realtimeclock chips.
They all get built as modules, so there is no need to build a custom
kernel. You probably will need to identify the chip type and add a
load_xxxxx=YES to /boot/loader.conf to get the right driver loaded. Let
me know which chipset you're using and I can tell you which driver.

You also need an FDT overlay to assign the i2c bus pins and enable the
bus and rtc drivers. Someone else will have to help with that part.

-- Ian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1542825813.56571.77.camel>