Date: Fri, 17 Apr 2015 09:20:23 +0200 From: Milan Obuch <freebsd-arm@dino.sk> To: Luiz Otavio O Souza <lists.br@gmail.com> Cc: freebsd-arm@freebsd.org Subject: Re: Chronodot on RPI Message-ID: <20150417092023.39cb8829@zeta.dino.sk> In-Reply-To: <CAB=2f8xesDjDkUc7xr0N5fJNThLW2B-52k5UukSjAsQK12We6Q@mail.gmail.com> References: <CAFuo_fzzGV%2B=FcQ=bqxeAQBL9kGusDfW=t5oF6og2kOrN8WZZQ@mail.gmail.com> <CAB=2f8xesDjDkUc7xr0N5fJNThLW2B-52k5UukSjAsQK12We6Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Mar 2015 00:46:14 -0300 Luiz Otavio O Souza <lists.br@gmail.com> wrote: > On 1 March 2015 at 16:12, Waitman Gobble wrote: > > Anyone have luck with the ChronoDot (D3231) on Raspberry Pi? > > I have a RPI B+ (rev 1), tried with HEAD r277133 and r279488 > > without luck. [ snip ] > Hi, > > I've just committed a driver for DS3231 (r279399), I'm using a > different breakout board but chronodot will work just fine. [ snip ] > The ds3231(4) settings can be viewed with sysctl dev.ds3231 [ snip ] Hello, I just received my DS3231 test board, rebuild kernel and activated appropriate DTB in boot. After first restart I've got # dmesg | grep ds3 ds32310: <Maxim DS3231 RTC> at addr 0xd0 on iicbus1 ds32310: oscillator has stopped, check the battery. ds32310: registered as a time-of-day clock (resolution 1000000us, adjustment 0.500000000s) Next restart, just # dmesg | grep ds3 ds32310: <Maxim DS3231 RTC> at addr 0xd0 on iicbus1 ds32310: registered as a time-of-day clock (resolution 1000000us, adjustment 0.500000000s) and sysctl dev.ds3231 dev.ds3231.0.32khz_enable: 1 dev.ds3231.0.sqw_mode: interrupt dev.ds3231.0.sqw_freq: 8192 dev.ds3231.0.bbsqw: 0 dev.ds3231.0.temp_conv: 0 dev.ds3231.0.temperature: 30.7C dev.ds3231.0.%parent: iicbus1 dev.ds3231.0.%pnpinfo: name=rtc compat=maxim,ds3231 dev.ds3231.0.%location: addr=0xd0 dev.ds3231.0.%driver: ds3231 dev.ds3231.0.%desc: Maxim DS3231 RTC dev.ds3231.%parent: Basically, it seems just working. What else could I do to confirm that? Why the 'oscillator has stopped, check the battery' on first boot after installing? I think I swa it somewhere it's normal and will not occur anymore (maybe unless battery is fully discharged) but I am asking anyway... Regards, Milan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150417092023.39cb8829>