Active Topics

 


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,729 | Thanked: 388 times | Joined on Jan 2010 @ Canada
#2651
hmmmm in titan's kernels, and any other kernels, i see quite a gap.

for example, from 250 will jump to 300 and 500 consecutively and then 550 to 800? or is there something like 250, 300, 450, 500, 550 and so on? and why are those gaps present? Just curious.... (i believe i see a post here answering my question but cant find it! )
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#2652
Originally Posted by Gusse View Post
BTW: Is there still the same feature that after call 125MHz will be set to 250MHz? At least that happened to me
yes, the bug can only be fixed with a daemon.

so far the results with "ideal" settings look great (disconnected from charger at 17:00,
mostly idling with Wifi)


it dropped from 97% to 95% within 5 hours.
 

The Following User Says Thank You to titan For This Useful Post:
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#2653
Originally Posted by seiichiro0185 View Post
With this script there is no need to modify /etc/pmconfig (actually it would defeat the purpose of the check).
The script will apply the setting as they were in the ideal xlv kernel as posted earlier by titan. Feel free to adjust them.
Code:
start on started dsme
stop on starting shutdown
service
console none
script
	TDIFF=$(expr $(date +%s) - $(stat -t /etc/lastreboot |awk '{print $14}'))
	if [ $TDIFF -gt 300 ]
	then
		touch /etc/lastreboot
		echo 75 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
		echo 150000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
		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
		modprobe bq27x00_battery
		exit 0
	else
		exit 1
	fi
end script
save this to /etc/event.d/overclock and reboot (or run "start overclock" as root to apply the values without rebooting)
oh, stat does actually exist (I searched in the wrong dir)! this make things simpler.
does the script work for you? I had a reboot loop last time did modprobe in an earlier script due to a non-zero exit code.

I suggest the following modifications:
timestamp = /etc/lastboot
script name = /etc/event.d/kernel-maemo (it's not only for overclocking and I'd add it to the kernel package)
let the script try to source /etc/kernel.config which would look like
Code:
UP_THRESHOLD=75
SAMPLING_RATE=150000
VDD1_OPPS_VSEL= "30 30 30 30 33 38 45 45 48 48 54 54 60 72 72"
DSP_OPPS_RATE= "90000000 90000000 180000000 360000000 400000000 430000000 430000000 430000000 430000000 500000000 500000000 500000000 500000000 520000000 520000000"
MIN_FREQ=500000
MAX_FREQ=850000
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=0
and could be modified by a GUI app for permanent changes.
Only fields existing in the config file would be applied.

Last edited by titan; 2010-04-13 at 21:13.
 

The Following User Says Thank You to titan For This Useful Post:
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#2654
Originally Posted by egoshin View Post
Do you have a patch (diff) for OC/LV changes only?
Because package source of maemo22 has huge changes unrelated with it.
(I work on some kernel changes but in testing I am limited by stock kernel module set and can't apply all changes).
it's in debian/patches/overclock.diff
I don't understand what you mean with "in testing I am limited by stock kernel module set"
 

The Following User Says Thank You to titan For This Useful Post:
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#2655
Originally Posted by BlackDiamond View Post
BTW, I'm in the middle of restoring my installed app, so I can reinstall the ideal kernel and upgrade via terminal to show you what's happening.
thanks, I'm trying this myself now.
EDIT: installing ideal and then upgrading to maemo22 worked like a charm.

Last edited by titan; 2010-04-13 at 21:11.
 
Gusse's Avatar
Posts: 168 | Thanked: 206 times | Joined on Apr 2010 @ Finland
#2656
Originally Posted by titan View Post
oh, stat does actually exist (I searched in the wrong dir)! this make things simpler.
does the script work for you? I had a reboot loop last time did modprobe in an earlier script due to a non-zero exit code.
Not working for me either.

Does your modifications require a new version of your kernel?
Not possible for present one?
Very confused
 
Posts: 170 | Thanked: 27 times | Joined on Feb 2010 @ reading, uk
#2657
been running 900mhz for a while now and my phone has now started to get hot when browsing the web, wasn't on for too long just following the football scores for 20mins.
I have now reverted back to 600mhz not worth the hassle.
 

The Following User Says Thank You to torres76 For This Useful Post:
Posts: 1,729 | Thanked: 388 times | Joined on Jan 2010 @ Canada
#2658
Originally Posted by torres76 View Post
been running 900mhz for a while now and my phone has now started to get hot when browsing the web, wasn't on for too long just following the football scores for 20mins.
I have now reverted back to 600mhz not worth the hassle.
my device got hot too @800mhz, but when i checked further, the ones hot is the battery, which i think is normal.
 

The Following User Says Thank You to gabby131 For This Useful Post:
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#2659
my new script /etc/event.d/kernel-maemo
Code:
start on started dsme
stop on starting shutdown
service
console none
script
	test -f /etc/lastboot && TDIFF=$(expr $(date +%s) - $(stat -t /etc/lastboot |awk '{print $14}'))
	if test -z "$TDIFF" || test "$TDIFF" -gt 300; then
		touch /etc/lastboot
		#broken: modprobe bq27x00_battery
		test -f /etc/default/kernel || exit 0
		source /etc/default/kernel
		test -n "$UP_THRESHOLD" && echo $UP_THRESHOLD > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
		test -n "$SAMPLING_RATE" && echo $SAMPLING_RATE > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
        	test -n "$MIN_FREQ" && echo $MIN_FREQ > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
		test -n "$MAX_FREQ" && echo $MAX_FREQ > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
		test -n "$VDD1_OPPS_VSEL" && echo $VDD1_OPPS_VSEL > /sys/power/vdd1_opps_vsel
		test -n "$DSP_OPPS_RATE" && echo $DSP_OPPS_RATE > /sys/power/dsp_opps_rate
		test -n "$SMARTREFLEX_VDD1" && echo $SMARTREFLEX_VDD1 > /sys/power/sr_vdd1_autocomp
		test -n "$SMARTREFLEX_VDD2" && echo $SMARTREFLEX_VDD2 > /sys/power/sr_vdd2_autocomp
		exit 0
	else
		exit 1
	fi
end script
with /etc/default/kernel
Code:
UP_THRESHOLD=75
SAMPLING_RATE=150000
VDD1_OPPS_VSEL="30 30 30 30 33 38 45 45 48 48 54 54 60 72 72"
DSP_OPPS_RATE="90000000 90000000 180000000 360000000 400000000 430000000 430000000 430000000 430000000 500000000 500000000 500000000 500000000 520000000 520000000"
MIN_FREQ=500000
MAX_FREQ=850000
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=0

Last edited by titan; 2010-04-14 at 11:31. Reason: dont modprobe
 

The Following 3 Users Say Thank You to titan For This Useful Post:
Posts: 170 | Thanked: 27 times | Joined on Feb 2010 @ reading, uk
#2660
Originally Posted by gabby131 View Post
my device got hot too @800mhz, but when i checked further, the ones hot is the battery, which i think is normal.
The problem is it wasn't getting hot before !! just today it started,
 
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 19:18.