DART-SD410 Debian GPS

From Variscite Wiki
DART-SD410 - Using GPS

The GPS software stack mostly runs on the DSP subsystem.
The communication between the main CPU and the DSP is done with a specific IPC driver called QRTR (see ./net/qrtr/ in the kernel source tree).
Because of bug 416, the DSP is not started automatically at boot. To start the GPS, the DSP needs to be started first.
Once the DSP is started any gpsd client can be started and will be able to retrieve GPS data.

Please note that the GPS antenna is not supplied in the EVK and should be bought separately from Digikey.
The suggested GPS antennas are:
http://www.digikey.com/product-detail/en/APAM1568YE15V2.0/535-12617-ND/4976494
http://www.digikey.com/product-detail/en/APAM2764YK0175/535-12615-ND/4976492


To get started with GPS, first install the following packages:

$ sudo apt-get update
$ sudo apt-get install gpsd-clients gnss-gpsd

The package gnss-gpsd will bring all the needed dependencies to use the onboard GPS. Then you need to start the DSP:

$ sudo systemctl start qdsp-start.service

From now on, you can use any gpsd client, such as gpsmon or xgps.


NOTE:
Known bug: The qdsp service will disable on-board Ethernet controller.