Re: [QtMoko] chinese character support

2011-02-26 Thread Thomas Franck

Is there any way to enable chinese character support in QtMoko?
I mean for reading SMS.. display of filenames.. etc..


OK.. I learned that if I ..
apt-get install ttf-wqy-zenhei
cp /usr/share/fonts/truetype/wqy/wqy-zenhei.ttf /opt/qtmoko/lib/fonts/

and reboot (or maybe just restart qpe, I can display chinese 
characters.. in Textedit.. and also in the file lists.. so that works..




maybe even pinyin predictive keyboard? (would look into that if it's
possible to do.. ;))


Another thing is the pinyin keyboard that is in the sources.. but not 
put in the image.. where do I trigger that?


currently I'm in the middle of getting things ready for a QtMoko 
translation into zh_CN.. (thanks to my wife)


I would really love to contribute here.. but need help.. ;)

Cheers,
--
Thomas

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: MicroSD cards support questions in gta02

2011-02-26 Thread Πρεκατές Αλέξανδρος
Thanks for the reply Ed.

My gta02 boots every 10 sec and the last messages seen before boot is in the 
image :
http://imagepaste.nullnetwork.net/viewimage.php?id=1848


The images i used for kernel and qi where from:
http://sourceforge.net/projects/qtmoko/files/
I took the kernel from:
qtmoko-debian-v31.tar.gz
after extracting it in a local folder.


Also if its usefull:
#mke2fs /dev/sde1
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
486720 inodes, 1946368 blocks
97318 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1996488704
60 block groups
32768 blocks per group, 32768 fragments per group
8112 inodes per group
Superblock backups stored on blocks: 
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Writing inode tables: done
Writing superblocks and filesystem accounting information: done









Στις Σάββατο 26 Φεβρουάριος 2011 01:14:02 Ed Kapitein γράψατε:
 On 02/25/2011 10:08 PM, Πρεκατές Αλέξανδρος wrote:
  Having spend a day and some trying to boot qtmoko or shr trying different
  combinations (bootloader+ distributions + partition scheme )  from two
  micro sd card i own,  without any success , and since the cards are
  accesible from linux kernel i'd like to pledge for help in that issue. 
  I admit i havent play more with uboot enviroment and uboot prompt  but
  i've tries the rootdelay option...


 
 Hi Alexandros,
 
 I use sd cards to run a distro and it works fine ( there are some
 problems with the speed an reliability ) I would suggest to format the sd
 card as one partion with ext2  (on a pc with a sd card reader for example)
 and put the qtmoko kernel in the /boot directory of the card and name it
 uImage-GTA02.bin.
 
 And write console=tty0 loglevel=3 rootwait panic=10
 glamo_mci.sd_max_clk=500 glamo_mci.sd_post_power_clock=500
 glamo_mci.sd_slow_ratio=16 in /boot/append-GTA02
 
 Could you please report back what happens when you try to boot then from
 the SD card. It should start a kernel and panic at the end loading the
 kernel. ( there is no init yet) Please hold the power button to get some
 diagnostics printed on your screen.
 
 Kind regards,
 Ed
 
 cut and paste:
 mke2fs /dev/sdb1 ( assuming /dev/sdb is your sd card )
 mkdir /tmp/mpt
 mount /dev/sdb1 /tmp/mpt
 mkdir /tmp/mpt/boot
 cp /some/place/qtmoko_kernel /tmp/mpt/boot/uImage-GTA02.bin
 echo console=tty0 loglevel=3 rootwait panic=10
 glamo_mci.sd_max_clk=500 glamo_mci.sd_post_power_clock=500
 glamo_mci.sd_slow_ratio=16  /tmp/mpt/boot/append-GTA02 umount /tmp/mpt
 eject /dev/sdb
 
 put the card in the freerunner and boot using qi.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: MicroSD cards support questions in gta02

2011-02-26 Thread Ed Kapitein
On 02/26/2011 09:41 PM, Πρεκατές Αλέξανδρος wrote:
 Thanks for the reply Ed.

 My gta02 boots every 10 sec and the last messages seen before boot is in the 
 image :
 http://imagepaste.nullnetwork.net/viewimage.php?id=1848


 The images i used for kernel and qi where from:
 http://sourceforge.net/projects/qtmoko/files/
 I took the kernel from:
 qtmoko-debian-v31.tar.gz
 after extracting it in a local folder.


 Also if its usefull:
 #mke2fs /dev/sde1
 mke2fs 1.41.12 (17-May-2010)
 Filesystem label=
 OS type: Linux
 Block size=4096 (log=2)
 Fragment size=4096 (log=2)
 Stride=0 blocks, Stripe width=0 blocks
 486720 inodes, 1946368 blocks
 97318 blocks (5.00%) reserved for the super user
 First data block=0
 Maximum filesystem blocks=1996488704
 60 block groups
 32768 blocks per group, 32768 fragments per group
 8112 inodes per group
 Superblock backups stored on blocks: 
 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

 Writing inode tables: done
 Writing superblocks and filesystem accounting information: done









 Στις Σάββατο 26 Φεβρουάριος 2011 01:14:02 Ed Kapitein γράψατε:
 On 02/25/2011 10:08 PM, Πρεκατές Αλέξανδρος wrote:
 Having spend a day and some trying to boot qtmoko or shr trying different
 combinations (bootloader+ distributions + partition scheme )  from two
 micro sd card i own,  without any success , and since the cards are
 accesible from linux kernel i'd like to pledge for help in that issue. 
 I admit i havent play more with uboot enviroment and uboot prompt  but
 i've tries the rootdelay option...

 Hi Alexandros,

 I use sd cards to run a distro and it works fine ( there are some
 problems with the speed an reliability ) I would suggest to format the sd
 card as one partion with ext2  (on a pc with a sd card reader for example)
 and put the qtmoko kernel in the /boot directory of the card and name it
 uImage-GTA02.bin.

 And write console=tty0 loglevel=3 rootwait panic=10
 glamo_mci.sd_max_clk=500 glamo_mci.sd_post_power_clock=500
 glamo_mci.sd_slow_ratio=16 in /boot/append-GTA02

 Could you please report back what happens when you try to boot then from
 the SD card. It should start a kernel and panic at the end loading the
 kernel. ( there is no init yet) Please hold the power button to get some
 diagnostics printed on your screen.

 Kind regards,
 Ed

 cut and paste:
 mke2fs /dev/sdb1 ( assuming /dev/sdb is your sd card )
 mkdir /tmp/mpt
 mount /dev/sdb1 /tmp/mpt
 mkdir /tmp/mpt/boot
 cp /some/place/qtmoko_kernel /tmp/mpt/boot/uImage-GTA02.bin
 echo console=tty0 loglevel=3 rootwait panic=10
 glamo_mci.sd_max_clk=500 glamo_mci.sd_post_power_clock=500
 glamo_mci.sd_slow_ratio=16  /tmp/mpt/boot/append-GTA02 umount /tmp/mpt
 eject /dev/sdb

 put the card in the freerunner and boot using qi.


Hi Alexandros,

Well, it seems good, the freerunner regonizes the card and loads the kernel.
The kernel panic is as expected, there is just a kernel on the card and no 
distro yet.
Could you try  to install the root files system from [2] ?
After you installed it make sure to install the kernel in /boot as 
uImage-GTA02.bin
and add the /boot/append-GTA02.
(you could make a tar file before installing the rootfs)

in cut and paste style:
mkdir /tmp/mpt
mount /dev/sde1 /tmp/mpt
cd /tmp/mpt
tar -czf /tmp/old_boot.tgz ./boot
tar -xzvpf /the/downloaded/qtmoko-debian-v31.tar.gz
tar -xzvpf /tmp/old_boot.tgz
cd /
umount /tmp/mpt
eject /dev/sde

put the card in the freerunner and boot using qi
That should give you a working distro.
Please let us know any success/failure!

Kind regards,
Ed

[2] 
http://sourceforge.net/projects/qtmoko/files/qtmoko-debian-v31.tar.gz/download


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community