Friday, November 30, 2007

Setting up OpenMoko

OpenMoko [http://www.openmoko.org/] is a Linux based open software development platform.

I got my OpenMoko device yesterday and tried installing it. It is a neat little device lets see where it goes after Google announced its Open Handset Alliance; Android [http://code.google.com/android]

So the first thing you want to do when you get your device is update the kernel and the rootfs on the phone.

You will need to put the phone on uboot menu by pressing the AUX button along with the POWER button when not connected to a computer.

1st thing that I did after that was to reset the timeout on the boot menu. Otherwise the phone will shutdown after 30 seconds when idle in uboot mode. Here is how you do it:

Install the uucp package.
cu -l /dev/ttyACM0
GTA01Bv4 # setenv boot_menu_timeout 65000
GTA01Bv4 # saveenv


Download the latest OpenMoko image from their site @ http://buildhost.openmoko.org/

Download dfu-util from: http://buildhost.openmoko.org/OM2007.1/tmp/deploy/images/dfu-util

I installed the August 2007 image using the following commands.

To update the kernel:
./dfu-util -a kernel -R -D ./uImage-2.6.21.5-r3-fic-gta01.bin

To update the root filesystem:
./dfu-util -a rootfs -R -D ./OpenMoko-openmoko-devel-image-glibc-P1-August-Snapshot-20070819-fic-gta01.rootfs.jffs2

You are all set!

Play with Qtopia [http://www.qtopia.net/modules/mydownloads/] as well. the UI for qtopia is pretty cool.
On the Qtopia website you will see a download for NEO 1973 thats the one that you want. The commands are the same as above.

For some reason the phone is not able to recognize the SIM card that I am putting in there. Trying to figure this one out :-)

No comments: