Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,776 Members 53,447 Now Online
XDA Developers Android and Mobile Development Forum

[PROJECT] Kernel 3.4.x For Galaxy 3

Tip us?
 
DeHuMaNiZeD
Old
#31  
DeHuMaNiZeD's Avatar
Senior Member
Thanks Meter 1,745
Posts: 2,900
Join Date: Feb 2011
Location: jastrebarsko
X8 is a little better...
(my device's codename is Falcon,so that's why i have a falcon in my signature

Moto G MAN
 
hillbeast
Old
#32  
hillbeast's Avatar
Recognized Developer - OP
Thanks Meter 6,740
Posts: 2,668
Join Date: Feb 2011
Location: Dunedin

 
DONATE TO ME
Quote:
Originally Posted by tom3q View Post
Well, I wouldn't even take seriously option 1. There is no point in using the same poor code and just updating rest of the kernel (version doesn't really matter). First, this would copy all the problems of original kernel to new one. Second, this will add much more work with fixing all the problems with porting the old code to new code base and possibly create even more problems than the original kernel had. So this is likely to be just a waste of time.

Option 3 also adds unnecessary work, as there is already pretty good support of S5P series SoCs in the mainline, so there is no need to rewrite this from scratch.

IMHO the only reasonable option is option 2, i.e. using latest mainline as code base (android-3.4 branch of android/kernel-common is a good candidate), while extending s5p64x0 with support for s5p6442 (according to Samsung website all the models from S5P64xx line are compatible, except differences in peripheral set of course), using original kernel as a reference how the hardware is arranged (registers, memory map, some specific tricks and workarounds for hardware bugs and, what's most important, board-specific configuration, like GPIOs, EINTs, voltage regulator settings, etc.) and trying to reuse as much as possible from my spica-3.0 sources (e.g. battery driver, s5k4ca camera sensor driver and most probably several others).
Okay I have scrapped all the current work on option 1 and switched to option 2. I was realising it after I started that this was going to be problems.

At least I didn't get too far into it.

Quote:
Originally Posted by D3HuM4NiZ3D View Post
X8 is a little better...
Well this is a G3 forum so...
HTC One (M7): Sense 6.0
Asus Transformer Book T100: Windows 8.1
Nokia Lumia 520: Windows Phone 8.1
Samsung Galaxy S2: Omni 4.4.3
Samsung Captivate: Omni 4.4.2
Samsung Galaxy 3: Kernel 3.13-rc5 + RasPi Debian

Previous devices: Nexus 7, Xperia Arc S, ODROID U2

My creations/contributions: Kyorarom (G3-F) (G3-ICS) - Kyorakernel - G3MOD Kernel - Kernel 3.4 Project for Galaxy 3 - Hybrid Data2SD - HD2SD v2
 
headers.chennai
Old
#33  
headers.chennai's Avatar
Member
Thanks Meter 10
Posts: 98
Join Date: Nov 2011
Location: Greater Chennai

 
DONATE TO ME
Quote:
Originally Posted by hillbeast View Post
2: adapt the code for another mach (s3c64xx or s5p-64x0) (may or may not work as we don't know how similar our chipset is to these other ones - it could be close or it could be completely different... thanks Samsung for giving us informations...)
Noob Ques: Are we not supposed to look at chipset similarity before starting tweaks?
Primary:
Moto E -

Secondary
X9076 - trying to root and install Custom ROM
 
hillbeast
Old
#34  
hillbeast's Avatar
Recognized Developer - OP
Thanks Meter 6,740
Posts: 2,668
Join Date: Feb 2011
Location: Dunedin

 
DONATE TO ME
Quote:
Originally Posted by headers.chennai View Post
Noob Ques: Are we not supposed to look at chipset similarity before starting tweaks?
The problem we have is that Samsung never officially released a datasheet for the S5P6442 and as a result we don't have any information we can go by when we work with it. We have to go by trial and error, debugging the old kernel, or reading the old source code.

Sent from my GT-I9100 using XDA
HTC One (M7): Sense 6.0
Asus Transformer Book T100: Windows 8.1
Nokia Lumia 520: Windows Phone 8.1
Samsung Galaxy S2: Omni 4.4.3
Samsung Captivate: Omni 4.4.2
Samsung Galaxy 3: Kernel 3.13-rc5 + RasPi Debian

Previous devices: Nexus 7, Xperia Arc S, ODROID U2

My creations/contributions: Kyorarom (G3-F) (G3-ICS) - Kyorakernel - G3MOD Kernel - Kernel 3.4 Project for Galaxy 3 - Hybrid Data2SD - HD2SD v2
 
Spitlebug
Old
#35  
Senior Member
Thanks Meter 8
Posts: 139
Join Date: Dec 2011
Quote:
Originally Posted by hillbeast View Post
The problem we have is that Samsung never officially released a datasheet for the S5P6442 and as a result we don't have any information we can go by when we work with it. We have to go by trial and error, debugging the old kernel, or reading the old source code.

Sent from my GT-I9100 using XDA
Given that this is an older phone, would they release that if we begged them?

I know they want to sell new phones, but I hardly think that a few older phones isn't going to kill their already huge market share.
 
hillbeast
Old
#36  
hillbeast's Avatar
Recognized Developer - OP
Thanks Meter 6,740
Posts: 2,668
Join Date: Feb 2011
Location: Dunedin

 
DONATE TO ME
Quote:
Originally Posted by Spitlebug View Post
Given that this is an older phone, would they release that if we begged them?

I know they want to sell new phones, but I hardly think that a few older phones isn't going to kill their already huge market share.
Considering they haven't released it when we asked ages ago and don't reply to communications, I'd say its never going to happen. I wouldn't be surprised if the documents don't exist anymore.

Sent from my GT-I9100 using XDA
HTC One (M7): Sense 6.0
Asus Transformer Book T100: Windows 8.1
Nokia Lumia 520: Windows Phone 8.1
Samsung Galaxy S2: Omni 4.4.3
Samsung Captivate: Omni 4.4.2
Samsung Galaxy 3: Kernel 3.13-rc5 + RasPi Debian

Previous devices: Nexus 7, Xperia Arc S, ODROID U2

My creations/contributions: Kyorarom (G3-F) (G3-ICS) - Kyorakernel - G3MOD Kernel - Kernel 3.4 Project for Galaxy 3 - Hybrid Data2SD - HD2SD v2
 
cdesai
Old
#37  
cdesai's Avatar
Recognized Developer
Thanks Meter 3,993
Posts: 2,277
Join Date: Jan 2011
Location: IN YOUR HEAD

 
DONATE TO ME
Quote:
Originally Posted by hillbeast View Post
Considering they haven't released it when we asked ages ago and don't reply to communications, I'd say its never going to happen. I wouldn't be surprised if the documents don't exist anymore.

Sent from my GT-I9100 using XDA
Yea, they removed all the links to s5p6442 from their site ages ago.

http://www.samsung.com/global/busine...=835&parameter[0][parameterId]=242&parameter[0][specValue]=ARM%2011%20Series%20(1176)

No s5p6442, only s3c6410, and s5p64x0


EDIT : Found some interesting info here
http://lists.infradead.org/pipermail...st/000156.html

Quote:
For example, s5p6442 and s5pc110 have different arm core, but internal devices are very similar.

Otherwise, although s5p6440 and s5p6442 are in the same family, architecture and similar names, internal devices are very different.
CyanogenMod Maintainer | SGT7 | TeamBBQ

 
BBQLinux - An Arch based Linux distribution for Android developers
Website: http://www.bbqlinux.org | Downloads: [url]http://sourceforge.net/projects/bbqlinux/files//url]
IRC: #bbqlinux on freenode
The Following 2 Users Say Thank You to cdesai For This Useful Post: [ Click to Expand ]
 
eeshlikhith
Old
#38  
Senior Member
Thanks Meter 40
Posts: 200
Join Date: Nov 2011
Quote:
Originally Posted by cdesai View Post
Yea, they removed all the links to s5p6442 from their site ages ago.

http://www.samsung.com/global/busine...=835&parameter[0][parameterId]=242&parameter[0][specValue]=ARM%2011%20Series%20(1176)

No s5p6442, only s3c6410, and s5p64x0


EDIT : Found some interesting info here
http://lists.infradead.org/pipermail...st/000156.html
well hes talking about linux kernel code and our chipset AND he is from samsung. What if we contact him? Perhaps we could get some help from him? His email is mentioned at the end of the post too..
 
hillbeast
Old
#39  
hillbeast's Avatar
Recognized Developer - OP
Thanks Meter 6,740
Posts: 2,668
Join Date: Feb 2011
Location: Dunedin

 
DONATE TO ME
Quote:
Originally Posted by cdesai View Post
Yea, they removed all the links to s5p6442 from their site ages ago.

http://www.samsung.com/global/busine...=835&parameter[0][parameterId]=242&parameter[0][specValue]=ARM%2011%20Series%20(1176)

No s5p6442, only s3c6410, and s5p64x0


EDIT : Found some interesting info here
http://lists.infradead.org/pipermail...st/000156.html
With reading that, I'm now facing the choice, do I use s5p64x0 as the base or do I use s5pc110 which the guy says is closer to our SoC. What do you guys reckon?

Sent from my GT-I9100 using XDA
HTC One (M7): Sense 6.0
Asus Transformer Book T100: Windows 8.1
Nokia Lumia 520: Windows Phone 8.1
Samsung Galaxy S2: Omni 4.4.3
Samsung Captivate: Omni 4.4.2
Samsung Galaxy 3: Kernel 3.13-rc5 + RasPi Debian

Previous devices: Nexus 7, Xperia Arc S, ODROID U2

My creations/contributions: Kyorarom (G3-F) (G3-ICS) - Kyorakernel - G3MOD Kernel - Kernel 3.4 Project for Galaxy 3 - Hybrid Data2SD - HD2SD v2
 
tom3q
Old
(Last edited by tom3q; 11th May 2012 at 07:08 PM.)
#40  
Recognized Developer
Thanks Meter 1,615
Posts: 358
Join Date: May 2011
Location: Warsaw
Quote:
Originally Posted by hillbeast View Post
With reading that, I'm now facing the choice, do I use s5p64x0 as the base or do I use s5pc110 which the guy says is closer to our SoC. What do you guys reckon?

Sent from my GT-I9100 using XDA
I'd still say that s5p6442 should be almost identical to other SoCs from s5p64x0 family, but I'll try to look into it today, by comparing sources of s5pcxxx and s5p64x0 from mainline and s5p6442 from G3 kernel.
My current phone: Motorola XT1032 (aka Moto G)
Previously used: Samsung GT-i9250 (Galaxy Nexus) | Samsung GT-i5800 (Galaxy 3) | Samsung GT-i5700 (Galaxy Spica)
Views expressed herein are my own and do not necessarily represent the views of my employer.

The Following 8 Users Say Thank You to tom3q For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes