Do You Check for App Updates Regularly?

Do you let app updates happen automatically or do you regularly check for them? We’re … more

Find The Best Apps With Google’s Picks & Other Tricks

The Google Play Store, weighing in with more than 1.4 million apps at last … more

Dynamic Pop for Note 4 (N910T & 910W8)

With the release of the Canadian Lollipop ROM for the Note 4, T-Mobile users can also enjoy the … more

Sunday Debate: Better to Buy Older or Newer Hardware?

Join us in a fun Sunday Debate on New vs. Old. Come with your opinions and feel … more
Post Reply Subscribe to Thread Email Thread

[KERNEL][OC][V3] Fandroid Kernel V3 with dynamic cpu overclock

Announcement from zhy0919: Kernel source: https://github.com/FandroidRelease/android_kernel_sony_u8500/tree/overclock Module code:private
3rd September 2014, 01:54 PM |#21  
Garcia98's Avatar
Senior Member
Flag Salamanca (Spain)
Thanks Meter: 1,393
 
1,084 posts
Join Date:Joined: Mar 2013
Donate to Me
More
Quote:
Originally Posted by zhy0919

Really thanks... By the way where can I find documentations about novathor CPUs? And how to modify u8500 cpu's pll register(what value can be set and why)? Thanks for your answer!!

Well, since ST-Ericsson disappeared is really hard to find documentation about NovaThor platform.

You can look at this commit as an example about how to change frequency: https://github.com/Garcia98/android_...169873964b2fce

But if you change a lot the frequency you'll also have to change voltage values.

BTW, you can check ARM PLL value at /d/clk/show
 
 
4th September 2014, 12:39 PM |#22  
OP Member
Thanks Meter: 49
 
45 posts
Join Date:Joined: Mar 2013
More
Quote:
Originally Posted by Garcia98

Well, since ST-Ericsson disappeared is really hard to find documentation about NovaThor platform.

You can look at this commit as an example about how to change frequency: https://github.com/Garcia98/android_...169873964b2fce

But if you change a lot the frequency you'll also have to change voltage values.

BTW, you can check ARM PLL value at /d/clk/show

Thanks
As I know db8500 cpufreq initialization is done after the basic kernel init. So it seems that I can change the value in a kernel module by calculating the db8500_prcmu_write address. Am I right?
4th September 2014, 02:49 PM |#23  
Garcia98's Avatar
Senior Member
Flag Salamanca (Spain)
Thanks Meter: 1,393
 
1,084 posts
Join Date:Joined: Mar 2013
Donate to Me
More
Quote:
Originally Posted by zhy0919

Thanks
As I know db8500 cpufreq initialization is done after the basic kernel init. So it seems that I can change the value in a kernel module by calculating the db8500_prcmu_write address. Am I right?

Well, the initialitazion of DB8500 is the first thing in boot process, you maybe can change ARM PLL register with a module, but as the function used is defined in a GPLv2 module your module has to be GPL'd too
The Following User Says Thank You to Garcia98 For This Useful Post: [ View ]
4th September 2014, 04:12 PM |#24  
OP Member
Thanks Meter: 49
 
45 posts
Join Date:Joined: Mar 2013
More
Quote:
Originally Posted by Garcia98

Well, the initialitazion of DB8500 is the first thing in boot process, you maybe can change ARM PLL register with a module, but as the function used is defined in a GPLv2 module your module has to be GPL'd too

Can I just calculate the address of the function and call it to avoid GPL problem? Thanks
4th September 2014, 08:20 PM |#25  
Garcia98's Avatar
Senior Member
Flag Salamanca (Spain)
Thanks Meter: 1,393
 
1,084 posts
Join Date:Joined: Mar 2013
Donate to Me
More
Quote:
Originally Posted by zhy0919

Can I just calculate the address of the function and call it to avoid GPL problem? Thanks

If you call a function under GPL your module have to be under GPL
5th September 2014, 01:00 PM |#26  
OP Member
Thanks Meter: 49
 
45 posts
Join Date:Joined: Mar 2013
More
Quote:
Originally Posted by Garcia98

If you call a function under GPL your module have to be under GPL

What if:
A GPL module which redirect the GPL function to a non-GPLfunction
Another private source module which calls the non-GPL function in GPL module

I'm only trying to make my source private because of some algorithms...

Thanks!
5th September 2014, 01:08 PM |#27  
Garcia98's Avatar
Senior Member
Flag Salamanca (Spain)
Thanks Meter: 1,393
 
1,084 posts
Join Date:Joined: Mar 2013
Donate to Me
More
Quote:
Originally Posted by zhy0919

What if:
A GPL module which redirect the GPL function to a non-GPLfunction
Another private source module which calls the non-GPL function in GPL module

I'm only trying to make my source private because of some algorithms...

Thanks!

Put a code example about that situation
5th September 2014, 01:28 PM |#28  
OP Member
Thanks Meter: 49
 
45 posts
Join Date:Joined: Mar 2013
More
Quote:
Originally Posted by Garcia98

Put a code example about that situation

in module module_gpl.ko

int export_func_test(int arg)
{
return gpl_function(arg);
}
EXPORT_SYMBOL(export_func_test);


then call it in another private module
5th September 2014, 09:25 PM |#29  
Garcia98's Avatar
Senior Member
Flag Salamanca (Spain)
Thanks Meter: 1,393
 
1,084 posts
Join Date:Joined: Mar 2013
Donate to Me
More
Quote:
Originally Posted by zhy0919

in module module_gpl.ko

int export_func_test(int arg)
{
return gpl_function(arg);
}
EXPORT_SYMBOL(export_func_test);


then call it in another private module

It's the same
The Following User Says Thank You to Garcia98 For This Useful Post: [ View ]
8th September 2014, 10:55 AM |#30  
Member
Flag Munich
Thanks Meter: 7
 
66 posts
Join Date:Joined: Jun 2014
How can i install this kernel?

Sent from my Xperia P using XDA Free mobile app
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes