View source for Qtopia on FreeRunner/zh tw
From Openmoko
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Templates used on this page:
Return to Qtopia on FreeRunner/zh tw.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Templates used on this page:
Return to Qtopia on FreeRunner/zh tw.
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à |
本頁的內容將提供您關於在 GTA02 (FreeRunner) 上如何安裝 Qtopia/Qt Extended (proper, not the ASU or QtopiaOnX11 efforts),它與Qtopia on Neo1973中的內容相當類似。
|
2008年的十月三日,Trolltech公司釋出了針對Openmoko Neo FreeRunner使用的,包含Qtopia 4.4.1版本的 Qtopia ROM flash image containing the rootfs。這個版本可以為 mwebster 含了kernel的ROM flash image。
這個映像檔可以成功的發送及接收通話及文字訊息。它可以讀取sim卡上的所有通訊錄(它更新了2007.2 無法顯示通訊錄的功能)。 它包含了較2007.2 映像檔中更為穩定的映應用程式。它擁有更為成熟的多重輸入的方法。但它並沒有web瀏覽器或者是GPS 應用程式。 但你可以使用協力廠商的 GPS 應用程式:
在2008年的9月2日,Trolltech也釋出了4.3.3-snapshot,它修正了一些問題 (sms 訊息無法在重新開始後接收訊息,Qtopia 會在接收二通電話間處生問題、預設的通話音量及麥克風輸出;迴音修正)。You can find all the Qtopia images here (including Qtextended/Qtopia 4.4 for FreeRunner and Neo1973!)
Qtopia 4.4 以 QtExtended 4.4的名稱釋出。
Download the image mentioned above and follow the instructions here: Flashing the Neo FreeRunner
Installation Requirements:
See the Preparing the SD Card section of the Booting from SD page for partitioning and formatting instructions. After you complete the "Formatting the SD Card" steps, return here and execute the following:
mount /dev/mmcblk0p1 /media/card mkdir /media/card/boot
mkdir /media/mmcblk0p2 mount /dev/mmcblk0p2 /media/mmcblk0p2
This will set you up properly for the installation of the root filesystem and the kernel in the steps below.
Download the Qtopia FLASH image from Latest Images#Qtopia images to your Linux box and extract its contents:
tar xzf qtopia-4.3.2-gta02-flash-*.tgz
You should now have two files:
Now, mount the root file system from the jffs2 using the commands found here. However, in the mount command, substitute the image filename for "/dev/mtdblock0".
Next, tar up the root filesystem:
Where <mountpoint> is the location where the jff2 filesystem was mounted. Note the space and the period after the mountpoint.
Transfer this compressed tarball to the second partition of the MicroSD that is mounted on the FreeRunner:
scp qtopia-4.3.2-gta02-rootfs-07172049.tar.gz root@192.168.0.202:/media/mmcblk0p2/
Log in to your FreeRunner and unpack the root filesystem:
cd /media/mmcblk0p2 tar xzf qtopia-4.3.2-gta02-rootfs-07172049.tar.gz rm qtopia-4.3.2-gta02-rootfs-07172049.tar.gz rm -f /media/mmcblk0p2/boot/*
Note: the last step removes the kernel image from the second partition. For some reason, U-Boot cannot find the uImage.bin file in the first partition if a kernel image exists in the second partition boot/ directory.
From your Linux box, rename uImage-2.6.24+git18+9c058ff0d2641df3c36fc3300acb72078d2c41d4-r0-om-gta02.bin to uImage.bin and copy it to the boot directory on the first partition of the MicroSD card. Depending on the version of U-Boot you have installed, this may not work. To prevent any possible issues, copy it to the /media/card directory as well. There is plenty of room on the first partition to have uImage.bin in both locations.
mv uImage-2.6.24+git18+9c058ff0d2641df3c36fc3300acb72078d2c41d4-r0-om-gta02.bin uImage.bin scp uImage.bin root@192.168.0.202:/media/card/boot/ scp uImage.bin root@192.168.0.202:/media/card/
Lorn Potter on the mailing lists pointed this out:
Qtopia was designed to be run from the root partition on a flash chip, not from a removable sd card.
You would have to edit the etc/default/Trolltech/Storage.conf file to make it forget about the sd /dev node, to be able to run it this way"
Another user's solution to this is the following:
Edit this file: " /opt/Qtopia/etc/default/Trolltech/Storage.conf And change the [MountPoint0] section so it resembles this: -[ [MountPoint0] Name[] = SD Card Path=/dev/mmcblk0p1 Removable = 0 Applications = 0 Documents = 0 ContentDatabase = 0
NOTE: This will upgrade only opt/Qtopia directory, you should use opkg update/upgrade for the rest |
Original Qtopia images (the distribution released by Trolltech, not ASU) are rarely released as a rootfs image, but the source code is often updated. If you want to reflash your OM with the latest version of Qtopia you might build it from sources. This has been explained in this thread of the community mailing list. Summing up:
cd / wget http://qtopia.net/downloads/neo/arm920t-eabi-ficgta01-toolchain.tgz tar xvzf arm920t-eabi-ficgta01-toolchain.tgz
tar xvzf qtopia-opensource-src-4.3.2-snapshot-20080806.tar.gz
mkdir build cd build
../qtopia-opensource-src-4.3.2-snapshot-20080806/configure -device ficgta01 make This will take some time (couple hours). Note that the option "-device ficgta01" should work for both neo and freerunner. Then:
make install
will make a root directory into the build directory. There you can find an image that directory should be copied to /opt/Qtopia of your phone with scp. once done restart qpe or whole phone.
Now shutdown the FreeRunner
shutdown -h now
Log into U-Boot in the NAND Flash to boot from the MicroSD card: (instructions from Booting the Neo FreeRunner)
Qtopia should now boot.
Note: you may get a kernel panic which says that "optional features not supported". If this is the case, boot back into 2007.2 and run
umount /dev/mmcblk0p2 fsck.ext3.e2fsprogs /dev/mmcblk0p2
This will clean up the file system and clear recovery flags in ext3 that ext2 does not support, then try booting from the MicroSD again.
Qtopia comes with support for German and American English, and users from other countries will find that Qtopia's predictive keyboard makes writing in another language near impossible. One way to disable the predictive keyboard is to simply replace /opt/Qtopia/etc/dict/en_US/common.dawg and words.dawg with empty files (after backing them up). Qtopia normally looks in these files for words to suggest, and if it doesn't find any words that fit, it simply shows what you actually wrote.
Adding characters to the keyboard requires modifications to the source code, as described here.
It seems that suspend/resume only works when the FreeRunner has been connected to a powersource (only a few seconds if sufficient). If you boot from battery, it will never suspend until you have plugged it in at least for a couple of seconds.
See Trolltech's tracker (Qtopia Tracker).
Bug reports should be sent to qt-bugs@trolltech.com or by web form at http://trolltech.com/bugreport-form.