This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

66AK2H12: 'systemctl sync-clocks.service' on pdk linux 06

Part Number: 66AK2H12

Hi Everyone,

We are using k2h EVM with processor sdk linux 06_01_00_08 prebuild image and root file system,

During the boot, we are seeing sync-clocks.service related error,

What is the role of this service? and what if we disable it with systemctl? (is there is any drawback to the system)

It looks similar to NTP and tries to get/set RTC time( is EVM has RTC  or it is external?)

Logs:

[ OK ] Started Getty on tty1.
[ OK ] Reached target Login Prompts.
Starting Synchronize System and HW clocks...
[ OK ] Started Lightning Fast Webserver With Light System Requirements.
[ OK ] Started softhsm-daemon.service.
[FAILED] Failed to start Synchronize System and HW clocks.
See 'systemctl status sync-clocks.service' for details.
[ OK ] Started Login Service.

...

systemctl status sync-clocks.service

[[0;1;31m●[[0m sync-clocks.service - Synchronize System and HW clocks
Loaded: loaded (/etc/systemd/system/sync-clocks.service; enabled; vendor preset: enabled)
Active: [[0;1;31mfailed[[0m (Result: exit-code) since Mon 2019-12-16 10:38:10 UTC; 56s ago
Process: 545 ExecStart=/sbin/hwclock --systohc [[0;1;31m(code=exited, status=1/FAILURE)[[0m
Main PID: 545 (code=exited, status=1/FAILURE)

Dec 16 10:38:10 k2hk-evm systemd[1]: Starting Synchronize System and HW clocks...
Dec 16 10:38:10 k2hk-evm hwclock[545]: hwclock: can't open '/dev/misc/rtc': No such file or directory
Dec 16 10:38:10 k2hk-evm systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39msync-clocks.service: Main process exited, c
ode=exited, status=1/FAILURE[[0m
Dec 16 10:38:10 k2hk-evm systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39msync-clocks.service: Failed with result 'ex
it-code'.[[0m
Dec 16 10:38:10 k2hk-evm systemd[1]: [[0;1;31m[[0;1;39m[[0;1;31mFailed to start Synchronize System and HW c
locks.[[0m

Regards,

Snehal