[arm-allstar] GPS, Adafruit ultimate module, and some hoops for the 1.1 image
Joel Jameson
w0kgw3 at gmail.com
Thu Sep 11 22:16:16 EST 2014
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.
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:
http://the8thlayerof.net/2013/12/08/adafruit-ultimate-gps-cape-creating-custom-beaglebone-black-device-tree-overlay-file/
Some notes as I was getting things to work, or found them missing in the
current image:
dtc-overlay is for adding/compiling device overlays for the BBB.
> pacman -S dtc-overlay
>
For the PPS tools (go down to userland tools, down the next few sections
through the make line, copy ppstest to /usr/bin ):
> http://linuxpps.org/wiki/index.php/LinuxPPS_installation
>
For gpsd, I added the following at the start to rc.local to start it up
first thing on boot:
> /usr/bin/gpsd -n -F /var/run/gpsd.sock /dev/ttyO4
>
In the uEnv.txt file I had to add in (see below for how I got to your
version):
> gpio set 52
> 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
>
Here's the post about the gpio set 52 (note the mmc one time config):
> https://groups.google.com/d/msg/beagleboard/pSOre-xZz8o/aVi9bTAh-rsJ
>
The post on how to disable the eMMC and HDMI (for the weather cape, but
relevant)
> http://elinux.org/Beagleboard:Weather_Cape_Work-Around
>
I did need to recompile NTP. In ntp.conf, I added the following before the
server definitions:
> # NTP GPS stuff
> # Read the rough GPS time from device 127.127.28.0
> # Read the accurate PPS time from device 127.127.22.0
>
> server 127.127.28.0 minpoll 4 maxpoll 4 prefer
> fudge 127.127.28.0 time1 0.535 refid GPS
>
> server 127.127.22.0 minpoll 4 maxpoll 4
> fudge 127.127.22.0 time1 0.000 flag3 1 refid PPS
>
To get to the uEnv.txt file
> export DISK=/dev/mmcblk0
>
> sudo mkdir -p /media/boot/
> sudo mkdir -p /media/rootfs/
>
> for: DISK=/dev/mmcblk0
> sudo mount ${DISK}p1 /media/boot/
> sudo mount ${DISK}p2 /media/rootfs/
>
Cheers,
Joel
W0KGW
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20140911/ebf83df4/attachment.html>
More information about the arm-allstar
mailing list