Qi for Debian
-------------

Currently there are two ways to install Qi to your OpenMoko
Freerunner.

Installing using DFU from another computer
==========================================

1) Connect your phone to a PC with a USB cable and shutdown the phone.
2) Hold down the AUX button
3) Press the POWER button for one second and verify that you see the
   following on the screen:

U-Boot 1.3.2-moko12 (May  9 2008 - 10:28:48)

*** BOOT MENU (NOR) ***

Boot
Boot from microSD (FAT+ext2)
Set console to USB
Set console to serial
Reboot
Power off

Press [AUX] to select, [POWER] to execute.

4) (optional) Run

dfu-util -a u-boot -R -U backup.udfu

on your PC to make a backup of your current boot loader.

5) Run

dfu-util -a u-boot -R -D /usr/lib/qi/gta02/qi.udfu

on your PC to install Qi to your phone.

6) Press AUX six times so that "Power off" is highlighted and then
   press POWER to shutdown the phone.

7) Press the POWER button for one second to boot your system.

Installing using nandwrite from a running system
================================================

If you don't have a PC or don't want to use it, you can still install
Qi from a running system.

1) Run

sudo flash_erase /dev/mtd1 0 0

on your phone to erase your previous boot loader.

2) Run

sudo nandwrite -p /dev/mtd1 /usr/lib/qi/gta02/qi

to install Qi.

 -- Timo Juhani Lindfors <timo.lindfors@iki.fi>, Mon,  6 Jun 2011 10:52:28 +0300
