DeprecatedGTA04Kernel » History » Version 12
Paul Kocialkowski, 03/11/2013 01:07 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 | 10 | Paul Kocialkowski | Porting the GTA04 board and drivers to this kernel seems possible, however this is a very old kernel revision. |
19 | The gta04 kernel based on rowboat kernel is at: http://git.paulk.fr/gitweb/?p=replicant/kernel-gta04.git;a=shortlog;h=refs/heads/rowboat-gta04 |
||
20 | |||
21 | Status matrix: |
||
22 | |||
23 | | *Component* | *Status* | |
||
24 | | Board file | OK (boots normally) | |
||
25 | | RS232 | OK | |
||
26 | | Modem | Missing | |
||
27 | 11 | Paul Kocialkowski | | Power off/reboot | Reboot works, poweroff leaves led on, power button won't start it after poweroff | |
28 | 10 | Paul Kocialkowski | | GPS | Missing | |
29 | | WiFi/Bluetooth | Missing | |
||
30 | | LCD | OK | |
||
31 | | Graphics (fb) | OK, fast | |
||
32 | | Touch screen | OK | |
||
33 | | Backlight | Missing | |
||
34 | | Sensors | Missing | |
||
35 | | Audio | Missing | |
||
36 | | Headset | Missing | |
||
37 | 12 | Paul Kocialkowski | | USB | OK, automatic OTG host/device, issue at suspend | |
38 | 10 | Paul Kocialkowski | | microSD | OK | |
39 | | Buttons | Missing | |
||
40 | | LEDs | Missing | |
||
41 | | Battery | Missing | |
||
42 | 1 | Paul Kocialkowski | |
43 | h2. Omapzoom kernel |
||
44 | |||
45 | 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. |
||
46 | 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. |
||
47 | 2 | Paul Kocialkowski | |
48 | h2. AOSP's 3.4 common kernel merged with Neil Brown's 3.4 gta04 kernel |
||
49 | |||
50 | 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). |
||
51 | 5 | Denis 'GNUtoo' Carikli | |
52 | h2. Kernels on Gitorious/Replicant: |
||
53 | |||
54 | The "repository is here,":https://gitorious.org/replicant/kernel_goldelico_gta04 |
||
55 | 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. |
56 | 8 | 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 was also pushed in neil-rebase-3.7 branch for historic purposes), which is forward ported to 3.8 |
57 | 9 | Denis 'GNUtoo' Carikli | |
58 | h3. Issues |
||
59 | |||
60 | Both branches seem to make trebuchet freeze, on the system log there is: |
||
61 | <pre> |
||
62 | I/WindowManager( 191): Input event dispatching timed out sending to Keyguard |
||
63 | </pre> |