User:Hhf423

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Rebuild from new image)
 
(12 intermediate revisions by one user not shown)
Line 1: Line 1:
hhf423 lives in Hamburg, Germany
+
I live in Hamburg, Germany. I have a Phase 1 Neo GTA01Bv4 without debug board.
  
 
Places I watch:
 
Places I watch:
  
 
[[Repositories]]
 
[[Repositories]]
 +
 +
[[Qtopia_on_Neo_1973]]
  
 
IRC is here: irc://irc.freenode.net/openmoko
 
IRC is here: irc://irc.freenode.net/openmoko
Line 12: Line 14:
 
But these days probably more
 
But these days probably more
  
  ipkg update && ipkg upgrade
+
  opkg update && opkg upgrade
  
 
And uploading screenshots to: http://scap.linuxtogo.org/
 
And uploading screenshots to: http://scap.linuxtogo.org/
 +
or cat /dev/fb0 >myfile.raw
  
 
Scratchbook:
 
Scratchbook:
Line 30: Line 33:
  
  
== Rebuild from new image ==
+
== Rebuild after flashing new image ==
  
From scratch on host, first:
+
On host, first:
 
  rm .ssh/known_hosts
 
  rm .ssh/known_hosts
 
  scp /etc/localtime root@phone:/etc/localtime
 
  scp /etc/localtime root@phone:/etc/localtime
  scp ./resolv.conf root@phone:/etc/resolv.conf  
+
  scp ./resolv.conf root@phone:/etc/resolv.conf
 
  scp /etc/ntp.conf  root@phone:/etc/ntp.conf
 
  scp /etc/ntp.conf  root@phone:/etc/ntp.conf
 
  scp ./gprs root@phone:/etc/ppp/peers/gprs
 
  scp ./gprs root@phone:/etc/ppp/peers/gprs
Line 45: Line 48:
 
  scp ./p root@phone:/p
 
  scp ./p root@phone:/p
 
  scp ./b root@phone:/b
 
  scp ./b root@phone:/b
 +
scp ./gllin_1.0+r350-r0_fic-gta01.ipk root@phone:/tmp/
  
From scratch on neo, second:
+
 
  cd /etc/ipkg
+
On neo, second:
  wget http://buildhost.automated.it/OM2007.2/packages/scaredycat.conf  
+
 
  ipkg update && ipkg upgrade
+
opkg install -d card package, you need to configure it in ipkg.conf
  ipkg install midori
+
 
  #ipkg install ntp
+
opkg install /tmp/gllin_1.0+r350-r0_fic-gta01.ipk
 +
  cd /etc/ipkg && wget http://celtune.morb-design.com/celtune.conf
 +
  opkg update & ipkg upgrade
 +
opkg install gpsd
 +
opkg install openmoko-agpsui2
 +
#cd /etc/ipkg && wget http://buildhost.automated.it/OM2007.2/packages/scaredycat.conf  
 +
  #opkg update && opkg upgrade
 +
  #opkg install midori
 +
  #opkg install ntp
 
  rdate ptbtime1.ptb.de
 
  rdate ptbtime1.ptb.de
 
  hwclock --systohc --utc
 
  hwclock --systohc --utc
 
  reboot
 
  reboot
  
put '/etc/init.d/gsmd stop; /etc/init.d/gsmd start' in your /etc/matchbox/session file before 'openmoko-dialer &'
+
then, on Neo:
 +
 
 +
vi /etc/matchbox/session
 +
to include before 'openmoko-dialer &'
 +
cd /home/root/gllin
 +
./gllin &
 +
gpsd -n /tmp/nmeaNP &
 +
# /etc/init.d/gsmd stop; /etc/init.d/gsmd start
 +
# echo "1" > /sys/bus/platform/devices/gta01-pm-bt.0/power_on
 +
 
 +
also configure BT (name and passkey) with
 +
vi /etc/bluetooth/hcid.conf
 +
 
 +
Install tangoGPS
 +
cd /tmp && wget http://tangogps.org/tangoGPS_0.1-r1_armv4t.ipk && ikpg install /tmp/tangoGPS_0.1-r1_armv4t.ipk
  
 +
Set up package management: http://wiki.openmoko.org/wiki/Package_management
 +
Install python, ipkg-utils and then:
 +
ipkg-link mount /media/card/
  
 
Getting free space:
 
Getting free space:
Line 63: Line 92:
 
  mv /usr/share/openmoko/sounds/ /media/card/openmoko/sounds; ln -s /media/card/openmoko/sounds /usr/share/openmoko/sounds
 
  mv /usr/share/openmoko/sounds/ /media/card/openmoko/sounds; ln -s /media/card/openmoko/sounds /usr/share/openmoko/sounds
 
  mv /usr/share/cups/ /media/card/cups; ln -s /media/card/cups /usr/share/cups
 
  mv /usr/share/cups/ /media/card/cups; ln -s /media/card/cups /usr/share/cups
 +
or
 +
umount /media/card
 +
mke2fs -c /dev/mmcblk0p1
 +
vi /etc/ipkg.conf
 +
to
 +
dest card /media/card/
 +
and then
 +
opkg -d card install python-core
 +
etc

Latest revision as of 21:38, 17 May 2008

I live in Hamburg, Germany. I have a Phase 1 Neo GTA01Bv4 without debug board.

Places I watch:

Repositories

Qtopia_on_Neo_1973

IRC is here: irc://irc.freenode.net/openmoko

What I do all day: http://wiki.openmoko.org/wiki/Flashing_openmoko#Actually_flashing_things_into_the_device

But these days probably more

opkg update && opkg upgrade

And uploading screenshots to: http://scap.linuxtogo.org/ or cat /dev/fb0 >myfile.raw

Scratchbook:

/etc/init.d/xserver-nodm restart          /* to restart X after starting gsmd or so


Getting proper time on the GUI copy your localtime from your correctly set up ubuntu to the Neo, from the desktop:

scp /etc/localtime root@phone:/etc/localtime

on the neo do:

rdate pool.ntp.org          /* test this first, ptbtime1.ptb.de did work for me
hwclock --systohc --utc


[edit] Rebuild after flashing new image

On host, first:

rm .ssh/known_hosts
scp /etc/localtime root@phone:/etc/localtime
scp ./resolv.conf root@phone:/etc/resolv.conf
scp /etc/ntp.conf  root@phone:/etc/ntp.conf
scp ./gprs root@phone:/etc/ppp/peers/gprs
scp ./chap-secrets root@phone:/etc/ppp/chap-secrets
scp ./pap-secrets root@phone:/etc/ppp/pap-secrets
scp ./gprs-connect-chat root@phone:/etc/ppp/peers/gprs-connect-chat
scp ./gprs-disconnect-chat root@phone:/etc/ppp/peers/gprs-disconnect-chat
scp ./i root@phone:/i
scp ./p root@phone:/p
scp ./b root@phone:/b
scp ./gllin_1.0+r350-r0_fic-gta01.ipk root@phone:/tmp/


On neo, second:

opkg install -d card package, you need to configure it in ipkg.conf

opkg install /tmp/gllin_1.0+r350-r0_fic-gta01.ipk
cd /etc/ipkg && wget http://celtune.morb-design.com/celtune.conf
opkg update & ipkg upgrade
opkg install gpsd
opkg install openmoko-agpsui2
#cd /etc/ipkg && wget http://buildhost.automated.it/OM2007.2/packages/scaredycat.conf 
#opkg update && opkg upgrade
#opkg install midori
#opkg install ntp
rdate ptbtime1.ptb.de
hwclock --systohc --utc
reboot

then, on Neo:

vi /etc/matchbox/session

to include before 'openmoko-dialer &'

cd /home/root/gllin
./gllin &
gpsd -n /tmp/nmeaNP &
  1. /etc/init.d/gsmd stop; /etc/init.d/gsmd start
  2. echo "1" > /sys/bus/platform/devices/gta01-pm-bt.0/power_on

also configure BT (name and passkey) with

vi /etc/bluetooth/hcid.conf

Install tangoGPS

cd /tmp && wget http://tangogps.org/tangoGPS_0.1-r1_armv4t.ipk && ikpg install /tmp/tangoGPS_0.1-r1_armv4t.ipk

Set up package management: http://wiki.openmoko.org/wiki/Package_management Install python, ipkg-utils and then:

ipkg-link mount /media/card/

Getting free space:

mv /usr/include/ /media/card/include; ln -s /media/card/include /usr/include
mv /usr/share/openmoko/sounds/ /media/card/openmoko/sounds; ln -s /media/card/openmoko/sounds /usr/share/openmoko/sounds
mv /usr/share/cups/ /media/card/cups; ln -s /media/card/cups /usr/share/cups

or

umount /media/card
mke2fs -c /dev/mmcblk0p1
vi /etc/ipkg.conf

to

dest card /media/card/

and then

opkg -d card install python-core

etc

Personal tools

hhf423 lives in Hamburg, Germany

Places I watch:

Repositories

IRC is here: irc://irc.freenode.net/openmoko

What I do all day: http://wiki.openmoko.org/wiki/Flashing_openmoko#Actually_flashing_things_into_the_device

But these days probably more

ipkg update && ipkg upgrade

And uploading screenshots to: http://scap.linuxtogo.org/

Scratchbook:

/etc/init.d/xserver-nodm restart          /* to restart X after starting gsmd or so


Getting proper time on the GUI copy your localtime from your correctly set up ubuntu to the Neo, from the desktop:

scp /etc/localtime root@phone:/etc/localtime

on the neo do:

rdate pool.ntp.org          /* test this first, ptbtime1.ptb.de did work for me
hwclock --systohc --utc


Rebuild from new image

From scratch on host, first:

rm .ssh/known_hosts
scp /etc/localtime root@phone:/etc/localtime
scp ./resolv.conf root@phone:/etc/resolv.conf 
scp /etc/ntp.conf  root@phone:/etc/ntp.conf
scp ./gprs root@phone:/etc/ppp/peers/gprs
scp ./chap-secrets root@phone:/etc/ppp/chap-secrets
scp ./pap-secrets root@phone:/etc/ppp/pap-secrets
scp ./gprs-connect-chat root@phone:/etc/ppp/peers/gprs-connect-chat
scp ./gprs-disconnect-chat root@phone:/etc/ppp/peers/gprs-disconnect-chat
scp ./i root@phone:/i
scp ./p root@phone:/p
scp ./b root@phone:/b

From scratch on neo, second:

cd /etc/ipkg
wget http://buildhost.automated.it/OM2007.2/packages/scaredycat.conf 
ipkg update && ipkg upgrade
ipkg install midori
#ipkg install ntp
rdate ptbtime1.ptb.de
hwclock --systohc --utc
reboot

put '/etc/init.d/gsmd stop; /etc/init.d/gsmd start' in your /etc/matchbox/session file before 'openmoko-dialer &'


Getting free space:

mv /usr/include/ /media/card/include; ln -s /media/card/include /usr/include
mv /usr/share/openmoko/sounds/ /media/card/openmoko/sounds; ln -s /media/card/openmoko/sounds /usr/share/openmoko/sounds
mv /usr/share/cups/ /media/card/cups; ln -s /media/card/cups /usr/share/cups