Active Topics

 


Reply
Thread Tools
jaeezzy's Avatar
Posts: 664 | Thanked: 160 times | Joined on Jul 2008 @ Australia
#111
Originally Posted by fixfox View Post
Mine (scaling_available_freqs) shows...

900000, 550000, 500000,250000, 125000
Mine had the same things before flashing to the kernel provided by titan couple post before.
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#112
Originally Posted by jaeezzy View Post
Mine had the same things before flashing to the kernel provided by titan couple post before.
He edited his post and said don't reflash, if your device is on at the moment I'd suggest reflashing the stock kernel using apt-get --reinstall install kernel kernel-flasher then reflashing the 'normal' OC'd kernel.
 
Posts: 151 | Thanked: 82 times | Joined on Sep 2008
#113
Originally Posted by MohammadAG View Post
He edited his post and said don't reflash, if your device is on at the moment I'd suggest reflashing the stock kernel using apt-get --reinstall install kernel kernel-flasher then reflashing the 'normal' OC'd kernel.
He edited his post? ok ... just seen it .... update should have been in RED

Last edited by fixfox; 2010-04-04 at 16:29.
 
Posts: 310 | Thanked: 383 times | Joined on Jan 2010
#114
Originally Posted by fixfox View Post
Is there a way to make it persistent so it survives reboots?

Also, compared to what I have on my phone, scaling_max_freq is currently reporting 600,000 although it's overclocked to 900Mhz (cpuinfo_max_freq)
Edit /etc/pmconfig and reboot.
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#115
EDIT: this post is obsolete. go to http://wiki.maemo.org/Kernel_Power

I have uploaded a new untested version of the community kernel that is supposed to support 250,500,550,600,700,750,800,850,900,1000MHz and sets the default max to 600MHz.
for freq >= 850 the DSP is set to 500MHz.
You should be able to change the frequency range as root using
Code:
echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 250000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
The settings can be permanently stored in /etc/pmconfig

I currently don't have my USB cable (for reflashing) with me so I can't test it myself
If there are any volunteers please let me know whether it works.
Installing this new kernel is at your own risk, of course.
Be prepared to reflash the stock kernel per USB!

You can download version 19 from
LINK REMOVED
install all packages and the kernel-flasher-maemo last.
Good luck!

PS: this new version also includes the Joikuspot module

Last edited by titan; 2010-05-26 at 19:02. Reason: obsolete
 

The Following 7 Users Say Thank You to titan For This Useful Post:
Posts: 74 | Thanked: 25 times | Joined on Jan 2010 @ Hong Kong, CHINA
#116
Is it sufficient to just:

dpkg -i kernel-m*
dpkg -i kernel-flasher-maemo_2.6.28-maemo19_armel.deb
init 6

...? cause I'm still getting:

# uname -r
2.6.28.10maemo-omap1
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#117
yes, that should do it. 2.6.28.10maemo-omap1 is the kernel version, not the package version.
more elaborated commands:
Code:
wget http://maemory.com/N900/overclock/kernel-maemo_2.6.28-maemo19_armel.deb
wget http://maemory.com/N900/overclock/kernel-modules-maemo_2.6.28-maemo19_armel.deb
wget http://maemory.com/N900/overclock/kernel-flasher-maemo_2.6.28-maemo19_armel.deb
dpkg -i kernel-m*
dpkg -i kernel-flasher-maemo_2.6.28-maemo19_armel.deb 
reboot
please let me know if overclocking works and whether the limit is by default
600MHz. I can't test it myself till tomorrow

Originally Posted by mdengler View Post
Is it sufficient to just:
cause I'm still getting:
# uname -r
2.6.28.10maemo-omap1
 
Posts: 455 | Thanked: 278 times | Joined on Dec 2009 @ Oregon, USA
#118
I got around to testing it, and unless Powertop is freaking out, the results are not expected.

I have set max scaling to 800000, and as you can see in the screenshot below, the CPU is spending time in the higher P-states (above 800mhz)




EDIT: I fired up Conky, and it shows an idle (min.) speed of 500 Mhz and 800Mhz under load. The min. scaling show be MUCH less.
 

The Following User Says Thank You to craftyguy For This Useful Post:
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#119
Originally Posted by craftyguy View Post
I got around to testing it, and unless Powertop is freaking out, the results are not expected.
EDIT: I fired up Conky, and it shows an idle (min.) speed of 500 Mhz and 800Mhz under load. The min. scaling show be MUCH less.
thanks for testing! it is possible that the Frequency monitoring applications are confused by the more than 5 levels available in the new kernel...
I've just uploaded cpufrequtils to extras-devel. could you please show me the output of cpufreq-info ? thanks a lot!
 
Posts: 455 | Thanked: 278 times | Joined on Dec 2009 @ Oregon, USA
#120
Originally Posted by titan View Post
thanks for testing! it is possible that the Frequency monitoring applications are confused by the more than 5 levels available in the new kernel...
I've just uploaded cpufrequtils to extras-devel. could you please show me the output of cpufreq-info ? thanks a lot!
Here's the results (max scaling still set to 800Mhz)
Code:
cpufrequtils 006: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: omap
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 0.00 ms.
  hardware limits: 250 MHz - 1000 MHz
  available frequency steps: 1000 MHz, 900 MHz, 850 MHz, 800 MHz, 750 MHz, 700 MHz, 600 MHz, 550 MHz, 500 MHz, 250 MHz
  available cpufreq governors: ondemand, userspace
  current policy: frequency should be within 250 MHz and 800 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  cpufreq stats: 1000 MHz:0.00%, 900 MHz:0.00%, 850 MHz:0.00%, 800 MHz:13.93%, 750 MHz:0.19%, 700 MHz:0.47%, 600 MHz:16.40%, 550 MHz:0.51%, 500 MHz:68.50%, 250 MHz:0.00%  (623)
I'm a bit worried that it never seems to go into any pstate lower than 500mhz.. The other 'overclocking' kernels included scaling down to 125mhz.

Installing your cpufreq-utils package does not automatically enable the cpufreq daemon, does it?
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:30.