User:Khiraly

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Installing SHR to NAND)
(Replacing page with 'The pages was moved to Klaszlo')
Line 1: Line 1:
This is my personal page.
+
The pages was moved to Klaszlo
 
+
== First time installation ==
+
 
+
I installed a second Freerunner, and I collect here the necessary steps, to install a distro on it.
+
 
+
# Installing Qi
+
# Installing SHR to NAND
+
# Checking if I have the latest GSM firmware (calypso firmware: moko11)
+
# Installing SHR/OM2009 to the SD card
+
 
+
=== Installing Qi ===
+
 
+
The best to use openmoko [http://downloads.openmoko.org/distro/experimental/NeoFreerunner/ experimental] for qi.
+
I used [http://downloads.openmoko.org/distro/experimental/NeoFreerunner/qi-s3c2442-1.0.2+gitr243+36bb5c03756268ff15b2d95a043ffb39a919ce5c.udfu qi-s3c2442-1.0.2+gitr243+36bb5c03756268ff15b2d95a043ffb39a919ce5c.udfu] as of 2009-08-30.
+
 
+
''' Installation '''
+
Please refer to [http://wiki.openmoko.org/wiki/Qi#Installation Qi page], if you want to digg more.
+
 
+
# Check if  'dfu-util' is installed on your computer, if not install it. (I use ubuntu here)
+
  apt-get install dfu-util
+
 
+
# Connect an USB cable and turn off the Neo Freerunner
+
# Turn on the Neo by pressing AUX and POWER button at the same time until NOR uboot menu does not appear.
+
{{Note| if you dont press AUX for 30 sec, the Freerunner will automatically switch off (repower it the with the same method)}}
+
# Issue the following command as root:
+
  sudo bash
+
  dfu-util -a u-boot -R -D qi-s3c2442-1.0.2+gitr243+36bb5c03756268ff15b2d95a043ffb39a919ce5c.udfu
+
the output is something like:
+
root@lamagep:~/Asztal/down/openmoko/qi# dfu-util -a u-boot -R -D  qi-s3c2442-1.0.2+gitr243+36bb5c03756268ff15b2d95a043ffb39a919ce5c.udfu
+
dfu-util - (C) 2007-2008 by OpenMoko Inc.
+
This program is Free Software and has ABSOLUTELY NO WARRANTY
+
.
+
Opening USB Device 0x0000:0x0000...
+
Claiming USB DFU Runtime Interface...
+
Determining device status: state = appIDLE, status = 0
+
Device really in Runtime Mode, send DFU detach request...
+
Resetting USB...
+
Opening USB Device...
+
Found Runtime: [0x1d50:0x5119] devnum=20, cfg=0, intf=0, alt=1, name="u-boot"
+
Claiming USB DFU Interface...
+
Setting Alternate Setting ...
+
Determining device status: state = dfuIDLE, status = 0
+
dfuIDLE, continuing
+
Transfer Size = 0x1000
+
bytes_per_hash=571
+
Starting download: [##################################################] finished!
+
state(2) = dfuIDLE, status(0) = No error condition is present
+
Done!
+
Resetting USB to switch back to runtime mode
+
root@lamagep:~/Asztal/down/openmoko/qi#
+
 
+
=== Installing SHR to NAND ===
+
 
+
Having a working distrib in the NAND means, that you can use your freerunner as a uSD card reader, and
+
install the newest distribs to uSD card.
+
{{Note | Using you phone from NAND is not as fast as booting directly from uSD card. So I recommend to use your phone from uSD card on daily basis}}
+
comment: strange, I have exactly the opposite experience. nand is much faster and more relyable for daily use, than SD-card.
+
 
+
--[[User:Zoff99|zoff99]] 20:30, 14 October 2009 (UTC)
+
 
+
 
+
# Get the relevant sources
+
## kernel uImage (NAND): http://build.shr-project.org/shr-unstable/images/om-gta02/uImage-2.6.29-oe11+gitr119838+2d158aae9d8d36f575504f59884ed8e80802efe2-r3.5-om-gta02.bin
+
## root fs for NAND: http://shr.bearstech.com/shr-unstable/images/om-gta02/shr-lite-glibc-ipk--20090808-om-gta02.rootfs.jffs2
+
## root fs for uSD(uSD does not require uImage...bin): http://build.shr-project.org/shr-unstable/images/om-gta02/shr-lite-glibc-ipk--20090808-om-gta02.rootfs.tar.gz
+
 
+
# Turn on the Freerunner with uBoot NOR (press and hold AUX button and press and hold POWER button until the boot screen does not come up. The same steps as above when we flashed qi)
+
 
+
# Flash kernel and rootfs for NAND:
+
sudo dfu-util -a rootfs -R -D shr-lite-glibc-ipk--20090808-om-gta02.rootfs.jffs2
+
sudo dfu-util -a kernel -R -D uImage-2.6.29-oe11+gitr119838+2d158aae9d8d36f575504f59884ed8e80802efe2-r3.5-om-gta02.bin
+
 
+
# Reboot.
+
 
+
=== Checking GSM firmware version ===
+
 
+
# launch shr
+
# launch terminal application, and after:
+
  > mickeyterm
+
  > AT+CGMR
+
    +CGMR: "GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11"
+
# quit
+
 
+
=== Installing SHR to uSD ===
+
 
+
==== Partition tip ====
+
# Max 4 partition is permitted (additional partitions requires heavy tweakings)
+
 
+
# Here is a small partition tip for uSD. I prefer to partition into 3 the uSD card.
+
One for current distrib, one for newer distrib (to try out), one for the /home dir, for easy upgrading.
+
 
+
# In case of 512MB(only one distrib): 256MB for distrib, 256MB for /home
+
# In case of 4GB: 512MB for distrib1, 512MB for distrib2, 3GB for /home
+
 
+
== Elementary related ==
+
 
+
* [[Elementary]]
+
 
+
== Paroli related ==
+
 
+
These are some paroli related links.
+
 
+
* [[Paroli-issues]]
+
* [[Paroli-developer-setup]]
+
* [[Paroli-application-ideas]]
+
* [[Paroli-background]]
+
 
+
== Useful SHR links ==
+
 
+
distutils.bb class: http://cgit.openembedded.net/cgit.cgi/openembedded/tree/classes/distutils.bbclass?h=shr/import&id=17ffe51af5ec968a21760875aa1b521c516ddd24
+
 
+
patchwork: http://patchwork.dev.bearstech.com/project/SHR/list/
+
 
+
latest paroli recipe: http://cgit.openembedded.net/cgit.cgi/openembedded/tree/recipes/openmoko-projects/paroli_git.bb?h=shr/import
+
 
+
old paroli recipe: http://cgit.openembedded.net/cgit.cgi/openembedded/tree/recipes/openmoko-projects/paroli_git.bb
+
 
+
 
+
== FSO daemons and interface names ==
+
 
+
Two concurrent implementation: frameworkd (python), and cornucopia (vala)
+
 
+
 
+
Currently(20090906) on shr unstable are running the following daemons:
+
* fso-gpsd
+
* python /usr/bin/frameworkd
+
* /usr/bin/fsousaged
+
* fso-abyss
+
 
+
 
+
 
+
=== Summary of dbus service and process and interface ===
+
 
+
{| border="1" cellspacing=0 cellpadding=4
+
|-
+
! DBus object
+
! dbus service
+
! process name
+
! vala/python
+
| info/remarque/explanation
+
|-
+
| ?
+
| ?
+
| fso-gpsd
+
| ?
+
| ?
+
|-
+
| org.freesmartphone.ousaged
+
| /org/freesmartphone/Usage
+
| python /usr/bin/frameworkd
+
| python
+
| For more info please see: [http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.Usage.html;hb=HEAD org.freesmartphone.Usage]
+
|-
+
| org.freesmartphone.ogsmd
+
| /org/freesmartphone/GSM/Device
+
| python /usr/bin/frameworkd
+
| python
+
| For more info please see: [http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.GSM.Device.html;hb=HEAD org.freesmartphone.GSM]
+
|-
+
| ?
+
| ?
+
| /usr/bin/fsousaged
+
| ?
+
| ?
+
|-
+
| ?
+
| ?
+
| fso-abyss
+
| ?
+
| ?
+
|}
+
 
+
== Power button ==
+
 
+
rules.yaml:
+
http://paste.pocoo.org/show/138541/
+

Revision as of 09:30, 15 October 2009

The pages was moved to Klaszlo

Personal tools

The pages was moved to Klaszlo