Active Topics

 


Reply
Thread Tools
Posts: 223 | Thanked: 38 times | Joined on Jul 2007 @ home
#31
Ok Moridin, thanks for that info. Question: you listed mA. What units are they in?

mA/second? per minute? per hour? I'll guess per hour...

25% increase for OMAP eh? So the current OMAP proc in our beloved tablets can be expected to push no more than 500MHz? Still not bad I guess....

Assembly? Really?

Can I see the source code? I'd love to learn ARM asm, but it's hard to find a good tutorial nowdays
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#32
Can you give us an URL to the code please?
 
MoridinBG's Avatar
Posts: 70 | Thanked: 1 time | Joined on Sep 2007
#33
I can't find the page at the moment. The only referenced thing is this, but it's written in C# and is too WM specific, I think.
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#34
That's the source code for the graphical frontend (and I think it does CPU scaling a la cpufreq). What one really needs is the source to the omapclock.exe application (http://www.meer.net/~dougt/random/OmapClock_0.2/). Someone might try decompiling it, but otherwise you're best off looking at the kernel code to see how the CPU speed is set currently.

Even better is wait until the n810's kernel code is released and look for the differences.

Simon
 
Posts: 223 | Thanked: 38 times | Joined on Jul 2007 @ home
#35
Reverse Engineering....? Please don't make me....
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#36
Well I compiled :

cpufreqd-2.2.1
sysfsutils-2.1.0
cpufrequtils-002

But I think you need to have a kernel module to go with 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
Nokia-N800-26:~# cpufreq-set
At least one parameter out of -f/--freq, -d/--min, -u/--max, and
-g/--governor must be passed
Nokia-N800-26:~# cpufreq-set -f 400 -c 0
Error setting new values. Common errors:
- Do you have proper administration rights? (super-user?)
- Is the governor you requested available and modprobed?
- Trying to set an invalid policy?
- Trying to set a specific frequency, but userspace governor is not available,
for example because of hardware which cannot be set to a specific frequency
or because the userspace governor isn't loaded?
Nokia-N800-26:~#


Is it just a matter of building the right kernel module?

http://penguinbait.com/CPUFREQ.tar if you can do anything with it

cd /
tar cvf /path/to/CPUFREQ.tar

I have no idea what I am doing, so flame on!!

Last edited by penguinbait; 2007-10-20 at 17:17.
 
Mara's Avatar
Posts: 1,310 | Thanked: 820 times | Joined on Mar 2006 @ Irving, TX
#37
For information... On OS2008 running on N800 ps command show the following processes:

[dvfs/0]
/usr/bin/hal/hald-addon-cpufreq

These do not exist on OS2007...
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#38
Originally Posted by Mara View Post
For information... On OS2008 running on N800 ps command show the following processes:

[dvfs/0]
/usr/bin/hal/hald-addon-cpufreq

These do not exist on OS2007...
is 2008 available somewhere, have I been in a coma?
 
Mara's Avatar
Posts: 1,310 | Thanked: 820 times | Joined on Mar 2006 @ Irving, TX
#39
Originally Posted by penguinbait View Post
is 2008 available somewhere, have I been in a coma?
Well... yes, but you have to work for some specific company...
 
Posts: 223 | Thanked: 38 times | Joined on Jul 2007 @ home
#40
Quick! Grab a copy of the process' binary and post it here!

"Flame on" lol. Now that's a phrase I haven't seen in a while. Nice


hmmm... googling "hald-addon-cpufreq"....
 
Reply

Tags
omap2420


 
Forum Jump


All times are GMT. The time now is 23:07.