Poll: Do you think its possible to overclock the N900?!
Poll Options
Do you think its possible to overclock the N900?!

Reply
Thread Tools
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#3411
hmm.. the last step #5 did not work for me. It doesn't change to become default.

Last edited by AlMehdi; 2010-05-03 at 19:52.
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#3412
ok, let me give you a mini-tutorial (the scripts are so powerful that a full description woiuld take a lot of time to write):

Note: this refers to kernel-power-flasher >= v27 and kernel-power-settings >= 0.8 from
extras-testing.

in theory, if you install the new version the old settings should still work and be loaded during boot.
(kernel-config = sudo /usr/sbin/kernel-config, here abbreviated)

Code:
 kernel-config show
shows you the current configuration of the kernel.

If you have loaded an old config, or changed the current settings manually or using ClockfreqUI you can save the current settings with
Code:
kernel-config save myconfig
this will automatically save it in /home/user/.kernel/myconfig
and create the directory if necessary (replace myconfig with any name you like).
To save it somewhere else (why would you?) use the absolute path.

Code:
 kernel-config load myconfig
loads the configuration. if the filename is not absolute (e.g. "./myconfig") it searches
for the file in the current dir, /home/user/.kernel and /usr/share/kernel-power-settings/
Without a file name it loads /etc/default/kernel-power, or /usr/share/kernel-power-settings/default
Do NOT modify the files in /usr/share/kernel-power-settings. They are templates.
The template names are: default, lv, ulv, xlv, ideal.

Code:
 kernel-config default myconfig
copies the configuration file to /etc/default/kernel-power (or symlinks if it is a template file from /usr/share/kernel-power-settings). If you do not specify a filename, the current settings are saved in /etc/default/kernel-power.
These settings are then loaded during boot.

Code:
 kernel-config limits 250 600
sets the limits to [min,max].
If you use "-" for a frequency, the current value is used. For example, "kernel-config limits - 850" only changes the upper limit to 850Mhz.

Code:
kernel-config lock freq volt dsp
(e.g. 500 48 400)
can be used to test voltage and dsp settings with a certain frequency.
it overwrites the current settings for that frequency and locks the CPU
to only that frequency until you run "kernel-config unlock" to unlock it.

The boot sequence:
the kernel settings are only loaded if you had a normal reboot or shutdown
but not after a crash. In that case the file /etc/kernel-power/.notloaded is created
and a GUI app could notify you and ask whether to load the settings again.
The settings will be loaded at the next boot again unless it crashes again.

you can edit the files in /home/user/.kernel/.
here is the content of the default template:
Code:
# minimum frequency to use
MINFREQ=250
# maximum frequency to use
MAXFREQ=600
# list of frequency configurations: each "frequency:volt,dsprate"
FREQS="0:30,90 125:30,90 250:38,180 500:48,360 550:54,400 600:60,430 700:60,430 750:60,430 805:60,430 850:60,500 900:60,500 950:60,500 1000:60,500 1100:72,520 1150:72,520"
UP_THRESHOLD=95
SAMPLING_RATE=300000
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=0
IGNORE_NICE_LOAD=0
there is a separate file /etc/defaul/kernel-boot for boot options.
these two options are highly experimental and may brick your device!
Code:
# start USB networking and sshd early during boot
EARLY_SSH=0
# fsck of /home partition before mounting?
# 1=if necessary, force=always check
FSCK_HOME=0
operations before mounting /home:
if you have a script (e.g. for repartitiong) called /etc/kernel-power/pre-mount.once
it will be executed once and then moved away.
with FSCK_HOME enabled the /home partition (first ext3 on eMMC) will be fsck on boot.
alternatively
Code:
echo 1 > /etc/kernel-power/force_fsck
should check it only during next boot.
Code:
echo 0 > /etc/kernel-power/force_fsck
disables it only for the next boot.
if you reset or reboot the device during fsck, it will not fsck (only) during the next boot.
all messages are logged to /etc/kernel-power/pre-mount.log
If you know how one could show a fancy LED animation from the shell during fsck contact me.

Last edited by titan; 2010-05-13 at 09:37. Reason: booting, pre-mount, templates, v0.6, versions
 

The Following 52 Users Say Thank You to titan For This Useful Post:
Posts: 24 | Thanked: 6 times | Joined on May 2010 @ Turku, Finland
#3413
Originally Posted by nokian-series View Post
This 500 Mhz kernel, is saving the same or less battery then yours 125 Mhz. It uses same or less voltage (check the wiki to know the correct values) (3 reasons)
I feel somehow bad when I think that my phone idles at 500mhz, now it idles almost at the same frequency as its previous max freq.. Does idling at 500mhz somehow wear my phone to death faster? And no, I dont know much about these stuff so my questions and thoughts might be ridiculous :---)
 
Posts: 1,427 | Thanked: 2,077 times | Joined on Aug 2009 @ Sydney
#3414
@titan, that's some serious amount of work.

Now we just need a really nice GUI front-end app to make it easy to take advantage of all the special things we can do with these scripts. I wish I was a good coder but I'm not. =(
 
Posts: 50 | Thanked: 5 times | Joined on Nov 2009
#3415
Originally Posted by lvlonkey View Post
sorry to ask this again as i havent followed this thread lately but i remember several people asking throughout the thread about how this kernels will affect upgrading to the new pr1.2 but i dont remember a clear answer. can someone clarify for me? also, i want to know if its possible to restore the about information? thank you much.

forgot to mention i first started with lehto's 125-800 then reverted back to stock before going to titan's 24.
please help with this? thanks.
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#3416
Originally Posted by Tzoni View Post
I feel somehow bad when I think that my phone idles at 500mhz, now it idles almost at the same frequency as its previous max freq.. Does idling at 500mhz somehow wear my phone to death faster? And no, I dont know much about these stuff so my questions and thoughts might be ridiculous :---)
http://wiki.maemo.org/Overclocking#A...tion_and_hints
 
Posts: 47 | Thanked: 21 times | Joined on Jan 2010
#3417
Originally Posted by maykon-de-angra View Post
Using 21 Ideal maemo my kernel, I think it's good! exelente

My doubt is the Next ...

I use the clock at 850MHz - 1GHz

minimum is 850MHz.

When I receive a phone call to the Clock falls 500mhz
How do I maintain it to 850MHz, even after receiving a phone call?

Can Make a shortcut to leave the desktop, selecting him for Ira 850MHz.

Thanks
dont you think 850mhz minimum is a bit high? i run 500min-850max and i find the phone quite responsive!
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#3418
Originally Posted by lvlonkey View Post
please help with this? thanks.
it is recommend to revert to the stock kernel before the upgrade http://wiki.maemo.org/Kernel_Power#Deinstallation.
you can reinstall it after the upgrade in PR1.2 (works fine with PR1.2alpha)
for the version info
http://wiki.maemo.org/Overclocking#F...on_information
 

The Following User Says Thank You to titan For This Useful Post:
Posts: 24 | Thanked: 6 times | Joined on May 2010 @ Turku, Finland
#3419
So when I dont touch the phone it goes to 0Mhz and only goes back to 500-850mhz when I start doing something? No worries then I guess
 
Posts: 61 | Thanked: 21 times | Joined on Jan 2010
#3420
Great work titan!
Does the new kernel-power-settings support the 'avoid_frequencies' feature?
(So I can get rid of my 'kernel-power-step2' script )
 
Reply

Tags
cooking on gas, cortex-a8, faster, first to fry it wins!, hardware, its smoking, n900, need for speed, need for weed, nos, omap, omap3, omap3430, overclock, overclocking, soc, system-on-a-chip, the dogs, this thread got good!, vtec just kicked in y0!, warranty will be void, whooplah, zoom zoom


 
Forum Jump


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