Kushal Das

FOSS and life. Kushal Das talks here.

kushal76uaid62oup5774umh654scnu5dwzh4u2534qxhcbi4wbab3ad.onion

From BrokenMoko to OpenMoko, a late night journey

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 :)