diff options
author | John Klug <john.klug@multitech.com> | 2021-01-14 06:05:56 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2021-01-14 06:05:56 -0600 |
commit | 59ab1da5ab2f76a8dcc72d9fc6de55b3d6800bd8 (patch) | |
tree | 2b659c1ee178879b0453bf5fa0d5237719942698 /recipes-navigation/gpsd/test | |
parent | f99cdc389d63ccfff56a7e9710891f7b6bf1c804 (diff) | |
download | meta-mlinux-59ab1da5ab2f76a8dcc72d9fc6de55b3d6800bd8.tar.gz meta-mlinux-59ab1da5ab2f76a8dcc72d9fc6de55b3d6800bd8.tar.bz2 meta-mlinux-59ab1da5ab2f76a8dcc72d9fc6de55b3d6800bd8.zip |
Create gpsd-test package
Diffstat (limited to 'recipes-navigation/gpsd/test')
-rw-r--r-- | recipes-navigation/gpsd/test/README | 40 | ||||
-rw-r--r-- | recipes-navigation/gpsd/test/gpsd-test-1.0.tar.gz | bin | 0 -> 854 bytes | |||
-rw-r--r-- | recipes-navigation/gpsd/test/gpsd-test.tar.gz | bin | 712 -> 0 bytes |
3 files changed, 32 insertions, 8 deletions
diff --git a/recipes-navigation/gpsd/test/README b/recipes-navigation/gpsd/test/README index 18d712f..d3f3a60 100644 --- a/recipes-navigation/gpsd/test/README +++ b/recipes-navigation/gpsd/test/README @@ -1,10 +1,34 @@ -Install the test in the root file system -of a device with ntp and gpsd installed. -ntp must be configured to use gpsd as -the time source. +To run the test: +opkg install gpsd-test_1.0-*_all.ipk -cd / -sudo tar -xf /tmp/gpsd-test.tar.gz +/etc/rc5.d/S99zzreboot + + +To shutoff the test: + +rm /var/config/reboot + + +To restart the test: + +touch /var/config/reboot + +/etc/rc5.d/S99zzreboot + + + +A log of successful tests is kept in: +/var/config/gpslog.txt. + +It contains the seconds since 1-1-1970, +baud rate, and the ntpq -p output for the +PPS. + +On failure, the test will stop rebooting. + +Failure is defined as: + +No fix (if we lost reception this could happen) + +Bad baud rate (not 115200) -See /usr/share/gpsd-test/README for more -details. diff --git a/recipes-navigation/gpsd/test/gpsd-test-1.0.tar.gz b/recipes-navigation/gpsd/test/gpsd-test-1.0.tar.gz Binary files differnew file mode 100644 index 0000000..a2eb195 --- /dev/null +++ b/recipes-navigation/gpsd/test/gpsd-test-1.0.tar.gz diff --git a/recipes-navigation/gpsd/test/gpsd-test.tar.gz b/recipes-navigation/gpsd/test/gpsd-test.tar.gz Binary files differdeleted file mode 100644 index 4d74be3..0000000 --- a/recipes-navigation/gpsd/test/gpsd-test.tar.gz +++ /dev/null |