OMAP Overclocking : Coredll ? - Windows Mobile Development and Hacking General

Hi,
i am looking how to change omap processor frequency.
It has already be done by other developpers, in omapclock, or in BatteryStatus.
Does someone could explain me how to do that ?
It seems that those software only use coredll.dll to change processor frenquency, is it right ?
I actually know how to query the current frequency but not how to change it.

Related

Software Type

I'm looking to download some software onto my XDAII, but on the Tucows site there are different downloads:
SH3 / ARM / MIPS
Which one is right for my device & why?
ARM - don't know why.. I assume it's the type of cpu your phone uses.. I also assume that all moderm pda's use the ARM cpu..
if I 'm not wrong
ARM: Intel StrongArm CPUs for WM based OS
MIPS: for Palm OS based devices
SH3: for Windows CE devices
is it rather XScale 400MHz cpu XDA II is using and not ARM ?
my rough guess and information on various www sites confirm that .... it is DIFFERENT :wink: cpu as compared to XDA I
regards, monika
intel xcale cpu which the xda2 use is code compatible with arm which xda1 use
the sh3, arm, mips are bins
for the most common cpu platforms on pda
much like in the linux world where you can get bins for alpha, powerPC, i386,........
if you got a compiler you can make your own bins if you have access to the sourcecode
hmmm, but even on Tucows there is a section dedicated to ...
X-Scale processor so why bother to compile source code ?? assuming of course, you have one ...
regards
monika

How to read Omap speed

I've a small but very useful program for Xscale PDAs and now i'm poting it to Omap ones: http://personales.ya.com/beemer/xscalemonitor.htm
It's working now on my S200, with all of its features but the CPU speed bar colour.
What I need is information about the Omap processor, its speed registries, or some sample code that reads/sets the omap speed as omapclock.exe does.
Thanks.

BatteryMeter or OMAPClock

Hi Guys,
Pretty impressed with this site, the dedication and commitment everyone here has.
Just thought to pick minds....
Which is better of the 2 clocking apps : OMAP (of which I could only find ver 0.2) or BatteryMeter , gives the best overall performance vis installation file size and continous use ?
Your thoughts please
AD10
I think they are the same thing, BatteryMeter provides the nice user friendlier interface that invoke OMAP (or you mean OmapClock?). For small size, OMAP is a command line simple tweak etc, but maybe difficult to set up, esp if you want it to be still around after suspending your phone. So, probably for start, try the Bmeter.
Don't you mean BatteryStatus instead of BatteryMeter?
Anyway, BatteryStatus, despite the name, has also overclocking features and has the advantage that the settings remains if you perform a reset. As far as I know, Omapclock does not.
hanmin said:
I think they are the same thing, BatteryMeter provides the nice user friendlier interface that invoke OMAP (or you mean OmapClock?). For small size, OMAP is a command line simple tweak etc, but maybe difficult to set up, esp if you want it to be still around after suspending your phone. So, probably for start, try the Bmeter.
Click to expand...
Click to collapse
here's the helper
http://www.nicque.com/PQz/OmapClockPlus.htm
Thanks guys,
Yes I meant BatteryStatus and OMAPClock.
I have tried both, and stuck to BatteryStatus - offers more information and seems to be constantly supported by Kai.
OmapClock and batteryStatus read different clocks
I used OMAPCLOCK to set the clock to 208 MHZ, however batterystaus, even not using its overclock function reads it as 221 MHZ instead.
Which one to trust???
Tks
I used OMAP for a while, but I was able to overclock max 246, now I use batterystatus and I OC to 286 without any problem. (Also BS has many more features over OMAP)

overclocked HTC P4350 to 240mhz but,,,,,

but still showing 201mhz as cpu speed under device setting menu/info. is the normal? is there a benchmarking software i can use?
flyimages said:
but still showing 201mhz as cpu speed under device setting menu/info. is the normal? is there a benchmarking software i can use?
Click to expand...
Click to collapse
yes:
SKtools - the best tweaking and .... Tool.
And the info only shows the general cpu speed - not the real.
ANd if you overclock with batterystatus - you see it in the todayplugin.
BTW - you can amke a benchmark with TCPMP (Mediaplayer) - but it is allways a little lower than the real speed.
I would suggest using batterstatus over sktools. Me and someone else had problems with that phone and the herald. Speaking for myself the problem occured after executing a cleanup through sktoolz.

Overclock at 800mhz!?!?

i guess some supposably this developer no2chem overclocked the touch pro processor to 768mhz..i mean to me thats some bull but the hell do i know..so if this guy really did that...welll shouldnt it be possible to do it on our magics since they have the same processors? thats saying if this guy really did that
heres the link to the story
http://pocketnow.com/tweaks-hacks/htc-touch-pro-running-at-800mhz
This thread could turn out to be really interesting...
Yeah do that and cry about the battery draining in 4 hrs with hero roms LOL
Why would you want to? Apart from "because you can"....
With the winter coming, this are great news.. ahahahah
I'll never be cold again here with an overheated overclocked magic.. I hope it won't melt!
"Inspired by GSLEON3 I have started to investigate overclocking options of the ARM11 (runs OS) and ARM9 (runs radio). I disovered a few things which may be of interest, but so far no spectacular results. There is more research needed and I hope people like anton tomov, cmonex, olipro and pof can help out.
Here is a summary of my findings for the ARM11:
- it normally runs on 384MHz which is equal to a masterclock of 768MHz divided by 2
- the ARM11 clockspeed is 768/N MHz where N is a frequency divider (N=1..16)
- i haven't found an option for clock stepping. (If anyone has a MSM7x00 datasheet please share it with me so this can be investigated)
- i found ARM11 clock control code both in oemsbl and spl. The latter is great as it allows to control clock from WM
- there are two commands in a mfg spl to set ARM11 clock speed and to test it: "freq n" (n=0..6) and "test"
- "freq 6" sets the fastest speed: 384MHz and testing with "test" results in 436ms on my kaiser (MSM7200). Would be nice if someone tests this on a MSM7201 based kaiser
- i reverse engineered the "freq" command and found a table at 0x8c00e230 with 5 entries for each speed setting. For "freq 6" the settings are:
Code:
384000 ; equal to clockspeed/1000
1 ; determines which master clock to use (value is either 0 or 1)
1 ; master clock divider-1 (increasing it leads to slower test speeds)
96000 ; some other clock derived from from master clock
3 ; divider-1 for deriving the 2nd clock
- i hot patched these values with the "mw" command (e.g. mw 8C00E2A8 1 6D600) but could not establish any better result with "test"
- setting the divider to 0 (actually means divide 768MHz by 1) caused the device to freeze
- i didn't do any benchmarking in WM
- i haven't investigated ARM9
Okay, enough for now. I hope this triggers more interest and research for this topic."
That was another topic, but i was searching and i think that we could modify the /sys/devices/system/cpu/cpu0/cpufreq/cpu_max_scaling_freq we could overclock easyly our devices...
well with tool like setcpu we could set lower speed when the phone is sleeping and the battery wont go down that bad ..hell if its possible im down to try it
no2chem (maker of nueROM) is a VERY well respected developer here on XDA who has done a ton of work on WM handsets. He's done quite a bit of low-level work on WM builds and created apps/drivers that even I (as an experienced Windows developer) can scarcely comprehend because it's low-level, hardware-related code. Months ago he did in fact develop a clock-speed app that does allow for over/under clocking of the TP (which I own and have tweaked with many of his apps).
I agree that 800MHz sounds a bit far-fetched, but so did overclocking my i7 920 from stock 2.66 to 4.00 on air, but it's done regularly (though not generally for long-term) on eVGA x58 motherboards (which I use). That said, I wouldn't dismiss the idea too quickly.
His blog and tools can be found here: http://www.nuerom.com/BlogEngine/
Specific article is here: http://www.nuerom.com/BlogEngine/post/2009/09/06/Touch-Pro-running-at-800MHZ.aspx
He's basically the Windows Mobile equivalent (if there is one) of Cyanogen.
bobdude5 said:
i guess some supposably this developer no2chem overclocked the touch pro processor to 768mhz..i mean to me thats some bull but the hell do i know..so if this guy really did that...welll shouldnt it be possible to do it on our magics since they have the same processors? thats saying if this guy really did that
heres the link to the story
http://pocketnow.com/tweaks-hacks/htc-touch-pro-running-at-800mhz
Click to expand...
Click to collapse
interesting work.
i wonder if it will works on others phone. let me try it with my htc fuze. will post result later.
Maybe a solution for changing the cpu max_freq value it's inserting it to the source code when we compile a rom... I think that modding this file are the first step:
http://android.git.kernel.org/?p=ke...3;hb=ebea985a6ec461a59afb86f0068cc1d79d7c8bf1
227 CONFIG_MSM_CPU_FREQ_ONDEMAND_MAX=384000
228 CONFIG_MSM_CPU_FREQ_ONDEMAND_MIN=245760
I think that if we change the line 227 we can overclock, but the problem is that we have to make a rom for testing it.
It's only my opinion!
When i had my blackstone no2chem supposedly oc'd that to some stupid amount but the software he delvelops wouldnt do it. All it would do is the same as set cpu?
Yes, it seems to be the same CPU, if someone can ask no2chem...
hi,
no clue about nix platforms, but you should be able to access A11S_CSR_BASE, follow these steps:
A11S_CLK_CNTL (A11S_CSR_BASE+0x100)
[6:4] = 1 ;Global PLL
[3:0] = 0 ;Divider Ratio 1:1
A11S_CLK_SEL (A11S_CSR_BASE+0x104)
[2:1] = 3 ;Divide AHB Clock by 4
[0] = 1 ;Select Clock Source 1
oh,and A11S_CSR_BASE is at phys 0xC0100000.
See latest post
http://www.nuerom.com/BlogEngine/post/2009/09/08/Yet-more-notes-on-overclocking.aspx
for more information.
no2chem said:
hi,
no clue about nix platforms, but you should be able to access A11S_CSR_BASE, follow these steps:
A11S_CLK_CNTL (A11S_CSR_BASE+0x100)
[6:4] = 1 ;Global PLL
[3:0] = 0 ;Divider Ratio 1:1
A11S_CLK_SEL (A11S_CSR_BASE+0x104)
[2:1] = 3 ;Divide AHB Clock by 4
[0] = 1 ;Select Clock Source 1
oh,and A11S_CSR_BASE is at phys 0xC0100000.
See latest post
http://www.nuerom.com/BlogEngine/post/2009/09/08/Yet-more-notes-on-overclocking.aspx
for more information.
Click to expand...
Click to collapse
oh i didnt know you were on xda lol so it is possible then on our magics??
by the way greatjob on finding this out
But i think that Android SO, doesn't allow accessing to this memory address, it should be out from the user ring... But if the memory address is stored always in the same address (in any platform) we should modify the android source code to allow accessing to this memory address. Otherwise, it seems to be dangerous, because you're writing directly in the CPU registers... a wrong value can fry our cpu...
Now we have a expert low level coder followin this topic... now.. we need a kernel expert for asking about how we can modify this memory adress.
anyone heard any update on this? seems like it just has died, no news from no2chem at all
ricardomega said:
With the winter coming, this are great news.. ahahahah
I'll never be cold again here with an overheated overclocked magic.. I hope it won't melt!
Click to expand...
Click to collapse
i honestly had to laugh out loud when i read that

Categories

Resources