Why we can’t do ~600MHz yet

by no2chem 10. September 2009 22:46

Ever since the release of nueOverClockTest, I’ve got several inquiries on “why can’t there be a 600MHz setting? It would probably be much more stable”. Well, the short answer is – I haven’t found how to get to that setting yet. Since Qualcomm would rather keep information about it’s coveted MSM line a secret, I basically have to guess how to get things to work.

I’ve figured out my problem with changing the “L-Value” of BackPll0/1 – I need to change it when it isn’t selected as the ARM11 SubSystem’s core clock. However, it’s still pretty unstable, and a value of 0x5 makes the device slow as heck. What’s even more perplexing is the default value, which seems to be 0x7. If that is multiplied against the 19.2 MHz TCXO clock, we get something like 134 MHz. Perhaps I’m looking at the wrong place, or I got the meaning of the registers wrong.

I’ve found the registers that control the voltage exactly, not just levels 0-7, but writing to them seems to have no effect. It seems that I don’t understand the PMIC well enough yet to get complete control over it.

I’m still evaluating our options to figure out what’s best, but its starting to lean more and more towards figuring out how to get the ARM9 to execute code for us without hacking the radio rom.

Anyways, this raises a question that’s been on the back of my head for awhile now – why the heck does Qualcomm think it’s necessary to keep all information on the MSM chipsets confidential? I doubt its because they’re afraid the competition is going to steal all their secrets, because I doubt the documentation HTC engineers use could help a competitor of Qualcomm in any real way… Making the documentation public would probably get more developers on the device, increasing their sales volume… Alas, I fail to understand Qualcomm… Perhaps I should send them an e-mail asking for information.

Regarding 0.4, there’s nothing yet to show in a version 0.4, so relax, calm down, when I have something to show you, it’ll come out in version 0.4.

Tags:

Comments


People's Republic of China Jiwan 
September 3. 2009 22:55 | Reply
Jiwan
I think it because Qualcomm uses some technologies made by 3rd companies, but didnt license it


United States atlboy 
September 4. 2009 23:32 | Reply
atlboy
also do you know if there is any difference b/w 7200's and 7600's?
Nice work btw.


Netherlands Chaosstorm 
September 5. 2009 06:14 | Reply
Chaosstorm
So.. you want to use the radio arm9 processor for programs? woudnt that make the phone radio unstable like when you get a call the processor gets too much work and you cant answer it? Tong


Spain Adrian 
September 5. 2009 10:07 | Reply
Adrian
Continue figthing! Asking qualcomm it's a good point to start!


Spain Adrian 
September 6. 2009 01:44 | Reply
Adrian
OH MY GOOOD WORKING ON ANDROID!!!!!!

daproy  
Member
  
Join Date: Dec 2008
Posts: 81



Well I played around with this a bit. Pulled cyanogen's latest kernel code with BFS from github. Patched acpuclock.c (patchfile attached). Compiled with the android toolchain.

First off there is definitely something wrong with the kernel i compiled because it was horrible slow to boot. I did use the .config from cyanogen 4.1.6 without edits so I'm not sure why. I can't imagine it was due to the patch since with default min and max scaling it should be running the same as the kernel compiled by cyanogen.

Regardless, I was able to try to overclocking:
Code:
# echo 528000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
# echo 768000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
# cat /proc/cpuinfo                                                  
Processor  : ARMv6-compatible processor rev 2 (v6l)
BogoMIPS  : 527.15
Features  : swp half thumb fastmult edsp java
CPU implementer  : 0x41
CPU architecture: 6TEJ
CPU variant  : 0x1
CPU part  : 0xb36
CPU revision  : 2

Hardware  : trout
Revision  : 0080
Serial    : 0000000000000000
# echo 768000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
# cat /proc/cpuinfo                                                  
Processor  : ARMv6-compatible processor rev 2 (v6l)
BogoMIPS  : 766.77
Features  : swp half thumb fastmult edsp java
CPU implementer  : 0x41
CPU architecture: 6TEJ
CPU variant  : 0x1
CPU part  : 0xb36
CPU revision  : 2

Hardware  : trout
Revision  : 0080
Serial    : 0000000000000000

It reboot immediately following the cpuinfo but looks like it did scale up to 768000

Phone is fine after the reboot and back to default min max freq.

Before trying to toy around with different AHB clock dividers I should probably work out getting a good kernel to compile first, unless cyanogen has some spare time and feels like taking a look at this. I know I won't have any spare time in the next few days.


Netherlands Chaosstorm 
September 6. 2009 18:59 | Reply
Chaosstorm
lol Adrian seems you will make alot of android users with QMSM7xxx happy ^^


September 6. 2009 22:52 | Reply
pingback
Pingback from discussion.treocentral.com

Anyway to overclock Treo Pro? - TreoCentral.com


September 7. 2009 15:19 | Reply
Kane3162
im not shitting you... why hasnt M$FT hired you and asked you to do everything for them for loads of cash... anyone with a PPC with WMobile and has ever ventured into finding apps for their phone has come across your work... I mean seriously?


United States Qualcomm is the worst 
September 8. 2009 00:15 | Reply
Qualcomm is the worst
Qualcomm licenses features of the CPU separately.  Yeah, you bought the CPU but you pay extra for 3D acceleration drivers or using the GPS.  They're a patent warehouse and haven't done anything relevant since EVDO, which has been more than a few years.


Spain Adrian 
September 8. 2009 07:51 | Reply
Adrian
Sadly i'm not the developer of this kernel patch, I pasted an extract of XDA-Developers, but the original poster nick was not pasted. The real developer of this patch it's "daproy" in XDA-Developers.

No2chem, continue investigating please, we need to investigate a way to reach 6xx Mhz...


Netherlands chaosstorm 
September 8. 2009 08:16 | Reply
chaosstorm
Ah ok Tong still good you linked it here :p

succes with your research No2chem


October 22. 2009 18:35 | Reply
ed hardy clothes
i like


United States ring-b 
December 31. 2009 20:50 | Reply
ring-b
No2Chem, where did you go dude?  Please please come back and help us overclock these Qualcomm processors.  I hope Qualcomm didn't kidnap you.  

Add comment


(Will show your Gravatar icon)
Type If you can out:

  Country flag

biuquote
  • Comment
  • Preview
Loading



Disclaimer
Windows Mobile is a registered trademark of Microsoft Corporation in the United States and other countries.

Wei Enterprises is not affiliated in any way with Microsoft, HTC, Sprint, or any other wireless carrier/phone manufacturer otherwise mentioned on this site.

Copyright 2010 2009 Wei Enterprises