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: 255 | Thanked: 109 times | Joined on Dec 2009
#2581
ok lamer question,
how to actually tweak the voltages?
 
ossipena's Avatar
Posts: 3,159 | Thanked: 2,023 times | Joined on Feb 2008 @ Finland
#2582
Hello dear overclockers. I made a wiki page about overclocking, could you please start improving it, now it is only a quick and dirty template.

it hopefully will decrease amount of exactly same questions asked in this thread.

http://wiki.maemo.org/Overclocking_N900
__________________
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search
 

The Following 3 Users Say Thank You to ossipena For This Useful Post:
Tiboric's Avatar
Posts: 433 | Thanked: 312 times | Joined on Nov 2009 @ U.K
#2583
Originally Posted by ossipena View Post
Hello dear overclockers. I made a wiki page about overclocking, could you please start improving it, now it is only a quick and dirty template.

it hopefully will decrease amount of exactly same questions asked in this thread.

http://wiki.maemo.org/Overclocking_N900
This one is quite good: http://wiki.maemo.org/Overclocking
 

The Following User Says Thank You to Tiboric For This Useful Post:
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#2584
Originally Posted by ossipena View Post
Hello dear overclockers. I made a wiki page about overclocking, could you please start improving it, now it is only a quick and dirty template.

it hopefully will decrease amount of exactly same questions asked in this thread.

http://wiki.maemo.org/Overclocking_N900
have a look at http://wiki.maemo.org/Overclocking
 

The Following User Says Thank You to titan For This Useful Post:
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#2585
Originally Posted by titan View Post
HAM probably did not upgraded all packages.
apt-get upgrade should be safer.
I suggest to reset pmconfig to defaults before installing a new kernel.
Acctually.. i did it through a apt-get upgrade but did not change the pmconfig. I will try it again and try to do it more proper

Titan.. could you advice on this question? http://talk.maemo.org/showpost.php?p...&postcount=183
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#2586
maemo22 was just uploaded to extras-devel (it may be available in 20mins).
it also supports customization of DSP frequencies.
sr_vdd1_opps_vsel was renamed to vdd1_opps_vsel.
810Mhz is now 805 Mhz.
Originally Posted by titan View Post
online tweaking of voltages is done with
Code:
# cat /sys/power/vdd1_opps_vsel
30 30 38 48 54 48 60 60 60 60 60 60 60 67 72
echo "30 30 38 48 54 48 60 60 60 60 60 60 60 67 72" > /sys/power/vdd1_opps_vsel
The meaning of the voltages (first column):
Code:
stock/normal kernel
30 = 0x1e = 0.975V x 0 MHz = 0
30 = 0x1e = 0.975V x 125 MHz = 119
38 = 0x26 = 1.075V x 250 MHz = 289
48 = 0x30 = 1.200V x 500 MHz = 720
54 = 0x36 = 1.275V x 550 MHz = 894
60 = 0x3c = 1.350V x 600 MHz = 1094
60 = 0x3c = 1.350V x 720 MHz = 1312
60 = 0x3c = 1.350V x 750 MHz = 1367
60 = 0x3c = 1.350V x 810 MHz = 1476
60 = 0x3c = 1.350V x 850 MHz = 1549
60 = 0x3c = 1.350V x 900 MHz = 1640
60 = 0x3c = 1.350V x 950 MHz = 1731
XLV kernel:
30 = 0x1e = 0.975V x 0 MHz = 0
20 = 0x14 = 0.850V x 125 MHz = 90
30 = 0x1e = 0.975V x 250 MHz = 238
33 = 0x21 = 1.012V x 500 MHz = 513
38 = 0x26 = 1.075V x 550 MHz = 636
38 = 0x26 = 1.075V x 600 MHz = 693
45 = 0x2d = 1.163V x 700 MHz = 946
45 = 0x2d = 1.163V x 750 MHz = 1014
48 = 0x30 = 1.200V x 810 MHz = 1166
48 = 0x30 = 1.200V x 850 MHz = 1224
54 = 0x36 = 1.275V x 900 MHz = 1463
54 = 0x36 = 1.275V x 950 MHz = 1544
60 = 0x3c = 1.350V x 1000 MHz = 1823
72 = 0x48 = 1.500V x 1100 MHz = 2475
72 = 0x48 = 1.500V x 1150 MHz = 2588
XLV is: "30 20 30 33 38 38 45 45 48 48 54 54 60 67 72"
ideal: 30 30 30 30 33 38 45 45 48 48 54 54 60 67 72 (first three ignored)
ULV: 25 25 25 33 38 38 45 45 48 48 54 54 60 67 72
LV: 30 30 38 48 48 54 54 54 54 54 54 54 60 67 72
Code:
cat /sys/power/dsp_opps_rate 
90000000 90000000 180000000 360000000 400000000 430000000 430000000 430000000 430000000 500000000 500000000 500000000 500000000 520000000 520000000
echo  "90000000 90000000 180000000 360000000 400000000 430000000 430000000 430000000 430000000 500000000 500000000 500000000 500000000 520000000 520000000" > /sys/power/dsp_opps_rate
 

The Following 9 Users Say Thank You to titan For This Useful Post:
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#2587
I think the OC/LV work is pretty much finished.
If there are no major showstoppers I'm going to promote maemo22 to testing and hope for your votes.
For the future I suggest that you report your kernel settings as
[min,max] vsel <voltages> DSP <rates>
with vsel/DSP only if you changed something, e.g.,
[250,850] vsel "30 30 38 48 54 48 60 60 60 60 60 60 60 72 72" DSP "90000000 90000000 180000000 360000000 400000000 430000000 430000000 430000000 430000000 500000000 500000000 500000000 500000000 520000000 520000000"

I'd appreciate if someone could update the Wiki page with the new instructions.

here's a upstart script you could store as /etc/event.d/kernel-maemo (untested):
WARNING: be careful, a typo may brick your device!!
Code:
start on started dsme
stop on starting shutdown
service
console none
script
  echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load
  #echo 75 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
  #echo 150000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
  #modprobe bq27x00_battery
  echo "30 30 38 48 54 48 60 60 60 60 60 60 60 72 72" > /sys/power/vdd1_opps_vsel
  echo "90000000 90000000 180000000 360000000 400000000 430000000 430000000 430000000 430000000 500000000 500000000 500000000 500000000 520000000 520000000" > /sys/power/dsp_opps_rate
end script
now back to real life...

Last edited by titan; 2010-04-13 at 11:22. Reason: warning
 

The Following 9 Users Say Thank You to titan For This Useful Post:
Posts: 255 | Thanked: 109 times | Joined on Dec 2009
#2588
i have upgraded to the latest generic kernel, how do i reset the voltages to the ones i was using when i was on the ideal kernel?

is it a matter of creating a file called kernel-maemo in /etc/event.d with the above info in it, but obviously the voltages from ideal substituted?

how to tweak the voltages while im running so i can get them any lower?

thanks in advance
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#2589
I have maemo22 from extras-devel installed
and turned it into the "ideal" kernel by creating /etc/event.d/kernel-maemo
WARNING: be careful, a tyop may brick your device!!
Code:
start on started dsme
stop on starting shutdown
service
console none
script
  echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load
  #echo 75 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
  #echo 150000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
  # default
  #echo "30 30 38 48 54 48 60 60 60 60 60 60 60 72 72" > /sys/power/vdd1_opps_vsel
  #echo "90000000 90000000 180000000 360000000 400000000 430000000 430000000 430000000 430000000 500000000 500000000 500000000 500000000 520000000 520000000" > /sys/power/dsp_opps_rate
  # ideal
  echo "30 30 30 30 33 38 45 45 48 48 54 54 60 72 72" > /sys/power/vdd1_opps_vsel
  echo 500000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
  echo 850000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
end script
with "start kernel-maemo" you can activate it without rebooting

Last edited by titan; 2010-04-13 at 11:23. Reason: warning
 

The Following 7 Users Say Thank You to titan For This Useful Post:
Posts: 143 | Thanked: 4 times | Joined on Jan 2010
#2590
Originally Posted by titan View Post
I have maemo22 from extras-devel installed
and turned it into the "ideal" kernel by creating /etc/event.d/kernel-maemo
Code:
start on started dsme
stop on starting shutdown
service
console none
script
  echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load
  #echo 75 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
  #echo 150000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
  # default
  #echo "30 30 38 48 54 48 60 60 60 60 60 60 60 72 72" > /sys/power/vdd1_opps_vsel
  #echo "90000000 90000000 180000000 360000000 400000000 430000000 430000000 430000000 430000000 500000000 500000000 500000000 500000000 520000000 520000000" > /sys/power/dsp_opps_rate
  # ideal
  echo "30 30 30 30 33 38 45 45 48 48 54 54 60 72 72" > /sys/power/vdd1_opps_vsel
  echo 500000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
  echo 850000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
end script
with "start kernel-maemo" you can activate it without rebooting
titan... would appreciate if you could kindly explain wats the script about... me real noob.. following your progress and definately will vote for ya app....
 
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 22:47.