OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> How Do You Over / Under Clock On R198?
scrapheap
post Jul 9 2007, 05:21 AM
Post #1





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



I have been setting up r198 to my liking, but I have not figured out how to over/under clock the zaurus (c1000) in this version. It used to be adjusting the VCORE file in /proc/zaurus/ but I can't see that here. Is there a different method for this versionl?
Go to the top of the page
 
+Quote Post
ecc_hy
post Jul 9 2007, 05:49 AM
Post #2





Group: Members
Posts: 127
Joined: 5-January 07
Member No.: 13,705



In fact, it is total different.
r198 use ioctl()
Go to the top of the page
 
+Quote Post
scrapheap
post Jul 9 2007, 05:53 AM
Post #3





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



OK, I guess I had better figure out how ioctl() works then.
Go to the top of the page
 
+Quote Post
ecc_hy
post Jul 9 2007, 05:59 AM
Post #4





Group: Members
Posts: 127
Joined: 5-January 07
Member No.: 13,705



/sys/devices/system/cpu/cpu0/cpufreq/cpu-voltage
/dev/ipmc
Go to the top of the page
 
+Quote Post
scrapheap
post Jul 9 2007, 06:11 AM
Post #5





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



Is it possible to use dvfm (I have seen it mentioned on a few pages when googling for information about ioctl with /dev/ipmc)
Go to the top of the page
 
+Quote Post
Meanie
post Jul 9 2007, 04:02 PM
Post #6





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(scrapheap @ Jul 10 2007, 12:11 AM)
Is it possible to use dvfm (I have seen it mentioned on a few pages when googling for information about ioctl with /dev/ipmc)
*



try looking at cpuoverclock.py

it uses dvfm to overclock/underclock the system, although, it does not adjust the voltage properly so expect lockups ...
Go to the top of the page
 
+Quote Post
shula
post Jul 9 2007, 05:04 PM
Post #7





Group: Members
Posts: 95
Joined: 20-October 04
Member No.: 5,111



#This script serves me well on my C860:
#/bin/bash
#
# overclocking from the command line, by 'shula'
#
echo overclocking...

if grep -q 161 /proc/cccr_change ; then echo status: normal
elif grep -q 162 /proc/cccr_change ; then echo status: high
elif grep -q 141 /proc/cccr_change ; then echo status: low
fi

changed=0
case $1 in
normal)
echo 161 > /proc/cccr_change
echo 100 > /proc/driver/w100/fastsysclk
echo changing to $1
changed=1
;;
over|high)
echo 162 > /proc/cccr_change
echo 100 > /proc/driver/w100/fastsysclk
echo changing to high
changed=1
;;
under|low)
echo 141 > /proc/cccr_change
echo 100 > /proc/driver/w100/fastsysclk
echo changing to low
changed=1
;;
esac

if test 0 -eq $changed ; then
echo 'usage: overclock [normal|high|low]'
fi
Go to the top of the page
 
+Quote Post
shula
post Jul 9 2007, 05:06 PM
Post #8





Group: Members
Posts: 95
Joined: 20-October 04
Member No.: 5,111



CODE
#This script serves me well on my C860:
#/bin/bash
#
# overclocking from the command line, by 'shula'
#
echo overclocking...

if grep -q 161 /proc/cccr_change; then  echo status: normal
elif grep -q 162 /proc/cccr_change; then  echo status: high  
elif grep -q 141 /proc/cccr_change; then  echo status: low
fi

changed=0
case $1 in
   normal)
       echo 161 > /proc/cccr_change
       echo 100 > /proc/driver/w100/fastsysclk
       echo changing to $1
       changed=1
      ;;
   over|high)
       echo 162 > /proc/cccr_change
       echo 100 > /proc/driver/w100/fastsysclk
       echo changing to high
       changed=1
      ;;
   under|low)
       echo 141 > /proc/cccr_change
       echo 100 > /proc/driver/w100/fastsysclk
       echo changing to low
       changed=1
      ;;
esac

if test 0 -eq $changed; then
   echo 'usage:  overclock [normal|high|low]'
fi
Go to the top of the page
 
+Quote Post
Meanie
post Jul 9 2007, 06:08 PM
Post #9





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(shula @ Jul 10 2007, 11:06 AM)
CODE
#This script serves me well on my C860:
#/bin/bash
#
# overclocking from the command line, by 'shula'
#
echo overclocking...

if grep -q 161 /proc/cccr_change; then  echo status: normal
elif grep -q 162 /proc/cccr_change; then  echo status: high  
elif grep -q 141 /proc/cccr_change; then  echo status: low
fi

changed=0
case $1 in
   normal)
       echo 161 > /proc/cccr_change
       echo 100 > /proc/driver/w100/fastsysclk
       echo changing to $1
       changed=1
     ;;
   over|high)
       echo 162 > /proc/cccr_change
       echo 100 > /proc/driver/w100/fastsysclk
       echo changing to high
       changed=1
     ;;
   under|low)
       echo 141 > /proc/cccr_change
       echo 100 > /proc/driver/w100/fastsysclk
       echo changing to low
       changed=1
     ;;
esac

if test 0 -eq $changed; then
   echo 'usage:  overclock [normal|high|low]'
fi

*


make sure you don't use those values in the script. a c1000 needs different values.
Go to the top of the page
 
+Quote Post
louigi600
post Jul 9 2007, 10:59 PM
Post #10





Group: Members
Posts: 474
Joined: 21-May 06
Member No.: 9,928



If someone gives me the values that should be used on all the different models I could make the script autosense model from /proc/cpuinfo and apply the correct values for it.
We could then have one script that serves well all models ;-)
Go to the top of the page
 
+Quote Post
Meanie
post Jul 9 2007, 11:23 PM
Post #11





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(louigi600 @ Jul 10 2007, 04:59 PM)
If someone gives me the values that should be used on all the different models I could make the script autosense model from /proc/cpuinfo and apply the correct values for it.
We could then have one script that serves well all models ;-)
*


see cpuoverclock.py for all the required values...
Go to the top of the page
 
+Quote Post
louigi600
post Jul 9 2007, 11:49 PM
Post #12





Group: Members
Posts: 474
Joined: 21-May 06
Member No.: 9,928



In /usr/bib/cpuoverclock.py only pxa270 is implemented (which I guess id for C1000/3x00 models), therefor I guess that values for C860 are good for all pxa255 based models (750,760,860).
What about c700, its a pxa250 will pxa255 settings be good for pxa250 too ?
I've no idea what the 7500 has inside ;-)

Not sure what to do for 6000, 5600 and 5500 they are not supported by pdaxrom current.
Go to the top of the page
 
+Quote Post
Meanie
post Jul 10 2007, 12:12 AM
Post #13





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(louigi600 @ Jul 10 2007, 05:49 PM)
In /usr/bib/cpuoverclock.py only pxa270 is implemented (which I guess id for C1000/3x00 models), therefor I guess that values for C860 are good for all pxa255 based models (750,760,860).
What about c700, its a pxa250 will pxa255 settings be good for pxa250 too ?
I've no idea what the 7500 has inside ;-)

Not sure what to do for 6000, 5600 and 5500 they are not supported by pdaxrom current.
*


check cpuoverclock.py for pdaXrom classic. it has the values for 6000, and according to that, c700 is a pxa250, c7500 and 6000 are pxa255
Go to the top of the page
 
+Quote Post
louigi600
post Jul 10 2007, 01:00 AM
Post #14





Group: Members
Posts: 474
Joined: 21-May 06
Member No.: 9,928



I dont have any of the older pdaxrom versions (and it's a good waste of time to install it just for that).
If someone is so kind as to post them I'd appreciate.
If noone posts them I'll go snooping for them in the IPK's from the feeds.
But will the older versuons running 2.4 kernels be doing the same stuff that is done in 2.6 kernels ?

Anyway I've only Cx60 and C1k so I guess I'll be fine anyway ;-)
Go to the top of the page
 
+Quote Post
T3_slider
post Jul 10 2007, 10:36 AM
Post #15





Group: Members
Posts: 125
Joined: 26-December 06
Member No.: 13,449



Here's the cpuoverclock.py from pdaXrom beta 3. It seems to have all of the required values (I'm too lazy to paste just the required contents as I'm posting this from my Z).

Hope this helps.
Attached File(s)
Attached File  cpuoverclock.py.txt ( 5.71K ) Number of downloads: 24
 
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd May 2013 - 03:18 AM