<div dir="ltr">I wanted to pass along this information as a reference, though the new image is due in a couple weeks. Some of the stuff below is repeated from the link, but was significant so I included it below.<br><div class="gmail_quote"><div dir="ltr"><div><div><div><br>I added in an Adafruit Ultimate GPS unit for precise time to connect a "Allstar remote thin client" unit that requires GPS on both ends for proper sync. Here is the link I'm working from:<br></div><br><a href="http://the8thlayerof.net/2013/12/08/adafruit-ultimate-gps-cape-creating-custom-beaglebone-black-device-tree-overlay-file/" target="_blank">http://the8thlayerof.net/2013/12/08/adafruit-ultimate-gps-cape-creating-custom-beaglebone-black-device-tree-overlay-file/</a><br></div><br></div><div>Some notes as I was getting things to work, or found them missing in the current image:<br><br></div><div><div>dtc-overlay is for adding/compiling device overlays for the BBB.<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">pacman -S dtc-overlay<br></blockquote><br></div></div><div>For the PPS tools (go down to userland tools, down the next few sections through the make line, copy ppstest to /usr/bin ):<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><a href="http://linuxpps.org/wiki/index.php/LinuxPPS_installation" target="_blank">http://linuxpps.org/wiki/index.php/LinuxPPS_installation</a><br></blockquote></div><div><div><br></div><div><div>For gpsd, I added the following at the start to rc.local to start it up first thing on boot:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">/usr/bin/gpsd -n -F /var/run/gpsd.sock /dev/ttyO4<br></blockquote></div><br>In the uEnv.txt file I had to add in (see below for how I got to your version):<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">gpio set 52<br>optargs=quiet
init=/lib/systemd/systemd
capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G
capemgr.enable_partno=T8LO-GPS coherent_pool=1M<br></blockquote><br>Here's the post about the gpio set 52 (note the mmc one time config):<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><a href="https://groups.google.com/d/msg/beagleboard/pSOre-xZz8o/aVi9bTAh-rsJ" target="_blank">https://groups.google.com/d/msg/beagleboard/pSOre-xZz8o/aVi9bTAh-rsJ</a><br></blockquote><div> </div>The post on how to disable the eMMC and HDMI (for the weather cape, but relevant)<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><a href="http://elinux.org/Beagleboard:Weather_Cape_Work-Around" target="_blank">http://elinux.org/Beagleboard:Weather_Cape_Work-Around</a><br></blockquote><br></div><div>I did need to recompile NTP. In ntp.conf, I added the following before the server definitions:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"># NTP GPS stuff<br># Read the rough GPS time from device 127.127.28.0<br># Read the accurate PPS time from device 127.127.22.0<br><br>server 127.127.28.0 minpoll 4 maxpoll 4 prefer<br>fudge 127.127.28.0 time1 0.535 refid GPS<br><br>server 127.127.22.0 minpoll 4 maxpoll 4<br>fudge 127.127.22.0 time1 0.000 flag3 1 refid PPS<br></blockquote><br></div>To get to the uEnv.txt file<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">export DISK=/dev/mmcblk0<br><br>sudo mkdir -p /media/boot/<br>sudo mkdir -p /media/rootfs/<br> <br>for: DISK=/dev/mmcblk0<br>sudo mount ${DISK}p1 /media/boot/<br>sudo mount ${DISK}p2 /media/rootfs/<br></blockquote><div> </div></div><div><div><div><div><div><div dir="ltr">Cheers,<br>Joel<br>W0KGW<br></div></div>
</div></div></div></div></div>
</div><br></div>