Manuals/Neo FreeRunner/it

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(translations)
 
(66 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Languages|Come iniziare con il tuo Neo FreeRunner}}
+
{{Languages|Manuals/Neo FreeRunner}}
  
 
{| class="wikitable" cellspacing="2" cellpadding="2" style="padding: 0%; margin:0em 0em 1em 0em; border:1px solid #cccccc; background:#eeeeee; width:100%;floating="center"; "
 
{| class="wikitable" cellspacing="2" cellpadding="2" style="padding: 0%; margin:0em 0em 1em 0em; border:1px solid #cccccc; background:#eeeeee; width:100%;floating="center"; "
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:1px solid #222222; width:75% " |
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:1px solid #222222; width:75% " |
<div align="left">
+
<div align="left">
Grazie per aver comprato questa versione da Sviluppatori del Neo Freerunner. Il telefono [[Neo FreeRunner]] è la seconda piattaforma hardware che sfrutta nativamente [[Openmoko]]. Questa guida ti aiuterà a conoscere il tuo Neo Freerunner e ti indicherà come inizare ad usarlo.
+
Grazie per aver comprato questa versione da Sviluppatori del Neo FreeRunner. Il telefono [[Neo FreeRunner]] è la seconda piattaforma hardware che sfrutta nativamente [[Openmoko/it]]. Questa guida ti aiuterà a conoscere il tuo Neo FreeRunner e ti indicherà come inizare ad usarlo.
 
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:1px solid #222222; width:25% " |
 
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:1px solid #222222; width:25% " |
[[Image:Freerunner box.png|200px|thumb|La confezione del Neo Freerunner]]
+
[[Image:Freerunner box.png|200px|thumb|La confezione del Neo FreeRunner]]
 
|}
 
|}
  
 
== Contenuti della Confezione ==
 
== Contenuti della Confezione ==
 
 
{| class="wikitable" cellspacing="2" cellpadding="2" style="padding: 0%; margin:0em 0em 1em 0em; border:1px solid #ffffff; background:#ffffff; width:80%; floating="center"; "
 
{| class="wikitable" cellspacing="2" cellpadding="2" style="padding: 0%; margin:0em 0em 1em 0em; border:1px solid #ffffff; background:#ffffff; width:80%; floating="center"; "
! style="background:#ffffff;border-left:1px solid #ffffff;border-right:1px ; border-top:2px solid ffffff; border:1px solid #ffffff; " |
+
! style="background:#ffffff;border-left:1px solid #ffffff;border-right:1px ; border-top:2px solid ffffff; border:1px solid #ffffff; " |
 
<div align="left">
 
<div align="left">
 
[[Image:GTA02ALL.png|400px|thumb|All'interno della Confezione]]
 
[[Image:GTA02ALL.png|400px|thumb|All'interno della Confezione]]
Line 26: Line 25:
 
</div>
 
</div>
  
== Iniziare a Conoscere il Neo Freerunner ==
+
== Iniziare a Conoscere il Neo FreeRunner ==
 
+
 
<div align-center>
 
<div align-center>
 
<table width="80%" style="clear: both; border: 1px solid #ffffff; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 100%; margin: 0 1px;">
 
<table width="80%" style="clear: both; border: 1px solid #ffffff; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 100%; margin: 0 1px;">
Line 33: Line 31:
 
<td style="width: 25px; padding-left: 0.5em;">
 
<td style="width: 25px; padding-left: 0.5em;">
 
</td>
 
</td>
<td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #ffffff;">[[Image:menu8.jpg|370px|thumb|Pulsante AUX Button e jack cuffie (da sinistra a destra)|center]]</td><td style="padding: 1px 1em 0; background: #ffffff;">
+
<td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #ffffff;">[[Image:menu8.jpg|370px|thumb|Pulsante AUX e jack cuffie (da sinistra a destra)|center]]</td><td style="padding: 1px 1em 0; background: #ffffff;">
[[Image:menu9.jpg|365px|thumb|Pulsante di Accensione, porta USB ed antenna GSM esterna (da sinistra a destra)|center]]</td></tr></table>
+
[[Image:menu9.jpg|365px|thumb|Pulsante di accensione (Power), porta USB e antenna GSM esterna (da sinistra a destra)|center]]</td></tr></table>
 
</div>
 
</div>
  
Line 56: Line 54:
  
 
=== Inserire la scheda Micro-SD, la SIM e la Batteria ===
 
=== Inserire la scheda Micro-SD, la SIM e la Batteria ===
 +
# Rimuovere la cover posteriore del Neo FreeRunner tenendo il dispositivo per i lati e, con l'unghia, facendo leva nel taglio visibile nella parte superiore del dispositivo.
 +
# Individuare il sistema che blocca la scheda SIM e la memoria Micro-SD, al fianco dello scomparto per la batteria.
 +
# Sganciare il blocca scheda SIM facendo scivolare con l'unghia la parte metallica verso il basso (ovvero in direzione dell'entrata USB). Prestare attenzione durante l'operazione, poichè, data la delicatezza delle parti esse potrebbero rimanere danneggiate se forzate nella direzione sbagliata.
 +
# Sollevare il blocca scheda SIM.
 +
# La memoria Micro-SD è bloccata da due fermagli su ambo i lati. Per una maggiore sicurezza, sarà possibile aprire l'alloggiamento per la Micro-SD sbloccando i fermagli uno alla volta, anziché tirando dal centro, poiché quest'ultima pratica tende ad aumentare la pressione sui fermagli laterali. Un cacciavite o un piccolo coltello possono aiutare in questa operazione.
 +
# Inserire la memoria Micro-SD nell'apposito spazio. Assicurarsi che i contatti elettrici siano rivolti verso il basso e vicino al bordo del Neo FreeRunner.
 +
# Chiudere il blocca scheda Micro-SD assicurandosi che entrambi i fermagli siano ben agganciati.
 +
# Inserire la scheda SIM nel blocca scheda SIM, facendo attenzione a farla scivolare dentro le due linguette metalliche. Assicurarsi che i contatti metallici siano rivolti verso il basso e l'angolo tagliato sia rivolto verso la presa dell'antenna GPS esterna.
 +
# Chiudere il blocca scheda SIM e assicurarlo facendo scivolare la parte metallica in direzione della presa per l'antenna GPS esterna del Neo FreeRunner.
 +
# Inserire la batteria nell'apposito alloggiamento, allineando i contatti elettrici della batteria con quelli del dispositivo. Inserire prima il lato con i contatti elettrici.
 +
# Reinserire la cover posteriore del Neo FreeRunner.
  
# Rimuovere la cover posteriore del Neo Freerunner, tenendo il dispositivo per i lati e usando l'unghia fare leva nello spazio in cima allo stesso.
+
[[Image:FR_SIM_SD_open.jpg|457px|thumb|Alloggiamenti della SIM e della SD aperti, con rispettive schede in sede|center]]
# Ora dovreste essere in grado di riconoscere il sistema che tiene la scheda SIM e la memoria Micro-SD, al margine con lo scomparto per la batteria.
+
# Sblocca il blocca scheda SIM facendo scivolare con l'unghia la parte metallica in giù, facendo attenzione all'entrata USB. Prestare attenzione, poichè queste parti sono delicate e potrebbero essere danneggiate forzandole nella direzione sbagliata.
+
# Lift up on the SIM card holder.
+
# The Micro-SD card holder is held in place by a latch on either side.  It is easiest to open the Micro-SD card holder by releasing these latches one at a time rather than by lifting from the middle, as lifting from the middle tends to increase the latching pressure.  A small screwdriver or knife can be used for this.
+
# Insert the Micro-SD card into the Micro-SD card holder.  Note that the electrical contacts should face down and towards the edge of the Neo Freerunner.
+
# Close the Micro-SD card holder, making sure that both latches are securely fastened.
+
# Insert the SIM card into the SIM card holder, taking care to slide inside the two metal tabs in the cover.  Please note that the electrical contacts should face down and that the cut corner should be closest to the external GPS Antenna Socket.
+
# Close the SIM card holder and lock it by sliding the metal clip towards the external GPS Antenna Socket on the FreeRunner.
+
# Insert the battery into the battery compartment, aligning the electrical contacts on the battery with the electrical contacts in the battery compartment.  Insert the side with the electrical contacts first.
+
# Replace the rear cover on the FreeRunner.
+
  
=== Accendere il Neo Freerunner ===
+
=== Ricaricare il Neo FreeRunner ===
 +
Per un corretto caricamento della batteria del Neo FreeRunner, durante il primo processo di carica, si consiglia di portarlo a termine completamente. La batteria può essere caricata con il caricatore fornito (a 1000mA) o con una porta USB che abbia la capacità di fornire 500mA di corrente. La maggior parte dei computer sarà in grado di caricare il Neo FreeRunner senza problemi.
  
==== Ricaricare il Neo Freerunner====
+
Caricando a 100mA ci vorranno 6-12 ore, invece a 500mA ci vorrà 1-2 ore. ([http://openmoko.togaware.com/survivor/Charging.html openmoko.togaware.com])
  
When using the Neo Freerunner for the first time, you should charge the battery completely. The battery can be charged using the provided charger (at 1000mA) or from a powered USB port capable of providing 500mA worth of current.  Most computers will be able to charge the FreeRunner without any problems.
+
===I pulsanti===
 +
====Power====
 +
Premendo il pulsante Power si uscirà dall'applicazione corrente.
  
Charging at 100mA takes 6-12 hours and at 500mA takes 1-2 hours. (from [http://openmoko.togaware.com/survivor/Charging.html openmoko.togaware.com])
+
Tenendo premuto il pulsante Power invece apparirà un menù che vi permetterà di accendere e spegnere il GSP, WIFI, GSM, l'antenna Bluetooth, e anche spegnere il Neo FreeRunner.
 +
 
 +
==== Aux ====
 +
Premendo per un secondo il pulsante Aux apparirà un menù che vi permetterà di:
 +
* Attivare lo schermo intero: per nascondere o mostrare la barra del titolo
 +
* Cambio di orientamento: ruota il contenuto dello schermo per la visualizzazione verticale o orizzontale
 +
* Screenshot: parte un'applicazione che permette di catturare e salvare un'immagine del contenuto dello schermo
 +
 
 +
=== Password ===
 +
L'utente root di default non ha password. Per metterne una è sufficiente digitare nel terminale:
 +
# passwd
 +
La password sarà inserita, in forma criptata, nel file <tt>/etc/passwd</tt>.
 +
 
 +
=== Dare un nome al neonato ===
 +
Se l'hostname <tt>om-gta02</tt> non ci soddisfa, lo possiamo cambiare andando ad editare il file di configurazione in questione con
 +
# vi /etc/hostname
  
 
=== Sbloccare lo Schermo ===
 
=== Sbloccare lo Schermo ===
 +
Quando lo schermo è bloccato, vedrai una grafica verde in stile Matrix con il simbolo di Openmoko nel centro della parte bassa dello schermo, assieme al simbolo di ''bloccato'' e ''sbloccato''. Se si trascina il simbolo di Openmoko fino alla cima dello schermo, verso il simbolo di ''sbloccato'', si sbloccherà lo schermo.
 +
 +
===Menu e Applicazioni===
 +
 +
''Nota:'' questa sezione descrive l'interfaccia utilizzata dall'immagine "2007.2", che è correntemente l'immagine predefinita Openmoko.
 +
 +
==== Schermata Oggi ====
 +
[[Image:Todaypage_reduced_false.png|right|200px|]]
 +
La prima cosa che vi apparirà dopo aver fatto partire l'Openmoko è la pagina "Oggi". Questa è la vostra pagina principale. Sulla riga in alto, troverete le icone che indicano lo stato del vostro telefono. In seconda riga ci sono dei collegamenti alle applicazioni più usate, come il tastierino numerico per le chiamate. Il corpo principale della schermata è la vostra schermata principale, con un orologio in mezzo e con altre informazioni utili. La riga in basso è composta da tre linguette che rappresentano le schermate Oggi (quella che stiamo visualizzando ora), schermata di Avvio delle Applicazioni e la schermata dei Processi in Esecuzione.
 +
 +
Si veda [[Today/2007.2/it]] per maggiori informazioni a riguardo della schermata Oggi e sulla sua personalizzazione.
 +
 +
====Schermata per l'Avvio delle Applicazione====
 +
 +
{{stub}}
 +
 +
Questa schermata mostra una lista delle applicazioni avviabili. Puoi scegliere se far mostrare le categorie di software per semplificare la visualizzazione, oppure visualizzarle tutte.
 +
 +
Le categorie attualmente disponibili sono [[PIM Suite]], [[Application]], [[Games]], [[Utilities]], and All.
 +
 +
====Schermata dei Processi in Esecuzione====
 +
 +
{{stub}}
 +
 +
Mostra le applicazioni correntemente in esecuzione. Ogni singolo processo può essere terminato, selezionandolo e cliccando sull'icona del "Cestino". Si possono terminare tutti i processi, selezionadone uno e poi cliccando sull'icona della "Cartella" (aspettatevi un cambiamento nelle versioni future). Tutti i processi possono essere riavviati selezionandoli e cliccando sull'icona di "Ritorna" in mezzo in alto.
 +
 +
====Uscire da un'Applicazione====
 +
 +
In qualsiasi momento si può uscire da un'applicazione in esecuzione, cliccando sul bottone Power del dispositivo, così ritornando alla schermata Oggi.
 +
 +
Alternativamente, si può saltare ad un'altra applicazione, cliccando sul menu dei processi nell'angolo in alto a sinistra dello schermo, che vi mostrerà la lista dei processi in esecuzione permettendoti di sceglierne uno.
 +
 +
(''Nota:'' Se il menu dei processi non viene mostrato, usare il bottone [[#Aux|Aux]] per far apparire il menu Aux, dove selezionerete "Lascia schermo intero".)
 +
 +
===Regolare il Volume===
 +
 +
Nel momento in cui scriviamo, non esiste modo di regolare il volume dallo schermo.
 +
 +
Per ora dovete lanciare il Terminale o effettuare il [[Getting_Started_with_your_Neo_FreeRunner#Connect_to_the_Neo_FreeRunner_By_USB_Networking|log in via usb]], e avviare l'applicazione [[Neo_alsamixer|alsamixer]]. Il mixer è più semplice di quel che sembra. Basta muoversi con i tasti direzionali destra e sinistra per selezionare "headphone" (cuffie) o "PCM", ed utilizzare i tasti direzionali su e giu per regolare il volume. Si può anche regolare il microfono con la regolazione di "mic2". Premere poi ESC quando finito. A questo punto chiudere il Terminale o fare logout dal login USB.
 +
 +
Dovrai aggiornare i file di configurazione in /usr/share/openmoko/scenarios/ per rendere le regolazione del microfono permanenti. Per fare ciò, usa
 +
alsactl -f ''path-to-statefile'' store
 +
 +
=== Accedere alla scheda Micro-SD ===
 +
 +
Questa è montata in /media/card
 +
 +
=== Importare i contatti===
 +
 +
Se puoi esportare i tuoi contatti nel formato VCard, sia in file multipli, sia in un unico file che li contiene tutti, puoi usare lo script della schermata [[Import Vcf Contacts]] per portarli tutti sul Neo FreeRunner.
 +
 +
=== Dove andare quando le cosa vanno male ===
  
When the screen is locked, you should see a Matrix-style green graphic with the Openmoko symbol in the middle of the bottom of the screen along with lock and unlock symbols. If you drag the Openmoko symbol to the unlock symbol at the top then the screen will become unlocked.
+
Puoi chiedere aiuto sulla mailing list di supporto: maggiori informazioni su https://lists.openmoko.org/mailman/listinfo/support
  
== Connettere il Neo Freerunner alla Rete via USB ==
+
[[FreeRunner_Hardware_Issues]]
  
Connect the Neo FreeRunner to a GNU/Linux host with the USB cable. For Mac OS X please refer to [[MacOS_X]]. After booting into the Openmoko image there will be a new interface, usb0, on your GNU/Linux host.
+
== Connettere il Neo FreeRunner alla Rete via USB ==
 +
Connettere il Neo FreeRunner a un computer GNU/Linux con il cavo USB. Per fare questo con Mac OS X, riferitevi a [[MacOS_X]]; invece per fare ciò con Windows XP e Vista, riferitevi a [[Neo1973_and_Windows]] (che funziona anche per il Neo FreeRunner). Dopo il boot nell'immagine di Openmoko avrete una nuova interfaccia, usb0, sul vostro computer GNU/Linux.
  
 
===== Metodo Manuale =====
 
===== Metodo Manuale =====
Type in the following commands in the terminal of a GNU/Linux host:
+
Digitare i seguenti comandi in un terminale GNU/Linux:
  
ifconfig usb0 192.168.0.200 netmask 255.255.255.0
+
ifconfig usb0 192.168.0.200 netmask 255.255.255.0
ssh root@192.168.0.202
+
ssh root@192.168.0.202
  
Press Enter to get by the password.
+
Premere Invio per inserire la password.
  
 
===== Metodo Automatico =====
 
===== Metodo Automatico =====
*Debian and derivatives (Ubuntu, Sidux etc.)
+
*Debian e derivate (Ubuntu, Sidux etc.)
Edit /etc/network/interfaces:
+
Modificare il file /etc/network/interfaces:
  
auto usb0
+
auto usb0
iface usb0 inet static
+
iface usb0 inet static
address 192.168.0.200
+
address 192.168.0.200
netmask 255.255.255.0
+
netmask 255.255.255.0
  
*Gentoo  
+
*Gentoo
Edit /etc/conf.d/net:
+
Modificare il file /etc/conf.d/net:
  
config_usb0="192.168.0.200/24"
+
config_usb0="192.168.0.200/24"
  
Restart the networking service ('/etc/init.d/networking restart' for Debian-based systems) and then type the following command in the terminal of the GNU/Linux host:
+
Riavviare i servizi di rete('/etc/init.d/networking restart' per i sistemi basati su Debian) e quindi digitare i seguenti comandi in un terminale GNU/Linux:
  
ssh root@192.168.0.202
+
ssh root@192.168.0.202
  
Press Enter to get by the password.
+
Premere Invio per inserire la password.
  
 
{{note|
 
{{note|
If your network device is using the ip range 192.168.0.x you may have to use the following command before you are able to connect
+
Se il tuo dispositivo di rete sta usando un intervallo di ip 192.168.0.x dovrai usare il seguente comando prima di poterti connettere:
  
route add -host 192.168.0.202 dev usb0 }}
+
route add -host 192.168.0.202 dev usb0 }}
  
 
===== Automatizzare ancora di più le operazioni =====
 
===== Automatizzare ancora di più le operazioni =====
If you don't want to remember the IP address of your phone then you can create an alias by adding the following line to your /etc/hosts:
+
Se non vuoi doverti ricordare l'indirizzo ip del tuo telefono, puoi creare un alias aggiungerndo la seguente riga nel file /etc/hosts:
  
192.168.0.202  openmoko
+
192.168.0.202  openmoko
  
Now it should be possible to connect to your phone using the following command:
+
Ora sarà possibile connettersi al proprio telefono usando il seguente comando:
  
ssh root@openmoko
+
ssh root@openmoko
  
The above only gets you a Secure Shell connection to the Openmoko device, it does not allow the Openmoko device to connect to the Internet. If you are interested in connecting the device to the internet then check out the [[USB_Networking]] section.
+
Il comando precedente ti fornisce solamente una connessione con una Shell sicura con il tuo dispositivo Openmoko, non ti permette di collegare il tuo dispositivo a Internet. Se ti interessa collegare il tuo dispositivo a Internet leggi alla sezione [[USB_Networking]].
  
 
===== Condividere la tua connessione ad Internet via USB =====
 
===== Condividere la tua connessione ad Internet via USB =====
 +
Per accedere a internet con il Neo FreeRunner attraverso una connesione USB, avrai bisogno di fare alcune modifiche al PC attraverso cui ci si sta connettendo.
 +
 
In Ubuntu:
 
In Ubuntu:
  
Within /etc/network/interfaces, change your interface setup to this:
+
Dentro al file /etc/network/interfaces, la configurazione dell'interfaccia in questo modo:
 +
 
 +
auto usb0
 +
iface usb0 inet static
 +
address 192.168.0.200
 +
netmask 255.255.255.0
 +
network 192.168.0.0
 +
up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &
 +
up echo 1 > /proc/sys/net/ipv4/ip_forward &
 +
up iptables -P FORWARD ACCEPT &
 +
down iptables -D POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &
 +
 
 +
In Fedora:
 +
 
 +
Setta /etc/sysconfig/network-scripts/ifcfg-usb0 così:
 +
DEVICE=usb0
 +
IPADDR=192.168.0.200
 +
NETMASK=255.255.255.0
 +
 
 +
Setta /etc/sysconfig/network-scripts/ifup-usb così:
 +
#!/bin/bash
 +
 
 +
. /etc/init.d/functions
 +
 
 +
cd /etc/sysconfig/network-scripts
 +
. ./network-functions
 +
 
 +
[ -f ../network ] && . ../network
 +
 
 +
CONFIG=${1}
 +
 
 +
need_config ${CONFIG}
 +
 
 +
source_config
 +
 
 +
NETBITS=`ipcalc -p ${IPADDR} ${NETMASK} | awk -F'=' '{print $2;}'`
 +
 
 +
/sbin/ip addr flush dev ${DEVICE} 2>/dev/null
 +
/sbin/ip link set dev ${DEVICE} up
 +
/sbin/ip addr add dev ${DEVICE} ${IPADDR}/${NETBITS}
 +
 
 +
/sbin/iptables -I POSTROUTING -t nat -j MASQUERADE -s ${IPADDR}/${NETBITS}
 +
/sbin/sysctl net.ipv4.ip_forward=1
 +
/sbin/iptables -I FORWARD -s ${IPADDR}/${NETBITS} -j ACCEPT
 +
/sbin/iptables -I FORWARD -d ${IPADDR}/${NETBITS} -j ACCEPT
 +
 
 +
Setta /etc/sysconfig/network-scripts/ifdown-usb così:
 +
#!/bin/bash
 +
 
 +
. /etc/init.d/functions
 +
 
 +
cd /etc/sysconfig/network-scripts
 +
. ./network-functions
 +
 
 +
[ -f ../network ] && . ../network
 +
 
 +
CONFIG=${1}
 +
 
 +
need_config ${CONFIG}
 +
 
 +
source_config
 +
 
 +
NETBITS=`ipcalc -p ${IPADDR} ${NETMASK} | awk -F'=' '{print $2;}'`
 +
 
 +
/sbin/iptables -D FORWARD -d ${IPADDR}/${NETBITS} -j ACCEPT
 +
/sbin/iptables -D FORWARD -s ${IPADDR}/${NETBITS} -j ACCEPT
 +
/sbin/sysctl net.ipv4.ip_forward=0
 +
/sbin/iptables -D POSTROUTING -t nat -j MASQUERADE -s ${IPADDR}/${NETBITS}
 +
 
 +
/sbin/ip link set dev ${DEVICE} down
 +
/sbin/ip addr flush dev ${DEVICE} 2>/dev/null
 +
 
 +
Se stai utilizzanto il NetworkManger, riavvialo e attiva il dispositivo USB dal suo menù, altrimenti disabiliterà la tua connessione dopo che l'avrai attivata.
 +
/sbin/service NetworkManager restart
 +
 
 +
=====Aggiornare il DNS=====
 +
 
 +
Una volta che il tuo PC è configurato, modifica /etc/network/interfaces sul tuo Neo FreeRunner e cambia il codice da così:
 +
 
 +
iface usb0 inet static
 +
address 192.168.0.202
 +
netmask 255.255.255.0
 +
network 192.168.0.0
 +
gateway 192.168.0.200
 +
up echo nameserver 192.168.0.200 > /etc/resolv.conf
 +
 
 +
a qualcosa che punti al nome reale del server, come un sistema publico DNS da OpenDNS, come questo:
 +
 
 +
iface usb0 inet static
 +
address 192.168.0.202
 +
netmask 255.255.255.0
 +
network 192.168.0.0
 +
gateway 192.168.0.200
 +
up echo nameserver 208.67.222.222 > /etc/resolv.conf
 +
up echo nameserver 208.67.220.220 >> /etc/resolv.conf
 +
 
 +
Nota: ''vi'' sembra che sia l'unico editor di testo disponibile di default.  Vedi [http://www.cs.colostate.edu/helpdocs/vi.html basic vi commands] per l'aiuto.
 +
 
 +
Nell'immagine caricata di fabbrica OM2007.2, digita quanto segue per riavviare la rete, per far si che le modifiche al DNS abbiano effetto:
 +
 
 +
/etc/rc0.d/K40networking restart
 +
 
 +
Se continui a non essere in grado di andare su internet con il tuo Neo FreeRunner, e stai usando Mandriva e/o hai la tua LAN su 192.168.0.0/24, [[User:Linuxpaul|questa pagina]] dovrebbe aiutarti.
 +
 
 +
==L'Architettura==
 +
 
 +
Tre livelli compongono il software del Neo FreeRunner:
 +
 
 +
===U-Boot===
 +
 
 +
Pensate a U-Boot come una combinazione tra il BIOS e Grub su un Pc.
 +
 
 +
===Kernel===
 +
 
 +
Il kernel Linux.
 +
 
 +
===Filesystem Root===
 +
 
 +
Il resto del sistema.
 +
 
 +
== Aggiornare il software ==
 +
Per aggiornare il Neo FreeRunner con le ultime novità e correzioni di sicurezza, ed è preferibile aggiornarlo periodicamente. Sono due i metodi principali per farlo:
 +
 
 +
=== opkg ===
 +
Dando per scontato che il vostro Neo FreeRunner possa accedere a internet (nel caso guarda sopra), si può aggiornare il kernel e gli altri pacchetti con:
 +
 
 +
# opkg update
 +
# opkg upgrade
 +
 
 +
Il primo comando aggiorna le informazioni sui repository, dicendo a opkg quali pacchetti sono disponibili. La seconda istruzione aggiorna i pacchetti per cui è disponibile una versione aggiornata. Al momento mancano alcune firme su alcuni file, per cui opkg si lamenterà un pò, ma nulla di importante.
 +
 
 +
In un futuro sarà anche possibile aggiornare U-Boot con opkg, ma per ora non è ancora stata implementata.
 +
 
 +
==== Problemi frequenti ====
 +
Quando lancerete ''opkg update'' dovreste vedere
  
auto usb0
+
<nowiki> Downloading http://buildhost.openmoko.org/daily-feed/all/Packages.gz
iface usb0 inet static
+
100% |========================================================================|
    address 192.168.0.200
+
Inflating http://buildhost.openmoko.org/daily-feed/all/Packages.gz
    netmask 255.255.255.0
+
Updated list of available packages in /var/lib/opkg/daily-all</nowiki>
    network 192.168.0.0
+
e così via.
    up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &
+
    up echo 1 > /proc/sys/net/ipv4/ip_forward &
+
    up iptables -P FORWARD ACCEPT &
+
    down iptables -D POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &
+
  
Then, on your Freerunner, edit /etc/
+
Se vedi
and modify the code from this:
+
  
iface usb0 inet static
+
<nowiki> Downloading http://buildhost.openmoko.org/daily-feed/all/Packages.gz
        address 192.168.0.202
+
Downloading http://buildhost.openmoko.org/daily-feed/all/Packages.sig
        netmask 255.255.255.0
+
Signature check failed</nowiki>
        network 192.168.0.0
+
allora il download è fallito. Guarda [[Network Troubleshooting]] per maggiori informazioni.
        gateway 192.168.0.200
+
        up echo nameserver 192.168.0.200 > /etc/resolv.conf
+
  
to something that points to a real name server, like a public DNS system from OpenDNS, like this:
+
=== Flashing ===
 +
U-Boot, il kernel e il filesystem root possono essere aggiornati, scrivento sulla memeoria Flash direttamente (''flashare''). Per U-Boot è anche l'unica possibilità. Il vantaggio di flashare il kernel direttamente, anzichè aggiornarlo da opkg pare sia solo la velocità.
  
iface usb0 inet static
+
Lo svantaggio di flashare il filesystem root è che cancella tutte le modifiche locali, compresa la /home. Se però la vostra /home è sopra la memoria Micro-SD, questo non è più un problema.
        address 192.168.0.202
+
        netmask 255.255.255.0
+
        network 192.168.0.0
+
        gateway 192.168.0.200
+
        up echo nameserver 208.67.222.222 > /etc/resolv.conf
+
        up echo nameserver 208.67.220.220 >> /etc/resolv.conf
+
  
 
== Modifiche all'immagine 2007.2 ==
 
== Modifiche all'immagine 2007.2 ==
 +
L'immagine standard [[Openmoko2007.2]] inserita nei Neo FreeRunner dopo la loro produzione è solo essenziale. Ad esempio non è mostrato l'orologio e le icone. Così è come potete cambiarli:
  
The stock 2007.2 image flashed onto the Neo FreeRunner after its production is really just the bare bones. For example, you don't have the clock and the quick-launch icons showing. Here's how you can change that:
+
# dbus-launch gconftool-2 -t boolean -s /desktop/poky/interface/reduced false
 +
# /etc/init.d/xserver-nodm restart
  
# dbus-launch gconftool-2 -t boolean -s /desktop/poky/interface/reduced false
+
Se avete un orologio analogico anziché quello digitale, fate così:
# /etc/init.d/xserver-nodm restart
+
  
If you rather have a regular clock instead of the digital one, do this instead:
+
# dbus-launch gconftool-2 -t boolean -s /desktop/poky/interface/reduced false
 +
# dbus-launch gconftool-2 -t boolean -s /desktop/poky/interface/digital_clock false
 +
# /etc/init.d/xserver-nodm restart
  
# dbus-launch gconftool-2 -t boolean -s /desktop/poky/interface/reduced false
 
# dbus-launch gconftool-2 -t boolean -s /desktop/poky/interface/digital_clock false
 
# /etc/init.d/xserver-nodm restart
 
  
With either clock, you may wish to set the correct [[Timezone]].
+
Altre informazioni su come aggiornare la schermata Oggi leggere [[Today/2007.2]].
  
To test GPS, you can use agpsui:
+
Con gli entrambi orologi, vorrete impostare il corretto [[Fuso orario]].
  
# opkg install openmoko-agpsui
+
E se preferite avere una tastiera completa, vedere [http://www.ginguppin.de/node/15 these instructions].
  
For a nice map, try tangoGPS:
+
===GPS===
  
# opkg install tangogps
+
Il modo più semplice per fare funzionare il GPS è:
  
And if you want the Media Player back:
+
# opkg install gpsd
  
# opkg install openmoko-mediaplayer2
+
sul Neo FreeRunner,
# wget http://abraxa.dyndns.org:81/random/openmoko-mediaplayer-theme.tar.bz2
+
# tar xjf openmoko-mediaplayer-theme.tar.bz2 -C /usr/share/themes/Moko/gtk-2.0
+
  
If you want a basic image viewer, have a look at the one from the GPE suite:
+
# echo "GPS_DEV=\"/dev/ttySAC1\"" > /etc/default/gpsd
  
# opkg install gpe-icons gpe-gallery
+
e riavviare gpsd, il demone del gps, con
  
The web browser:
+
# /etc/init.d/gpsd restart
  
# opkg install openmoko-browser2
+
Per testare il GPS, potete usare agpsui:
  
For a full keyboard see [http://www.ginguppin.de/node/15 these instructions].
+
# opkg install openmoko-agpsui
  
There are tons more apps you can install - check out the [[Repositories]] for a list of packages.
+
Per una bella mappa, provate tangoGPS:
  
==== Effettuare il Boot sul Neo Freerunner ====
+
# opkg install tangogps
  
You can boot your Neo FreeRunner in the following ways:
+
=== GPRS ===
  
: [[Image:Circle2.gif|10px]]    You can power it up into an Openmoko image directly.  
+
Vedere [[Manually using GPRS]]. Stando ad alcune [http://lists.openmoko.org/pipermail/support/2008-July/000003.html notizie], il GPRS non è funzionante ora (2007.2). Ogni novità è però benvenuta.
  
: [[Image:Circle2.gif|10px]]    You can boot it into [[Bootloader|U-Boot]] via [[NAND Flash]].
+
=== WLAN ===
  
: [[Image:Circle2.gif|10px]]   You can boot it into U-Boot via NOR Flash.
+
Vedere [[GTA02 WLAN]].
  
Booting the device into NAND and NOR Flash allows you to update the kernel and root filesystem.
+
===Software consigliato===
  
==== Avviare l'immagine Openmoko ====
+
Se rivolete il Media Player:
  
 +
# opkg install openmoko-mediaplayer2
 +
# wget http://abraxa.dyndns.org:81/random/openmoko-mediaplayer-theme.tar.bz2
 +
# tar xjf openmoko-mediaplayer-theme.tar.bz2 -C /usr/share/themes/Moko/gtk-2.0
 +
# rm openmoko-mediaplayer-theme.tar.bz2
 +
 +
Se volete una basilare visualizzatore di immagini, date un occhio a quello della suite GPE:
 +
 +
# opkg install gpe-icons gpe-gallery
 +
 +
Il browser web:
 +
 +
# opkg install openmoko-browser2
 +
 +
Per installare un browser alternativo, ''Minimo'', che offre altre diverse funzionalità, dobbiamo prima scaricare e scompattare su un sistema GNU/Linux l'archivio:
 +
 +
# wget http://www.ginguppin.de/files/minimo.tar.bz2
 +
# tar jvxf minimo.tar.bz2
 +
 +
poi copiarlo sul Neo FreeRunner:
 +
# scp minimo_* root@openmoko:/tmp
 +
 +
Quindi sul Neo FreeRunner digitare:
 +
# opkg install /tmp/minimo_0.02\+cvs20070626-r0_armv4t.ipk
 +
 +
Ci sono un mucchio di applicazioni che potete installare. Controllate i [[Repositories]] per una lista dei pacchetti.
 +
 +
== Effettuare il Boot sul Neo FreeRunner ==
 +
Potete avviare il vostro Neo FreeRunner nei seguenti modi:
 +
 +
: [[Image:Circle2.gif|10px]]    Potete avviarlo direttamente nell'immagine Openmoko.
 +
 +
: [[Image:Circle2.gif|10px]]    Potete avviarlo nel [[Bootloader|U-Boot]] via [[NAND Flash]].
 +
 +
: [[Image:Circle2.gif|10px]]    Potete avviarlo nel U-Boot via NOR Flash.
 +
 +
Avviando il dispositivo nelle memorie Flash NAND e NOR vi permette di aggiornare il kernel e il filesystem root.
 +
 +
=== Avviare l'immagine Openmoko ===
 
<div align-center>
 
<div align-center>
 
<table width="100%" style="clear: both; border: 1px solid #ffffff; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 100%; margin: 0 1px;">
 
<table width="100%" style="clear: both; border: 1px solid #ffffff; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 100%; margin: 0 1px;">
Line 226: Line 456:
 
</td>
 
</td>
 
<td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #ffffff;">[[Image:Menu2.jpg|200px|right|thumb]]</td><td style="padding: 1px 1em 0; background: #eeeeee;">
 
<td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #ffffff;">[[Image:Menu2.jpg|200px|right|thumb]]</td><td style="padding: 1px 1em 0; background: #eeeeee;">
Press and hold Power button for about 8 seconds, until the Openmoko splash screen turns up. You may now release the Power button and the Neo FreeRunner will continue to boot into the Openmoko Image.
+
Mantenere premuto il bottone Power per circa 8 secondi, fino a quando apparirà la schermata di avvio di Openmoko. Potrete lasciare il bottone Power e si continuerà ad avviare nell'immagine Openmoko.
  
 
</td></tr></table>
 
</td></tr></table>
 
</div>
 
</div>
  
==== Log into U-Boot in the NAND Flash ====
+
=== Entrare nell'U-Boot nella NAND Flash ===
 
+
 
<div align-center>
 
<div align-center>
 
<table width="100%" style="clear: both; border: 1px solid #ffffff; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 100%; margin: 0 1px;">
 
<table width="100%" style="clear: both; border: 1px solid #ffffff; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 100%; margin: 0 1px;">
Line 240: Line 469:
 
</td>
 
</td>
 
<td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #ffffff;">[[Image:Menu7.jpg|200px|right|thumb]]</td><td style="padding: 1px 1em 0; background: #eeeeee;">
 
<td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #ffffff;">[[Image:Menu7.jpg|200px|right|thumb]]</td><td style="padding: 1px 1em 0; background: #eeeeee;">
Press and hold Power button, then press and hold AUX button for about 5 to 8 seconds. You should see the boot menu for the NAND Flash. Press the AUX button to select one of the options and then press the Power button to execute.
+
Premere e mantenere premuto il bottone Power e poi il bottone AUX per circa 5-8 secondi. Dovrebbe apparire il menu per il boot della Flash NAND. Premere il bottone AUX per selezionare una delle opzioni e poi premi il bottone Power per procedere.
 
</td></tr></table>
 
</td></tr></table>
 
</div>
 
</div>
  
==== Log into U-Boot in the NOR Flash ====
+
=== Entrare nell'U-Boot nella NOR Flash ===
 
+
 
<div align-center>
 
<div align-center>
 
<table width="100%" style="clear: both; border: 1px solid #ffffff; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 100%; margin: 0 1px;">
 
<table width="100%" style="clear: both; border: 1px solid #ffffff; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 100%; margin: 0 1px;">
Line 254: Line 482:
 
<td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #ffffff;">[[Image:Menu6.jpg|200px|right|thumb]]</td><td style="padding: 1px 1em 0; background: #eeeeee;">
 
<td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #ffffff;">[[Image:Menu6.jpg|200px|right|thumb]]</td><td style="padding: 1px 1em 0; background: #eeeeee;">
  
Press and hold the AUX button, then press and hold the Power button. Then, release the AUX button. You should see the boot menu for the NOR Flash. This option is usually used by developers or when flashing the FreeRunner. If you cannot log into U-Boot in NAND then you can log into U-Boot in the NOR Flash either.  
+
Premere e mantenere premuto il bottone AUX e poi il bottone Power. Quindi rilasciare il bottone AUX. Dovrebbe apparire il menu di boot della memoria Flash NOR. Questa opzione è usata solitamente dagli sviluppatori, o quando si aggiorna il FreeRunner. Se non si riesce ad entrare nell'U-Boot della NAND, si riuscirà comunque ad entrare il quello della memoria Flash NOR.
 
</td></tr></table>
 
</td></tr></table>
 
</div>
 
</div>
  
{{note| There are six options you can choose when you log into the NOR Flash.
+
{{note| Ci sono sei opzioni quando si decide di entrare nella Flash NOR.
 
1. Boot
 
1. Boot
  
2. [[Boot from sd card|Boot from MicroSD]]
+
2. [[Boot dalla scheda SD|Boot dalla MicroSD]]
  
3. Set console to USB  
+
3. Setta la console a USB
  
4. Set console to Serial
+
4. Setta la console a Serial
  
 
5. Reset
 
5. Reset
  
6. Power off}}
+
6. Spegni}}
  
{{note|The term ''Logging in'' used in this context means to turn on the device using the described method, and leaving it at the U-Boot menu. To avoid the device automatically booting, tap the AUX key to move the selector bar. Note also that the device will '''not''' automatically turn off while flashing is in progress.
+
{{note| Il termine ''Entrare'' usato in questo contesto significa accendere il dispositivo con i metodi descritti, e portarlo al menu U-Boot. Per evitare il boot automatico del dispositivo, premere il bottone AUX per muovere la barra di selezione. Notare anche che il dispositivo ''non'' si spegnerà automaticamente durante la procedura di aggiornamento.}}
}}
+
  
==Flashing the Neo FreeRunner==
+
== Aggiornare il Neo FreeRunner ==
As Openmoko development continues, Openmoko regularly releases updated versions of the Openmoko root filesystem, the kernel, and the[[Bootloader| U-Boot]]. These may be programmed into the Flash memory of Neo FreeRunner. You can use the USB cable and Openmoko provided tool to flash Neo FreeRunner.
+
Dato che Openmoko è in continuo sviluppo, Openmoko rilascia delle versioni aggiornate del filesystem root, del kernel e del [[Bootloader| U-Boot]]. Questi possono essere inseriti nella memoria Flash del Neo FreeRunner. Puoi usare il cavo USB e il programma forniti per aggiornare il tuo Neo FreeRunner.
  
{{note|The Openmoko software team builds images daily. If you want to use the latest images, you can download the image from the daily build, but we recommend you download the most stable image from http://downloads.openmoko.org/releases/Freerunner/. Images here have been tested by the test team.
+
{{note|L'Openmoko software team rilascia immagini del sistema aggiornate giornalmente. Se vuoi usare le ultime immagini, puoi scaricarle dal ''daily build'', ma noi raccomandiamo di usare l'immagine più stabile, scaricabile da http://downloads.openmoko.org/releases/. Le immagini presenti sono testate dal team di test.
  
More about current Images: http://wiki.openmoko.org/wiki/Latest_Images}}
+
Altre informazioni sull'immagine corrente: http://wiki.openmoko.org/wiki/Latest_Images}}
  
===Step1. Download the DFU-util===
+
=== Step1. Scaricare DFU-util ===
 +
Puoi scaricare il software per l'aggiornamento da:
 +
http://downloads.openmoko.org/releases/Om2008.4/dfu-util
  
You can download the flashing tool from:  
+
Su un sistema GNU/Linux puoi usare i seguenti programmi per scaricare ''dfu-util'':
http://downloads.openmoko.org/releases/Freerunner/dfu-util
+
wget http://downloads.openmoko.org/releases/Om2008.4/dfu-util
  
On the GNU/Linux host you can use the following command to download the dfu-util:
+
Successivamente dovete cambiare i permessi al file:
wget http://downloads.openmoko.org/releases/Freerunner/dfu-util
+
chmod a+x dfu-util
  
Afterwards you have to change the rights on the file:
+
=== Step 2. Preparare il Neo FreeRunner===
chmod a+x dfu-util
+
  
===Step 2. Flashing the Kernel===
+
Spegnere il FreeRunner se è acceso ed entrare nell'U-Boot della NOR Flash. Per svolgere l'aggiornamento il Neo FreeRunner ha bisogno di essere dentro l'U-Boot.
  
You can download the kernel from
+
[[Image:menu15.jpg|thumb|Entra nell'U-Boot della NOR Flash, connetti il tuo Neo con il sistema Linux attraverso il cavo USB]]
http://downloads.openmoko.org/releases/Freerunner/
+
  
Type in the following command in the terminal on a GNU/Linux host. On some systems you need to be root before this will work.
+
Collegarlo al PC tramite cavo USB e dare il comando ./dfu-util -l
./dfu-util -a (partion name) -R -D (download image file name)
+
  
 +
Il comando restituirà una stringa simile a questa:
  
ex:
+
dfu-util - (C) 2007 by OpenMoko Inc.
 +
This program is Free Software and has ABSOLUTELY NO WARRANTY
  
./dfu-util -a kernel -R -D uImage-2.6.24+svnr4082-r4055-r3-neo1973.bin
+
Found Runtime: [0x1d50:0x5119] devnum=0, cfg=0, intf=2, alt=0, name="UNDEFINED"
  
{| class="wikitable" cellspacing="2" cellpadding="2" style="padding: 0%; margin:0em 0em 1em 0em; border:0px solid #ffffff; background:#ffffff; width:100%;floating="center"; "
+
Annotare il valore compreso fra le parentesi quadre, qualcosa del tipo ??????:??????
! style="background:#ffffff;border-left:1px solid #ffffff;border-right:1px ; border-top:2px solid ffffff; border:1px solid #ffffff; width:75% " | 
+
<div align="left">
+
[[Image:menu15.jpg|thumb|Log into U-Boot in NOR Flash, connect your Neo with Linux Host via USB cable]]
+
Before you execute the command, please log into U-Boot in the NOR Flash. The Neo FreeRunner needs to be booted into U-Boot for flashing.
+
  
You will then need to connect your Neo with the GNU/Linux host via USB cable. Press Enter to execute the command. When flashing succeeds the following will be shown:
+
=== Step 3. Aggiornare il Kernel ===
 +
Puoi scaricare il kernel da http://downloads.openmoko.org/releases/
 +
 
 +
I file del kernel sono quelli che contengono la dicitura <b>uImage</b>
 +
 
 +
Digita i seguenti comandi su un sistema GNU/Linux. In alcuni sistemi bisogna essere l'utente root prima di fare questo lavoro.
 +
 
 +
./dfu-util -d (valore annotato precedentemente) -a kernel -R -D (nome del file dell'immagine scaricato precedentemente).
 +
 
 +
 
 +
esempio:
 +
 
 +
./dfu-util -d 0x1d50:0x5119 -a kernel -R -D Om2008.8.uImage.bin
 +
 
 +
 
 +
Quando l'aggiornamento sarà completo, sul terminale del vostro PC verrà esposto il seguente messaggio:
  
 
status(0) = No error condition is present<br>
 
status(0) = No error condition is present<br>
 
Done!
 
Done!
</div>
 
|}
 
  
{{note| The meaning of the parameters you specified:
+
{{note| Il significato dei parametri che avete dato è:
-a  --alt alt Specify the altsetting of the DFU interface by name or by number<br>
+
-d  Specifica quale dispositivo collegato al PC è il Neo FreeRunner
-R  --reset Issue USB Reset signalling once we're finished<br>
+
-a  --alt alt Specifica ''l'altsetting'' dell'interfaccia DFU da un nome o da un numero<br>
-D  --download file Write firmware from<file> into device <br>
+
-R  --reset Resetta i problemi dell'USB segnalandoli una volta che abbiamo finito<br>
 +
-D  --download file Scrive il firmware specificato da <file> nel dispositivo<br>
 
}}
 
}}
  
===Step 3. Flashing the Root Filesystem ===
+
=== Step 4. Aggiornare il Filesystem Root ===
You can download the root filesystem from:
+
Puoi scaricare il filesystem root da:
http://downloads.openmoko.org/releases/Freerunner/
+
http://downloads.openmoko.org/releases/
  
Type the following command in the terminal of a GNU/Linux host. On some systems you will need to be root.
+
I file contenenti il filesystem root sono quelli contenenti la dicitura <b>rootfs</b>
  
./dfu-util -a rootfs -R -D openmoko-devel-image-fic-gta02.jffs2
+
Digita i seguenti comandi in un sistema GNU/Linux. Su alcuni sistemi bisogna essere l'utente root (amministratore).
  
When flashing succeeds the following will be shown:
+
./dfu-util -d (valore annotato precedentemente) -a rootfs -R -D (nome del file contenente il filesystem root)
 +
 
 +
esempio:
 +
 
 +
./dfu-util -d 0x1d50:0x5119 -a rootfs -R -D Om2008.8.rootfs.jffs2
 +
 
 +
Quando l'aggiornamento sarà completo, sul terminale del vostro PC sarà mostrato il seguente messaggio:
  
 
status(0) = No error condition is present<br>
 
status(0) = No error condition is present<br>
Line 338: Line 582:
  
 
== Appendice ==
 
== Appendice ==
If you want to know more about the Neo FreeRunner then you can get more information in the following topics:
+
Se ti interessa sapere altri riguardo il Neo FreeRunner allora puoi suguire questi argomenti:
 +
 
 
* [[GTA02 Openness]]
 
* [[GTA02 Openness]]
 
* [[Neo FreeRunner]]
 
* [[Neo FreeRunner]]
 
* [[Neo FreeRunner GTA02 Hardware]]
 
* [[Neo FreeRunner GTA02 Hardware]]
 
* [[FreeRunner/Buttons and LEDs]]
 
* [[FreeRunner/Buttons and LEDs]]
* [[Latest_Images]]
+
* [[Latest Images]]
 
* [[Distributions]]
 
* [[Distributions]]
  
[[Category:GTA02 Hardware]]
+
Per cercare con Google su questo wiki scrivere quanto segue:
 +
 
 +
<search term> site:http://wiki.openmoko.org/wiki/
 +
 
 +
Un ottimo tool per cercare nelle Openmoko mailing list è http://openmoko.markmail.org/ .
 +
 
 +
[[Category:Neo FreeRunner Hardware/it]]

Latest revision as of 10:26, 12 January 2010


Grazie per aver comprato questa versione da Sviluppatori del Neo FreeRunner. Il telefono Neo FreeRunner è la seconda piattaforma hardware che sfrutta nativamente Openmoko/it. Questa guida ti aiuterà a conoscere il tuo Neo FreeRunner e ti indicherà come inizare ad usarlo.

La confezione del Neo FreeRunner

Contents

[edit] Contenuti della Confezione

All'interno della Confezione
Circle2.gif Neo FreeRunner
Circle2.gif Stylus
Circle2.gif Batteria
Circle2.gif Caricatore
Circle2.gif Cavo USB
Circle2.gif Scheda microSD da 512MB

[edit] Iniziare a Conoscere il Neo FreeRunner

Pulsante AUX e jack cuffie (da sinistra a destra)
Pulsante di accensione (Power), porta USB e antenna GSM esterna (da sinistra a destra)
Parte posteriore
Inserisci qui la SIM e la scheda di memoria
Apri il case da questo lato
Aperto!

[edit] Inserire la scheda Micro-SD, la SIM e la Batteria

  1. Rimuovere la cover posteriore del Neo FreeRunner tenendo il dispositivo per i lati e, con l'unghia, facendo leva nel taglio visibile nella parte superiore del dispositivo.
  2. Individuare il sistema che blocca la scheda SIM e la memoria Micro-SD, al fianco dello scomparto per la batteria.
  3. Sganciare il blocca scheda SIM facendo scivolare con l'unghia la parte metallica verso il basso (ovvero in direzione dell'entrata USB). Prestare attenzione durante l'operazione, poichè, data la delicatezza delle parti esse potrebbero rimanere danneggiate se forzate nella direzione sbagliata.
  4. Sollevare il blocca scheda SIM.
  5. La memoria Micro-SD è bloccata da due fermagli su ambo i lati. Per una maggiore sicurezza, sarà possibile aprire l'alloggiamento per la Micro-SD sbloccando i fermagli uno alla volta, anziché tirando dal centro, poiché quest'ultima pratica tende ad aumentare la pressione sui fermagli laterali. Un cacciavite o un piccolo coltello possono aiutare in questa operazione.
  6. Inserire la memoria Micro-SD nell'apposito spazio. Assicurarsi che i contatti elettrici siano rivolti verso il basso e vicino al bordo del Neo FreeRunner.
  7. Chiudere il blocca scheda Micro-SD assicurandosi che entrambi i fermagli siano ben agganciati.
  8. Inserire la scheda SIM nel blocca scheda SIM, facendo attenzione a farla scivolare dentro le due linguette metalliche. Assicurarsi che i contatti metallici siano rivolti verso il basso e l'angolo tagliato sia rivolto verso la presa dell'antenna GPS esterna.
  9. Chiudere il blocca scheda SIM e assicurarlo facendo scivolare la parte metallica in direzione della presa per l'antenna GPS esterna del Neo FreeRunner.
  10. Inserire la batteria nell'apposito alloggiamento, allineando i contatti elettrici della batteria con quelli del dispositivo. Inserire prima il lato con i contatti elettrici.
  11. Reinserire la cover posteriore del Neo FreeRunner.
Alloggiamenti della SIM e della SD aperti, con rispettive schede in sede

[edit] Ricaricare il Neo FreeRunner

Per un corretto caricamento della batteria del Neo FreeRunner, durante il primo processo di carica, si consiglia di portarlo a termine completamente. La batteria può essere caricata con il caricatore fornito (a 1000mA) o con una porta USB che abbia la capacità di fornire 500mA di corrente. La maggior parte dei computer sarà in grado di caricare il Neo FreeRunner senza problemi.

Caricando a 100mA ci vorranno 6-12 ore, invece a 500mA ci vorrà 1-2 ore. (openmoko.togaware.com)

[edit] I pulsanti

[edit] Power

Premendo il pulsante Power si uscirà dall'applicazione corrente.

Tenendo premuto il pulsante Power invece apparirà un menù che vi permetterà di accendere e spegnere il GSP, WIFI, GSM, l'antenna Bluetooth, e anche spegnere il Neo FreeRunner.

[edit] Aux

Premendo per un secondo il pulsante Aux apparirà un menù che vi permetterà di:

  • Attivare lo schermo intero: per nascondere o mostrare la barra del titolo
  • Cambio di orientamento: ruota il contenuto dello schermo per la visualizzazione verticale o orizzontale
  • Screenshot: parte un'applicazione che permette di catturare e salvare un'immagine del contenuto dello schermo

[edit] Password

L'utente root di default non ha password. Per metterne una è sufficiente digitare nel terminale:

  1. passwd

La password sarà inserita, in forma criptata, nel file /etc/passwd.

[edit] Dare un nome al neonato

Se l'hostname om-gta02 non ci soddisfa, lo possiamo cambiare andando ad editare il file di configurazione in questione con

  1. vi /etc/hostname

[edit] Sbloccare lo Schermo

Quando lo schermo è bloccato, vedrai una grafica verde in stile Matrix con il simbolo di Openmoko nel centro della parte bassa dello schermo, assieme al simbolo di bloccato e sbloccato. Se si trascina il simbolo di Openmoko fino alla cima dello schermo, verso il simbolo di sbloccato, si sbloccherà lo schermo.

[edit] Menu e Applicazioni

Nota: questa sezione descrive l'interfaccia utilizzata dall'immagine "2007.2", che è correntemente l'immagine predefinita Openmoko.

[edit] Schermata Oggi

Todaypage reduced false.png

La prima cosa che vi apparirà dopo aver fatto partire l'Openmoko è la pagina "Oggi". Questa è la vostra pagina principale. Sulla riga in alto, troverete le icone che indicano lo stato del vostro telefono. In seconda riga ci sono dei collegamenti alle applicazioni più usate, come il tastierino numerico per le chiamate. Il corpo principale della schermata è la vostra schermata principale, con un orologio in mezzo e con altre informazioni utili. La riga in basso è composta da tre linguette che rappresentano le schermate Oggi (quella che stiamo visualizzando ora), schermata di Avvio delle Applicazioni e la schermata dei Processi in Esecuzione.

Si veda Today/2007.2/it per maggiori informazioni a riguardo della schermata Oggi e sulla sua personalizzazione.

[edit] Schermata per l'Avvio delle Applicazione

Stub: This is a stub. You can help OpenMokoWiki by expanding it.


Questa schermata mostra una lista delle applicazioni avviabili. Puoi scegliere se far mostrare le categorie di software per semplificare la visualizzazione, oppure visualizzarle tutte.

Le categorie attualmente disponibili sono PIM Suite, Application, Games, Utilities, and All.

[edit] Schermata dei Processi in Esecuzione

Stub: This is a stub. You can help OpenMokoWiki by expanding it.


Mostra le applicazioni correntemente in esecuzione. Ogni singolo processo può essere terminato, selezionandolo e cliccando sull'icona del "Cestino". Si possono terminare tutti i processi, selezionadone uno e poi cliccando sull'icona della "Cartella" (aspettatevi un cambiamento nelle versioni future). Tutti i processi possono essere riavviati selezionandoli e cliccando sull'icona di "Ritorna" in mezzo in alto.

[edit] Uscire da un'Applicazione

In qualsiasi momento si può uscire da un'applicazione in esecuzione, cliccando sul bottone Power del dispositivo, così ritornando alla schermata Oggi.

Alternativamente, si può saltare ad un'altra applicazione, cliccando sul menu dei processi nell'angolo in alto a sinistra dello schermo, che vi mostrerà la lista dei processi in esecuzione permettendoti di sceglierne uno.

(Nota: Se il menu dei processi non viene mostrato, usare il bottone Aux per far apparire il menu Aux, dove selezionerete "Lascia schermo intero".)

[edit] Regolare il Volume

Nel momento in cui scriviamo, non esiste modo di regolare il volume dallo schermo.

Per ora dovete lanciare il Terminale o effettuare il log in via usb, e avviare l'applicazione alsamixer. Il mixer è più semplice di quel che sembra. Basta muoversi con i tasti direzionali destra e sinistra per selezionare "headphone" (cuffie) o "PCM", ed utilizzare i tasti direzionali su e giu per regolare il volume. Si può anche regolare il microfono con la regolazione di "mic2". Premere poi ESC quando finito. A questo punto chiudere il Terminale o fare logout dal login USB.

Dovrai aggiornare i file di configurazione in /usr/share/openmoko/scenarios/ per rendere le regolazione del microfono permanenti. Per fare ciò, usa alsactl -f path-to-statefile store

[edit] Accedere alla scheda Micro-SD

Questa è montata in /media/card

[edit] Importare i contatti

Se puoi esportare i tuoi contatti nel formato VCard, sia in file multipli, sia in un unico file che li contiene tutti, puoi usare lo script della schermata Import Vcf Contacts per portarli tutti sul Neo FreeRunner.

[edit] Dove andare quando le cosa vanno male

Puoi chiedere aiuto sulla mailing list di supporto: maggiori informazioni su https://lists.openmoko.org/mailman/listinfo/support

FreeRunner_Hardware_Issues

[edit] Connettere il Neo FreeRunner alla Rete via USB

Connettere il Neo FreeRunner a un computer GNU/Linux con il cavo USB. Per fare questo con Mac OS X, riferitevi a MacOS_X; invece per fare ciò con Windows XP e Vista, riferitevi a Neo1973_and_Windows (che funziona anche per il Neo FreeRunner). Dopo il boot nell'immagine di Openmoko avrete una nuova interfaccia, usb0, sul vostro computer GNU/Linux.

[edit] Metodo Manuale

Digitare i seguenti comandi in un terminale GNU/Linux:

ifconfig usb0 192.168.0.200 netmask 255.255.255.0 ssh root@192.168.0.202

Premere Invio per inserire la password.

[edit] Metodo Automatico
  • Debian e derivate (Ubuntu, Sidux etc.)

Modificare il file /etc/network/interfaces:

auto usb0 iface usb0 inet static address 192.168.0.200 netmask 255.255.255.0

  • Gentoo

Modificare il file /etc/conf.d/net:

config_usb0="192.168.0.200/24"

Riavviare i servizi di rete('/etc/init.d/networking restart' per i sistemi basati su Debian) e quindi digitare i seguenti comandi in un terminale GNU/Linux:

ssh root@192.168.0.202

Premere Invio per inserire la password.

NOTE:

Se il tuo dispositivo di rete sta usando un intervallo di ip 192.168.0.x dovrai usare il seguente comando prima di poterti connettere:

route add -host 192.168.0.202 dev usb0


[edit] Automatizzare ancora di più le operazioni

Se non vuoi doverti ricordare l'indirizzo ip del tuo telefono, puoi creare un alias aggiungerndo la seguente riga nel file /etc/hosts:

192.168.0.202 openmoko

Ora sarà possibile connettersi al proprio telefono usando il seguente comando:

ssh root@openmoko

Il comando precedente ti fornisce solamente una connessione con una Shell sicura con il tuo dispositivo Openmoko, non ti permette di collegare il tuo dispositivo a Internet. Se ti interessa collegare il tuo dispositivo a Internet leggi alla sezione USB_Networking.

[edit] Condividere la tua connessione ad Internet via USB

Per accedere a internet con il Neo FreeRunner attraverso una connesione USB, avrai bisogno di fare alcune modifiche al PC attraverso cui ci si sta connettendo.

In Ubuntu:

Dentro al file /etc/network/interfaces, la configurazione dell'interfaccia in questo modo:

auto usb0 iface usb0 inet static address 192.168.0.200 netmask 255.255.255.0 network 192.168.0.0 up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 & up echo 1 > /proc/sys/net/ipv4/ip_forward & up iptables -P FORWARD ACCEPT & down iptables -D POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &

In Fedora:

Setta /etc/sysconfig/network-scripts/ifcfg-usb0 così: DEVICE=usb0 IPADDR=192.168.0.200 NETMASK=255.255.255.0

Setta /etc/sysconfig/network-scripts/ifup-usb così:

  1. !/bin/bash

. /etc/init.d/functions

cd /etc/sysconfig/network-scripts . ./network-functions

[ -f ../network ] && . ../network

CONFIG=${1}

need_config ${CONFIG}

source_config

NETBITS=`ipcalc -p ${IPADDR} ${NETMASK} | awk -F'=' '{print $2;}'`

/sbin/ip addr flush dev ${DEVICE} 2>/dev/null /sbin/ip link set dev ${DEVICE} up /sbin/ip addr add dev ${DEVICE} ${IPADDR}/${NETBITS}

/sbin/iptables -I POSTROUTING -t nat -j MASQUERADE -s ${IPADDR}/${NETBITS} /sbin/sysctl net.ipv4.ip_forward=1 /sbin/iptables -I FORWARD -s ${IPADDR}/${NETBITS} -j ACCEPT /sbin/iptables -I FORWARD -d ${IPADDR}/${NETBITS} -j ACCEPT

Setta /etc/sysconfig/network-scripts/ifdown-usb così:

  1. !/bin/bash

. /etc/init.d/functions

cd /etc/sysconfig/network-scripts . ./network-functions

[ -f ../network ] && . ../network

CONFIG=${1}

need_config ${CONFIG}

source_config

NETBITS=`ipcalc -p ${IPADDR} ${NETMASK} | awk -F'=' '{print $2;}'`

/sbin/iptables -D FORWARD -d ${IPADDR}/${NETBITS} -j ACCEPT /sbin/iptables -D FORWARD -s ${IPADDR}/${NETBITS} -j ACCEPT /sbin/sysctl net.ipv4.ip_forward=0 /sbin/iptables -D POSTROUTING -t nat -j MASQUERADE -s ${IPADDR}/${NETBITS}

/sbin/ip link set dev ${DEVICE} down /sbin/ip addr flush dev ${DEVICE} 2>/dev/null

Se stai utilizzanto il NetworkManger, riavvialo e attiva il dispositivo USB dal suo menù, altrimenti disabiliterà la tua connessione dopo che l'avrai attivata. /sbin/service NetworkManager restart

[edit] Aggiornare il DNS

Una volta che il tuo PC è configurato, modifica /etc/network/interfaces sul tuo Neo FreeRunner e cambia il codice da così:

iface usb0 inet static address 192.168.0.202 netmask 255.255.255.0 network 192.168.0.0 gateway 192.168.0.200 up echo nameserver 192.168.0.200 > /etc/resolv.conf

a qualcosa che punti al nome reale del server, come un sistema publico DNS da OpenDNS, come questo:

iface usb0 inet static address 192.168.0.202 netmask 255.255.255.0 network 192.168.0.0 gateway 192.168.0.200 up echo nameserver 208.67.222.222 > /etc/resolv.conf up echo nameserver 208.67.220.220 >> /etc/resolv.conf

Nota: vi sembra che sia l'unico editor di testo disponibile di default. Vedi basic vi commands per l'aiuto.

Nell'immagine caricata di fabbrica OM2007.2, digita quanto segue per riavviare la rete, per far si che le modifiche al DNS abbiano effetto:

/etc/rc0.d/K40networking restart

Se continui a non essere in grado di andare su internet con il tuo Neo FreeRunner, e stai usando Mandriva e/o hai la tua LAN su 192.168.0.0/24, questa pagina dovrebbe aiutarti.

[edit] L'Architettura

Tre livelli compongono il software del Neo FreeRunner:

[edit] U-Boot

Pensate a U-Boot come una combinazione tra il BIOS e Grub su un Pc.

[edit] Kernel

Il kernel Linux.

[edit] Filesystem Root

Il resto del sistema.

[edit] Aggiornare il software

Per aggiornare il Neo FreeRunner con le ultime novità e correzioni di sicurezza, ed è preferibile aggiornarlo periodicamente. Sono due i metodi principali per farlo:

[edit] opkg

Dando per scontato che il vostro Neo FreeRunner possa accedere a internet (nel caso guarda sopra), si può aggiornare il kernel e gli altri pacchetti con:

  1. opkg update
  2. opkg upgrade

Il primo comando aggiorna le informazioni sui repository, dicendo a opkg quali pacchetti sono disponibili. La seconda istruzione aggiorna i pacchetti per cui è disponibile una versione aggiornata. Al momento mancano alcune firme su alcuni file, per cui opkg si lamenterà un pò, ma nulla di importante.

In un futuro sarà anche possibile aggiornare U-Boot con opkg, ma per ora non è ancora stata implementata.

[edit] Problemi frequenti

Quando lancerete opkg update dovreste vedere

Downloading http://buildhost.openmoko.org/daily-feed/all/Packages.gz 100% |========================================================================| Inflating http://buildhost.openmoko.org/daily-feed/all/Packages.gz Updated list of available packages in /var/lib/opkg/daily-all e così via.

Se vedi

Downloading http://buildhost.openmoko.org/daily-feed/all/Packages.gz Downloading http://buildhost.openmoko.org/daily-feed/all/Packages.sig Signature check failed allora il download è fallito. Guarda Network Troubleshooting per maggiori informazioni.

[edit] Flashing

U-Boot, il kernel e il filesystem root possono essere aggiornati, scrivento sulla memeoria Flash direttamente (flashare). Per U-Boot è anche l'unica possibilità. Il vantaggio di flashare il kernel direttamente, anzichè aggiornarlo da opkg pare sia solo la velocità.

Lo svantaggio di flashare il filesystem root è che cancella tutte le modifiche locali, compresa la /home. Se però la vostra /home è sopra la memoria Micro-SD, questo non è più un problema.

[edit] Modifiche all'immagine 2007.2

L'immagine standard Openmoko2007.2 inserita nei Neo FreeRunner dopo la loro produzione è solo essenziale. Ad esempio non è mostrato l'orologio e le icone. Così è come potete cambiarli:

  1. dbus-launch gconftool-2 -t boolean -s /desktop/poky/interface/reduced false
  2. /etc/init.d/xserver-nodm restart

Se avete un orologio analogico anziché quello digitale, fate così:

  1. dbus-launch gconftool-2 -t boolean -s /desktop/poky/interface/reduced false
  2. dbus-launch gconftool-2 -t boolean -s /desktop/poky/interface/digital_clock false
  3. /etc/init.d/xserver-nodm restart


Altre informazioni su come aggiornare la schermata Oggi leggere Today/2007.2.

Con gli entrambi orologi, vorrete impostare il corretto Fuso orario.

E se preferite avere una tastiera completa, vedere these instructions.

[edit] GPS

Il modo più semplice per fare funzionare il GPS è:

  1. opkg install gpsd

sul Neo FreeRunner,

  1. echo "GPS_DEV=\"/dev/ttySAC1\"" > /etc/default/gpsd

e riavviare gpsd, il demone del gps, con

  1. /etc/init.d/gpsd restart

Per testare il GPS, potete usare agpsui:

  1. opkg install openmoko-agpsui

Per una bella mappa, provate tangoGPS:

  1. opkg install tangogps

[edit] GPRS

Vedere Manually using GPRS. Stando ad alcune notizie, il GPRS non è funzionante ora (2007.2). Ogni novità è però benvenuta.

[edit] WLAN

Vedere GTA02 WLAN.

[edit] Software consigliato

Se rivolete il Media Player:

  1. opkg install openmoko-mediaplayer2
  2. wget http://abraxa.dyndns.org:81/random/openmoko-mediaplayer-theme.tar.bz2
  3. tar xjf openmoko-mediaplayer-theme.tar.bz2 -C /usr/share/themes/Moko/gtk-2.0
  4. rm openmoko-mediaplayer-theme.tar.bz2

Se volete una basilare visualizzatore di immagini, date un occhio a quello della suite GPE:

  1. opkg install gpe-icons gpe-gallery

Il browser web:

  1. opkg install openmoko-browser2

Per installare un browser alternativo, Minimo, che offre altre diverse funzionalità, dobbiamo prima scaricare e scompattare su un sistema GNU/Linux l'archivio:

  1. wget http://www.ginguppin.de/files/minimo.tar.bz2
  2. tar jvxf minimo.tar.bz2

poi copiarlo sul Neo FreeRunner:

  1. scp minimo_* root@openmoko:/tmp

Quindi sul Neo FreeRunner digitare:

  1. opkg install /tmp/minimo_0.02\+cvs20070626-r0_armv4t.ipk

Ci sono un mucchio di applicazioni che potete installare. Controllate i Repositories per una lista dei pacchetti.

[edit] Effettuare il Boot sul Neo FreeRunner

Potete avviare il vostro Neo FreeRunner nei seguenti modi:

Circle2.gif Potete avviarlo direttamente nell'immagine Openmoko.
Circle2.gif Potete avviarlo nel U-Boot via NAND Flash.
Circle2.gif Potete avviarlo nel U-Boot via NOR Flash.

Avviando il dispositivo nelle memorie Flash NAND e NOR vi permette di aggiornare il kernel e il filesystem root.

[edit] Avviare l'immagine Openmoko

Menu2.jpg

Mantenere premuto il bottone Power per circa 8 secondi, fino a quando apparirà la schermata di avvio di Openmoko. Potrete lasciare il bottone Power e si continuerà ad avviare nell'immagine Openmoko.

[edit] Entrare nell'U-Boot nella NAND Flash

Menu7.jpg

Premere e mantenere premuto il bottone Power e poi il bottone AUX per circa 5-8 secondi. Dovrebbe apparire il menu per il boot della Flash NAND. Premere il bottone AUX per selezionare una delle opzioni e poi premi il bottone Power per procedere.

[edit] Entrare nell'U-Boot nella NOR Flash

Menu6.jpg

Premere e mantenere premuto il bottone AUX e poi il bottone Power. Quindi rilasciare il bottone AUX. Dovrebbe apparire il menu di boot della memoria Flash NOR. Questa opzione è usata solitamente dagli sviluppatori, o quando si aggiorna il FreeRunner. Se non si riesce ad entrare nell'U-Boot della NAND, si riuscirà comunque ad entrare il quello della memoria Flash NOR.

NOTE: Ci sono sei opzioni quando si decide di entrare nella Flash NOR.

1. Boot

2. Boot dalla MicroSD

3. Setta la console a USB

4. Setta la console a Serial

5. Reset

6. Spegni


NOTE: Il termine Entrare usato in questo contesto significa accendere il dispositivo con i metodi descritti, e portarlo al menu U-Boot. Per evitare il boot automatico del dispositivo, premere il bottone AUX per muovere la barra di selezione. Notare anche che il dispositivo non si spegnerà automaticamente durante la procedura di aggiornamento.


[edit] Aggiornare il Neo FreeRunner

Dato che Openmoko è in continuo sviluppo, Openmoko rilascia delle versioni aggiornate del filesystem root, del kernel e del U-Boot. Questi possono essere inseriti nella memoria Flash del Neo FreeRunner. Puoi usare il cavo USB e il programma forniti per aggiornare il tuo Neo FreeRunner.

NOTE: L'Openmoko software team rilascia immagini del sistema aggiornate giornalmente. Se vuoi usare le ultime immagini, puoi scaricarle dal daily build, ma noi raccomandiamo di usare l'immagine più stabile, scaricabile da http://downloads.openmoko.org/releases/. Le immagini presenti sono testate dal team di test.

Altre informazioni sull'immagine corrente: http://wiki.openmoko.org/wiki/Latest_Images


[edit] Step1. Scaricare DFU-util

Puoi scaricare il software per l'aggiornamento da: http://downloads.openmoko.org/releases/Om2008.4/dfu-util

Su un sistema GNU/Linux puoi usare i seguenti programmi per scaricare dfu-util: wget http://downloads.openmoko.org/releases/Om2008.4/dfu-util

Successivamente dovete cambiare i permessi al file: chmod a+x dfu-util

[edit] Step 2. Preparare il Neo FreeRunner

Spegnere il FreeRunner se è acceso ed entrare nell'U-Boot della NOR Flash. Per svolgere l'aggiornamento il Neo FreeRunner ha bisogno di essere dentro l'U-Boot.

Entra nell'U-Boot della NOR Flash, connetti il tuo Neo con il sistema Linux attraverso il cavo USB

Collegarlo al PC tramite cavo USB e dare il comando ./dfu-util -l

Il comando restituirà una stringa simile a questa:

dfu-util - (C) 2007 by OpenMoko Inc. This program is Free Software and has ABSOLUTELY NO WARRANTY

Found Runtime: [0x1d50:0x5119] devnum=0, cfg=0, intf=2, alt=0, name="UNDEFINED"

Annotare il valore compreso fra le parentesi quadre, qualcosa del tipo ??????:??????

[edit] Step 3. Aggiornare il Kernel

Puoi scaricare il kernel da http://downloads.openmoko.org/releases/

I file del kernel sono quelli che contengono la dicitura uImage

Digita i seguenti comandi su un sistema GNU/Linux. In alcuni sistemi bisogna essere l'utente root prima di fare questo lavoro.

./dfu-util -d (valore annotato precedentemente) -a kernel -R -D (nome del file dell'immagine scaricato precedentemente).


esempio:

./dfu-util -d 0x1d50:0x5119 -a kernel -R -D Om2008.8.uImage.bin


Quando l'aggiornamento sarà completo, sul terminale del vostro PC verrà esposto il seguente messaggio:

status(0) = No error condition is present
Done!

NOTE: Il significato dei parametri che avete dato è:

-d Specifica quale dispositivo collegato al PC è il Neo FreeRunner -a --alt alt Specifica l'altsetting dell'interfaccia DFU da un nome o da un numero
-R --reset Resetta i problemi dell'USB segnalandoli una volta che abbiamo finito
-D --download file Scrive il firmware specificato da <file> nel dispositivo


[edit] Step 4. Aggiornare il Filesystem Root

Puoi scaricare il filesystem root da: http://downloads.openmoko.org/releases/

I file contenenti il filesystem root sono quelli contenenti la dicitura rootfs

Digita i seguenti comandi in un sistema GNU/Linux. Su alcuni sistemi bisogna essere l'utente root (amministratore).

./dfu-util -d (valore annotato precedentemente) -a rootfs -R -D (nome del file contenente il filesystem root)

esempio:

./dfu-util -d 0x1d50:0x5119 -a rootfs -R -D Om2008.8.rootfs.jffs2

Quando l'aggiornamento sarà completo, sul terminale del vostro PC sarà mostrato il seguente messaggio:

status(0) = No error condition is present
Done!

[edit] Appendice

Se ti interessa sapere altri riguardo il Neo FreeRunner allora puoi suguire questi argomenti:

Per cercare con Google su questo wiki scrivere quanto segue:

<search term> site:http://wiki.openmoko.org/wiki/

Un ottimo tool per cercare nelle Openmoko mailing list è http://openmoko.markmail.org/ .
Views
Personal tools


Grazie per aver comprato questa versione da Sviluppatori del Neo Freerunner. Il telefono Neo FreeRunner è la seconda piattaforma hardware che sfrutta nativamente Openmoko. Questa guida ti aiuterà a conoscere il tuo Neo Freerunner e ti indicherà come inizare ad usarlo.

La confezione del Neo Freerunner

Contenuti della Confezione

All'interno della Confezione
Circle2.gif Neo FreeRunner
Circle2.gif Stylus
Circle2.gif Batteria
Circle2.gif Caricatore
Circle2.gif Cavo USB
Circle2.gif Scheda microSD da 512MB

Iniziare a Conoscere il Neo Freerunner

Pulsante AUX Button e jack cuffie (da sinistra a destra)
Pulsante di Accensione, porta USB ed antenna GSM esterna (da sinistra a destra)
Parte posteriore
Inserisci qui la SIM e la scheda di memoria
Apri il case da questo lato
Aperto!

Inserire la scheda Micro-SD, la SIM e la Batteria

  1. Rimuovere la cover posteriore del Neo Freerunner, tenendo il dispositivo per i lati e usando l'unghia fare leva nello spazio in cima allo stesso.
  2. Ora dovreste essere in grado di riconoscere il sistema che tiene la scheda SIM e la memoria Micro-SD, al margine con lo scomparto per la batteria.
  3. Sblocca il blocca scheda SIM facendo scivolare con l'unghia la parte metallica in giù, facendo attenzione all'entrata USB. Prestare attenzione, poichè queste parti sono delicate e potrebbero essere danneggiate forzandole nella direzione sbagliata.
  4. Lift up on the SIM card holder.
  5. The Micro-SD card holder is held in place by a latch on either side. It is easiest to open the Micro-SD card holder by releasing these latches one at a time rather than by lifting from the middle, as lifting from the middle tends to increase the latching pressure. A small screwdriver or knife can be used for this.
  6. Insert the Micro-SD card into the Micro-SD card holder. Note that the electrical contacts should face down and towards the edge of the Neo Freerunner.
  7. Close the Micro-SD card holder, making sure that both latches are securely fastened.
  8. Insert the SIM card into the SIM card holder, taking care to slide inside the two metal tabs in the cover. Please note that the electrical contacts should face down and that the cut corner should be closest to the external GPS Antenna Socket.
  9. Close the SIM card holder and lock it by sliding the metal clip towards the external GPS Antenna Socket on the FreeRunner.
  10. Insert the battery into the battery compartment, aligning the electrical contacts on the battery with the electrical contacts in the battery compartment. Insert the side with the electrical contacts first.
  11. Replace the rear cover on the FreeRunner.

Accendere il Neo Freerunner

Ricaricare il Neo Freerunner

When using the Neo Freerunner for the first time, you should charge the battery completely. The battery can be charged using the provided charger (at 1000mA) or from a powered USB port capable of providing 500mA worth of current. Most computers will be able to charge the FreeRunner without any problems.

Charging at 100mA takes 6-12 hours and at 500mA takes 1-2 hours. (from openmoko.togaware.com)

Sbloccare lo Schermo

When the screen is locked, you should see a Matrix-style green graphic with the Openmoko symbol in the middle of the bottom of the screen along with lock and unlock symbols. If you drag the Openmoko symbol to the unlock symbol at the top then the screen will become unlocked.

Connettere il Neo Freerunner alla Rete via USB

Connect the Neo FreeRunner to a GNU/Linux host with the USB cable. For Mac OS X please refer to MacOS_X. After booting into the Openmoko image there will be a new interface, usb0, on your GNU/Linux host.

Metodo Manuale

Type in the following commands in the terminal of a GNU/Linux host:

ifconfig usb0 192.168.0.200 netmask 255.255.255.0
ssh root@192.168.0.202

Press Enter to get by the password.

Metodo Automatico

Edit /etc/network/interfaces:

auto usb0
iface usb0 inet static
address 192.168.0.200
netmask 255.255.255.0

Edit /etc/conf.d/net:

config_usb0="192.168.0.200/24"

Restart the networking service ('/etc/init.d/networking restart' for Debian-based systems) and then type the following command in the terminal of the GNU/Linux host:

ssh root@192.168.0.202

Press Enter to get by the password.

NOTE:

If your network device is using the ip range 192.168.0.x you may have to use the following command before you are able to connect

route add -host 192.168.0.202 dev usb0 


Automatizzare ancora di più le operazioni

If you don't want to remember the IP address of your phone then you can create an alias by adding the following line to your /etc/hosts:

192.168.0.202   openmoko

Now it should be possible to connect to your phone using the following command:

ssh root@openmoko

The above only gets you a Secure Shell connection to the Openmoko device, it does not allow the Openmoko device to connect to the Internet. If you are interested in connecting the device to the internet then check out the USB_Networking section.

Condividere la tua connessione ad Internet via USB

In Ubuntu:

Within /etc/network/interfaces, change your interface setup to this:

auto usb0
iface usb0 inet static
   address 192.168.0.200
   netmask 255.255.255.0
   network 192.168.0.0
   up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &
   up echo 1 > /proc/sys/net/ipv4/ip_forward &
   up iptables -P FORWARD ACCEPT &
   down iptables -D POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &

Then, on your Freerunner, edit /etc/ and modify the code from this:

iface usb0 inet static
       address 192.168.0.202
       netmask 255.255.255.0
       network 192.168.0.0
       gateway 192.168.0.200
       up echo nameserver 192.168.0.200 > /etc/resolv.conf

to something that points to a real name server, like a public DNS system from OpenDNS, like this:

iface usb0 inet static
       address 192.168.0.202
       netmask 255.255.255.0
       network 192.168.0.0
       gateway 192.168.0.200
       up echo nameserver 208.67.222.222 > /etc/resolv.conf
       up echo nameserver 208.67.220.220 >> /etc/resolv.conf

Modifiche all'immagine 2007.2

The stock 2007.2 image flashed onto the Neo FreeRunner after its production is really just the bare bones. For example, you don't have the clock and the quick-launch icons showing. Here's how you can change that:

# dbus-launch gconftool-2 -t boolean -s /desktop/poky/interface/reduced false
# /etc/init.d/xserver-nodm restart

If you rather have a regular clock instead of the digital one, do this instead:

# dbus-launch gconftool-2 -t boolean -s /desktop/poky/interface/reduced false
# dbus-launch gconftool-2 -t boolean -s /desktop/poky/interface/digital_clock false
# /etc/init.d/xserver-nodm restart

With either clock, you may wish to set the correct Timezone.

To test GPS, you can use agpsui:

# opkg install openmoko-agpsui

For a nice map, try tangoGPS:

# opkg install tangogps

And if you want the Media Player back:

# opkg install openmoko-mediaplayer2
# wget http://abraxa.dyndns.org:81/random/openmoko-mediaplayer-theme.tar.bz2
# tar xjf openmoko-mediaplayer-theme.tar.bz2 -C /usr/share/themes/Moko/gtk-2.0

If you want a basic image viewer, have a look at the one from the GPE suite:

# opkg install gpe-icons gpe-gallery

The web browser:

# opkg install openmoko-browser2

For a full keyboard see these instructions.

There are tons more apps you can install - check out the Repositories for a list of packages.

Effettuare il Boot sul Neo Freerunner

You can boot your Neo FreeRunner in the following ways:

Circle2.gif You can power it up into an Openmoko image directly.
Circle2.gif You can boot it into U-Boot via NAND Flash.
Circle2.gif You can boot it into U-Boot via NOR Flash.

Booting the device into NAND and NOR Flash allows you to update the kernel and root filesystem.

Avviare l'immagine Openmoko

Menu2.jpg

Press and hold Power button for about 8 seconds, until the Openmoko splash screen turns up. You may now release the Power button and the Neo FreeRunner will continue to boot into the Openmoko Image.

Log into U-Boot in the NAND Flash

Menu7.jpg

Press and hold Power button, then press and hold AUX button for about 5 to 8 seconds. You should see the boot menu for the NAND Flash. Press the AUX button to select one of the options and then press the Power button to execute.

Log into U-Boot in the NOR Flash

Menu6.jpg

Press and hold the AUX button, then press and hold the Power button. Then, release the AUX button. You should see the boot menu for the NOR Flash. This option is usually used by developers or when flashing the FreeRunner. If you cannot log into U-Boot in NAND then you can log into U-Boot in the NOR Flash either.

NOTE: There are six options you can choose when you log into the NOR Flash.

1. Boot

2. Boot from MicroSD

3. Set console to USB

4. Set console to Serial

5. Reset

6. Power off


NOTE: The term Logging in used in this context means to turn on the device using the described method, and leaving it at the U-Boot menu. To avoid the device automatically booting, tap the AUX key to move the selector bar. Note also that the device will not automatically turn off while flashing is in progress.


Flashing the Neo FreeRunner

As Openmoko development continues, Openmoko regularly releases updated versions of the Openmoko root filesystem, the kernel, and the U-Boot. These may be programmed into the Flash memory of Neo FreeRunner. You can use the USB cable and Openmoko provided tool to flash Neo FreeRunner.

NOTE: The Openmoko software team builds images daily. If you want to use the latest images, you can download the image from the daily build, but we recommend you download the most stable image from http://downloads.openmoko.org/releases/Freerunner/. Images here have been tested by the test team.

More about current Images: http://wiki.openmoko.org/wiki/Latest_Images


Step1. Download the DFU-util

You can download the flashing tool from: http://downloads.openmoko.org/releases/Freerunner/dfu-util

On the GNU/Linux host you can use the following command to download the dfu-util:

wget http://downloads.openmoko.org/releases/Freerunner/dfu-util

Afterwards you have to change the rights on the file:

chmod a+x dfu-util

Step 2. Flashing the Kernel

You can download the kernel from http://downloads.openmoko.org/releases/Freerunner/

Type in the following command in the terminal on a GNU/Linux host. On some systems you need to be root before this will work.

./dfu-util -a (partion name) -R -D (download image file name)


ex:

./dfu-util -a kernel -R -D uImage-2.6.24+svnr4082-r4055-r3-neo1973.bin
Log into U-Boot in NOR Flash, connect your Neo with Linux Host via USB cable

Before you execute the command, please log into U-Boot in the NOR Flash. The Neo FreeRunner needs to be booted into U-Boot for flashing.

You will then need to connect your Neo with the GNU/Linux host via USB cable. Press Enter to execute the command. When flashing succeeds the following will be shown:

status(0) = No error condition is present
Done!

NOTE: The meaning of the parameters you specified:

-a --alt alt Specify the altsetting of the DFU interface by name or by number
-R --reset Issue USB Reset signalling once we're finished
-D --download file Write firmware from<file> into device


Step 3. Flashing the Root Filesystem

You can download the root filesystem from: http://downloads.openmoko.org/releases/Freerunner/

Type the following command in the terminal of a GNU/Linux host. On some systems you will need to be root.

./dfu-util -a rootfs -R -D openmoko-devel-image-fic-gta02.jffs2

When flashing succeeds the following will be shown:

status(0) = No error condition is present
Done!

Appendice

If you want to know more about the Neo FreeRunner then you can get more information in the following topics:

Tools