OpenMoko

From Sven Kreiss

I will write that article later. Here are just some bullet points:

  • The nicest Kernel panic I have ever seen
  • Starting uboot
  • dfu-util can be downloaded from http://wiki.openmoko.org/wiki/Repositories
  • see this page for the newest, tested kernel and rootfs images: http://wiki.openmoko.org/wiki/Phase_1_Software_Testing, or try this one: http://wiki.openmoko.org/wiki/Repositories
  • two dfu devices: use the -d 0x1457:0x5119 option. I used: sudo ./dfu-util -d 0x1457:0x5119 -a 5 -R -D ./openmoko-devel-image-fic-gta01-20070803091138.rootfs.jffs2
  • ssh into the phone: http://wiki.openmoko.org/wiki/USB_Networking
  • ssh with x-forwarding: just use ssh -X root@192.168.0.202; try to type contacts and see the app starting on your computer screen
  • setting date and time: date -s 091418382007 => 09/14/2007 18:38 and do not forget to do a hwclock --systohc afterwards
  • setting up build environment: http://wiki.openmoko.org/wiki/MokoMakefile (no need to download the whole oe tree and monotone database beforehand; MokoMakefile handles everything)
  • build openmoko-devel-image ... it is now building for 9 hours ... (not representative as I autorooted a board at the same time, but it will definitely take looong)
  • flashing with new image: sudo ./dfu-util -d 0x1457:0x5119 -a 5 -R -D ../oe_om/build/tmp/deploy/images/openmoko-devel-image-fic-gta01-20070815181658.rootfs.jffs2 (your path might be different, but the import point is the relative path within the oe tree: build/tmp/deploy/images)
  • good resource: http://wiki.openmoko.org/wiki/Getting_Started_with_your_Neo1973
  • flashing uboot: sudo ./dfu-util -d 0x1457:0x5119 -a 1 -R -D ../oe_om/images/openmoko/u-boot-gta01bv4-r12_0_2632_0.bin (this image worked for me on my GTA01BV4)
  • get rid of annoying timeout (from mailing list):
screen /dev/ttyACM0
setenv boot_menu_timeout 10000
saveenv
  • newest images: http://wiki.openmoko.org/wiki/Repositories
  • Networking: write your nameserver into /etc/resolv.conf; to permanantly change it, you need to write the nameserver into /etc/network/interfaces
  • Once you setup the network, you can do ipkg update && ipkg upgrade