On Thursday, 14 September 2017 20:03:50 UTC+3, RobertCNelson wrote: > > On Thu, Sep 14, 2017 at 11:50 AM, Robert Nelson <[email protected] > <javascript:>> wrote: > > On Thu, Sep 14, 2017 at 12:59 AM, <[email protected] <javascript:>> > wrote: > >> Hello, > >> I have intefaced RTC DS1307 with Beaglbone. However, after the > beaglebone > >> boots up, its time is reset and RTC takes this reset time. Use of NTP > would > >> not be feasible since Beaglebone would be used in a remote location > with no > >> internet connection. What would be the solution to this issue ? > > > > As of this week, we have an easy solution. (using u-boot overlays of > > course), the trick is the rtc "aliases", so that the ds1307 gets rtc0 > > > > Seee either : > > > > > https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-I2C1-MCP7940X-00A0.dts > > > > > or: > > > > > https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-I2C2-PCF8523-00A0.dts > > > and here's it working: (eth is disconnected) > > debian@beaglebone:~$ dmesg | grep rtc > [ 1.594096] omap_rtc 44e3e000.rtc: already running > [ 1.594335] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as > rtc1 > [ 1.776976] rtc-ds1307 1-0068: registered as rtc0 > [ 1.795900] rtc-ds1307 1-0068: setting system clock to 2017-09-14 > 17:01:12 UTC (1505408472) > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ >
Very interesting. Which version of the kernel implements this? -- Kind regards, Tarmo Kuuse -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/8ab1c314-73f7-4f24-a2ed-81a0cac640cc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
