From 58d74081c4baa5c594255e3db4fc7a807a50dfc3 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 26 Mar 2015 14:54:39 -0400 Subject: INSTALL improvements. --- INSTALL | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 1b739d41..2a657418 100644 --- a/INSTALL +++ b/INSTALL @@ -6,6 +6,10 @@ They assume you have GPSD available as an installable binary package, Instructions for building GPSD from source (including cross-building) are in the file "build.txt" in the source distribution. +Most of these installation instructions are generic to Linux (inc +There are some special notes on installation for OS X and the Raspberry Pi +near the end of this file. + == Check that your GPS is live and you can get data from it == Start by making sure you can get data from your GPS, otherwise the later @@ -236,7 +240,7 @@ Next, Wheezy requires a few tools for compiling and testing gpsd: -------------------------------------------------------------- Git-core is only required to build from a git repository. pps-tools is for -testing PPS inputs. +testing PPS inputs. You need scons at 2.3.0 or higher to build. The rest of the installation is just as for any other source based install, as noted in the file build.txt. @@ -251,7 +255,7 @@ serial console: /dev/ttyAMA0. The PPS signal will be on GPIO Pin #4. Only two specific changes need to be made to make the HAT work. First in the file /boot/cmdline.txt, remove this part "console=ttyAMA0,115200 -kgdboc=ttyAMA0,115200)". That free the serial port from console use so +kgdboc=ttyAMA0,115200)". That frees the serial port from console use so the GPS can use it. Second you need to tell the boot process to load the pps_gpio module @@ -261,7 +265,7 @@ to the bottom of /boot/config.txt: dtoverlay=pps-gpio,gpiopin=4 Reboot and proceed as for any other operating system to use gpsd. Warning, the pps_gpio driver in all linux kernels up to the current -3.19 only report one edge. Be sure to validate that your PPS signal +3.19 only reports one edge. Be sure to validate that your PPS signal is not offset by the pulse width. Detailed instructions are available from their web site: -- cgit v1.2.1