Author Topic: Opie And Gpe At The Same Time  (Read 2172 times)

paganoll

  • Newbie
  • *
  • Posts: 44
    • View Profile
Opie And Gpe At The Same Time
« on: April 05, 2006, 07:50:51 pm »
FORGET IT. After 2/3 reboots system hangs. Seems GPE start at VT3.

From OpenZaurus and working in SL-5500 (collie). Please, Be carefull with filenames, errors edited.

1.- New AltBoot Image
Code: [Select]
cd /media/card/
mkdir boot-images
cd boot-images
# --------  40MB or more
dd of=opiegpe-rootfs.bin if=/dev/zero bs=1024 count=150000
# -------- EXT2 format. Ask y/n.  yes
mkfs.ext2 opiegpe-rootfs.bin
# ---------Mount loop1 at /media/image
mkdir /media/image
losetup /dev/loop1 /media/card/boot-images/opiegpe-rootfs.bin
mount -t ext2 /dev/loop1 /media/image
2.- Tarballs needed from the feed. You can chose your machine from here/machine/tarballs
1 Tarball de GPE 9Mb
2 Tarball de Opie 9Mb
Uncompress it in /media/image
Code: [Select]
#---------- Needed 19MB free on SD - ... paths cutted ...
cd /media/card
wget http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/...
...unstable/3.5.4/images/collie/tarballs/opie-image-3.5.4-collie.rootfs.tar.gz
wget http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/...
...unstable/3.5.4/images/collie/tarballs/gpe-image-3.5.4-collie.rootfs.tar.gz
cd /media/image
tar -xzvf /media/card/opie-image-3.5.4-collie.rootfs.tar.gz
tar -xzvf /media/card/gpe-image-3.5.4-collie.rootfs.tar.gz
3.- Edit /media/image/etc/init.d/opie we need time and change "terminal 2" with "terminal 3". 2 changes.
Code: [Select]
#---- file /media/image/etc/init.d/opie
#------- Time 40 seconds.
 /sbin/getkey 40 "Starting Opie in 40 seconds... press key to interrupt." && exit 0
#-------- change to terminal 3 in all file (2 lines)
$OPIEDIR/bin/opie-login -terminal 3 (busca terminal 2)
$SSHAGENT $OPIEDIR/bin/qpe -terminal 3
4.-Edit /media/image/etc/init.d/gpe-bootsplash for init in term 1
change  chvt 2 to chvt 1 at end of file.

5.- Make icons to change Desktop
Code: [Select]
#---- file /media/image/opt/QtPalmtop/apps/1Pim/goto-gpe.desktop
[Desktop Entry]
Exec=gotogpe.sh
Icon=Tux
Type=Application
Name=GPE Desk
Comment=Go GPE Desktop
#---- File /media/image/usr/share/applications/goto-opie.desktop
[Desktop Entry]
Name=GotoOpie
Comment=Switch to Opie
Exec=/usr/bin/gotoopie.sh
Terminal=0
Type=Application
Icon=/opt/QtPalmtop/pics/logo/opielogo.png
Categories=Utility;GPE
StartupNotify=False
----- File /media/image/usr/bin/gotogpe.sh
#!/bin/sh
chvt 2
----- File /media/image/usr/bin/gotoopie.sh
#!/bin/sh
chvt 3
----- Last 2 files are executables
chmod +x /media/image/usr/bin/gotoopie.sh
chmod +x /media/image/usr/bin/gotogpe.sh
Reboot and select image.
« Last Edit: April 06, 2006, 11:20:14 am by paganoll »