Project

General

Profile

DeprecatedGTA04Kernel » History » Version 7

Denis 'GNUtoo' Carikli, 03/10/2013 03:56 PM

1 1 Paul Kocialkowski
h1. GTA04 Kernel
2
3
This page documents the various tried to get a working kernel for the GTA04 with ICS userspace.
4
5
Notes:
6
* The GTA04 is an AM37x OMAP board like the BeagleBoard XM. The other BeagleBoard models use another OMAP3 SoC.
7 4 Paul Kocialkowski
* "AM37x category":http://processors.wiki.ti.com/index.php/Category:AM37x on TI wiki
8 1 Paul Kocialkowski
9
Resources:
10 3 Paul Kocialkowski
* Neil Brown's "gta04 kernel tree":http://git.neil.brown.name/git?p=gta04.git includes 3.2, 3.3, 3.4 and 3.5 kernels
11 1 Paul Kocialkowski
* AOSP's "common kernel tree":https://android.googlesource.com/kernel/common/ includes 3.0 3.3 and 3.4 kernels
12
13
h2. Rowboat kernel
14
15
The TI porting guide for AM37x devices advices to use the rowboat tree with the rowboat-ics.xml manifest.
16
The kernel in that tree is branch "rowboat-ics-kernel-2.6.37":https://gitorious.org/rowboat/kernel/commits/rowboat-ics-kernel-2.6.37 from the rowboat kernel.
17
18
Porting the GTA04 board and drivers to this kernel seems possible, however this is a very old kernel revision that shouldn't be compatible with the ICS userspace (even though it apparently works with rowboat ICS userspace).
19
One of the biggest issues is that the adb interface was completely changed and the one in that kernel will not work with Replicant 4.0 userspace.
20
21
h2. Omapzoom kernel
22
23
Omapzoom (where TI pushes code for Android) has an "omap3 kernel":http://omapzoom.org/?p=kernel/omap.git;a=commit;h=refs/heads/p-android-omap3-3.0 that should match ICS userspace.
24
However, when running on the GTA04, serious power management issues caused characters to be dropped on serial after not touching the phone for a couple of seconds as well as IRQ interrupts being dropped, which caused the touchscreen to not work properly. Suspend/resume and earlysuspend works perfectly though. Maybe this kernel wasn't designed for AM37x OMAP3 devices but another kind of OMAP3 SoCs: there is no support for Android Beagleboard.
25 2 Paul Kocialkowski
26
h2. AOSP's 3.4 common kernel merged with Neil Brown's 3.4 gta04 kernel
27
28
Merging AOSP's 3.4 common kernel on top of Neil Brown's 3.4 gta04 kernel and adding the Android options to the defconfig resulted in a non-working kernel where input events didn't seem to be reported correctly to userspace (even with an USB mouse, click events seemed dropped).
29 5 Denis 'GNUtoo' Carikli
30
h2. Kernels on Gitorious/Replicant:
31
32
The "repository is here,":https://gitorious.org/replicant/kernel_goldelico_gta04 
33 6 Denis 'GNUtoo' Carikli
* the replicant-4.0+3.7+WIP branch contains the kernel 3.7 for the gta04(which comes from "neil brown's git":http://git.neil.brown.name/git?p=gta04.git;a=summary (git://neil.brown.name/gta04.git) probably at the 3.7-gta04 branch with adb forward-ported to it on top. The others android features comes from the mainline 3.7 kernel.
34 7 Denis 'GNUtoo' Carikli
* the replicant-4.0+3.7+WIP branch contains the experimental/android-3.8 branch of the "AOSP common kernel":https://android.googlesource.com/kernel/common/ with on top, the result of the rebase of the mainline branch of "neil brown's git":http://git.neil.brown.name/git?p=gta04.git;a=summary on top of 3.7, which is forward ported to 3.8