Page 1 of 1

Is there an internal RTC on nanopi neo air ?

Posted: Mon Sep 04, 2017 5:45 am
by auto3000
Hello,

I observed that my nanopi neo air date and time is always up-to-date. There is no NTP on my system and I cannot see any RTC in hardware specs found on the web (except that friendlyarm sold an external RTC module for i2c).

In dmesg of linux 4.11.2:

Code: Select all

[    2.019415] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    2.030259] sun6i-rtc 1f00000.rtc: RTC enabled
...
[    2.901481] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:00:15 UTC (15)

I can't find a battery on the PCB, I may have missed something. Could someone confirm ?

Regards.

Re: Is there an internal RTC on nanopi neo air ?

Posted: Tue Sep 05, 2017 5:11 am
by meisam
auto3000 wrote:
Hello,

I observed that my nanopi neo air date and time is always up-to-date. There is no NTP on my system and I cannot see any RTC in hardware specs found on the web (except that friendlyarm sold an external RTC module for i2c).

In dmesg of linux 4.11.2:

Code: Select all

[    2.019415] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    2.030259] sun6i-rtc 1f00000.rtc: RTC enabled
...
[    2.901481] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:00:15 UTC (15)

I can't find a battery on the PCB, I may have missed something. Could someone confirm ?

Regards.



Hi.
There is a RTC , in /dev/rtc0 , but not initialized and seems to works with 40KHz oscillator approximately!
it`s amazing that friendly arm does not apply the internal RTC and assume that IOT means every time connected
to the internet!

the kernel time is updated by timedatectl . you can disable it and install ntp.

regards.

Re: Is there an internal RTC on nanopi neo air ?

Posted: Tue Sep 05, 2017 6:28 am
by auto3000
Thanks for the info.

The date and time is always correct on my nanopi neo air, consequently I'm figuring the hw setup is correct.