Well I just need another module for my gp2x, so my gps recever will work… I’ll post here my steps I did to successfully build the modules:
Get the kernel source:
#svn export http://svn.gp2x.com/gp2x/tag/kernel/2.0.0/
You need this toolchain to build the modules. Install it under /usr/local/arm-dev and add it to your PATH variable:
#export PATH=”$PATH:/usr/local/arm-dev/bin”
Edit the Makefile (Kernelsource) in the root dir and edit this line (line 24):
export CROSS_COMPILE = arm-linux–
Edit the kernel config (#make menuconfig) and build the stuff:
# make dep
# make modules
Thats it, copy the modules on your GP2X..
The most important thing (my opinion) is to choose the right toolchain. The official GPH toolchain any newer toolchain will build your modules but you cant load them:
[root@gp2x root]$insmod usbserial
Using /lib/modules/2.4.25/kernel/drivers/usb/serial/usbserial.o
insmod: couldn’t find the kernel version the module was compiled for

3 Comments
1 Henrik wrote:
Interesting! Do you have any good mapping ptogram to use with it? I’ve looked around but it seems I have to use QTopia or Xynth with some suitably compiled gpsdrive or something.
What I’m looking for is a SDL program that would give me a nice looking fullscreen map viewer without waiting 5 minutes to boot :)
I did compile the bluetooth modules and got the bluez tools from a Zaurus — works nicely:) So the next step is to compile gpsd and see what I can get from my bluetooth GPS and creating some scripts to load the modules.
Regards,
Henrik
2 michu wrote:
Hey henrik.. my opinion! As soon as DirectFB v0.9.26 is released, I’ll gtk with directfb support — DirectFB can use SDL as Backend… then I’ll compile gpsdrive with SDL support… Ok this was the theory, I hope I can compile all those libs.
cheers michu
3 Henrik wrote:
Good Luck!
I will try myself to get gpsdrive to work, but time and talent seems to be in short supply.
I did get gpsd to work with my bluetooth GPS so at least I have an incentive to continue.
Regards,
Henrik