User:Rm
From Openmoko
(Difference between revisions)
(→What i'm working on:) |
(→What i'm working on:) |
||
(3 intermediate revisions by one user not shown) | |||
Line 10: | Line 10: | ||
* 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 | ||
+ | |||
+ | === 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: === | === Cross compile debian-fso linux-2.6-openmoko: === | ||
Line 23: | Line 29: | ||
* bootcmd=output <nowiki># modify the ouput accordingly</nowiki> | * bootcmd=output <nowiki># modify the ouput accordingly</nowiki> | ||
* fw_setenv bootcmd 'modified_output' <nowiki># put the modified output under '' because it will confuse your shell</nowiki> | * fw_setenv bootcmd 'modified_output' <nowiki># put the modified output under '' because it will confuse your shell</nowiki> | ||
+ | |||
+ | ==== Data for bootchart2 ==== | ||
+ | |||
+ | 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: == | == Stuff you want to do on your freerunner: == | ||
Line 38: | Line 52: | ||
* 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 | * 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 | ||
* 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 | * 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 | ||
− | |||
− | |||
* 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:
- 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
[edit] 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
[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:
- http://wiki.openmoko.org/wiki/Backing-up_flash_images#Backing-up_flash_images
- http://wiki.openmoko.org/wiki/Kernel
[edit] 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 - 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
- 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