I did this sometime ago but my memory is scarce. I think connman itself also has ntp function which may conflict with nptd or gpsd unless it is disabled? ________________________________________ From: automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx <automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx> on behalf of Jan-Simon Möller <jsmoeller@xxxxxxxxxxxxxxxxxxx> Sent: Wednesday, October 31, 2018 11:28:05 AM To: automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx Cc: Jason Reich Subject: Re: System time from GPS Hi Jason, Am Dienstag, 30. Oktober 2018, 21:14:19 CET schrieb Jason Reich: > Hi, > > I'm working on an M3+Kingfisher with Flounder, and our builds are always > booting with date/time set to the build time (the M3 doesn't have any RTC). > For our demo setups I'm trying to get the system time set, using GPS if > possible. > > > I understand that the eventual architecture is to use the GPS signal to > acquire a time, rather than using any network time (as described in the AGL > Requirements Specification). But I can't see anything in the OS starting > in this direction. The KF has a GPS and I can get time from it, but am I > missing something in the OS or the AGL build that will start to integrate > GPS time with the system time? Skimming http://catb.org/gpsd/gpsd-time-service-howto.html I assume that you might have to check that: - kernel modules / options enabled - ntp configured (or the systemd alternative?) For one-time updates maybe check the commands here https://raspberrypi.stackexchange.com/questions/11896/set-system-clock-to-value-received-from-gps Best, JS > > Right now I've got connman configured to perform a network time sync, so > I've got things functional. But is there any way in today's FF builds to > use GPS to set the system time? > > > thanks > > Jason. _______________________________________________ automotive-discussions mailing list automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions _______________________________________________ automotive-discussions mailing list automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions