QtMoko
From Openmoko
m (→Setting Time and Date) |
m (→Navit) |
||
Line 88: | Line 88: | ||
# apt-get install myapplication | # apt-get install myapplication | ||
Replace <tt>myapplication</tt> by the package name of application name you want to start. | Replace <tt>myapplication</tt> by the package name of application name you want to start. | ||
− | ==== | + | ==== Navit ==== |
If you want to install e.g. the application [[Navit]], you have to install the following packages. Navit needs and X-Server and it will run under [[QX]]. | If you want to install e.g. the application [[Navit]], you have to install the following packages. Navit needs and X-Server and it will run under [[QX]]. | ||
# apt-get install flite | # apt-get install flite | ||
− | # apt-get install navit | + | # apt-get install zip |
− | + | The zip-package is necessary to unzip the [http://www.openmobile.nl/media/download_gallery/navit-qtm.zip navit-qtm.zip] package. Z. | |
+ | # cd / | ||
+ | # wget http://www.openmobile.nl/media/download_gallery/navit-qtm.zip | ||
+ | # unzip navit-qtm.zip | ||
[[Category:Qt Moko| ]] | [[Category:Qt Moko| ]] |
Revision as of 09:33, 25 July 2010
Languages: |
English • العربية • Български • Česky • Dansk • Deutsch • Esperanto • Eesti • Español • فارسی • Suomi • Français • עברית • Magyar • Italiano • 한국어 • Nederlands • Norsk (bokmål) • Polski • Português • Română • Русский • Svenska • Slovenčina • Українська • 中文(中国大陆) • 中文(台灣) • Euskara • Català |
QtMoko is a Debian based distribution for the Neo FreeRunner. The phone and user interface are based on Qt Extended Improved formerly known as Qtopia. The QtMoko wiki can be found here.
Contents |
Download
Download the following files from radekp download to you desktop computer:
Installation
If you flash the FreeRunner with a kernel image from QtMoko, then you must install the kernel and the root file system with dfu-util.
Installation on SD card with Qi
If you have Qi installed then you can install QtMoko on the SD card. This seems to be useful if you want to work with different distribution and you can change the distribution just by changing the Mirco SD card in your FreeRunner.
NOTE: Installation in NAND-Memory with Qi is possible without errors, but with an installed bootloader Qi the boot process will terminate. Install u-Boot instead! |
Installation in NAND Memory with u-Boot
If you have Qi installed then install u-boot again as a bootloader by downloading a u-boot-binary on http://downloads.openmoko.org/distro/unstable/daily/ otherwise the boot process will terminate and you have to install u-Boot.
All versions of the GTA02 (Neo FreeRunner) that have been sold to the public are version 5 hardware, so look for a file with "gta02" and "v5" in the name, for example: uboot-gta02v5-latest.bin
sudo dfu-util -a u-boot -R -D u-boot-gta02v5-1.3.1.bin
Installation of Kernel and Root-FS
Switch off your FreeRunner and press the AUX and Power-On button at the same time. Your FreeRunner is showing the following U-Boot Menu:
*** BOOT MENU (NOR) ***
Boot Boot from Mirco SD (FAT/ext2) Set Console to USB Set Console to Serial Reboot Power Off
The FreeRunner will stay in this mode for only 30 sec. Within this time you have to start dfu-util. If you want to flash the kernel image (you will need to be root on your PC) then you have to start the following command in the 30sec your see the BOOT MENU:
# for the Neo FreeRunner: dfu-util -d 0x1d50:0x5119 -a kernel -R -D uImage-v24.bin
and finally the root fs with this one:
# for the Neo FreeRunner: dfu-util -d 0x1d50:0x5119 -a rootfs -R -D qtmoko-debian-v24.jffs2
Preparations on the Connected PC/Laptop
- To enable connections just by using the hostname openmoko edit the /etc/hosts and add line
192.168.0.202 openmoko
- Enable internet connection via USB Networking so that the installation of packages will be possible.
First Boot
After finishing the installation without errors you have to start the FreeRunner and calibrate the touch screen. The you see the installed QtMoko on your device.
First Login
If you want to login to your FreeRunner set up a network connection (see USB Networking) with USB cable and start:
desktop# ssh -X -l root 192.168.0.202
The root password is empty so set it for security reason especially when you open the ssh-daemon on the WLAN network interface. Define root password as usual on a linux box with
neo# passwd
If you have established the internet connection via USB cable then update the repository data:
neo# apt-get update
If you want to check if the internet connection is available on your freerunner ping the OpenMoko web server with:
neo# ping 88.198.93.221 neo# ping wiki.openmoko.org
If the first ping works and the second doesn't then check the DNS server settings (see USB Networking).
Setting Time and Date
Set the time and date on from your linux box with
ssh root@openmoko "date -us @`date -u +%s`"
If you want to set the time with a NTP Client install the following package, if you have a network connection available (see USB Networking)
# apt-get install ntpdate # ntpdate-debian
For further detail see Setting Date and Time.
Usage
Login
If you want to login to your FreeRunner set up a network connection (see USB Networking) with USB cable and start:
desktop# ssh -X -l root 192.168.0.202
or if hostname is defined in /etc/hosts
desktop# ssh -X -l root openmoko
Installation of Applications
If you want to install applications (e.g. myapplication) login on your freerunner
# apt-get install myapplication
Replace myapplication by the package name of application name you want to start.
If you want to install e.g. the application Navit, you have to install the following packages. Navit needs and X-Server and it will run under QX.
# apt-get install flite # apt-get install zip
The zip-package is necessary to unzip the navit-qtm.zip package. Z.
# cd / # wget http://www.openmobile.nl/media/download_gallery/navit-qtm.zip # unzip navit-qtm.zip