Xavier time sync error

OK, My bad the comment to disable the “systemd-timesyncd.service active”
Could you have below command to set the most correct time to check.

sudo timedatectl set-time

OK, I still saw the issue for a long time observation after those command.
Need to check more.

Thanks

I disable the time sync and then set the time by timedatectl set-time and both of the configure were change to no and didn’t see the time unsycn problem.

   System clock synchronized: no

systemd-timesyncd.service active: no
RTC in local TZ: no

sudo timedatectl set-ntp 0
sudo timedatectl set-time 

Hi ShaneCCC,

Thanks!

The faulty Xavier cannot be stopped by running the "sudo timedatectl set-ntp 0 "command,
What are the reasons for not stopping “systemd-timesyncd.service”?

Thanks!
BR.

What’s your version? My is r32.6.1

cat /etc/nv_tegra_release.

My is as bellow:

The “System clock synchronized:” should be set as no when you run the set-time command !!?

I succeeded in setting System clock synchronized to no, but I found that there was still a problem, as shown below:

Try to issue below command to sync both Local/Universal/RTC time

sudo hwclock -w

Hi ShaneCCC,

Thanks very much for your reply!

I executed command “sudo hwclock -w”, but the result is the same as in the video above.

Thanks!
BR.

Did you modify the 50-udev-default.rules back to original?

You mean the files under path “/lib/udev/rules.d/50-udev-default.rules”?
I haven’t modified it.

BR.

Don’t know why your system can set those time to the same by “sudo timedatectl set-time”
Did you customized the kernel Image?

Sorry, I don’t quite understand what you mean"set those time to the same by ‘sudo timedatectl set-time’ "?

We only changed the code about the camera module, not about the time module.

Thanks!

I mean the local/universial/RTC time both the same, but your local time is 15:30 and others is 07:30

Because the local time zone is Shanghai/Asia.

I got like this, do you have any others device to try?

Time out of sync occurs only on some devices, but many devices are normal.

When NTP synchronization is disabled, the system time is slower than the RTC time.

Is there a good solution or fix?