I have run into an odd problem with the time on a Colibri iMX6 running TorizonCore 6.7.
I was working remotely last Friday and everything was going well.
Today is Tuesday (4 days later) and I have brought the iMX6 module into my corporate office and connected it to the network to demonstrate recent progress.
But the clock on the iMX6 is stuck on Friday (4 days ago).
This causes the build of my test code on the module to fail because the source code files which were copied from my PC have timestamps which appear to be 4 days in the future from the point of view of the iMX6, which causes the build to fail with the message:
“ninja: error: manifest ‘build.ninja’ still dirty after 100 tries”
What might be happening is that my iMX6 module is blocked from checking internet time using NTP when it boots now that I have it connected to my corporate network rather than my home network.
The reply to “date” increases at the correct rate if I wait a few seconds or minutes between queries. But if I power cycle the iMX6 then the clock jumps back to Friday afternoon, which was the last time it was connected to my home network.
I don’t seem to have permission to manually set the clock using the date command.
Is there a way for me to check the status of the NTP process, to force it to use a different time server, or to set the clock manually?