From BrokenMoko to OpenMoko, a late night journey

Wednesday, August 27th, 2008 | FOSS, GPS, OpenMoko, OSM, TangoGPS, Tutorial

Last few days I was looking for a GPS device to test how they work and if I can do some OpenStreet Map work and I am not in condition to buy anything.

A BrokenMoko was lying on the table we use, from the time I came to Pune. TangoGPS is the GPS application in it. I tried a lot to figure out how to use that and failed. Later at night joined #openmoko , people (Specially Zorkman and Dave) tried to help me in every known way so that I can turn that on. Figured out the unit was running some FSO build (no idea what it is).

Finally around 1AM , <Zorkman> asked me to install some 2008.8 build into the SD card and boot from there. They told me all steps one by one :) Steps are:

  • Connect the OpenMoko to your system , create a USB connection
  • write a proper /etc/resolv.conf
  • Prepare the SD card by partitioning and formatting.
  • Download these roofs and kernel.
  • on the FR: mount /dev/mmcblk0p1 /mnt/mokokernel
  • scp 20080826-asu-stable-uImage.bin root@192.168.0.202:/mnt/mokokernel/uImage.bin
  • on the FR: mount /dev/mmcblk0p2 /mnt/moko
  • scp 20080826-asu-stable-rootfs.tar.gz root@192.168.0.202:/tmp/
  • on the FR:tar -C /tmp/20080826-asu-stable-rootfs.tar.gz -xzvf /mnt/moko
  • download http://downloads.openmoko.org/releases/Om2008.8-update/gta02v5_and_up-u-boot.bin
  • Read how to flash
  • Boot from SD
  • opkg update && opkg install gpsd
  • opkg install http://www.tangogps.org/downloads/tangogps_0.9.3-r1_armv4t.ipk
  • echo GPS_DEV=”/dev/ttySAC1″ > /etc/default/gpsd
  • Turn on GPS hardware from setting menu
  • on the FR: /etc/init.d/gpsd start
  • edit your ~/.gconf/apps/tangogps/%gconf.xml and replace it with this.
  • edit /usr/share/themes/Moko/gtk-2.0/gtkrc and replace it with this.
  • Now fire tangogps and enjoy

Don’t forget to get out of the house to test it :)

5 Comments to From BrokenMoko to OpenMoko, a late night journey

Arindam
August 28, 2008

great! how’s the gps reception quality?…and is it the freerunner or the 1973 one?

kd
August 28, 2008

Quality looks great, but not the battery :(
It is a FreeRunner

robs
August 30, 2008

Nice blog,
can you tell us how long it takes for you to get a position fix and where you are at that time (eg open field, in town). I am asking, because mine needs more than 30 minutes if I am on my balcony in berlin on the forth floor on a cloudy day. So I don’t know if that’s a soldering problem or just as it is.
best regards

Gromgull
August 31, 2008

Mine gets a fix in about a minute on my Balcony in Kaiserslautern – it must be the pollution in Berlin :)

kd
September 1, 2008

@robs I think I never got a fix :p

Leave a comment

Search

Archives

Categories