Well, I have bought this FR kit for about almost one mounth. I'm planning to use it as a daily phone, which will be simply loaded with three system, tiny/develop/stable.
Note: I have bought a Kingston SDC4 8GB micro-SD
As a newbie to free runner, the most important thing is to get access to FR (Neo FreeRunner). Well, here is the first hand experience to get access to FR.
IMO, FR can be used as both a Open-phone/Open-PDA, and the only difference between Open-Phone and Open-PDA is that whether you will use SGM module.
Totally, there are about three items that you have to foucus, SIM card, micro-sd card, and battery, of course .
Note: If you choose a simple Open-PDA, then you might only need to install battery, if you don't care about disk space.
Here is normal steps from openmoko and quite detailed.
Tapping the power button exits the current application.
Holding the power button brings up a menu allowing you to:
Tapping the Aux button hides or shows the currently running application.
Holding the Aux button brings up a menu allowing you to:
This is easy, there are two basic way to charge your FR.
AFIAK, I'm quite sure that there is some to do with hardware spec. Anyway, I'll investigate this later. Cause I think power is one of the most important thing from the point of resource view.
I'm *NOT* going to cover OS, other then ubuntu 8.10 and ubuntu 8.04. Anyway, it's just a tracking page which I have went though.
If you are running other OS and met something strange, you can go openmoko wiki for questions. Hope this link will help.
It's quit simple, as I write an urgly script to do all the job for me
Here, we go …
#! /bin/bash sudo ifconfig usb0 192.168.0.200 sleep 2 sudo iptables -I INPUT 1 -s 192.168.0.202 -j ACCEPT sudo iptables -I OUTPUT 1 -s 192.168.0.200 -j ACCEPT sudo iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 sudo bash -c 'echo 1 > /proc/sys/net/ipv4/ip_forward'
$ ssh email@example.com
Well, have fun
Actually, you don't need to flash u-boot(Nor-Flash), as S3C2442 can boot right from Nand-Flash. If you wanna have an insight view of source code of u-boot and try some ideas, why NOT use Nand-Flash. In case, you boot code doesn't work, you can easily flash FR with the support from Nor-Flash.
It will cause quite a lot trouble to remove the font cover. And I have 2440 demo board, I won't try this to demonstrate my idea. And I'm quite interested in kernel/rootfs and 3D reconstruction application on special purpose
So here I'm going to track how to simple flash u-boot(Nand)/kernel/rootfs.
There are lots of ways to do this:
I like DFUScript most
dfuscript.sh - (c)2008 Shawn 'prjktdtnt' Thompson This program is Free Software and has ABSOLUTELY NO WARRANTY Usage: dfuscript.sh device alternative file Accepted Devices: freerunner or fr - Neo Freerunner neo1973 or 1973 - FIC Neo1973 Accepted Alternatives: kernel - Usually a file ending in .bin rootfs - Usually a file ending in .jffs2 u-boot - Usually a file ending in .bin (see warning below)** ----------------------------------------------------------- **WARNING: Updating u-boot on the 1973 can brick your phone if the wrong image is used, please do not attempt this if you do not have a dboard!** -----------------------------------------------------------
Flash the kernel
./dfuscript.sh fr kernel kernelName.image.bin
Flash the rootfs
./dfuscript.sh fr rootfs rootfsName.rootfs.jffs2
Flash the u-boot
./dfuscript.sh fr u-boot version_name_of-u-boot.bin
I have to say that GSM firmware really touble me a lot. For almost three days, I can't even dial a number out. Happy now, as I flashed latest GSM firmware. I don't know if there will be any update lately. But onething is for sure, just update to the latest stable one
OK, here is the steps, let's make it as simple as possible:
root@om-gta02:~# echo 0 >/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on root@om-gta02:~# echo 1 >/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on root@om-gta02:~# s3c24xx-gpio b7=0 root@om-gta02:~# stty 0:4:18b2:8a00:0:0:7f:15:4:0:0:0:0:0:0:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 -F /dev/ttySAC0 root@om-gta02:~# stty 0:4:18b2:8a00:0:0:7f:15:4:0:0:0:0:0:0:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 -F /dev/ttySAC0 root@om-gta02:~# echo -en "AT@POFF\r" >/dev/ttySAC0; sleep 1; echo -en "AT@POFF\r" >/dev/ttySAC0
root@om-gta02:~# cd /usr/sbin root@om-gta02:/usr/sbin# FLUID_PORT=/dev/ttySAC0 fluid.exe -oo -od13,13 -b 115200 -f $HOME/calypso-moko11.m0
It should say something like this (takes a few seconds to load the file):
FLUID Revision 2.27, ... Bootloader: (reset target)
root@om-gta02:~# s3c24xx-gpio b7=1
root@om-gta02 /usr/sbin $ FLUID_PORT=/dev/ttySAC0 fluid.exe -oo -od13,13 -b 115200 -f /home/root/calypso-moko11.m0 FLUID Revision 2.27, (23 Aug 2004). Copyright Texas Instruments, 2001-2004. Reading image file: '/home/root/calypso-moko11.m0' (2138kB) ok Bootloader: (reset target) (ROM, version ?) ok Checksumming (269 * 8kB = 2152kB): ok Flash Detect: (0xEC, 0x22A0) Samsung K5A3240CT ok Program: (34 sectors, 267*8k=2136k) (*******************) ok
Well, done! I did this without any error. If you find something strange, you maybe should visit this page at openmoko.
Note: You can visit home page to get a latest version.
$ opkg install http://projects.openmoko.org/frs/download.php/228/gpssight_0.8.4_armv4t.ipk
$ opkg install http://www.tangogps.org/downloads/tangogps_0.9.5-r0_armv4t.opk
$ cd /etc/opkg $ wget http://minucci.net/file/gecco-feed.conf $ opkg update $ opkg install yaouh
$ opkg install http://www.mumpot.org/download/mumpot_0.4-r0_armv4t.opk
If you use the above command to install mumpot, it might be failed with following message, see below.
Installing mumpot (0.4-r0) to root... Collected errors: * ERROR: Cannot satisfy the following dependencies for mumpot: * gtk+-fastscaling (>= 2.10.14) *
It doesn't matter, if you have installed gtk packages. As you will won't find gtk+-fastscaling in opkg repository any more. Go on… then you will get a warning message instead of ERROR, see below.
$ opkg -force-depends install http://www.mumpot.org/download/mumpot_0.4-r0_armv4t.opk Downloading http://www.mumpot.org/download/mumpot_0.4-r0_armv4t.opk Installing mumpot (0.4-r0) to root... Configuring mumpot Collected errors: * Warning: Cannot satisfy the following dependencies for mumpot: * gtk+-fastscaling (>= 2.10.14) *
$ opkg install libpurple-protocol-qq libpurple-protocol-msn libpurple-protocol-myspace
$ opkg install http://projects.openmoko.org/frs/download.php/803/neon_1.0.0-r0_all_py2.6.ipk
FR can't display Chinese character, cause there is some .ttf file missing. Ref: shr-sms-chinese-character-support
$ tar -zxvf fireflysung-1.3.0.tar.gz $ cp fireflysung.ttf /usr/share/fonts/truetype/ then reboot the FR.
download fireflysung (6.79 MiB, 12 downloads)
I found there is something wrong with my FR's destop icon(theme), see contacts/USB/Mump… in below image.
I found that there is just one single line message. It seems that it losts line feed character.
$ opkg status --verbosity 5 Collected errors: * Could not obtain administrative lock
When interrupt opkg operation, lock will NOT be removed by the system. So we have to remove lock manually, with the following command.
$ rm /usr/lib/opkg/lock
Hope someone can fix it by program. :)
$ mkdir GTA02 $ cp ./arch/arm/configs/gta02_moredrivers_defconfig GTA02/.config
$ ./build GTA02
Once the script finishes you will get two files. The first is uImage-GTA02.bin and a second file with a longer name but same contents, for instance uImage-moredrivers-GTA02_andy-tracking_c16287685cb59f91.bin. Please use the second file if you publish your kernel in some server or if you talk about it in public (specially in bugs reports) because it will allow others to know what kernel you were trying (in case you don't have local changes).
In order to build the modules you can:
$ ./build GTA02 dummy
This will create a file called modules-GTA02_andy-tracking-<git hash>.tar.gz. The contents of this file have to be copied to /lib/firmaware and /lib/modules and one way to do it is untarring the file on the root directory of the device.
Well, due to Nokia BL-5C battery can't be charged on FR now, I decide to dig a little bit deep so that I can use it. I will keep digging …
Connect FR though USB and send below command from server.
$ ssh firstname.lastname@example.org "date -u -s `date -u +%m%d%H%M%Y.%S`"
Then ssh FR though USB and issue below command:
$ ln -sf /usr/share/zoneinfo/PRC /etc/localtime