1 Scope of Document
This document describes real time sync under ubuntu 16.04
2 Requiremen
2.1 Function Requirement
Under ubuntu 16.04 done time sync.
2.2 Performance Requirement
NA
3 Hardware Overview
4 Functional Description
4.1 Overview
Default armbian rootfs enable fake-hwclock service.fake-hwclock sets and queries a fake “hardware clock” which stores the time in a file.This program may be run by the system administrator directly but is typically run by init(to load the time on startup and save it on shutdown) and cron (to save the time hourly).
What’t the bugs:. When system reboot, it first get time from rtc, then mount rootfs, if the /etc/fake-hwclock.date bigger than RTC time, fake-hwclock.date will set to system time.
So rtc time will different from system time.
How to removeit : apt-get remove –y fake-hwclock
Ubuntu default enable timesysn service: