Active Topics

 


Reply
Thread Tools
Posts: 54 | Thanked: 1 time | Joined on Jul 2007
#41
Dude, I think we can wait 1 month for more mhz . But I think, if Mara could try overclocking an posting results would be fully legal and would be very nice from him
 
Mara's Avatar
Posts: 1,310 | Thanked: 820 times | Joined on Mar 2006 @ Irving, TX
#42
Heh! This is starting to be interesting:

I found /sys/devices/system/cpu/cpu0/cpufreq directory where are interesting files. One of them is "cpuinfo_max_freq" and it has 400000 in there. I tried to change it to 420000 in there and save the file (in vi, did sudo gainroot before), but permission denied...

Maybe the file is in use by system and it can not be edited with power on? Fanoush, penguinbait... you know the tricks what to try...

UPDATE: another file is cpuinfo_min_freq and the value in there is 165000.

It looks like the kernel can do dynamic clock frequency changing based on the CPU load? Is it like AMD Cool'n'quiet?

UPDATE2: There is also a file listing time in states... mine show:
165000 1247799
266000 614
330000 10747
400000 131686

It looks like there is 4 speed states the CPU can be?

Last edited by Mara; 2007-10-20 at 22:06.
 
Posts: 54 | Thanked: 1 time | Joined on Jul 2007
#43
Can't you make it booting from memory-Card and edit it in a CardReader?
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#44
Mara, or anyone else with a n810, do you think you would consider testing this?

running this:

cpufreq-info

This is what happened when I ran it:

Nokia-N800-26:~# cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to , please.
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU


http://penguinbait.com/CPUFREQ.tar


cd /
tar cvf CPUFREQ.tar

If you are going to continue, check to see if you have any of these files?

If you do continue and you want to remove it, just run
cd /
tar tf CPUFREQ.tar | xargs rm

Here is what it contains:


Nokia-N800-26:~# tar tf CPUFREQ.tar
usr/lib/libcpufreq.so.0.0.0
usr/lib/libcpufreq.so.0
usr/lib/libcpufreq.so
usr/lib/libcpufreq.la
usr/lib/libcpufreq.a
usr/bin/cpufreq-set
usr/bin/cpufreq-info
usr/share/locale/de/LC_MESSAGES/cpufrequtils.mo
usr/share/locale/fr/LC_MESSAGES/cpufrequtils.mo
usr/share/locale/it/LC_MESSAGES/cpufrequtils.mo
usr/local/bin/systool
usr/local/bin/dlist_test
usr/local/bin/get_device
usr/local/bin/get_driver
usr/local/bin/get_module
usr/local/bin/cpufreqd-set
usr/local/bin/cpufreqd-get
usr/local/lib/libsysfs.so.2.0.1
usr/local/lib/libsysfs.so.2
usr/local/lib/libsysfs.so
usr/local/lib/libsysfs.la
usr/local/lib/libsysfs.a
usr/local/lib/cpufreqd_programs.so
usr/local/lib/cpufreqd_programs.la
usr/local/lib/cpufreqd_cpu.so
usr/local/lib/cpufreqd_cpu.la
usr/local/lib/cpufreqd_acpi.so
usr/local/lib/cpufreqd_acpi.la
usr/local/lib/cpufreqd_nforce2.so
usr/local/lib/cpufreqd_nforce2.la
usr/local/lib/cpufreqd_apm.so
usr/local/lib/cpufreqd_apm.la
usr/local/lib/cpufreqd_pmu.so
usr/local/lib/cpufreqd_pmu.la
usr/local/lib/cpufreqd_exec.so
usr/local/lib/cpufreqd_exec.la
usr/local/lib/cpufreqd_governor_parameters.so
usr/local/lib/cpufreqd_governor_parameters.la
usr/local/lib/cpufreqd_tau.so
usr/local/lib/cpufreqd_tau.la
usr/local/sbin/cpufreqd
usr/local/etc/cpufreqd.conf
Nokia-N800-26:~#
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#45
The cpufreq frequencies use are set in the kernel (i.e. are constants). You can't edit the selection in this way (I'm not sure if you can any other way, but certainly not by trying to edit the sysfs entry).

Simon
 
Mara's Avatar
Posts: 1,310 | Thanked: 820 times | Joined on Mar 2006 @ Irving, TX
#46
Penguinbait: I tried to untar this but it said "empty archive"?

What am I doing wrong?

EDIT: Got it... it needs to be tar -xvf ...

Last edited by Mara; 2007-10-20 at 22:35.
 
Mara's Avatar
Posts: 1,310 | Thanked: 820 times | Joined on Mar 2006 @ Irving, TX
#47
tried to run "cpufreq-info"

The outcome: "cpufreq-info: error while loading shared libraries: libsysfs.so.2: cannot open shared object file: No such file or directory"
 
Mara's Avatar
Posts: 1,310 | Thanked: 820 times | Joined on Mar 2006 @ Irving, TX
#48
Hmmm... I assume I need to be in some certain directory to execute this command??? I was in root...

UPDATE: I did cd to the same directory where the libsysfs.so.2 is located and same result...

Last edited by Mara; 2007-10-20 at 23:02.
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#49
run ldconfig
then try again

oh wait

edit /etc/ld.so.conf

add

/usr/local/lib

run ldconfig

run command again
 
Mara's Avatar
Posts: 1,310 | Thanked: 820 times | Joined on Mar 2006 @ Irving, TX
#50
This is what I got:

Code:
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  driver: omap
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 165 MHz - 400 MHz
  available frequency steps: 165 MHz, 266 MHz, 330 MHz, 400 MHz
  available cpufreq governors: conservative, ondemand, null, powersave, performance
  current policy: frequency should be within 165 MHz and 400 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 400 MHz (asserted by call to hardware).
 
Reply

Tags
omap2420


 
Forum Jump


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