Hi there!!
Seems to me no one hasn't began this knd of theme. So. Off. info:
Qualcomm MSM7201a
Two cores
ARM11 + ARM9
528 Mhz (one stated speed for two cores...)
So what is G1's heart for real?
This is quotes from here
#1
Coclusion:
1) Google DevTeam does not know, or don' wanna tell, ca we\how to change CPU's speed or\when it would be possible to get the hardware accelariotion etc.
2) From stated 528Mhz we get 384Mhz maximum, as stated by Jean-Baptiste Queru and the code quote.
Both these I suppose seems not fare for us users)
So, can it be solved through the OS modifing??
Seems to me no one hasn't began this knd of theme. So. Off. info:
Qualcomm MSM7201a
Two cores
ARM11 + ARM9
528 Mhz (one stated speed for two cores...)
So what is G1's heart for real?
This is quotes from here
#1
#2Jean-Baptiste Queru 26 нояб 2008, 20:37
Indeed, the CPU in the G1 is clocked lower than its maximum rated
speed to conserve battery life. It's running somewhere between 300 and
400MHz if I remember correctly.
JBQ
#3jdc4429 27 нояб 2008, 17:04
Hi Jean,
So your saying that the CPU speed is not controlled by the Android
software?
I was looking through the code and found this in the arch/arm/mach-msm/
clock.c file...
617 #define CPUFREQ_TABLE_MAX 4
618 static struct cpufreq_frequency_table cpufreq_table[] = {
619 { 0, 81920 },
620 { 1, 122880 },
621 { 2, 245760 },
622 { 3, 384000 },
623 { CPUFREQ_TABLE_MAX, CPUFREQ_TABLE_END },
624 };
It looks like the max speed is set to 384mhz and it seems it can be
easily changed.
It also seems that the phone already downshifts the CPU based on this
table and the
screen_open/closed speed setting...
702 if (screen_on) {
703 policy->user_policy.min = cpufreq_table
[2].frequency; // 245mhz
704 policy->user_policy.max = cpufreq_table
[3].frequency; // 384mhz
705 } else {
706 policy->user_policy.min = cpufreq_table
[0].frequency; // 82mhz
707 policy->user_policy.max = cpufreq_table
[2].frequency; // 245mhz
708 }
Sure looks controllable to me through Android. Is it really that hard
to add a setting to allow min/max settings
to be adjusted by the user?
Thanks
Jeff
Romain Guy 26 нояб 2008, 20:39
> Can that
> be changed in software on the fly and was it set below maximum speed
> to help with the battery issue?
No and yes
> Also is anyone working on adding hardware acceleration so we can take
> full advantage of the processor?
We have a prototype of SGL running on top of OpenGL (it was actually
shown publicly in the SDK 0.9) but it's not the correct solution at
the moment.
Coclusion:
1) Google DevTeam does not know, or don' wanna tell, ca we\how to change CPU's speed or\when it would be possible to get the hardware accelariotion etc.
2) From stated 528Mhz we get 384Mhz maximum, as stated by Jean-Baptiste Queru and the code quote.
Both these I suppose seems not fare for us users)
So, can it be solved through the OS modifing??
Last edited: