Changes between Version 17 and Version 18 of expansion/gw16143


Ignore:
Timestamp:
10/19/2022 11:15:25 PM (2 years ago)
Author:
Tim Harvey
Comment:

removed building details for gpsd-3.21 for Ubuntu; its in a pre-installed gateworks ppa for focal and is not needed for jammy

Legend:

Unmodified
Added
Removed
Modified
  • expansion/gw16143

    v17 v18  
    139139Therefore all of the following examples can be done on a running target board, or otherwise on a development machine with the GW16143 in a USB carrier. Code can then be cross compiled and delivered to units via whatever preferred method.
    140140
    141 All of the following examples require [https://gpsd.gitlab.io/gpsd/ GPSD] version {{{3.21}}} or greater. The release source tarball for which can be found [http://download-mirror.savannah.gnu.org/releases/gpsd/ here]. The [wiki:ubuntu Gateworks Ubuntu Focal 20.04.1] image at this time contains version {{{3.20}}} and therefore needs to be replaced, otherwise later operations involving {{{ubxtool}}} will fail in unexpected ways.
    142  {{{#!bash
    143 # Remove current gpsd
    144 systemctl stop gpsd.socket
    145 systemctl stop gpsd
    146 systemctl disable gpsd.socket
    147 systemctl disable gpsd
    148 apt purge gpsd
    149 
    150 # Install gpsd-3.21 from gateworks PPA (tested on Focal)
    151 sudo add-apt-repository ppa:gateworks-software/packages
    152 sudo apt-get update
    153 sudo apt-get install gpsd gpsd-clients
    154 systemctl stop gpsd.socket
    155 systemctl stop gpsd
    156 gpsd /dev/ttyACM0 # May need to kill this process later for RTCM set up
    157 
    158 ## OR ##
    159 
    160 # Build gpsd from release source
    161 apt install gcc scons python-gi python-gi-cairo g++
    162 apt install libncurses5-dev libtinfo-dev pps-tools
    163 apt install python3-distutils
    164 wget http://download.savannah.gnu.org/releases/gpsd/gpsd-3.21.tar.xz
    165 tar xvf gpsd-3.21.tar.xz
    166 cd gpsd-3.21
    167 ln -s /usr/bin/python3 /usr/bin/python
    168 scons && scons check && scons udev-install
    169 }}}
     141All of the following examples require [https://gpsd.gitlab.io/gpsd/ GPSD] version {{{3.21}}} or greater.
    170142
    171143