Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Time synchronization between mic and host/ntp-server?

d06pbiu_e_
Beginner
966 Views

Hello everyone!

I'm using mpss-3.4.3, with External bridge configuration.

Is it possible to synchronize time between mic and NTP-server? Or between mic and host?

0 Kudos
2 Replies
Frances_R_Intel
Employee
966 Views

The coprocessor takes its time from the host at the time of boot but does not run ntpd by default. There are extra rpms in the k1om directory in the MPSS that can be installed on the coprocessor to provide the ntp files if you would like to try it. There are instructions in the MPSS User's Guide telling you how to install rpms from the k1om directory. I haven't tried this myself, unfortunately; so I can't tell you if there are any dragons hiding in the dark here. If you run into any problems let us know.

0 Kudos
Mark_L_1
Beginner
966 Views

As root on the host, I just used the following crontab entries to set the time, instead of fiddling with ntpd and extra RPM packages.  The clocks on the MICs are very inaccurate, so this is better than nothing.

 

15 * * * * ssh mic0 date -u $(date -u +%m%d%H%M.%S)
15 * * * * ssh mic1 date -u $(date -u +%m%d%H%M.%S)
15 * * * * ssh mic2 date -u $(date -u +%m%d%H%M.%S)

 

0 Kudos
Reply