[KERNEL][3.0.101][GT-S7562|S7560/S7560m] KyleOC2 Kernel r2

Thecrazyskull

Senior Member
Jan 23, 2013
2,191
2,593
0
one question, the gpu oc is always at max freq or make scaling on needs? because if it makes scaling doesn't matter the battery drain, the Gpu uses oc only when needed like in games.
No gpu is always at max clock speed, and gpu is always enabled but it will use most battery when playing games if you have a lower gpu it won't save that much battery but it will save a littlebit and i almost never play games on my device.
 

KlinkOnE

Senior Member
Oct 13, 2013
743
639
123
GDR
No gpu is always at max clock speed, and gpu is always enabled but it will use most battery when playing games if you have a lower gpu it won't save that much battery but it will save a littlebit and i almost never play games on my device.
Not right! The GPU can scale through a set of available frequencies. I am not sure how but it uses performance and on demand governor somehow. I've recently applied a commit from faux123 to my test branch. It features a simple governor for the GPU but I have to test it more if there is any advantage. Maybe it will be in next release but sure not very soon.

Sent from my GT-P3110 using XDA Free mobile app
 

Thecrazyskull

Senior Member
Jan 23, 2013
2,191
2,593
0
Not right! The GPU can scale through a set of available frequencies. I am not sure how but it uses performance and on demand governor somehow. I've recently applied a commit from faux123 to my test branch. It features a simple governor for the GPU but I have to test it more if there is any advantage. Maybe it will be in next release but sure not very soon.

Sent from my GT-P3110 using XDA Free mobile app
O im sorry i thought that it was also the same on your kernel but on stock kernel and kernels where ONLY the cpu and/or gpu are overclocked.
 

KlinkOnE

Senior Member
Oct 13, 2013
743
639
123
GDR
O im sorry i thought that it was also the same on your kernel but on stock kernel and kernels where ONLY the cpu and/or gpu are overclocked.
No problem! BTW it is the same for all our devices kernels. Take a look at /arch/arm/mach-msm/devices-msm7x27a.c in your kernel tree. Search for this line: "static struct kgsl_device_platform_data kgsl_3d0_pdata". You'll find the available frequencies there and maybe want to change them ;).

Sent from my GT-P3110 using XDA Free mobile app
 

Thecrazyskull

Senior Member
Jan 23, 2013
2,191
2,593
0
No problem! BTW it is the same for all our devices kernels. Take a look at /arch/arm/mach-msm/devices-msm7x27a.c in your kernel tree. Search for this line: "static struct kgsl_device_platform_data kgsl_3d0_pdata". You'll find the available frequencies there and maybe want to change them ;).

Sent from my GT-P3110 using XDA Free mobile app
Thanks can you also say how to overclock a kernel :p because i like a higher ghz (1, 3ghz) for my pac 4.4.4 and maybe the (kernel) devs won't or can't (because of time) make a higher overclocked kernel

Sent from my GT-S7560M using XDA Premium 4 mobile app
 

KlinkOnE

Senior Member
Oct 13, 2013
743
639
123
GDR
Thanks can you also say how to overclock a kernel :p because i like a higher ghz (1, 3ghz) for my pac 4.4.4 and maybe the (kernel) devs won't or can't (because of time) make a higher overclocked kernel

Sent from my GT-S7560M using XDA Premium 4 mobile app
Take a look at this commit: https://github.com/KlinkOnE/kyleopen-kernel/commit/98ae36ee1f0f0e2c32b7939f9559dc24c1e1ac24

You need to get familiar with github this will make your work much easier!

Sent from my GT-S7562 using XDA Free mobile app
 
  • Like
Reactions: Thecrazyskull

KlinkOnE

Senior Member
Oct 13, 2013
743
639
123
GDR
this sounds very noob but i really DON'T know how what i must do with that link :p

Sent from my GT-S7560M using XDA Premium 4 mobile app
First of all you have to click on it.:silly:
There you see the three files that have to be modified.
The most important is the acpuclock-7201.c which contains the frequency-table. You can enable/disable frequencies here. Looking at the frequency steps you will notice a scheme on how to define a new frequency. If you are changing the min or max frequency you have to modify the other 2 files too (arch/arm/mach-msm/Kconfig + include/linux/cpufreq.h). Looking at the commit i posted you will find the right lines where to make changes.
 
Last edited:

Thecrazyskull

Senior Member
Jan 23, 2013
2,191
2,593
0
First of all you have to click on it.:silly:
There you see the three files that have to be modified.
The most important is the acpuclock-7201.c which contains the frequency-table. You can enable/disable frequencies here. Looking at the frequency steps you will notice a scheme on how to define a new frequency. If you are changing the min or max frequency you have to modify the other 2 files too (arch/arm/mach-msm/Kconfig + include/linux/cpufreq.h). Looking at the commit i posted you will find the right lines where to make changes.
Thank you very much i try out later today.
 

SamsungGalaxySamsung

Senior Member
Dec 28, 2008
657
22
48
First of all you have to click on it.:silly:
There you see the three files that have to be modified.
The most important is the acpuclock-7201.c which contains the frequency-table. You can enable/disable frequencies here. Looking at the frequency steps you will notice a scheme on how to define a new frequency. If you are changing the min or max frequency you have to modify the other 2 files too (arch/arm/mach-msm/Kconfig + include/linux/cpufreq.h). Looking at the commit i posted you will find the right lines where to make changes.
Hahahah first of all you have to click on it
 

KlinkOnE

Senior Member
Oct 13, 2013
743
639
123
GDR
Will there be a new kernel? Or is the development dead?

Sent from my SM-P600 using XDA Premium 4 mobile app
Summer is almost over ;). Ive tried several things since last release but got stuck somehow. Ive created a new repo independent from the forked kyleopen repo. The latest changes from S7560 opensource release are merged in. Exfat is now build with the kernel. Several caf patches and all together built using sabermod 4.8 toolchain. I am testing a linaro 4.9 build right now. It will go on but no need to hurry atm.

Regards

Sent from my GT-S7562 using XDA Free mobile app
 
  • Like
Reactions: Mohitash

KlinkOnE

Senior Member
Oct 13, 2013
743
639
123
GDR
cortex-a5-linaro-arm-linux-gnueabihf-4.9 toolchain

Hey there,

as some people may have noticed there is a lack of cortex-a5 optimized cross-compiler toolchains. Thats why i have built one using the Crosstool-NG from the linaro repo. Big thanks to @Christopher83 for his guide here.

Download it here or in Download section of the first post.
As it is gcc4.9 be sure to have the memset fix applied to your kernel source otherwise it wont boot.

Feedback is welcome ;)
 
  • Like
Reactions: Thecrazyskull

KlinkOnE

Senior Member
Oct 13, 2013
743
639
123
GDR
When are you releasing the r3, I love your kernel, but it seems there hasn't been development lately.
First of all thanks.

You know this not asking for eta thing ;)? Idc of course you can ask but i really dont know when i'll be able to release something new.
After one year i am back at work in my old job thats why there is not much going on atm. I'll need some time to recover from working all day :laugh:.

But ive done some things since last release.
Ive created a new repo for the kyleoc2 and started from scratch to become independent from the forked kyleopen-kernel.
Most of the recent time i spent for porting the caf ics_chocolate source with some kind of success. It is not exactly ported because there is no need to. I applied all missing commits and done some patching. Thats it. Who is interested may take a look at my github (note: there are 3 branches). There is a build available at my dev-host http://d-h.st/oImc. I saw there are already some downloads though this wasnt meant for public i just forgot to remove it. This build is straight source without root, oc or init.d or whatever. Who wants to test it there is no risk it is rock stable but dont expect miracles. I am now trying to bring it in line with the caf jb_chocolate source and take this as the base for a new release.
I cant promise but i think next release will be available till end of the year (hopefully fingers crossed and all that)