Re: question about installing android on FR

2012-01-23 Thread a dehqan
In The Name Of Allah
Hello

This is answer of stefan schimdt (dfu-utils developer) :

The number of shown partitions is hardcoded atm to DFU_NUM_ALTERNATES
which is set to 6. So you last partition does not get shown increment
it to seven in your board config and re-compile your u-boot and test
again.

but unfortunately ,have not board here ,would someone recompile it ?
On Sun, Jan 22, 2012 at 12:52 AM, a dehqan dehqa...@gmail.com wrote:


 Thanks have tried:

 mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)

 Now printenv shows:


 mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)

 but when want to try dfu-utils -l shows:
 Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=1, name=u-boot
 Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=2,
 name=u-boot_env
 Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=3, name=kernel
 Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=4, name=splash
 Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=5, name=factory
 Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=6, name=system


 again there is no userdata

 On Fri, Jan 20, 2012 at 11:33 AM, Jose Luis Perez Diez 
 jl...@escomposlinux.org wrote:

 El Thursday 19 January 2012 17:52:46 a dehqan va escriure:
  Thanks methink so
  Have installed uboot on NAND and have set enviroments on it , this is
  mtdparts output http://pastebin.com/E08fHr2G and this is printenv
 output
  http://pastebin.com/E08fHr2G
 
  But dfu-util -l  http://pastebin.com/59fLK4GC  does not show any
 userdata
  partition while it got system partition

 Have you tried to use diferent mtdparts while flashing?

 one like this for system:

 setenv mtdparts
 mtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system)

 and other like this for usedata:

 setenv
 mtdpartsmtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0404(factory_system),0x0b6a(userdata)

 and, if using uboot to start android, this other when all is flasshed:

 setenv mtdparts
 mtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)

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



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


Re: question about installing android on FR

2012-01-23 Thread Martin Jansa
On Mon, Jan 23, 2012 at 08:07:15PM +0330, a dehqan wrote:
 In The Name Of Allah
 Hello
 
 This is answer of stefan schimdt (dfu-utils developer) :
 
 The number of shown partitions is hardcoded atm to DFU_NUM_ALTERNATES
 which is set to 6. So you last partition does not get shown increment
 it to seven in your board config and re-compile your u-boot and test
 again.

Why not sqash factory+system partitions together as someone suggested in
this thread?

Here:

  setenv
  mtdpartsmtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0404(factory_system),0x0b6a(userdata)
 


Cheers,

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: question about installing android on FR

2012-01-23 Thread a dehqan
Hello.

On Sun, 2012-01-22 at 01:13, a dehqan wrote:
In The Name Of Allah
Hello
Thanks have tried:

 
mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)

Now printenv shows:


 
mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)

but when want to try dfu-utils -l shows:
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=1,
name=u-boot
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=2,
name=u-boot_env
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=3,
name=kernel
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=4,
name=splashHello.

On Sun, 2012-01-22 at 01:13, a dehqan wrote:
In The Name Of Allah
Hello
Thanks have tried:

 
mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)

Now printenv shows:


 
mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)

but when want to try dfu-utils -l shows:
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=1,
name=u-boot
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=2,
name=u-boot_env
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=3,
name=kernel
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=4,
name=splash
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=5,
name=factory
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=6,
name=system

again there is no userdata
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=5,
name=factory
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=6,
name=system

again there is no userdata
On Mon, Jan 23, 2012 at 8:13 PM, Martin Jansa martin.ja...@gmail.comwrote:

 On Mon, Jan 23, 2012 at 08:07:15PM +0330, a dehqan wrote:
  In The Name Of Allah
  Hello
 
  This is answer of stefan schimdt (dfu-utils developer) :
 
  The number of shown partitions is hardcoded atm to DFU_NUM_ALTERNATES
  which is set to 6. So you last partition does not get shown increment
  it to seven in your board config and re-compile your u-boot and test
  again.

 Why not sqash factory+system partitions together as someone suggested in
 this thread?

 Here:

   setenv
  
 mtdpartsmtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0404(factory_system),0x0b6a(userdata)
  


 Cheers,

 --
 Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com

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


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


Re: question about installing android on FR

2012-01-21 Thread a dehqan
In The Name Of Allah
Hello
Thanks have tried:
mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)

Now printenv shows:

mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)

but when want to try dfu-utils -l shows:
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=1, name=u-boot
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=2,
name=u-boot_env
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=3, name=kernel
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=4, name=splash
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=5, name=factory
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=6, name=system


again there is no userdata
On Fri, Jan 20, 2012 at 11:33 AM, Jose Luis Perez Diez 
jl...@escomposlinux.org wrote:

 El Thursday 19 January 2012 17:52:46 a dehqan va escriure:
  Thanks methink so
  Have installed uboot on NAND and have set enviroments on it , this is
  mtdparts output http://pastebin.com/E08fHr2G and this is printenv output
  http://pastebin.com/E08fHr2G
 
  But dfu-util -l  http://pastebin.com/59fLK4GC  does not show any
 userdata
  partition while it got system partition

 Have you tried to use diferent mtdparts while flashing?

 one like this for system:

 setenv mtdparts
 mtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system)

 and other like this for usedata:

 setenv
 mtdpartsmtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0404(factory_system),0x0b6a(userdata)

 and, if using uboot to start android, this other when all is flasshed:

 setenv mtdparts
 mtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)

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

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


Re: question about installing android on FR

2012-01-20 Thread Jose Luis Perez Diez
El Thursday 19 January 2012 17:52:46 a dehqan va escriure:
 Thanks methink so
 Have installed uboot on NAND and have set enviroments on it , this is
 mtdparts output http://pastebin.com/E08fHr2G and this is printenv output
 http://pastebin.com/E08fHr2G
 
 But dfu-util -l  http://pastebin.com/59fLK4GC  does not show any userdata
 partition while it got system partition

Have you tried to use diferent mtdparts while flashing?

one like this for system:

setenv mtdparts 
mtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system)

and other like this for usedata:

setenv 
mtdpartsmtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0404(factory_system),0x0b6a(userdata)

and, if using uboot to start android, this other when all is flasshed:

setenv mtdparts 
mtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)

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


Re: question about installing android on FR

2012-01-20 Thread a dehqan
the problem is that the bootloader of my fr is not compatible with fastboot
but with dfu instead, the problem is that not all partitions defined trough
u-boot are exported trough the dfu protocol, so the solution is to flash
from android itself the remaining partition
 unfortunately the phone is armv4t so we must find a flasher binary for
android or statically linked for armv4t,do you know one?
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: question about installing android on FR

2012-01-20 Thread Patryk Benderz
Dnia 2012-01-20, pią o godzinie 16:41 +0330, a dehqan pisze:
[cut]
 the problem is that not all partitions defined trough u-boot are
 exported trough the dfu protocol,
[cut]
Tormod Volden and Stefan Schmidt are actively developing dfu-util, but I
am not sure if they are reading community ML. So it might be a good idea
to ask about dfu-util related problems on de...@lists.openmoko.org .

-- 
Patryk LeadMan Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


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


Re: question about installing android on FR

2012-01-19 Thread David Matthews

+++ a dehqan [19/01/12 11:05 +0330]:

  My question was about installing android on NAND without uSD and Now
  Android comes up but becaue of lacking userdata partition can not download
  .apk and so ...
  could not create userdata partition because dfu error


android on a freerunner needs an sdcard to work I believe. The recommended
way to install it involves using an sdcard and it continues to use that after
the first run flashes it to NAND.

--
David Matthews
m...@dmatthews.org

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


Re: question about installing android on FR

2012-01-19 Thread a dehqan
please if you know just answer question nothing more ,thanks
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: question about installing android on FR

2012-01-19 Thread Davide Scaini
 Just read the instructions here
http://code.google.com/p/android-on-freerunner/wiki/GetIt, here pasted:
Partition and format the SD card

For Android to work properly the Micro SD Card in your FreeRunner needs to
have 2 primary partitions. The first needs to be a VFAT/MSDOS (16 or 32)
partition which is used is mounted as '/sdcard', this is used as a storage
area (for pictures, movies, music, etc). The second is an ext3 partition
which Android mounts as '/data', this is where it stores settings, caches,
etc.

Experience has shown that sizing these at a ratio of 3 to 1 works best. So
if you have a 4GB card make a 3GB vfat partition and a 1GB ext3 partion.

Experience has also shown that it is best to delete all existing partitions
and create new when installing a new build. *(This greatly helps the
testing and bug fixing process).* Comprehensive information on partitioning
and formatting your SD card can be found on the Openmoko
Wiki.http://wiki.openmoko.org/wiki/Android_on_Freerunner#Preparing_the_SD_Card

*Note* Users have reported that it is also possible to install Android by
making a single partition formatted as VFAT/MSDOS

On Thu, Jan 19, 2012 at 10:40 AM, a dehqan dehqa...@gmail.com wrote:

 please if you know just answer question nothing more ,thanks


AND BE KIND! we are not working FOR you :D
d




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


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


Re: question about installing android on FR

2012-01-19 Thread a dehqan
Thanks a lot for your attentions,
but my question is not how to install android by using uSD
Again my need is only the answer of question in my first post ,maybe should
be repeated:

Am trying to install android without uSD on NAND
have flashed kernel,qi,system images into kernel,uboot,rootfs partitions but
But Dfu-utils has not userdata altsetting .

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


Re: question about installing android on FR

2012-01-19 Thread Davide Scaini
The answer is: it seems not to be possible.
Try to ask also to the AoF community.
hth
d

On Thu, Jan 19, 2012 at 11:15 AM, a dehqan dehqa...@gmail.com wrote:

 Thanks a lot for your attentions,
 but my question is not how to install android by using uSD
 Again my need is only the answer of question in my first post ,maybe
 should be repeated:

 Am trying to install android without uSD on NAND
 have flashed kernel,qi,system images into kernel,uboot,rootfs partitions
 but
 But Dfu-utils has not userdata altsetting .

 Regards dehqan


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


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


Re: question about installing android on FR

2012-01-19 Thread a dehqan
thanks AoF community.
do they have mailing list ?

On Thu, Jan 19, 2012 at 1:48 PM, Davide Scaini dsca...@gmail.com wrote:

 The answer is: it seems not to be possible.
 Try to ask also to the AoF community.
 hth
 d

 On Thu, Jan 19, 2012 at 11:15 AM, a dehqan dehqa...@gmail.com wrote:

 Thanks a lot for your attentions,
 but my question is not how to install android by using uSD
 Again my need is only the answer of question in my first post ,maybe
 should be repeated:

 Am trying to install android without uSD on NAND
 have flashed kernel,qi,system images into kernel,uboot,rootfs partitions
 but
 But Dfu-utils has not userdata altsetting .

 Regards dehqan


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



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


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


Re: question about installing android on FR

2012-01-19 Thread Gennady Kupava
http://groups.google.com/group/android-on-freerunner

On Thu, 2012-01-19 at 13:53 +0330, a dehqan wrote:
 thanks AoF community.
 do they have mailing list ?
 
 On Thu, Jan 19, 2012 at 1:48 PM, Davide Scaini dsca...@gmail.com
 wrote:
 The answer is: it seems not to be possible.
 Try to ask also to the AoF community.
 hth
 d
 
 On Thu, Jan 19, 2012 at 11:15 AM, a dehqan
 dehqa...@gmail.com wrote:
 
 Thanks a lot for your attentions, 
 but my question is not how to install android by using
 uSD
 Again my need is only the answer of question in my
 first post ,maybe should be repeated:
 
 Am trying to install android without uSD on NAND
 have flashed kernel,qi,system images into
 kernel,uboot,rootfs partitions but
 But Dfu-utils has not userdata altsetting .
 
 Regards dehqan
 
 
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 
 
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



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


Re: question about installing android on FR

2012-01-19 Thread Jose Luis Perez Diez
El Thursday 19 January 2012 08:35:24 a dehqan va escriure:
 My question was about installing android on NAND without uSD and Now
 Android comes up but becaue of lacking userdata partition can not download
 .apk and so ...
 could not create userdata partition because dfu error

I think that the Uboot DFU protocol implementation (or dfu-util) has a maximun 
of 7 (1 ram 6 nand)
 downlad/upload positions harcoded. (I tested reading from diferent mtdparts 
configurations with 
nor uboot and Genady's one)

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


Re: question about installing android on FR

2012-01-19 Thread a dehqan
Thanks methink so
Have installed uboot on NAND and have set enviroments on it , this is
mtdparts output http://pastebin.com/E08fHr2G and this is printenv output
http://pastebin.com/E08fHr2G

But dfu-util -l  http://pastebin.com/59fLK4GC  does not show any userdata
partition while it got system partition

On Thu, Jan 19, 2012 at 7:31 PM, Jose Luis Perez Diez 
jl...@escomposlinux.org wrote:

 El Thursday 19 January 2012 08:35:24 a dehqan va escriure:
  My question was about installing android on NAND without uSD and Now
  Android comes up but becaue of lacking userdata partition can not
 download
  .apk and so ...
  could not create userdata partition because dfu error

 I think that the Uboot DFU protocol implementation (or dfu-util) has a
 maximun of 7 (1 ram 6 nand)
  downlad/upload positions harcoded. (I tested reading from diferent
 mtdparts configurations with
 nor uboot and Genady's one)

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

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


Re: question about installing android on FR

2012-01-19 Thread dmatthews.org
On Thu, 19 Jan 2012 10:49:43 +0100
Davide Scaini dsca...@gmail.com wrote:


 
 For Android to work properly the Micro SD Card in your FreeRunner needs to
 have 2 primary partitions. The first needs to be a VFAT/MSDOS (16 or 32)
 partition which is used is mounted as '/sdcard', this is used as a storage
 area (for pictures, movies, music, etc). The second is an ext3 partition
 which Android mounts as '/data', this is where it stores settings, caches,
 etc.
 
 Experience has shown that sizing these at a ratio of 3 to 1 works best. So
 if you have a 4GB card make a 3GB vfat partition and a 1GB ext3 partion.

Interestingly my android install does not seem to use the ext3 partition - 
looks like I wasted some sdcard space making that?

This is an install from ran's cupcake image:-

# mount
rootfs / rootfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
/dev/block/mtdblock6 /system jffs2 ro 0 0
/dev/block/mmcblk0p1 /sdcard vfat 
rw,nosuid,nodev,fmask=,dmask=,allow_utime=0022,codepage=cp437,iocharset=iso8859-1
 0 0
/dev/block/mtdblock7 /data yaffs2 rw,nosuid,nodev 0 0



-- 
David Matthews
m...@dmatthews.org

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


Re: question about installing android on FR

2012-01-19 Thread Davide Scaini
On Thu, Jan 19, 2012 at 8:38 PM, dmatthews.org m...@dmatthews.org wrote:

 On Thu, 19 Jan 2012 10:49:43 +0100
 Davide Scaini dsca...@gmail.com wrote:


 
  For Android to work properly the Micro SD Card in your FreeRunner needs
 to
  have 2 primary partitions. The first needs to be a VFAT/MSDOS (16 or 32)
  partition which is used is mounted as '/sdcard', this is used as a
 storage
  area (for pictures, movies, music, etc). The second is an ext3 partition
  which Android mounts as '/data', this is where it stores settings,
 caches,
  etc.
 
  Experience has shown that sizing these at a ratio of 3 to 1 works best.
 So
  if you have a 4GB card make a 3GB vfat partition and a 1GB ext3 partion.

 Interestingly my android install does not seem to use the ext3 partition -
 looks like I wasted some sdcard space making that?

 This is an install from ran's cupcake image:-

 # mount
 rootfs / rootfs ro 0 0
 tmpfs /dev tmpfs rw,mode=755 0 0
 devpts /dev/pts devpts rw,mode=600 0 0
 proc /proc proc rw 0 0
 sysfs /sys sysfs rw 0 0
 tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
 /dev/block/mtdblock6 /system jffs2 ro 0 0
 /dev/block/mmcblk0p1 /sdcard vfat
 rw,nosuid,nodev,fmask=,dmask=,allow_utime=0022,codepage=cp437,iocharset=iso8859-1
 0 0
 /dev/block/mtdblock7 /data yaffs2 rw,nosuid,nodev 0 0



I reply directly to you because our mate dehqan seems nervous...
in http://code.google.com/p/android-on-freerunner/wiki/GetIt they write:
*Note* Users have reported that it is also possible to install Android by
making a single partition formatted as VFAT/MSDOS.

I have no other ideas :P



 --
 David Matthews
 m...@dmatthews.org

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

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


Re: question about installing android on FR

2012-01-19 Thread a dehqan
In The Name of Allah


Hello

the problem is that the bootloader of my fr is not compatible with fastboot
but with dfu instead, the problem is that not all partitions defined trough
u-boot are exported trough the dfu protocol, so the solution is to flash
from android itself the remaining partition
 unfortunately the phone is armv4t so we must find a flasher binary for
android or statically linked for armv4t
do you know one ?

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


question about installing android on FR

2012-01-18 Thread a dehqan
In The name Of Allah

hello
have set some enviroments in uboot that is on NAND:
 setenv mtdparts
mtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)


and this is result of mtdparts command  http://pastebin.com/2hgCwDgz

but when want to sudo dfu-util -a userdata -R -D userdata.img
dfu says No such Alternate Setting: userdata

how to fix it ?

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


Re: question about installing android on FR

2012-01-18 Thread Alishams Hassam
From what I know, Android on the FR requires QI. Unless you have a specific
reason not to use it, just go with that. Note that it has to be the QI from
the AoF people as it changes the partition layout.

On Wed, Jan 18, 2012 at 8:36 PM, a dehqan dehqa...@gmail.com wrote:

 In The name Of Allah

 hello
 have set some enviroments in uboot that is on NAND:
  setenv mtdparts
 mtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)


 and this is result of mtdparts command  http://pastebin.com/2hgCwDgz

 but when want to sudo dfu-util -a userdata -R -D userdata.img
 dfu says No such Alternate Setting: userdata

 how to fix it ?

 Regards dehqan


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


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


Re: question about installing android on FR

2012-01-18 Thread a dehqan
My question was about installing android on NAND without uSD and Now
Android comes up but becaue of lacking userdata partition can not download
.apk and so ...
could not create userdata partition because dfu error
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] qml question

2011-09-13 Thread Gilles Filippini
Radek Polak a écrit , Le 12/09/2011 12:55:
 QtScript has been changed in Qt 4.7 in some incopatible 
 way,

Debian stable (on which qtmoko is based IIUC) has Qt 4.6.3.

Thanks,

_g.



signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[QtMoko] qml question

2011-09-12 Thread Giacomo 'giotti' Mariani

Hello everyone,
  some day ago I was looking at http://qt-apps.org hoping in some 
port (qbriscola could be very cool) and I found a sokoban game which 
exploits qml:

http://qt-apps.org/content/show.php?action=contentcontent=134799

On my kubuntu 11.04 I only had to install qt4-qmlviewer in order to play 
it.
On my freerunner with qtmoko v35 I've not been able to find the package 
nor to play the game in any other way.


Have you got any suggestion?

Thanks,
   Giacomo

--
##
giacomo 'giotti' mariani
gpg --keyserver pool.sks-keyservers.net --recv-key 0x99bfa859
O  ASCII ribbon campaign: stop HTML mail
www.asciiribbon.org
##


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


Re: [QtMoko] qml question

2011-09-12 Thread Radek Polak
On Monday 12 September 2011 10:52:04 Giacomo 'giotti' Mariani wrote:

 Hello everyone,
some day ago I was looking at http://qt-apps.org hoping in some
 port (qbriscola could be very cool) and I found a sokoban game which
 exploits qml:
 http://qt-apps.org/content/show.php?action=contentcontent=134799
 
 On my kubuntu 11.04 I only had to install qt4-qmlviewer in order to play
 it.
 On my freerunner with qtmoko v35 I've not been able to find the package
 nor to play the game in any other way.

It depends if you want it running under Qt-X11 or natively on QtMoko.

For Qt-X11 you can search for corresponding debian package, for the second 
option we need to upgrade QtMoko to some higher Qt version - which is 
currently problem. QtScript has been changed in Qt 4.7 in some incopatible 
way, qbuild no longer works and i was unable to find why yet.

Regards

Radek

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


Question about opkg website

2011-09-12 Thread Adam Jimerson
Its been a while sense I have last used my Freerunner but after the death of
my Nexus One I am back to my Freerunner with SHR-Unstable and I was
wondering what happened to opkg.org?  It seems to not exists anymore as far
as I can tell
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Qt Moko Email Question

2011-03-02 Thread Wesley Frazier
Is there a way to limit the number of headers retrieved by the default
email client in QTMoko? My Work email is massive and its insistence on
downloading all the headers is causing major issues.

-- 
Wes Frazier

Nationalism is an infantile disease. It is the measles of mankind. -
Albert Einstein

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


[X-Server] Question about Scaling an Image on the Glamo

2010-09-28 Thread Rashid
Hi guys I wrote to the xorg mailing list about scaling an image in hardware.
Since a gamoboy has native resolution of 160*144 pixel, we could scale it in 
glamo hardware easily. This would be unbelieveable faster then the current 
method since the image we neet to send the glamo would be only 1/4 of the size. 

We can use this at other applications too. 

Answer from the xorg list:
as such though the freerunner has a stretchblit in its gfx hardware. its
primitive and can only do a small subset of what xrender needs.

Thats enough if it scale the image. Someone know how to use it?

Greetz
Rashid




 
  
 Rashid wrote:
 
  is there a way to scale a pixmap / image / frame buffer content with
  native xlib-Code.
 
 No. The core X protocol doesn't include this functionality. You need
 to use an extension (e.g. XRender, Xv, GLX).

actually it is possible to scale. 2 pass xcopyarea, 1 copy per row and
column
of output. first u scale it up in 1 dimension by (for example) reading
each
source column once and writing it out twice in the ouput, and then
repeat for
rows.

it's not too cheap though. lots of cmds to the gpu, lots of protocol,
and
the column copies do nasty things to cachelines and memory fetches even
on
the gpu side. :)

aside:

as such though the freerunner has a stretchblit in its gfx hardware. its
primitive and can only do a small subset of what xrender needs.

the freerunner's gfx chip is like taking a good old ISA trident card and
pushing it to run 32bpp @ 1600x1200 because someone managed to buy a
nice
monitor cheaply and wants lots of pixels and colors because it looks
good on a
spec sheet. let's just for now assume the good old trident ISA card
could do
such an output - for the sake of the analogy. the bus to and from the
card is
weenie small. the card itself is being pushed to its absolute outer
limits in
terms of display resolution and depth attached. you can try and move
more
stuff to the gfx chip side to alleviate load on the ISA bus but even
over there life is very limited. where normally when your gfx chip is
limited
you just move the ops back to the cpu and blast them over when done,
this comes
with a big downside on the freerunner due to the ISA bus. the problem
is all
the nice modern stuff people would like will need to go back to the cpu
there.

and any read of the gfx chip programming docs clearly shows it was
intended for
qvga on a good day, and vga output for the freerunner gfx chip is an
outlier
capability but not an optimal target). so no matter what - you'll always
be
pushing poo uphill with that gfx chip unless you drop back to qvga. :)


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


SDL Question

2010-09-15 Thread Rashid
If I'm writing to an SDL Surface on the Freerunner via surface-pixels, where 
do I write? On the gpu or cpu RAM? 
Is there a difference when I use double buffering? Is it bad if I change the 
pixel pointer of the surface to an char array?
Must I free the pixel pointer before I do so? When I use a an array on the 
stack, will it be freed (chrash) when I keep using it several times?
Will it work when I made it static (heap)?

Greetz
rashid



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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-20 Thread Christian Rüb
On Monday, 19. July 2010 21:04:54 Petr Vanek wrote:
 I prepared u-boot to set new timings by default:
 www.bsdmn.com/openmoko/glamo/242/u-boot_glamo242.udfu
 
 
 sounds great! is there a qi version setting up these parameters?
 running system from uSD is much easier with qi...
 
 no qi? too bad :(
 
 Petr

I would also like to test this with qi - any chance to get this?

Christian

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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-20 Thread ghislain

I've applied the glamo patch to the qi-bootloader I use for the QtMoko
installer-images. You can download the qi-bootloader here [1].
It replaces the qi.img file in the installer image so you can reflash with
this new bootloader.
It is, of course, also possible to flash this new bootloader using dfu-util

Ghislain
http://www.basetrend.nl BaseTrend  -  http://www.openmobile.nl openmobile.nl 

[1] http://www.openmobile.nl/pages/downloads.php#qiglamo
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/Glamo-slowness-question-Glamo-transfer-speed-improvements-33-Video-sofdecoding-playing-profile-Glamo-tp5307224p5315542.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-20 Thread Petr Vanek
I've applied the glamo patch to the qi-bootloader I use for the QtMoko
installer-images. You can download the qi-bootloader here [1].
It replaces the qi.img file in the installer image so you can reflash
with this new bootloader.
It is, of course, also possible to flash this new bootloader using
dfu-util

Ghislain
http://www.basetrend.nl BaseTrend  -  http://www.openmobile.nl
openmobile.nl 

[1] http://www.openmobile.nl/pages/downloads.php#qiglamo

sounds great, seems to be this one [1], testing now

thanks a milion

Petr


1. http://www.openmobile.nl/modules/download_gallery/dlc.php?file=53


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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-20 Thread Sebastian Krzyszkowiak
On Tue, Jul 20, 2010 at 09:17, ghislain ghisl...@basetrend.nl wrote:

 I've applied the glamo patch to the qi-bootloader I use for the QtMoko
 installer-images. You can download the qi-bootloader here [1].
 It replaces the qi.img file in the installer image so you can reflash with
 this new bootloader.
 It is, of course, also possible to flash this new bootloader using dfu-util

 Ghislain
 http://www.basetrend.nl BaseTrend  -  http://www.openmobile.nl openmobile.nl

 [1] http://www.openmobile.nl/pages/downloads.php#qiglamo

Could you please give us also a patch for that? I would like to
compile some overclocked Qi's with this Glamo tweak.

-- 
Sebastian Krzyszkowiak
dos

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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-20 Thread ghislain

Attached you will find my diff.

http://openmoko-public-mailinglists.1958.n2.nabble.com/file/n5316379/qi.diff
qi.diff 

Ghislain
http://www.basetrend.nl BaseTrend  -  http://www.openmobile.nl openmobile.nl 
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/Glamo-slowness-question-Glamo-transfer-speed-improvements-33-Video-sofdecoding-playing-profile-Glamo-tp5307224p5316379.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-20 Thread Thomas HOCEDEZ
 Sounds very nice !

I tried on SHR-u, booted on a beautiful openmoko logo, then nothing.
When I tried to boot on u-boot, a single nokernel found message is
shown ...
So here's a question : Is it only for QTmoko ?



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


Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-20 Thread Gennady Kupava
Hi, Thomas.

 I tried on SHR-u, booted on a beautiful openmoko logo, then nothing.
 When I tried to boot on u-boot, a single nokernel found message is
 shown ...

I don't know about qi provided, but you should setup u-boot properly to boot 
you distribution. To not blame glamo timings,
try first to setup usual u-boot (ensure your distribution works with it). If 
you need help in u-boot setup ping me (gena2x) at irc.

 So here's a question : Is it only for QTmoko ?

No it should work for any distribution. 
I am using debian and qtmoko, both work flawless. in qtmoko suspend/resume 
works well for me. I debian X11 with glamo driver working, but i didn't
test it much.
Other people reported android and qtmoko worked flawlessly. 
It works for shr also, but seem with some problems (unblanking and resume, not 
always). May be this problems are solvable and really cause by
some kind of kms issues.

Gennady.


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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-20 Thread Radek Polak
On Tuesday 20 July 2010 14:37:49 Thomas HOCEDEZ wrote:

 I tried on SHR-u, booted on a beautiful openmoko logo, then nothing.
 When I tried to boot on u-boot, a single nokernel found message is
 shown ...
 So here's a question : Is it only for QTmoko ?

SHR kernel is  2MB and uboot can have problems loading such kernel. You 
either need to adjust uboot env or try qi which does not have this limit.

Regards

Radek

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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-20 Thread Timo Juhani Lindfors

Radek Polak pson...@seznam.cz writes:
 SHR kernel is  2MB and uboot can have problems loading such kernel. You 
 either need to adjust uboot env or try qi which does not have this limit.

Why would u-boot have problems with  2MB? Isn't it just that people
have configured their u-boot to only load 2MB in the configuration?

-Timo

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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video softdecoding playing profile. Glamo dma transfer.

2010-07-19 Thread David Garabana Barro
O Domingo, 18 de Xullo de 2010 20:06:02 Gennady Kupava escribiu:
  When you get a WSOD (rotating screen)
 
 Fixes exist to fix this (for both xrandr rotation, resolution switch and
 screen blanking), this not related to timings.

I'm now getting WSOD after a long suspend. It's the very first time it happens 
to my FR (with any kernel).

Do you know if is there any fix to this problem?


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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video softdecoding playing profile. Glamo dma transfer.

2010-07-19 Thread Gennady Kupava
Hi, David.

I'm now getting WSOD after a 
  _long_ 
suspend. It's the very first time it happens to my FR (with any
kernel).

Very interesting. 

Do you know if is there any fix to this problem?

I din't face such problem. But we can try to investigate it. 
First, interesting, is it temperature-dependent stuff?

To test this, can you put suspended fr in fridge for 5 mins?

Second, can you try do you get same issue with default u-boot?

http://downloads.openmoko.org/distro/unstable/daily/om-gta02/20100131/u-boot-gta02v5-1.3.1+gitr650149a53dbdd48bf6dfef90930c8ab182adb512-r1.bin


Gennady.


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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-19 Thread Petr Vanek
I prepared u-boot to set new timings by default:
www.bsdmn.com/openmoko/glamo/242/u-boot_glamo242.udfu


sounds great! is there a qi version setting up these parameters?
running system from uSD is much easier with qi...

no qi? too bad :(

Petr


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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video softdecoding playing profile. Glamo dma transfer.

2010-07-19 Thread David Garabana Barro
O Luns, 19 de Xullo de 2010, Gennady Kupava escribiu:
 Hi, David.
 
 I'm now getting WSOD after a
 
   _long_
 
 suspend. It's the very first time it happens to my FR (with any
 
 kernel).
 
 Very interesting.
 
 Do you know if is there any fix to this problem?
 
 I din't face such problem. But we can try to investigate it.
 First, interesting, is it temperature-dependent stuff?
 
 To test this, can you put suspended fr in fridge for 5 mins?

I will try this night, if I can

 Second, can you try do you get same issue with default u-boot?
 
 http://downloads.openmoko.org/distro/unstable/daily/om-gta02/20100131/u-boo
 t-gta02v5-1.3.1+gitr650149a53dbdd48bf6dfef90930c8ab182adb512-r1.bin

It's the u-boot I was using (and the one I reflashed again this morning). I 
had never suffered for WSOD after suspend before...

-- 
David Garabana Barro
jabber  google talk ID:da...@garabana.com
Clave pública PGP/GPG:  http://davide.garabana.com/pgp.html


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-18 Thread David Garabana Barro
O Sábado, 17 de Xullo de 2010 22:42:19 Gennady Kupava escribiu:
 Hi, list.
 
 Here is my next rant to freerunner slowness :)

Being a FR user since the beginning, it's really amazing to see how it 
improved since 2007.2 and 2008.x/2009.x distros, in usability, prettiness and 
speed (specially due to Thomas work on xorg glamo, your findings on kernel 
speedup and CPU/memory clocking, and FSO port to vala)

Thank you very much to you and Thomas for not throwing the towel, and of 
course, thank you to all people behind FSO, e, SHR, Debian on FR, qtmoko, 
Hackable:1...

Our Free mobile dream is nearest than ever! :o)

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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-18 Thread Timo Jyrinki
2010/7/17 Gennady Kupava g...@bsdmn.com:
 Here is my next rant to freerunner slowness :)

A great way to rant :)

The glamo timing fix seems to work great here so far. Regarding the
older thread, I finally tested also it with the 500/83 CPU/memclock
setting (533/88 hanged during boot when most of the system was already
running), and it also worked fine. However, CPU overclocking probably
increases power consumption, while the glamo boosting is probably
quite pure win over-all, especially considering that glamo is the
biggest bottle-neck anyway in the device.

 Expecting some reports from users, did it work for you flawlessly?

So far, yes.

 2. --- DMA transfers
...
 Conclusion -  implementing dma for mmc and glamo may provide speedup to
 system, also it may reduce emergy consumption (as cpu may sleep while
 dma transfer is active)

That's interesting as well, since it would be again be overall win in
all aspects.

Thanks a lot for the work so far, you are the heroes making FreeRunner
project all the more interesting and unique :)

-Timo

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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-18 Thread Petr Vanek
On Sun, 18 Jul 2010 00:42:19 +0400
Gennady Kupava g...@bsdmn.com (GK) wrote:


1.6. --- How to test/use it

I used this settings by default for several days with qtmokoV24 and
with debian on usd.

I prepared u-boot to set new timings by default:
www.bsdmn.com/openmoko/glamo/242/u-boot_glamo242.udfu


sounds great! is there a qi version setting up these parameters? running
system from uSD is much easier with qi...

thank you

Petr


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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-18 Thread David Garabana Barro
O Sábado, 17 de Xullo de 2010 22:42:19 Gennady Kupava escribiu:
 Hi, list.
 
 Here is my next rant to freerunner slowness :)

 You should get for new timings:
 Old value:
 addr[4808]=0x80 0x13 0x00 0x00
 
 Expecting some reports from users, did it work for you flawlessly?

r...@om-gta02 ~/Cosas/Soft/utils # ./memwrite 1207959560
pagesize = 4096
basepage=4800, baseoff = 0008, destaddr = 4808
Old value:
addr[88142008]=0x80 0x13 0x00 0x00

It seems to work ok for me, tested on SHR-U and qtmoko

I'm currently using shr-u, will report any problem...


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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-18 Thread David Garabana Barro
O Domingo, 18 de Xullo de 2010 18:17:07 David Garabana Barro escribiu:
 O Sábado, 17 de Xullo de 2010 22:42:19 Gennady Kupava escribiu:
 
 I'm currently using shr-u, will report any problem...

I had a WSOD shutting down, but not yet during normal use. 
As with new kernel WSOD are back again (at least rotating screen), I don't 
know if it's related to glamo timings or it was a kernel problem.

I made some tests, with neon and neolight:

neolight strobe @ 80 ms

Although you can see filling, it's noticeably faster @ 242

CPU use @ 444
xorg60
python  10
idle30

CPU use @ 242
xorg44
python  7
idle47

neon continously scrolling big (1379x1916) photo. Scroll is visibly smoother

CPU use @ 444
python  50
xorg44
idle0

CPU use @ 242
python  55
xorg40
idle0


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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-18 Thread Tha_Man

Wow, you're doing an awesome job here!! I've tried it on my QtMoko V24
running from NAND and it works great, the interface is noticeably faster and
so is a more intensive program like Navit. Everything seems to work as it
should, suspending and resuming is fine. 
As Timo Jyrinki already mentioned, this is just pure performance gain,
superb! I am, however, very much interested in a stable overclock as well
:-) (as suspend and resume don't work on QtMoko v24, as reported in the
other thread)
If there is anything I (we) can help you with or test for you, please me
know.

Cheers,
Tha_Man
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/Glamo-slowness-question-Glamo-transfer-speed-improvements-33-Video-sofdecoding-playing-profile-Glamo-tp5307224p5309500.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-18 Thread David Garabana Barro
O Sábado, 17 de Xullo de 2010 22:42:19 Gennady Kupava escribiu:
 Hi, list.
 
 Expecting some reports from users, did it work for you flawlessly?

One small problem I found

When you get a WSOD (rotating screen), if you just reboot, you obtain a WSOD 
on every following reboot

You MUST halt device for getting it back to normality.
I suppose something is not correctly initialized in glamo with modified uboot.

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


Glamo slowness question. Glamo transfer speed improvements (+33%). Video softdecoding playing profile. Glamo dma transfer.

2010-07-18 Thread Gennady Kupava
 When you get a WSOD (rotating screen)

Fixes exist to fix this (for both xrandr rotation, resolution switch and
screen blanking), this not related to timings.

When you get a WSOD (rotating screen), if you just reboot, you obtain a
WSOD on every following reboot. You MUST halt device for getting it back
to normality. I suppose something is not correctly initialized in glamo
with modified uboot.

Ah, known problem! but this seem somehow related to some state
filesystem, not investigated to the final end. Not related to timing
thing too.

Here i have to just always reboot twice, or it reboots automatically on
X11 startup.

Solving this is in my todo list...

Gennady


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


Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-18 Thread Gennady Kupava
One more thing, if cpu load look like too high for some exprienced
mplayer users, this may be caused by my mplayer version - it is built
with -fno-omit-frame-pointer and with run in parallel with  _callgraph_
profiling, which seem adds some additional cpu load.

For pure timings, here is cpu load result from .29 kernel from qtmoko
for same 640x480 5fps mpeg2 movie:

old timings: 16% 35%
new timings: 16% 28% 

Gennady.



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


Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-17 Thread Gennady Kupava
Hi, list.

Here is my next rant to freerunner slowness :)

Today, topic of discussion is freerunner's most famous beast - glamo. I
want to show that it is much better than some people thinking about it.
Also i propose different significant optimizations: usage of DMA,
changing cpu-glamo bus timings. Also you can find analysis of high
resolution software video decoding.

1. --- Glamo bus speed

The most famous problem about our beast is legendary mythical cpu -
glamo bus slowness. Let's measure actual bus speed and fix it.

1.1. --- Current situation

The older statement is that glamo should have 7Mb/s transfer speed. It's
not easy to find out how this number were calculated. I hope someone who
did glamo speed measurement can comment this mail if i am wrong
somewhere.

1.2. --- Theory

Actually bus speed of glamo is limited by settings of memory controller
in our cpu. This speed can be calculated by formulae
(HCLK/TWORD)*WORDSIZE, where HCLK is frequency of memory bus == 100Mhz
(in normal conditions, without overclocking), WORDSIZE = 2 bytes, and
TWORD is waiting period, by default we have TWORD=4+4+4 bus clocks. So,
for default settings we have CPU-glamo bus speed (100*10^6/(4+4
+4))*2/1024^2 Mb/s=15.8Mb/s. This speed may or may not be also
influenced by nwait state of cpu. We'll measure actual practical speed
in section 1.3.

So, together with Thomas White we did review of memory contoller
settings in s3c and found out that 4+4+4 setting seem not reasonable.
according to Thomas analysis of timings in glamo documentation it should
be 2+4+2, which is 33% less than default and gives us:
(100*10^6/(2+4+2))*2/1024^2=23.8Mb/s.

As you can see, both numbers are much more than 7mb/s.

1.3. --- Synthetic bus speed measurements.

So i used simple tool to measure actual cpu-glamo bus transfer speed.
Tool opens framebuffer device and starts memcpy or memset session for
whole video frame. it's speed measurement +-1 frame. so i tried to find
how many frames may be displayed with each method (memcpy or memset) in
1 second for eash s3c memory controller settings (default 4+4+4 or
better 2+4+2), and use formulae (640*480*2)*nr_frame to get transfer
speed. Or course, memcpy is always slower than memset as cpu need first
fetch 4byte burst of data from main memory and only after that send it
to glamo, but memcpy is only most common operation with glamo (in both
video and mmc transfer).

So, after actual measurement i produced following table:

theory (see 1.2)  memsetmemcpy
4+4+4 speed: 15.8Mb/s 12Mb/s10.5mb/s
2+4+2 speed: 23.8Mb/s 17.5Mb/s  14.0mb/s

So, as you can see both default and new settings are very far from
7Mb/s. Also you can see that glamo can really do 14mb/s which is 22 full
screen 640*480 frames. Also one can notice that changing settings
increase throughtput by 33%.

1.4. --- Profiling real application: mpeg2 video decoding with
mplayer.

To check effect of changing timings settings, i did complex profiling
for different versions of mplayers, decoding 480x640 mpeg2 video at
5fps. Such frame rate used to avoid any case of overruns or framedrops.

I tested default(AKA slow) and fast timing settings for -vo x11 and -vo
fbdev. The settings with different vo's are not directly comparable, as
different libc used occasionally, so only (slow/x11 and fast/x11) and
(slow/fbdev and fast/fbdev) are comparable.

The profiling setup is opcontrol --start; mplayer ... ; opcontrol --stop

First, I recorded cpu usage values from mplayer:
 fbdevx11 
slow 35/3140/35
fast 31/2242/26

So, here is comparison of slow/fast fbdev:
www.bsdmn.com/openmoko/glamo/oprofile/mplayerfbdev.png

And comparison of slow/fast x11:
www.bsdmn.com/openmoko/glamo/oprofile/mplayerx11.png

As you can see, libc memcpy call cpu usage decreased from 25.2% to 17.6%
for fbdev. (i think most of this memcpys are memcpy to glamo)
In x11 version, Xorg memcpy usage decreased from 19.1%-13.2%.

in both cases, memcpy function from glibc is most time-consuming
operation.

Generally speaking about software video decoding, next by cpu
consumption is yuv2rgb function. I checked mplayer code and found that
this function seem not optimized specifically for arm, so it might be
possible to do something with it.

In general, cpu usage in 5fps mpeg2 decoding is following: 17%
memcpy(probably to glamo)/9%(yuv2rbg)/3% mpeg_decode_slice/41% idle/11%
oprofile/1.6%io/ + others. others 100% is all cpu.

You may find full profile results at: 
www.bsdmn.com/openmoko/glamo/oprofile/profiles

1.5. --- Open questions

Actually, out of glamo documentation, speed should be set to 1+4+2. But
this seem not working, and we didn't found why. So this question is open
for further unvestigation.

1.6. --- How to test/use it

I used this settings by default for several days with qtmokoV24 and with
debian on usd.

I prepared u-boot to set new timings by default:
www.bsdmn.com/openmoko/glamo/242/u

Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-17 Thread Timo Juhani Lindfors

Gennady Kupava g...@bsdmn.com writes:
 I tested default(AKA slow) and fast timing settings for -vo x11 and -vo
 fbdev. The settings with different vo's are not directly comparable, as
 different libc used occasionally, so only (slow/x11 and fast/x11) and
 (slow/fbdev and fast/fbdev) are comparable.

 The profiling setup is opcontrol --start; mplayer ... ; opcontrol --stop

Which kernel? branch and commit hash + config file would be important
to be able to reproduce these results.

Also which version of mplayer? Can you put the video file online too
so that others can test? Did you encode it yourself? (If yes, how?
:-))


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


Re: little question about navigation board

2010-05-03 Thread Helge Hafting
Alfa21 wrote:
 2010-05...@23:31 Christoph Mair
 
 why to add two more gyroscope sensors (so now we have 4 of them in our FR
 O_O)  
 The Freerunner has two accelerometers, but no gyroscope.
 
 
 I tough 2 accels + 1 compas could act as gyros... (not the greek similar of 
 the kebab)
 maybe I have to reopen my physic books ^_^'

Partially so. A compass only gives you *some* of the direction. 
Particularly, the compass won't notice if the device spins around the 
north-south axis. Do it slowly, and the accelerometers may be too 
limited to notice.

Of course, such a movement doesn't normally happen in a car. But
you do want to notice if this happens to your plane . . .

Helge hafting


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


little question about navigation board

2010-05-02 Thread Alfa21
hi,
first of all, congrats for your work :)

now my question:
why to add two more gyroscope sensors (so now we have 4 of them in our FR O_O) 
and not just merge a compass to the pressure sensor seen on the wiki (and it 
has also temperature)?

I'm not informed on this topic, so I'm sorry if this question looks stupid :P

kind regards

-- 
ALFA21 IS PROVIDED AS IS AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR 
IMPLIED.

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


Re: little question about navigation board

2010-05-02 Thread Evgeniy Ginzburg
On Sun, May 2, 2010 at 9:57 PM, Alfa21 freerun...@my.is.it wrote:
 hi,
 first of all, congrats for your work :)

 now my question:
 why to add two more gyroscope sensors (so now we have 4 of them in our FR 
 O_O) and not just merge a compass to the pressure sensor seen on the wiki 
 (and it has also temperature)?
Freerunner have only two 3g accelerometers, no gyros.

 I'm not informed on this topic, so I'm sorry if this question looks stupid :P

-- 
So long, and thanks for all the fish.

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


Re: little question about navigation board

2010-05-02 Thread Christoph Mair
On Sunday 02 May 2010 19:57:02 Alfa21 wrote:
 hi,
 first of all, congrats for your work :)
 
 now my question:
 why to add two more gyroscope sensors (so now we have 4 of them in our FR
 O_O)
The Freerunner has two accelerometers, but no gyroscope.

 and not just merge a compass to the pressure sensor seen on the wiki
I'll think about it.

 (and it has also temperature)?
The pressur sensor needs to measure the ambient temperature to deliver 
accurate results. The temperature sensor is integrated and can be read using 
my driver.

Cheers,
Christoph

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


Re: little question about navigation board

2010-05-02 Thread Alfa21
2010-05...@23:31 Christoph Mair

  why to add two more gyroscope sensors (so now we have 4 of them in our FR
  O_O)  
 The Freerunner has two accelerometers, but no gyroscope.


I tough 2 accels + 1 compas could act as gyros... (not the greek similar of the 
kebab)
maybe I have to reopen my physic books ^_^'

-- 
ALFA21 IS PROVIDED AS IS AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR 
IMPLIED.

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


[shr-latest] question on upgrades

2009-12-05 Thread Davide Scaini
Hi guys, great work on latest shr!
It works like a charm for me (btw i still don't use fr as a phone),
there are few glitches but this is not what this post is about.

Do you recommend to updateupgrade or this is going to brake the distro?
d

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


one more question about nand

2009-10-28 Thread Matthias Huber

because i hadn't nderstood it in deep:

when i would for example do an nand_erase on mtd6 and would make for 
example an ext3 of it,

would this work or is the jffs necessary for writing into nand (mtd6) ?

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


Re: one more question about nand

2009-10-28 Thread Nikita V. Youshchenko
 because i hadn't nderstood it in deep:

 when i would for example do an nand_erase on mtd6 and would make for
 example an ext3 of it,

 would this work or is the jffs necessary for writing into nand (mtd6) ?

You may create ext3 on top of mtdblock6, however this will be slower than 
ext3, and cause fast nand chip wearing.

So better not to do it unless you are know what you are doing.

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


Re: one more question about nand

2009-10-28 Thread Nikita V. Youshchenko
  because i hadn't nderstood it in deep:
 
  when i would for example do an nand_erase on mtd6 and would make for
  example an ext3 of it,
 
  would this work or is the jffs necessary for writing into nand (mtd6)
  ?

 You may create ext3 on top of mtdblock6, however this will be slower
 than ext3, and cause fast nand chip wearing.

slower than jffs2

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


Re: one more question about nand

2009-10-28 Thread Matthias Huber

Nikita V. Youshchenko schrieb:

because i hadn't nderstood it in deep:

when i would for example do an nand_erase on mtd6 and would make for
example an ext3 of it,

would this work or is the jffs necessary for writing into nand (mtd6)
?
  

You may create ext3 on top of mtdblock6, however this will be slower
than ext3, and cause fast nand chip wearing.



slower than jffs2
  

yes, was clear.  thank you.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: one more question about nand

2009-10-28 Thread Al Johnson
On Wednesday 28 October 2009, Matthias Huber wrote:
 Nikita V. Youshchenko schrieb:
  because i hadn't nderstood it in deep:
 
  when i would for example do an nand_erase on mtd6 and would make for
  example an ext3 of it,
 
  would this work or is the jffs necessary for writing into nand (mtd6)
  ?
 
  You may create ext3 on top of mtdblock6, however this will be slower
  than ext3, and cause fast nand chip wearing.
 
  slower than jffs2
 
 yes, was clear.  thank you.

Just for extra clarification, mtdblock devices are raw flash without wear 
levelling, so we want to use a filesystem like jffs2 that's designed with this 
in mind. uSD cards, CF, USB and SATA flash devices have wear levelling built 
into the controller hardware, so we can use any old filesystem.

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


Re: one more question about nand

2009-10-28 Thread Treviño
Matthias Huber wrote:
 because i hadn't nderstood it in deep:
 
 when i would for example do an nand_erase on mtd6 and would make for 
 example an ext3 of it,
 
 would this work or is the jffs necessary for writing into nand (mtd6) ?

I'd suggest to move to ubifs... I'm using it (I'm still with an old
2.6.24 custom kernel patched with ubifs support running a very tuned
Om2008) and it's really faster...



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


Re: GSM roaming question

2009-10-07 Thread Harald Welte
On Wed, Sep 30, 2009 at 12:48:14AM +0100, Al Johnson wrote:

 Automatic mode means the gsm firmware is in control of which network it 
 registers to. This should be the home network if available, or any other 
 allowed network if not. There is an AT command to list the order of 
 preference 
 for picking other networks, but I don't remember what it is, or whether it is 
 provided by the SIM. It's not something you should normally need to touch 
 though.

it's the preferred operator list, stored on the SIM, and typically you can even
edit that file on the sim card (i.e. the filesystem permissions of the SIM's
internal FS permit modifications).  Motorola EZX phones or very old siemens
S2/S3/S6/S10 have the feature to add/remove entries to the preferred operator
list.

I agree, in normal operation you should never have to care about these.

-- 
- Harald Welte lafo...@gnumonks.org   http://laforge.gnumonks.org/

Privacy in residential applications is a desirable marketing option.
  (ETSI EN 300 175-7 Ch. A6)

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


GSM roaming question

2009-09-29 Thread Mikhail Umorin
Hello --

I cannot access network in certain locations (in Texas, USA) on my FR using 
ATT SIM card. However, when I use the same SIM in the ATT GoPhone that came 
with the card, I have access to a network. Operators button in the phone 
settings in SHR-U shows only Automatic and T-Mobile.

So, is this roaming problem a bug? misconfiguration? not implemented? not 
possible?



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


Re: GSM roaming question

2009-09-29 Thread Al Johnson
On Tuesday 29 September 2009, Mikhail Umorin wrote:
 Hello --

 I cannot access network in certain locations (in Texas, USA) on my FR using
 ATT SIM card. However, when I use the same SIM in the ATT GoPhone that came
 with the card, I have access to a network. Operators button in the phone
 settings in SHR-U shows only Automatic and T-Mobile.

 So, is this roaming problem a bug? misconfiguration? not implemented? not
 possible?

It could be as simple as the GoPhone being more sensitive than the Freerunner. 
Which network does the GoPhone connect to?

The Freerunner should default to Automatic mode. You can find this if you 
press the Modem information button in the settings app and scroll down a 
little. It should also tell you the network it's registered with (if any) and 
whether it's your home network or not. Signal strength should be in there too 
with more detail than bars/blobs.

Automatic mode means the gsm firmware is in control of which network it 
registers to. This should be the home network if available, or any other 
allowed network if not. There is an AT command to list the order of preference 
for picking other networks, but I don't remember what it is, or whether it is 
provided by the SIM. It's not something you should normally need to touch 
though.

If it says T-Mobile instead of T-Mobile [forbidden] you should be able to 
click on it to register with T-Mobile. I don't know enough about the US GSM 
market to know if this is likely though.

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


[shrunstable] Midori question

2009-09-23 Thread Jan Henkins
Hello all,

I'm using midori - 0.1.10-r2 on SHR unstable, which is a great experience
overall. One of the biggest things I use my FR for is to read ebooks when
I commute on the train using FBReader. Mostly I download ebooks on my PC
and scp it across, because for some reason I cannot download files
properly with Midori. This seems to be a general thing, but the site I
normally frequent for my SciFi fix is the free library at:
http://www.baen.com
Earlier versions of Midori displayed the file instead of download it, but
0.1.10-r2 simply does nothing when I click on any link to download either
.mobi or .zip files. Does other people also experience the same issue?


-- 
Regards,
Jan Henkins


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


Re: [shrunstable] Midori question

2009-09-23 Thread Adam Jimerson
The problem is Midori is not configured with a downloader, and we can't give
it one because under the Preferences window in Midori the downloader option
is grayed out.

On Wed, Sep 23, 2009 at 8:08 AM, Jan Henkins j...@henkins.za.net wrote:

 Hello all,

 I'm using midori - 0.1.10-r2 on SHR unstable, which is a great experience
 overall. One of the biggest things I use my FR for is to read ebooks when
 I commute on the train using FBReader. Mostly I download ebooks on my PC
 and scp it across, because for some reason I cannot download files
 properly with Midori. This seems to be a general thing, but the site I
 normally frequent for my SciFi fix is the free library at:
 http://www.baen.com
 Earlier versions of Midori displayed the file instead of download it, but
 0.1.10-r2 simply does nothing when I click on any link to download either
 .mobi or .zip files. Does other people also experience the same issue?


 --
 Regards,
 Jan Henkins


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

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


Re: [shrunstable] Midori question

2009-09-23 Thread Jan Henkins
Hello Adam,

On Wed, September 23, 2009 13:18, Adam Jimerson wrote:
 The problem is Midori is not configured with a downloader, and we can't
 give
 it one because under the Preferences window in Midori the downloader
 option
 is grayed out.

Ah that makes sense, thanks a million! :-)

-- 
Regards,
Jan Henkins


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


Re: [shrunstable] Midori question

2009-09-23 Thread Adam Jimerson
On Wed, Sep 23, 2009 at 8:38 AM, Jan Henkins j...@henkins.za.net wrote:

 Hello Adam,

 On Wed, September 23, 2009 13:18, Adam Jimerson wrote:
  The problem is Midori is not configured with a downloader, and we can't
  give
  it one because under the Preferences window in Midori the downloader
  option
  is grayed out.

 Ah that makes sense, thanks a million! :-)


No problem, if you want to try and get that changed then I would open a bug
report in SHR's bug trac I don't see why something like wget can't be used
in this case.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shrunstable] Midori question

2009-09-23 Thread Tony McKeehan
I know there's one trick where you can tap the power button to turn the 
FR on, then press and hold the AUX button for the entire duration that's 
it's lit up red (this is you telling Qi that you want to skip that boot 
option) and it will move on to NAND.

You can find more info at the wiki's Qi page:

http://wiki.openmoko.org/wiki/Qi#Choosing_a_Kernel

-Tonym

Jan Henkins wrote:
 Hello all,

 I'm using midori - 0.1.10-r2 on SHR unstable, which is a great experience
 overall. One of the biggest things I use my FR for is to read ebooks when
 I commute on the train using FBReader. Mostly I download ebooks on my PC
 and scp it across, because for some reason I cannot download files
 properly with Midori. This seems to be a general thing, but the site I
 normally frequent for my SciFi fix is the free library at:
 http://www.baen.com
 Earlier versions of Midori displayed the file instead of download it, but
 0.1.10-r2 simply does nothing when I click on any link to download either
 .mobi or .zip files. Does other people also experience the same issue?


   


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


Re: Micro SD question

2009-08-08 Thread Davide Scaini
search on the*wiki, there is a full page with working and non working
sd cards...
d

On 8/8/09, Damian Spriggs damianspri...@mac.com wrote:
 I've had no problems with my Trancend 8Gb on SHR, Hackable, or Android.

 On Aug 7, 2009, at 11:54 PM, Cristian Gómez wrote:

 Hi all, I'm waiting for my FR (can't wait). I'm following the list
 and see some messages complaining about problems with some micro SD
 cards (like Kingston) I want your opinions about what memory should
 I buy.
 Does a Markvision one work correctly?


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


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


Micro SD question

2009-08-07 Thread Cristian Gómez
Hi all, I'm waiting for my FR (can't wait). I'm following the list and see
some messages complaining about problems with some micro SD cards (like
Kingston) I want your opinions about what memory should I buy.
Does a Markvision one work correctly?

Thanks

/***
* Don't Worry...Be Linux
* Cristian Gómez Alvarez
* Ingeniero en Sistemas y Computación
* Universidad de Caldas
* Comunidad de Software Libre Manizales
* IEEE/WIE Student Member
* Linux User #463617
* Mi Blog: http://cristianpark.sehablalinux.com/
/
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Micro SD question

2009-08-07 Thread Damian Spriggs
I've had no problems with my Trancend 8Gb on SHR, Hackable, or Android.

On Aug 7, 2009, at 11:54 PM, Cristian Gómez wrote:

 Hi all, I'm waiting for my FR (can't wait). I'm following the list  
 and see some messages complaining about problems with some micro SD  
 cards (like Kingston) I want your opinions about what memory should  
 I buy.
 Does a Markvision one work correctly?


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


OpenWrt ROCKS!!! :) So far... :| (And question about headset volume)

2009-07-24 Thread lists
Well, with OpenWrt I can finally place and receive calls and messages.
And the phone responds to the screen when I get a call after it goes to 
sleep. 

IT WORKS!!!   8) 

However, the volume in the wire headseat is VERY low and I have no idea 
about the bluetooth. 

Does anybody knows how to make work either?
Prefer the wire...
THANKS!!!
ET

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


Openmoko newbie question, error by installation

2009-07-21 Thread Manuel Sangiao
Dear all:

I tried to install Minimo on OM, but I got

 *   * ERROR: Cannot satisfy the following dependencies for minimo:
 *  gtk+-fastscaling (= 2.10.14) *

then I used

opkg -force-depends install minimo_0.02\+cvs20070626-r0armv4t.ipk

and got

 *   * Warning: Cannot satisfy the following dependencies for minimo:
 *  gtk+-fastscaling (= 2.10.14) *
* ERROR: hicolor-icon-theme.postinst returned 127

In addition, I can not see the on the OM Applications menu.

Can you help me?

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


Re: Openmoko newbie question, error by installation

2009-07-21 Thread Robin Paulson
2009/7/22 Manuel Sangiao masan...@gmail.com:
 I tried to install Minimo on OM, but I got

  *   * ERROR: Cannot satisfy the following dependencies for minimo:
      *  gtk+-fastscaling (= 2.10.14) *

 then I used

 opkg -force-depends install minimo_0.02\+cvs20070626-r0armv4t.ipk

 and got

  *   * Warning: Cannot satisfy the following dependencies for minimo:
      *  gtk+-fastscaling (= 2.10.14) *
 * ERROR: hicolor-icon-theme.postinst returned 127

 In addition, I can not see the on the OM Applications menu.

you don't need the fast scaling thing, that dependency is old and
wrong. force depends should work fine

the other error is in the postinst script, at a guess a missing set of
icons - you might take a look in the ipk (it's a renamed zip file) at
the postinst script, and see what the offending command is trying to
do

where did you get the package from and which os are you using?

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


Re: Question about bluetooth capability

2009-07-09 Thread Jose Luis Perez Diez
El Wednesday, 8 de July de 2009 15:54:14 Alton Patrick va escriure:
 I just found out about the Neo Freerunner, and we are considering
 using it in a project where I work.  I'm wondering if anyone can tell
 me how many separate bluetooth devices it can communicate with at
 once.  For the application we're working on, it would need to handle
 at least 2 bluetooth INS units at the same time.

 
Jorge Chamorro paired at least 2 phones to the FR to increase his rank on 
cellhunter

see: 
http://article.gmane.org/gmane.comp.handhelds.openmoko.devel/3827/match=


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


Question about bluetooth capability

2009-07-08 Thread Alton Patrick
I just found out about the Neo Freerunner, and we are considering
using it in a project where I work.  I'm wondering if anyone can tell
me how many separate bluetooth devices it can communicate with at
once.  For the application we're working on, it would need to handle
at least 2 bluetooth INS units at the same time.

Thanks for your help.
-Alton

-- 

Alton Patrick
hapatr...@gmail.com
http://www.hapatrick.us/

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


RE: Question about bluetooth capability

2009-07-08 Thread Staley, Daniel L
I havent tried it, so I could be wrongbut as far as I know since it is 
operating on the bluez stack it should be able to connect to up to 7 devices at 
once.
Like I said, I havent tried any more than one thoughif I get a chance later 
I'll try out connecting to a couple of wiimotes and see what happens.

-Dan Staley

From: Alton Patrick [hapatr...@gmail.com]
Sent: Wednesday, July 08, 2009 9:54 AM
To: community@lists.openmoko.org
Subject: Question about bluetooth capability

I just found out about the Neo Freerunner, and we are considering
using it in a project where I work.  I'm wondering if anyone can tell
me how many separate bluetooth devices it can communicate with at
once.  For the application we're working on, it would need to handle
at least 2 bluetooth INS units at the same time.

Thanks for your help.
-Alton

--

Alton Patrick
hapatr...@gmail.com
http://www.hapatrick.us/



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


Re: External GPS antenna question

2009-07-08 Thread Mikhail Umorin
On Friday 03 July 2009 22:42:04 Mikhail Umorin wrote:
 Hello --


Thank you all for the feedback!

I have decided to get a passive antenna (Arcon: GPS-ANT-MMCX, from Amazon.com) 
for just a good reception and more accurate fix in the open. And for 
car/indoor/rainforest situations I shall get a retransmitting antenna like at

http://pc-mobile.net/gpsant.htm

when I really need it. This way I shall not be draining the battery to amplify 
the signal like with an active antenna.

Mikhail.



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


Re: SOLD!!! (one more question: A6 or A7)

2009-07-07 Thread lists
Thanks everyone:
What's the difference (other than the hundred buck price difference) between 
the A6 and the A7?
Should I care?
Again, thanks!
Enrique

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


Re: SOLD!!! (one more question: A6 or A7)

2009-07-07 Thread The Digital Pioneer
Only difference I know of is that A6 has GSM buzz, and A7 does not. There
must be others though, given that price margin.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: SOLD!!! (one more question: A6 or A7)

2009-07-07 Thread jeremy jozwik
a7 absolutly

On Tue, Jul 7, 2009 at 7:45 AM, li...@kitepilot.com wrote:
 Thanks everyone:
 What's the difference (other than the hundred buck price difference) between
 the A6 and the A7?
 Should I care?
 Again, thanks!
 Enrique

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


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


Re: SOLD!!! (one more question: A6 or A7)

2009-07-07 Thread jeremy jozwik
oh crap, i though it was the other way round

On Tue, Jul 7, 2009 at 7:47 AM, The Digital
Pioneerdigitalpion...@gmail.com wrote:
 Only difference I know of is that A6 has GSM buzz, and A7 does not. There
 must be others though, given that price margin.

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



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


Re: SOLD!!! (one more question: A6 or A7)

2009-07-07 Thread Biagio Marino
The A7 is improved as daily phone becouse have a buzz fix.
The A6 don't have the buzz fix.
If you would buy the freerunner as mobile phone you should buy the A7.

Regards,
Biagio Marino


Il giorno mar, 07/07/2009 alle 10.45 -0400, li...@kitepilot.com ha
scritto:
 Thanks everyone:
 What's the difference (other than the hundred buck price difference) between 
 the A6 and the A7?
 Should I care?
 Again, thanks!
 Enrique
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


signature.asc
Description: Questa è una parte del messaggio firmata digitalmente
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: SOLD!!! (one more question: A6 or A7)

2009-07-07 Thread Tschaka

basically the A7 contains the Buzz-Fix, which A6 doesn't. (
http://wiki.openmoko.org/wiki/Buzz_Fix )
i would say you really would like to have the buzz-fix, since although not
every phone suffers from it under every circumstances it can be really
annoying, especially for the calling partner and especially when you want to
do business calls. You can either get it fixed by a buzzfix program (there
is one in the US afaik and reffering to the wiki) or just get an real A7.
However, getting an A6 and getting the buzz fixed afterwards might be a few
dozen bucks cheaper (just check the prices).

Greetings
Paul


lists-9 wrote:
 
 Thanks everyone:
 What's the difference (other than the hundred buck price difference)
 between 
 the A6 and the A7?
 Should I care?
 Again, thanks!
 Enrique
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 

-- 
View this message in context: 
http://n2.nabble.com/Hello-world.-Is-the-Neo-Freerunner-dead--tp3218917p3219832.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: External GPS antenna question

2009-07-06 Thread Helge Hafting
Tomasz Suchan wrote:
 Hi Armin,
 
 I use the atenna for GPS Tracking during biking and car tours.
 As the FR is always running (no sleep) and with activated GPS
 module - the battery last about 4h - then it's empty.
 
 Is accuracy much better with external antenna? 

If the external antenna can be placed in a better location than the 
internal one - or if it gets better signal strength.

An external antenna on the car roof may see more satellites than the
FR sitting on the dashboard, because that metal roof block radio
transmission.

Now, the FR will see many satellites even inside a car, but those
signals cannot penetrate directly through the roof. Some satellites will 
be seen directly through windows. Signals from the rest may bounce off
the hood and come in through windows, or diffract (bend) around the roof 
edge. Such redirected signals are weaker, and they give greater position 
error. The latter because they really give the position where your FR 
would have been, _if_ the signal had not been diffracted or reflected.

The GPS receiver is smart, and will discard data from satellites that 
seem to disagree with the rest. But there are two problems with this:
* An extra satellite that gets discarded no longer helps improving
   accuracy.
* If two groups of satellites seems to disagree on position, then the
   receiver could lock onto the wrong group for a while.

An external antenna see all the satellites directly, and
don't suffer such problems. Unless you are near tall buildings or 
mountainsides, which cause the same kind of problems.


So an external antenna is great if you have a roof above you.
Such as in a car or boat. The problems above don't happen on a bike. 
Still, an external antenna might help, it may be bigger/better than the 
internal antenna and get more from a weak signal. For example, if you 
move around in heavy rain in a forest.

Helge Hafting



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


Re: External GPS antenna question

2009-07-06 Thread Ruben Leote Mendes
BTW, anyone have any info on the radiation pattern of the internal antenna?

Rúben

Em Seg, Julho 6, 2009 13:31, Helge Hafting escreveu:
 Tomasz Suchan wrote:
 Hi Armin,

 I use the atenna for GPS Tracking during biking and car tours.
 As the FR is always running (no sleep) and with activated GPS
 module - the battery last about 4h - then it's empty.

 Is accuracy much better with external antenna?

 If the external antenna can be placed in a better location than the
 internal one - or if it gets better signal strength.

 An external antenna on the car roof may see more satellites than the
 FR sitting on the dashboard, because that metal roof block radio
 transmission.

 Now, the FR will see many satellites even inside a car, but those
 signals cannot penetrate directly through the roof. Some satellites will
 be seen directly through windows. Signals from the rest may bounce off
 the hood and come in through windows, or diffract (bend) around the roof
 edge. Such redirected signals are weaker, and they give greater position
 error. The latter because they really give the position where your FR
 would have been, _if_ the signal had not been diffracted or reflected.

 The GPS receiver is smart, and will discard data from satellites that
 seem to disagree with the rest. But there are two problems with this:
 * An extra satellite that gets discarded no longer helps improving
accuracy.
 * If two groups of satellites seems to disagree on position, then the
receiver could lock onto the wrong group for a while.

 An external antenna see all the satellites directly, and
 don't suffer such problems. Unless you are near tall buildings or
 mountainsides, which cause the same kind of problems.


 So an external antenna is great if you have a roof above you.
 Such as in a car or boat. The problems above don't happen on a bike.
 Still, an external antenna might help, it may be bigger/better than the
 internal antenna and get more from a weak signal. For example, if you
 move around in heavy rain in a forest.

 Helge Hafting



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



-- 
Rúben Leote Mendes -- ru...@netureza.pt


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


Re: External GPS antenna question

2009-07-05 Thread Ben Wong
 and if you are carrying the FR in a pocket, yes it gets a lock most of
 the time, but the track wobbles all over the place - up to a hundred
 meters.  And if driving through an urban canyon, similar track errors
 can occur.  Ive wanted a small external powered antenna for some time to
 improve this.

I've noticed the same wobbles, but only when I'm not moving very
quickly.  Does anybody know if setting the GPS to Pedestrian instead
of Car mode helps?  Or is an antenna the only solution?

--Ben

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


Re: External GPS antenna question

2009-07-05 Thread Al Johnson
On Saturday 04 July 2009, Paul Fertser wrote:
 Al Johnson openm...@mazikeen.demon.co.uk writes:
  On Saturday 04 July 2009, Paul Fertser wrote:
  Sebastian Krzyszkowiak seba.d...@gmail.com writes:
   On 7/4/09, Hammer Armin aham...@datazug.ch wrote:
   With the internal gps antenna, the first fix last quite long -
   with the external - within 5min to 10min I get a fix.
  
   WTF? I'm getting fix easly with *internal* GPS antenna in 30 seconds -
   2 minutes...
 
  Because you already have almanac (and sometimes ephemeris) data.
 
  With a good sky view and suitable constellation TTFF from cold is ~40s
  with the internal antenna, rootfs on SD and an early A05 without the
  capacitor on SD. For it to take 2min I need heavy urban canyoning, being
  indoors or in a vehicle, or an unusually poor constellation.

 Let me cite the site that looks to be authoritive enough [1]:

[snip quote from link]

 25 * 0.5 min = 12.5 min . I assume this gives a good estimate of TTFF

 If you already have almanac (which is the usual case as almanac is
 usually valid for months), you'll get a fix in a little more than 30
 seconds (time required to receive ephemeris from visible sattelite).

 [1] http://gpsinformation.net/gpssignal.htm

~40s was a consistent lower limit from cold start TTFF tests made to test the 
kernel SD drive strength and idle clock. IIRC this closely matches the cold 
start TTFF specified for the Antaris 4. Consensus at the time was that the GPS 
was powered down for long enough between tests that there would be a true cold 
start since the version we use has no nonvolatile storage for almanac and 
ephemeris. Assistance (ie providing almanac and ephemeris) is supposed to 
reduce TTFF to 10-20s, still significantly longer then a warm start.

If you want to repeat the tests yourself the script and method are in the 
archives.

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


Re: External GPS antenna question

2009-07-05 Thread Rask Ingemann Lambertsen
On Sat, Jul 04, 2009 at 09:17:25PM +0400, Paul Fertser wrote:
 Sebastian Krzyszkowiak seba.d...@gmail.com writes:
  On 7/4/09, Hammer Armin aham...@datazug.ch wrote:
  With the internal gps antenna, the first fix last quite long -
  with the external - within 5min to 10min I get a fix.
 
  WTF? I'm getting fix easly with *internal* GPS antenna in 30 seconds -
  2 minutes...
 
 Because you already have almanac (and sometimes ephemeris) data.

   Where would I have it from (that Hammer Armin doesn't)?

   I ran the GPS-TTFF script below standing on my balcony. Times with * are
with the --coldstart option.

45* 38 57 48 48 44 44* 45* 52* 44*

   And that's on Debian, which doesn't have the latest-and-greatest FSO
where saving and restoring almanac and ephemeris works. Back when I briefly
used OM 2008.8, I also got a fix in around 45 s. I tried with the Freerunner
lying in the window frame, and then it took 11 minutes to get a fix. My
Freerunner is revision A6 with date code 20080722.


#!/bin/sh

# GPS-TTFF - Find GPS time to first fix using all the important buzz-words
# such as D-bus, Gypsy, freedesktop.org and freesmartphone.org.

# Destinations and paths are listed in /etc/dbus-1/system.d/*.
# Interfaces are documented at URL:http://docs.freesmartphone.org/.

DBUSCALL_='dbus-send --print-reply=undocumented --system --type=method_call 
--dest='

if [ --coldstart = $1 ]; then
rm -f /var/lib/freesmartphone/ogpsd.pickle
fi

# Crude way of stripping white-space from $() output.
GPSPOLICY=$(echo $(${DBUSCALL_}org.freesmartphone.ousaged 
/org/freesmartphone/Usage org.freesmartphone.Usage.GetResourcePolicy 
string:GPS))

${DBUSCALL_}org.freesmartphone.ousaged /org/freesmartphone/Usage 
org.freesmartphone.Usage.SetResourcePolicy string:GPS string:enabled
START=$(date +%s)

# Where is the first return value from GetPosition documented?
while ${DBUSCALL_}org.freedesktop.Gypsy /org/freedesktop/Gypsy 
org.freedesktop.Gypsy.Position.GetPosition \
| head -n 1 | grep -q -v -F -e 'int32 15' -e 'int32 7'; do
sleep 1
done

FINISH=$(date +%s)

echo Time to first fix: $((${FINISH} - ${START})) s

${DBUSCALL_}org.freedesktop.Gypsy /org/freedesktop/Gypsy 
org.freedesktop.Gypsy.Position.GetPosition

${DBUSCALL_}org.freesmartphone.ousaged /org/freesmartphone/Usage 
org.freesmartphone.Usage.SetResourcePolicy string:GPS string:${GPSPOLICY}


-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

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


Re: External GPS antenna question

2009-07-04 Thread Sebastian Krzyszkowiak
On 7/4/09, Hammer Armin aham...@datazug.ch wrote:
 With the internal gps antenna, the first fix last quite long -
 with the external - within 5min to 10min I get a fix.

WTF? I'm getting fix easly with *internal* GPS antenna in 30 seconds -
2 minutes...

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


Re: External GPS antenna question

2009-07-04 Thread Tomasz Suchan
Hi Armin,

 I use the atenna for GPS Tracking during biking and car tours.
 As the FR is always running (no sleep) and with activated GPS
 module - the battery last about 4h - then it's empty.

Is accuracy much better with external antenna? I usually have
something like +/- 3-5m accuracy and need something better.

Regards,
Tom

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


Re: External GPS antenna question

2009-07-04 Thread Paul Fertser
Sebastian Krzyszkowiak seba.d...@gmail.com writes:
 On 7/4/09, Hammer Armin aham...@datazug.ch wrote:
 With the internal gps antenna, the first fix last quite long -
 with the external - within 5min to 10min I get a fix.

 WTF? I'm getting fix easly with *internal* GPS antenna in 30 seconds -
 2 minutes...

Because you already have almanac (and sometimes ephemeris) data.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

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


Re: External GPS antenna question

2009-07-04 Thread Hammer Armin
Hi Tom

  Is accuracy much better with external antenna? I usually have
  something like +/- 3-5m accuracy and need something better.

Hm. I only use the external antenna, but I think it's better
than +/- 3-5m. When I import my gps infos into google-earth
the waypoints follow quite accurate the bike-paths - which
are no more than 1-2m wide. Or on the highway it shows the
correct driving lane.

  Yours
   Armin


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


Re: External GPS antenna question

2009-07-04 Thread Al Johnson
On Saturday 04 July 2009, Paul Fertser wrote:
 Sebastian Krzyszkowiak seba.d...@gmail.com writes:
  On 7/4/09, Hammer Armin aham...@datazug.ch wrote:
  With the internal gps antenna, the first fix last quite long -
  with the external - within 5min to 10min I get a fix.
 
  WTF? I'm getting fix easly with *internal* GPS antenna in 30 seconds -
  2 minutes...

 Because you already have almanac (and sometimes ephemeris) data.

With a good sky view and suitable constellation TTFF from cold is ~40s with 
the internal antenna, rootfs on SD and an early A05 without the capacitor on 
SD. For it to take 2min I need heavy urban canyoning, being indoors or in a 
vehicle, or an unusually poor constellation.

Having almanac and ephemeris _should_ make it faster, as should initialisation 
with correct time and approximate location. Feed it incorrect data at startup 
and you can get a very long TTFF, or no fix at all, and ogpsd has done this at 
some stages of its development.


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


Re: External GPS antenna question

2009-07-04 Thread Paul Fertser
Al Johnson openm...@mazikeen.demon.co.uk writes:
 On Saturday 04 July 2009, Paul Fertser wrote:
 Sebastian Krzyszkowiak seba.d...@gmail.com writes:
  On 7/4/09, Hammer Armin aham...@datazug.ch wrote:
  With the internal gps antenna, the first fix last quite long -
  with the external - within 5min to 10min I get a fix.
 
  WTF? I'm getting fix easly with *internal* GPS antenna in 30 seconds -
  2 minutes...

 Because you already have almanac (and sometimes ephemeris) data.

 With a good sky view and suitable constellation TTFF from cold is ~40s with 
 the internal antenna, rootfs on SD and an early A05 without the capacitor on 
 SD. For it to take 2min I need heavy urban canyoning, being indoors or in a 
 vehicle, or an unusually poor constellation.

Let me cite the site that looks to be authoritive enough [1]: 

The navigation message is a continuous 50 bits/second data stream
modulated onto the carrier signal of every satellite. It is a
telemetry message, and the data is transmitted in logical units called
frames. For GPS a frame is 1500 bits long, so takes 30 seconds to be
transmitted. Every satellite begins to transmit a frame precisely on
the minute and half minute, according to its own clock. Each frame is
divided into five subframes, each 300 bits long. Subframes 1, 2 and 3
contain the high accuracy ephemeris and clock offset data. The data
content (which I'll define later) of these three subframes is the
same for a given satellite for consecutive frames for periods lasting
as long as two hours. New subframe 1, 2 and 3 data sets usually begin
to be transmitted precisely on the hour (see description of uploads
and cutovers below). Subframe 1 contains second degree polynomial
coefficients used to calculate the satellite clock offset. Subframes 2
and 3 contain orbital parameters.  Subframes 4 and 5 are
subcommutated, which means that consecutive subframes have different
data content. This data does repeat, but 25 consecutive frames of
subframe 4 and 5 data must be collected before the receiver has all of
the unique data content being transmitted by the satellite. A
satellite transmits the same data content in subframes 4 and 5 until
it is next uploaded, or usually for about 24 hours. Subframes 4 and 5
contain the almanac data and some related health and configuration
data.

25 * 0.5 min = 12.5 min . I assume this gives a good estimate of TTFF

If you already have almanac (which is the usual case as almanac is
usually valid for months), you'll get a fix in a little more than 30
seconds (time required to receive ephemeris from visible sattelite).

[1] http://gpsinformation.net/gpssignal.htm 
-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

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


  1   2   3   4   5   6   >