Tinkerboard

Gary E. Miller gem at rellim.com
Mon Sep 18 19:13:23 UTC 2017


Yo dropkick23 at gmail.com!

On Mon, 18 Sep 2017 11:44:51 -0600
dropkick23 at gmail.com wrote:

> Well this is interesting!

Which parts?  Other than no SHM in ntpd.

> Having seen Achim Gratz posts on the TinkerBoard, I purchased one.

Got a link to Achim's posts?

> ntp.conf
> refclock shm unit 1 maxpoll 4 refid PPS flag4 1 prefer
> refclock shm unit 0 maxpoll 4 time1 0.133 refid GPS flag4 1

That is a very short ntp.conf.  How does that work?

Looks like the SHM driver is not in your ntpd, otherwise you would see it
in ntpmon.  So a bad ntpd build.

>  ntp built with:
> $ git clone https://gitlab.com/NTPsec/ntpsec.git
> $ cd ntpsec
> $ sudo ./buildprep 2>&1 | tee prep.waf
> $ ./waf configure –-refclock=shm 2>&1 | tee conf.waf
> $ ./waf build 2>&1 | tee build.waf

Why not build with all the refclocks?  That is not a well tested
way to configure NTPsec.

> Nothing in ntpd.log of interest WRT shm/pps/gps

Nothing of interest?  Or Nothing?  The former says the driver loaded, the
later says the driver did not load.

> Not sure what to look at to detemine what the error is.

The build looks bad to me.

When you build ntpd, do you see a line like this?

[ 92/131] Compiling ntpd/refclock_shm.c

Does your build/config.h have these tow lines?

#define CLOCK_SHM 1 /* Enable 'Shared Memory Driver' refclock */
#define REFCLOCK 1 /* Enable refclock support */




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/users/attachments/20170918/34ac7104/attachment.bin>


More information about the users mailing list