User:Rm

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(What i'm working on:)
 
(13 intermediate revisions by one user not shown)
Line 1: Line 1:
 
I have a GTA02v6 with debian installed on a microSD. I use the freerunner as gps and not as my primary phone.
 
I have a GTA02v6 with debian installed on a microSD. I use the freerunner as gps and not as my primary phone.
  
Issues:
+
 
 +
== Issues: ==
 +
 
 
* I don't have wifi working with a siemens sx763 router, shr from autumn 2009 worked fine :|
 
* I don't have wifi working with a siemens sx763 router, shr from autumn 2009 worked fine :|
  
Development environment:
+
== Development environment: ==
  
I use http://people.debian.org/~aurel32/qemu/armel/ upgraded to sid for testing / compiling stuff.
+
* I use http://people.debian.org/~aurel32/qemu/armel/ upgraded to sid for testing / compiling stuff.
I use distcc as described here: http://wiki.openmoko.org/wiki/Development_Environment#Building_debian_packages_with_qemu_and_cross-compiling_distccs
+
* I use distcc as described here: http://wiki.openmoko.org/wiki/Development_Environment#Building_debian_packages_with_qemu_and_cross-compiling_distccs
  
To cross compile debian-fso linux-2.6-openmoko:
+
=== Checkout om 2.6.34 kernel ===
 +
 
 +
* git clone git://git.openmoko.org/git/kernel.git linux-2.6
 +
* cd linux-2.6
 +
* git checkout --track -b om-gta02-2.6.34 origin/om-gta02-2.6.34
 +
 
 +
=== Cross compile debian-fso linux-2.6-openmoko: ===
  
 
ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dpkg-buildpackage -aarmel
 
ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dpkg-buildpackage -aarmel
  
How to pass parameters:
+
=== How to pass parameters to kernel from u-boot: ===
  
<nowiki>
 
 
First of all install uboot-envtools then:
 
First of all install uboot-envtools then:
cp /usr/share/doc/uboot-envtools/examples/openmoko_gta02.config /etc/fw_env.config
+
* cp /usr/share/doc/uboot-envtools/examples/openmoko_gta02.config /etc/fw_env.config
fw_printenv
+
* fw_printenv
fw_printenv bootcmd
+
* fw_printenv bootcmd
* modify the ouput accordingly
+
* bootcmd=output <nowiki># modify the ouput accordingly</nowiki>
fw_setenv bootcmd modified_output
+
* fw_setenv bootcmd 'modified_output' <nowiki># put the modified output under '' because it will confuse your shell</nowiki>
</nowiki>
+
  
 +
==== Data for bootchart2 ====
  
Stuff you want to do on your freerunner:
+
Add ''initcall_debug printk.time=y quiet init=/sbin/bootchartd''
 +
 
 +
==== Faster boot ====
 +
 
 +
Substitute ''rootdelay=5'' with ''rootwait''
 +
 
 +
== Stuff you want to do on your freerunner: ==
  
 
* http://lists.openmoko.org/pipermail/community/2010-July/062495.html
 
* http://lists.openmoko.org/pipermail/community/2010-July/062495.html
  
Useful wiki pages:
+
== Useful wiki pages: ==
  
 
* http://wiki.openmoko.org/wiki/Backing-up_flash_images#Backing-up_flash_images
 
* http://wiki.openmoko.org/wiki/Backing-up_flash_images#Backing-up_flash_images
 
* http://wiki.openmoko.org/wiki/Kernel
 
* http://wiki.openmoko.org/wiki/Kernel
  
What i'm working on:
+
== What i'm working on: ==
  
 
* DONE - silly patch makes webkitgtk js performance on par with chromium https://bugs.webkit.org/show_bug.cgi?id=42856
 
* DONE - silly patch makes webkitgtk js performance on par with chromium https://bugs.webkit.org/show_bug.cgi?id=42856
 
* DONE - got all the patches to get bootchart2 working on armel in 0.12.3, http://github.com/mmeeks/bootchart/issues#issue/8, debian kernel still needs to be recompiled because of http://bugs.debian.org/588200
 
* DONE - got all the patches to get bootchart2 working on armel in 0.12.3, http://github.com/mmeeks/bootchart/issues#issue/8, debian kernel still needs to be recompiled because of http://bugs.debian.org/588200
 +
* DONE - have a debian openmoko 2.6.29 kernel which can run all the useful tools out of the box. Update: bootchart2 works out of the box with latest git, patch for powertop can't be applied because it slows down the fr available here http://people.freedesktop.org/~rm/moko/add-config-for-powertop.diff
 +
* NOTNEEDED, this is available since theora 1.2.0alpha1 - theorarm merge branch (plus dave milici patches) ported to latest theora. Have build issues with examples and decode stuff is buggy, nonetheless 30% faster on some simple benchmarks with video_dump: http://people.freedesktop.org/~rm/theorarm/theorarm-to-git-8ec0d25c0f21c82f.diff discussion on theora-dev: http://lists.xiph.org/pipermail/theora-dev/2010-August/004188.html
  
* have a debian openmoko 2.6.29 kernel which can run all the useful tools out of the box, patch here http://people.freedesktop.org/~rm/moko/add-config-for-bootchart2-powertop.diff
+
* Figure out what happend to this patch, this should be the premise of NO_HZ: http://marc.info/?l=linux-arm-kernel&m=122468318011905&w=2
 
+
* theorarm merge branch (plus dave milici patches) ported to latest theora. Have build issues with examples and decode stuff is buggy, nonetheless 30% faster on some simple benchmarks with video_dump: http://people.freedesktop.org/~rm/theorarm/theorarm-to-git-8ec0d25c0f21c82f.diff
+
  
 
* powertop on arm? http://processors.wiki.ti.com/index.php/Running_PowerTOP_on_OMAP35x_platform
 
* powertop on arm? http://processors.wiki.ti.com/index.php/Running_PowerTOP_on_OMAP35x_platform

Latest revision as of 15:44, 25 September 2010

I have a GTA02v6 with debian installed on a microSD. I use the freerunner as gps and not as my primary phone.


Contents

[edit] Issues:

  • I don't have wifi working with a siemens sx763 router, shr from autumn 2009 worked fine :|

[edit] Development environment:

[edit] Checkout om 2.6.34 kernel

[edit] Cross compile debian-fso linux-2.6-openmoko:

ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dpkg-buildpackage -aarmel

[edit] How to pass parameters to kernel from u-boot:

First of all install uboot-envtools then:

  • cp /usr/share/doc/uboot-envtools/examples/openmoko_gta02.config /etc/fw_env.config
  • fw_printenv
  • fw_printenv bootcmd
  • bootcmd=output # modify the ouput accordingly
  • fw_setenv bootcmd 'modified_output' # put the modified output under '' because it will confuse your shell

[edit] Data for bootchart2

Add initcall_debug printk.time=y quiet init=/sbin/bootchartd

[edit] Faster boot

Substitute rootdelay=5 with rootwait

[edit] Stuff you want to do on your freerunner:

[edit] Useful wiki pages:

[edit] What i'm working on:

Personal tools

I have a GTA02v6 with debian installed on a microSD. I use the freerunner as gps and not as my primary phone.

Issues:

  • I don't have wifi working with a siemens sx763 router, shr from autumn 2009 worked fine :|

Development environment:

I use http://people.debian.org/~aurel32/qemu/armel/ upgraded to sid for testing / compiling stuff. I use distcc as described here: http://wiki.openmoko.org/wiki/Development_Environment#Building_debian_packages_with_qemu_and_cross-compiling_distccs

To cross compile debian-fso linux-2.6-openmoko:

ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dpkg-buildpackage -aarmel

How to pass parameters:

First of all install uboot-envtools then: cp /usr/share/doc/uboot-envtools/examples/openmoko_gta02.config /etc/fw_env.config fw_printenv fw_printenv bootcmd * modify the ouput accordingly fw_setenv bootcmd modified_output


Stuff you want to do on your freerunner:

Useful wiki pages:

What i'm working on: