The Following 78 Users Say Thank You to maacruz For This Useful Post: | ||
Addison, AHOORA, akorvemaker, alephito, ammyt, anla, ArnimS, ashes, auouymous, Bahador, BatPenguin, BN900, borghal, bunanson, buurmas, caimanjosh, cedar, Changegames, danramos, daperezg, DJArty, douwen, drautzburg, electrolind, elimoon8, fms, fpp, gazza_d, goverweg, Grimmer, heavyt, hyno111, jcharpak, jmart, jnack95, johnpad, jstokes, jutley, KristianW, Kroll, lidow, lma, maluka, marshel, migs, minimos, momcilo, monoceros, n9ots, nokiabot, noobmonkey, nwerneck, onion, panta, Peet, pobstil, pursueky, rafaelsemx, salinmooch, scy, SD69, shardul, silvermain, skatebiker, Skaven2k2, Snoshrk, stevieg, Straycat, tgalati4, thp, traysh, twaelti, uvatbc, v13, vadp, zzavadil |
|
2011-02-12
, 19:19
|
Posts: 961 |
Thanked: 565 times |
Joined on Jul 2007
@ Tyneside, North East England
|
#2
|
|
2011-02-12
, 22:46
|
Posts: 637 |
Thanked: 445 times |
Joined on Dec 2009
@ Kaliningrad, Russia
|
#3
|
DSPOP: Support for overclocking the CPU to 400 MHZ when using the DSP (playing music).
|
2011-02-12
, 23:39
|
Posts: 1,101 |
Thanked: 1,184 times |
Joined on Aug 2008
@ Spain
|
#4
|
Ususaly I set 165 mhz when I listen music, does it mean now it will be always 400 mhz if I listen music?
P.S. Thans for your work, going to try it now!
The Following User Says Thank You to maacruz For This Useful Post: | ||
|
2011-02-13
, 01:58
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#5
|
|
2011-02-13
, 02:50
|
|
Posts: 708 |
Thanked: 125 times |
Joined on Jan 2007
@ Too Close To D.C
|
#6
|
It doesn't matter what frequency you set, it is always 333 MHZ. Now you have the choice of 333 or 400.
400 is useful for mp4 video playing with osso media player, where the dsp decodes sound and the cpu decodes video.
You can configure what frequency you want by editing /etc/kernel-dt-tunables and running "/etc/init.d/kernel-tunables restart"
PS: I have found a small issue with the ramzswap package. It seems it runs too early at startup and the ramzswap swap device is unmounted at the time the swap file is activated. As a workaround, run "/etc/init.d/ramzswap start" after booting. Tomorrow I will provide a fixed package.
|
2011-02-13
, 07:00
|
Posts: 875 |
Thanked: 918 times |
Joined on Sep 2010
|
#8
|
The Following User Says Thank You to auouymous For This Useful Post: | ||
|
2011-02-13
, 09:43
|
Posts: 2,802 |
Thanked: 4,491 times |
Joined on Nov 2007
|
#10
|
Tags |
chinook, diablo, new life, os2008 |
Thread Tools | |
|
18/03/2011 Update 2:
kernel-dt-sd: adds many bugfixes and optimized bluetooth UART FIFO
ramzswap: fixes startup when there is no swap file
mini-rc: adds workaround for shutdown issue
bluez-utils: new package in DT, adds optimized arm sbc encoder for people using a2dp
dbus: fix for boingomobile
What's this
An effort to improve the user experience in N8x0 running Diablo/Community SSU, by providing a new kernel (and some other related packages) with increased interactivity and new features.
What improvements can you expect
The device will be more responsive, since the cpu time and other resources will be used more fairly.
While using the DSP (playing music with the built-in media player and some others which use it as backend) you can get up to 40% more battery life (but lower speed), or 20% more speed (but less battery life). Advanced-systemui (ASUI) provides a nice UI to change this setting (op_dsp), or you can change it from xterm by typing "echo X >/sys/power/op_dsp". You can read what values can be used and their meaning in /sys/power/op_dsp_range and /sys/power/op_list_info. You can set a default value at boot time by editing /etc/kernel-dt-tunables (OP_DSP variable)
You can set the device to fully boot to desktop if it is off when connected to charger, by editing /etc/kernel-dt-tunables (BOOTREASON variable)
A new touchscreen driver which will produce less false events. It can be tuned by editing /etc/kernel-dt-tunables
Rotation support (you will need to have Community SSU installed)
Downloads (look at the bottom for install instructions):
https://garage.maemo.org/frs/?group_id=2036
The gory details: What you get with each package:
kernel-dt-sd:: The diablo turbo kernel and initfs modules. The installer backups the current running kernel and initfs modules. If you uninstall this package, everything will be restored to the previous state.
This kernel provides the following features and improvements over the stock diablo one:
The SD scheduler was the favourite replacement scheduler of many people at the time, in particular gamers. It provides fairness at all costs determined by nice level, maintaining as good interactivity as can be allowed within the constraints of strict fairness.
What does that mean?:
-- No process will be stalled. For example, under O1 it is easy to stall the watchdog kicker process by swapping. Once it has been stalled for more than 20 s, the tablet will reboot. SD means no more reboots caused by load.
-- Low latency
-- Better interactivity
-- Fair CPU distribution. For example, under O1 mplayer will always skip when playing ogg if you connect to a wifi AP, because it won't get enough cpu to keep the buffer full. Under SD, you can make it to not skip, by adjusting two kernel tunables.
Provides two new kernel tunables: /proc/sys/kernel/rr_interval and /proc/sys/kernel/interactive
You can read more about the SD scheduler design here: http://ck.wikia.com/wiki/SD
ramzswap-dt: The Diablo-Turbo kernel swap module. Provides swap space as compressed ram, greatly increasing interactivity for a small amount of ram. For those using it, replaces ramzez-init, and has several improvements over old ramzez-init (more efficient use of ram and cpu, returns memory to the OS when it is no longer used, allows use of backing swap file).
Swap size can be configured by editing /etc/default/ramzswap, or with ramzez gui application. Swap size is 96 MB by default. It is recommended to use a traditional swap file of about 32 MB, just in case the ramzswap partition fills (doesn't happen often).
dt-init-scripts: Provides a startup script to adjust kernel tunables and provides support for fully booting when pluggin in the charger. Configured by editing /etc/kernel-sd-tunables. Also, fixes initfs linuxrc so ext3 rootfs partitions are mounted as such at boot and not as ext2. If uninstalled will restore initfs linuxrc script to its previous state.
mini-rc: Support for dt-init-scripts at shutdown, so booting on charger configuration changes are properly written to initfs when shutting down or rebooting.
dbus, dbus-1-utils, libdbus: Bugfixes: provides proper support for eavesdropping. A must for developers.
gconf2, libgconf2: Bugfixes. DBus eavesdropping exposed a nasty bug in libgconf2, this package fixes it along several other bugs and optimizations.
sysvinit: killall5 freezes itself under the SD kernel, so shutdown/reboot scripts hang and the device reboots when the watchdog triggers. This package fixes that allowing proper shutdown/reboot to happen.
gpsdriver-guard: This one has been available in extras-devel since a while. It is a fix to prevent the N810 gps driver from growing indefinitely eating all available memory.
bluez-utils: This package has an optimized arm sbc encoder, reducing greatly cpu usage and thereby increasing battery life for people using a2dp bluetooth devices.
NOTES:
- The backups are held in /usr/share/Diablo-Turbo/backups and take a bit of space. You should have at least 8 MB of free rootfs space (4 MB if running in mmc) before installing the kernel.
- The osso-software-version-rx?? (??=34 for N800, 44 for N810, 48 for N810-WiMax) package (Diablo and Community SSUs) locks dbus, gconf2 and minirc versions. To avoid any problem with apt-get or the gui installer you should install osso-software-version-rx??-unlocked
- For now, I have tested installation only with dpkg. Any issue with GUI installer will be supported later, but not at this stage.
- kernel and kernel modules sources haven't been properly packaged for autobuilding and manual patching and building is required. While I manage to create simple deb source packages, I'm a rpm guy and I'm lost with the debian build system (and to be sincere, don't like it at all). I need help to build a proper kernel source package.
Known issues:How to install:
(Updated instructions thanks to ggoebel)
Pre-requisites:
rootsh: http://wiki.maemo.org/Root_access
Optional Pre-requisites: CSSU installed on top of latest Diablo firmware, Advanced systemui
Updating Firmware: http://wiki.maemo.org/Updating_the_firmware
CSSU: http://wiki.maemo.org/Diablo_Community_Project
ASUI:http://talk.maemo.org/showthread.php?t=63292
Download Diablo Turbo zImage and *.deb files from:
https://garage.maemo.org/frs/?group_id=2036
(don't download files under the sources or obsolete headers)
Create directory /media/mmc1/dt (your external SDHC card)
move all saved dt files to this location
[Verify you have at least 8 MB free]
Open filemanager, press the info button or file->details
[become root:]
start utilities, xterm
> sudo gainroot
[Repository extras-devel or CSSU repository must be enabled to install this]
(where ?? substitute 34 for N800, 44 for N810, 48 for N810-wimax)
> dpkg -r osso-software-version-rx??
> apt-get install osso-software-version-rx??-unlocked
> cd /media/mmc1/dt
[now to install all debs expect an error about sysvinit when you execute the following...]
> dpkg -i *.deb
[work around the aforementioned error by installing sysvinit again]
> dpkg -i sysvinit_2.85-22.osso15-dt1_armel.deb
[optionally, upgrade to the testing kernel]
> fiasco-flasher -f -k zImage
reboot
start utilities, xterm
> uname -a
[you should see the following...]
Linux noname 2.6.21-omap1 #2 PREEMPT [build date] armv6l unknown
Last edited by maacruz; 2011-06-23 at 20:31. Reason: Updated instructions and notes