diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-26 14:54:39 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-26 14:54:39 -0400 |
commit | 58d74081c4baa5c594255e3db4fc7a807a50dfc3 (patch) | |
tree | e2c6b1307c4b4f83f29000dfacb102a723f2eaca | |
parent | 491f7579e5a70e24f04a45523e56af2d837de280 (diff) | |
download | gpsd-58d74081c4baa5c594255e3db4fc7a807a50dfc3.tar.gz |
INSTALL improvements.
-rw-r--r-- | INSTALL | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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: |