[Gta04-owner] 3.0.8 kernel for Android/Replicant
Paul Kocialkowski
paulk at paulk.fr
Mon Dec 3 21:44:51 CET 2012
Le dimanche 02 décembre 2012 à 08:18 +1100, NeilBrown a écrit :
> > So I am considering porting the GTA04-specific changes back to that
> > 3.0.8 tree, in order to have all the Android features in place. I have
> > already imported minor changes (panel and led drivers) but I am unsure
> > about what to do with the board file and the omap3 changes. So I'm
> > wondering if someone used to dealing with GTA04 kernel aspects could
> > help me figuring out which changes are needed, given that the omapzoom
> > tree already comes with a share of omap3-specific improvements.
>
> I would just try copying bit out of my 3.2 kernel into the 3.0, try to
> compile, see what breaks, and fix it. Then try to run and see what breaks...
> Then probably pull some other stuff out of a more recent kernel. e.g. I
> think wifi didn't really work nicely until a later kernel.
That's pretty much what I already started doing. I took the 3.0 tree
from omapzoom and imported gta04-specific drivers (started with display
and leds), and fixed the board file build and defconfig. It all started
nicely and I have working serial for debug, as well as adb (Android
Debug using USB), which is nice. I think it will be possible to get
something working and reliable out of this.
> Do you have a tree on github or somewhere with the bits you've already
> back-ported? I could pull that and have a look and see what needs doing.
>
> I must admit that I'd rather be working on a new kernel than an old kernel,
> but then we'd need to hack on the user-space to get it to use auto-suspend
> instead of wakelocks which might be messier.
Indeed, that's the idea. And hopefully, I will be able to deal with
minor stuff when the very low-level stuff is in place. So for now, USB
and serial is working, but display is not. Reboot works, but power off
seems incomplete as the power led remains turned on after poweroff.
So I've pushed the sources (you'd probably better fetch this on top of a
3.0 kernel tree, since my box is on my home ADSL line (it's slow):
http://git.paulk.fr/gitweb/?p=replicant/kernel-gta04.git;a=summary
the branch is replicant-4.0
Thanks a lot for offering to look at it, I'm not particularly used to
working on the kernel-side, even though I know the basics.
> > Keep in mind that Android does require a specific kernel setup and that
> > a decent user experience with Android on the GTA04 can only exist with
> > proper support in kernel-space. Also, I believe that going with the
> > partially-working 3.2 kernel and applying tons of tricks and hacks in
> > both kernel and user space will not result in any good result. That's
> > why I'm asking some serious help to bring a stable and reliable kernel
> > for Android 4.0.
> >
> > Also, note that I have serial available and a GTA04A4 board. Any help is
> > welcome!
> >
> > [1]:
> > http://omapzoom.org/?p=kernel/omap.git;a=shortlog;h=refs/heads/p-android-omap3-3.0
--
Paul Kocialkowski, Replicant developer
Replicant is a fully free Android distribution
Website: http://www.replicant.us
Wiki/Tracker: http://redmine.replicant.us
More information about the Gta04-owner
mailing list