On Thu, Aug 20, 2020 at 8:22 AM Niresh Kumar <[email protected]> wrote: > > Hi, > 1). I have placed the following lines in the /etc/rc.local, and system time > gets updated with external RTC DS3231 automatically at every reboot > > echo ds3231 0x68 > /sys/class/i2c-adapter/i2c-1/new_device > > hwclock -s -f /dev/rtc1 > > 2) I have put the line dtb_overlay = /lib/firmware/BB-I2C2-RTC-DS3231.dtbo > in /boot/uEnv.txt but it does not create /dev/rtc1 and system time not > updated with external RTC DS3231. The dmesg are > > root@beaglebone:/dev# dmesg | grep 3231 > > [ 2.132312] console [ttyS0] enabled > > > root@beaglebone:/dev# dmesg | grep rtc > > [ 2.221605] omap_rtc 44e3e000.rtc: already running > > [ 2.222249] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as > rtc0 > > [ 2.572035] PM: bootloader does not support rtc-only! > > [ 2.573042] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 > 02:14:15 UTC (946692855) > > > root@beaglebone:/dev# dmesg | grep rtc1 > > root@beaglebone:/dev# > > root@beaglebone:/dev# dmesg | grep rtc > > [ 2.221605] omap_rtc 44e3e000.rtc: already running > > [ 2.222249] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as > rtc0 > > [ 2.572035] PM: bootloader does not support rtc-only! > > [ 2.573042] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 > 02:14:15 UTC (946692855) > > > root@beaglebone:/dev# date > > Tue Jul 14 13:07:39 IST 2020 > > > root@beaglebone:/dev# hwclock -r -f /dev/rtc > > Sat 01 Jan 2000 07:46:54 AM IST -0.651632 seconds
Please run: sudo /opt/scripts/tools/version.sh and share it's output, so we can comment on your configuration. Regards, -- Robert Nelson https://rcn-ee.com/ -- 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/CAOCHtYi0rwZzUM7y7VknzU8q8GA%3Dxuyou2FPvxq9pR8SzV6SKw%40mail.gmail.com.
