Difference between revisions of "GPS"

From Gumstix User Wiki
Jump to: navigation, search
(Initial version describes how to make a console image with gps daemon and test utility built-in.)
(No difference)

Revision as of 19:21, 29 November 2010

The following steps will allow you to quickly test the GPS module on the Gallop43 board.

$ cd ~/overo-oe/org.openembedded.dev/recipes/images/
$ cp omap3-console-image.bb omap3-gps-image.bb
$ nano omap3-gps-image.bb

Add the packages gpsd and gps-utils to the TOOLS_INSTALL section.

$ bitbake omap3-gps-image

Create a bootable microSD using the resulting image. gpsd will start automatically when you boot, however you will need to tell it what serial port the device is connected to.

$ killall gpsd
$ gpsd /dev/ttyS0

You can change the ${GPS_DEV} variable in the /etc/default/gpsd to /dev/ttyS0 so it will work at startup. Finally:

$ cgps