Hi,
I am using latest OpenEmbedded Release on DragonBoard820c(p4).
Release: http://snapshots.linaro.org/96boards/dragonboard820c/linaro/openembedded/rocko/latest/rpb/1
root@dragonboard-820c:~# uname -a
Linux dragonboard-820c 4.11.12+linaro #1 SMP PREEMPT Fri Apr 6 14:43:11 IST 2018 aarch64 aarch64 aarch64 GNU/Linux
root@dragonboard-820c:~#
Issue : We have been trying to bring GPS up on Open Embedded but some how we are not able to capture anything in gpsmon.
We understood to enabled GPS, we will need qmi-gps-proxy app, gps_proxy driver, qrtr apps and qrtr driver enabled so we have done below changes:
- Added user space qmi-gps-proxy apps
- Added “qrtr-apps gnss-gpsd qdsp-config”
- Enabled CONFIG_QTI_LNX_GPS_PROXY and CONFIG_QRTR
- Added gps_proxy driver in kernel
Below is the status of QRTR service, which stats that QRTR is running perfectly fine:
[[0;1;32m��●[[0m qrtr.service - QRTR service
Loaded: loaded (/lib/systemd/system/qrtr.service; enabled; vendor preset: ena
bled)
Active: [[0;1;32mactive (exited)[[0m since Thu 2018-03-22 06:15:32 UTC; 1h 3m
in ago
Main PID: 2747 (code=exited, status=0/SUCCESS)
Tasks: 1 (limit: 4915)
Memory: 1.1M
CPU: 17ms
CGroup: /system.slice/qrtr.service
��└��─2748 /usr/bin/qrtr-nsMar 22 06:15:32 dragonboard-820c systemd[1]: Starting QRTR service…
Mar 22 06:15:32 dragonboard-820c systemd[1]: Started QRTR service.
We have followed below steps and we are able to execute all the command successfully but we are not able to capture anything in gpsmon
$ systemctl start gpsd.socket
$ systemctl start gpsd
$ systemctl start gnss-gpsd
$ gpsdctl add /dev/ttyGPS0
$ gpsmon
gpsmon output:
tcp://localhost:2947 JSON slave driver>
(82) {“class”:“VERSION”,“release”:“3.16”,“rev”:“3.16”,“proto_major”:3,“proto_min
or”:11}
(111) {“class”:“DEVICES”,“devices”:[{“class”:“DEVICE”,“path”:"/dev/ttyGPS0",“act
ivated”:“2018-03-22T06:17:06.890Z”}]}
(122) {“class”:“WATCH”,“enable”:true,“json”:false,“nmea”:false,“raw”:2,“scaled”:
false,“timing”:false,“split24”:false,“pps”:true}
Please let us know if we are missing anything