gpsd 2.94 was already in openwrt, however getting gpsd 3.x to work required
scons cross-support.

dealing with the scons support problem requires a patch to openwrt at
present that may need some further work.

The openwrt specific patch for scons support is at:
http://huchra.bufferbloat.net/~cero1/gpsd-patches/

A revised gpsd package, using gpsd from nearly-git-head (which also contains
changes to support cross compilation in general), is presently available as
part of the ceropackages git repository:

https://github.com/dtaht/ceropackages

(this repo has been where we've been spinning up new packages like pimd,
ccnx, etc, which openwrt users can add to their feeds.conf:

git://github.com/dtaht/ceropackages.git

)

After gpsd stablizes (gpsd 3.2?) we can get it into openwrt head, but in the
meantime it would be good to know if gpsd 3.x worked well on other variants
of openwrt.  I note that you will have to install the right kmod-serial-* to
get the right kernel support for your specific device, and enabling the -G
option to gpsd allows you to contact the router remotely with tools like
cgpsd, etc.

On Sat, Sep 17, 2011 at 6:33 AM, Eric Raymond <[email protected]> wrote:

> This is a heads-up for those of you looking into gpsd cross-build for
> embedded deployments.
>
> I've been cooperating with Dave Taht and the Bufferbloat project (see
> http://www.bufferbloat.net/).  One consequence of this is that gpsd has
> just been successfully ported into the CeroWrt distribution (a friendly
> fork
> of OpenWrt intended as a test tool for studying network; thanks to Dave
> Taht
> <[email protected]> and Stephen Walker <[email protected]> for
> excellent work on this.
>
> Those of you trying to cross-build for other embedded deployments
> might wanto to look into how CeroWrt does this.
>
> The goal, by the way, is to use GPS time as a reliable local timebase
> to support checking for NTP drift due to network latency.
> --
>                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>
>
> Rifles, muskets, long-bows and hand-grenades are inherently democratic
> weapons.  A complex weapon makes the strong stronger, while a simple
> weapon -- so long as there is no answer to it -- gives claws to the
> weak.
>        -- George Orwell, "You and the Atom Bomb", 1945
>



-- 
Dave Täht
SKYPE: davetaht
US Tel: 1-239-829-5608
http://the-edge.blogspot.com
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to