Hi -
TI Landing Team has added a couple of new trees to our git repo over the weekend
http://git.linaro.org/gitweb?p=people/andygreen/kernel-tilt.git%3Ba=summary
Both of them track Linus HEAD, currently at 3.1-rc8.
First is "linaro-androidization-tracking", this is Linus HEAD plus a set of Androidization patches formed from common-3.0 and common-3.1. "common-3.1 you say?", yes, TI needed a tracking Androidization tree and have made their own public one using pieces from common-3.1.
You can find TI's tree that was an ingredient in this here if you're interested, it's public
http://git.omapzoom.org/?p=kernel/omap.git%3Ba=shortlog%3Bh=refs/heads/p-and...
Due to android.git.kernel.org down, AFAIK there's no public access to common-3.1 direct otherwise at the moment.
So what's this tree good for? If you have a kernel for any arch or board that is based on Linus HEAD, 3.1-rc8 at the moment, you can merge or rebase a copy of it with linaro-androidization-tracking to create an Android version of the same kernel.
That's very handy if you did your work to get stuff looking good on Vanilla Linus HEAD and don't want to repeat the effort to get the same features coming in an Android kernel.
Until now there was no way to casually Androidize a Linus HEAD basis tree unless it happened common-3.x was tracking it, which it only does for a short period at the end. It meant that you had to use old release to start integrating and adding drivers for Android and backport from HEAD anything nice that was coming. Now with this tree, you can do your work on Linus HEAD and fork off working release trees when Linus HEAD goes through a release.
This Androidization tree is generic and should be usable for any arch or board, there's nothing TI specific in there. Why then is TI Landing team announcing it / TI go to the effort of creating their original one we based off? Nobody else in Linaro wanted to do the work to create and maintain it, so we own it at the moment. We'll have to see how tough it is to keep tracking Linus HEAD through the post-release patchstorm but reviewing the Androidization patchset I'm cautiously optimistic.
I don't have any connection to Google guys who are basically doing the same work on common-3.x, but it would be very cool to be able to cooperate with them on bringing this Androidization patchset forward for everyone's benefit.
The second branch is "tilt-android-tracking". This is our main tracking branch tilt-tracking for Panda enablement we have been running for some months combined with "linaro-androidization-tracking" above.
This gets you an effective Panda enabled "3.1 preview" kernel that we have had for a while on Vanilla also on Android in an ongoing way.
Current status of it is
+ 1080p SGX acceleration - Suspend borked - WLAN borked
But we only generated it Sunday, we are working on those issues now.
Lastly TILT is also providing tracking versions of the Android autobuilt Panda-LEB tarballs that are ready to use. These are the Autobuilt tarballs with the kernel replaced with a tracking one by us. You can find them linked from our git repo in tilt-android-tracking column of the status table there.
-Andy
Hi Andy,
On Tue, Oct 4, 2011 at 1:23 PM, Andy Green andy.green@linaro.org wrote:
Hi -
TI Landing Team has added a couple of new trees to our git repo over the weekend
http://git.linaro.org/gitweb?**p=people/andygreen/kernel-** tilt.git;a=summaryhttp://git.linaro.org/gitweb?p=people/andygreen/kernel-tilt.git;a=summary
Both of them track Linus HEAD, currently at 3.1-rc8.
First is "linaro-androidization-**tracking", this is Linus HEAD plus a set of Androidization patches formed from common-3.0 and common-3.1. "common-3.1 you say?", yes, TI needed a tracking Androidization tree and have made their own public one using pieces from common-3.1.
You can find TI's tree that was an ingredient in this here if you're interested, it's public
http://git.omapzoom.org/?p=kernel/omap.http://git.omapzoom.org/?p=kernel/omap.git;a=shortlog;h=refs/heads/p-android-3.1 git;a=shortlog;h=refs/heads/p-android-3.1http://git.omapzoom.org/?p=kernel/omap.git;a=shortlog;h=refs/heads/p-android-3.1
Due to android.git.kernel.org down, AFAIK there's no public access to common-3.1 direct otherwise at the moment.
So what's this tree good for? If you have a kernel for any arch or board that is based on Linus HEAD, 3.1-rc8 at the moment, you can merge or rebase a copy of it with linaro-androidization-tracking to create an Android version of the same kernel.
That's very handy if you did your work to get stuff looking good on Vanilla Linus HEAD and don't want to repeat the effort to get the same features coming in an Android kernel.
Until now there was no way to casually Androidize a Linus HEAD basis tree unless it happened common-3.x was tracking it, which it only does for a short period at the end. It meant that you had to use old release to start integrating and adding drivers for Android and backport from HEAD anything nice that was coming. Now with this tree, you can do your work on Linus HEAD and fork off working release trees when Linus HEAD goes through a release.
This Androidization tree is generic and should be usable for any arch or board, there's nothing TI specific in there. Why then is TI Landing team announcing it / TI go to the effort of creating their original one we based off? Nobody else in Linaro wanted to do the work to create and maintain it, so we own it at the moment. We'll have to see how tough it is to keep tracking Linus HEAD through the post-release patchstorm but reviewing the Androidization patchset I'm cautiously optimistic.
I don't have any connection to Google guys who are basically doing the same work on common-3.x, but it would be very cool to be able to cooperate with them on bringing this Androidization patchset forward for everyone's benefit.
The second branch is "tilt-android-tracking". This is our main tracking branch tilt-tracking for Panda enablement we have been running for some months combined with "linaro-androidization-**tracking" above.
Sounds like an interesting approach to me. Will you try keep this running as a pilot for one linus head cycle? I think that would give us good initial data to decide how to do all this officially across the organization in future.
One thing that isn't entirely clear from what you describe is whether we would do the forward porting for new linus HEAD versions on our own or if we would wait until we get a first androidization from either google or our members?
This gets you an effective Panda enabled "3.1 preview" kernel that we have
had for a while on Vanilla also on Android in an ongoing way.
Current status of it is
- 1080p SGX acceleration
- Suspend borked
- WLAN borked
But we only generated it Sunday, we are working on those issues now.
Lastly TILT is also providing tracking versions of the Android autobuilt Panda-LEB tarballs that are ready to use. These are the Autobuilt tarballs with the kernel replaced with a tracking one by us. You can find them linked from our git repo in tilt-android-tracking column of the status table there.
Mid term I would very much like to see those builds coming out of the android build system, going through LAVA, with results as part of our kernel CI in the dashboard and so on...
What is holding you back from using the build service atm?
On 10/04/2011 10:36 PM, Somebody in the thread at some point said:
Hi -
The second branch is "tilt-android-tracking". This is our main tracking branch tilt-tracking for Panda enablement we have been running for some months combined with "linaro-androidization-__tracking" above.
Sounds like an interesting approach to me. Will you try keep this running as a pilot for one linus head cycle? I think that would give us good initial data to decide how to do all this officially across the organization in future.
Yes that's my plan. It should be at its worst after 3.1 release in terms of conflicts needing fixing for tracking, then at its worst around 3.2-rc7 or whatever when next common shows up in terms of refreshing against its 'upstream' so to speak. My experience with the TILT patchset and tracking suggests we can probably cope, but well we have to see what happens during that cycle.
One thing that isn't entirely clear from what you describe is whether we would do the forward porting for new linus HEAD versions on our own or if we would wait until we get a first androidization from either google or our members?
You're right it's a good question. What I have in mind is not to leave the patchset as the current pile of semi-history patches all intermingled but impose topic-branch ordering on them.
So for example, I was quite surprised to see so many patches on net core subsystem, lots on net / wireless subsystem too all through the series. It would be interesting to re-order the patches so we had all the net core stuff in one layer, wireless-related stuff in another layer all together and so on, same way tilt-tracking is composed. We don't have to get OCD about it and do everything, we can have a topic at the end with stuff contaminated from all directions and leave it like it is for now. But I guess most patches will go into a topic if it is ordered correctly.
I had a quick go at this over the weekend just to see where it led, what I found is that many patches even in net core subsystem have dependencies on Android features like PARANOID_NETWORK (eg, #ifdef ...PANANOID_NETWORK in there). It looked like it could go that if the first topic was introducing these kind of major fundamental Android features, the other subsystem topics might go on relatively cleanly.
So if we imagine that has been done, the issue as you point out is how to refresh the radically changed series against the next common-x.x when it appears. Well, the fact we chopped it about in topics is probably not so critical as the changes coming between old and new common- itself in terms of removed, modified and additional patches.
Ideally, we are able to cooperate with the guys in Google who run common-. They actually face the same uplevel issues as this tree will, if we were able to make the tracking branch common-tracking at Google then there wouldn't be any issue there. But that sounds like a bit of a happy dream at the moment since I don't even know who runs it today. But I bet he would be quite interested in this subject.
If we continue to exist in the current grimy reality instead, being consumers of common- that keep it warm over the whole cycle, what I plan is to get linaro-androidization-tracking was on the same base as this first new common-, and 'rebase' new and changed patches into our topic structure until there is zero diff between our tree and the new common-, despite the patchsets are managed completely differently. We can have confidence the result is the same when we see no diff between the trees. After that, the patchset will diverge from common- because the basis is tracking and because we have to modify the patchset to match the changing basis, but that's the idea so that's OK. We can bring in patches added on common- later into the topics as well ongoing.
If the next common- is so radically different that plan blows up, well, the worst that can happen is we have to just take the next common- patchset exactly as it is when the two trees have the same basis and then diverge with tracking as before. That's not really so bad, we can keep our 'promise' to consumers of our tree even if we lost or had to redo the topic structure in that event. However I guess there's normally few changes between say bunch of net core subsystem patches from last time and next common- and we stand a good chance to keep the topic structure going from last common-.
Today even android.git.kernel.org is not there so we have to sort out a way to follow common-3.1 at all as well, but that's everyone's problem so I assume that will get solved shortly. We're this far along thanks to TI doing their androidization tree publicly.
Lastly TILT is also providing tracking versions of the Android autobuilt Panda-LEB tarballs that are ready to use. These are the Autobuilt tarballs with the kernel replaced with a tracking one by us. You can find them linked from our git repo in tilt-android-tracking column of the status table there.
Mid term I would very much like to see those builds coming out of the android build system, going through LAVA, with results as part of our kernel CI in the dashboard and so on...
What is holding you back from using the build service atm?
Nothing on our side, in fact I have requested it.
It just needs somebody to cut-and-paste the "panda-LEB" XML and change the kernel branch name to 'tilt-android-tracking'. There was no ETA for it so I have rolled our own because I can't get official ones as it stands. Ongoing official Linaro ones will be very welcome.
-Andy
On Tue, Oct 4, 2011 at 5:33 PM, Andy Green andy.green@linaro.org wrote:
On 10/04/2011 10:36 PM, Somebody in the thread at some point said:
Hi -
The second branch is "tilt-android-tracking". This is our main
tracking branch tilt-tracking for Panda enablement we have been running for some months combined with "linaro-androidization-__**tracking" above.
Sounds like an interesting approach to me. Will you try keep this running as a pilot for one linus head cycle? I think that would give us good initial data to decide how to do all this officially across the organization in future.
Yes that's my plan. It should be at its worst after 3.1 release in terms of conflicts needing fixing for tracking, then at its worst around 3.2-rc7 or whatever when next common shows up in terms of refreshing against its 'upstream' so to speak. My experience with the TILT patchset and tracking suggests we can probably cope, but well we have to see what happens during that cycle.
One thing that isn't entirely clear from what you describe is whether we
would do the forward porting for new linus HEAD versions on our own or if we would wait until we get a first androidization from either google or our members?
You're right it's a good question. What I have in mind is not to leave the patchset as the current pile of semi-history patches all intermingled but impose topic-branch ordering on them.
So for example, I was quite surprised to see so many patches on net core subsystem, lots on net / wireless subsystem too all through the series. It would be interesting to re-order the patches so we had all the net core stuff in one layer, wireless-related stuff in another layer all together and so on, same way tilt-tracking is composed. We don't have to get OCD about it and do everything, we can have a topic at the end with stuff contaminated from all directions and leave it like it is for now. But I guess most patches will go into a topic if it is ordered correctly.
Thats an interesting idea. We should not miss the opportunity to discuss the idea of reordering the patches with AOSP to see if they would be willing to take/collaborate on such an effort. Can you kick off such discussion on AOSP mailing lists?
What is holding you back from using the build service atm?
Nothing on our side, in fact I have requested it.
It just needs somebody to cut-and-paste the "panda-LEB" XML and change the kernel branch name to 'tilt-android-tracking'. There was no ETA for it so I have rolled our own because I can't get official ones as it stands. Ongoing official Linaro ones will be very welcome.
OK good. It's set up but we seem to have build issues; guess android team will fix that later today: https://android-build.linaro.org/builds/~linaro-android/tracking-panda/.
On 10/05/2011 07:38 PM, Asac said:
On Tue, Oct 4, 2011 at 5:33 PM, Andy Green <andy.green@linaro.org mailto:andy.green@linaro.org> wrote:
One thing that isn't entirely clear from what you describe is whether we would do the forward porting for new linus HEAD versions on our own or if we would wait until we get a first androidization from either google or our members? You're right it's a good question. What I have in mind is not to leave the patchset as the current pile of semi-history patches all intermingled but impose topic-branch ordering on them. So for example, I was quite surprised to see so many patches on net core subsystem, lots on net / wireless subsystem too all through the series. It would be interesting to re-order the patches so we had all the net core stuff in one layer, wireless-related stuff in another layer all together and so on, same way tilt-tracking is composed. We don't have to get OCD about it and do everything, we can have a topic at the end with stuff contaminated from all directions and leave it like it is for now. But I guess most patches will go into a topic if it is ordered correctly.
Thats an interesting idea. We should not miss the opportunity to discuss the idea of reordering the patches with AOSP to see if they would be willing to take/collaborate on such an effort. Can you kick off such discussion on AOSP mailing lists?
Sure I'll propose it cc-ing linaro-dev and -kernel.
It's two separate issues for these guys if they want to have a fulltime tracking kernel to get away from "the -rc7 blues" they must suffer from at the moment, and if refactoring the patchset is helpful for them or not.
OK good. It's set up but we seem to have build issues; guess android team will fix that later today: https://android-build.linaro.org/builds/~linaro-android/tracking-panda/.
No worries, I appreciate it's on its way.
-Andy
I wanted to point out something cool Andy did with his git repo that other maintainers should think about.
He's created a file, README.html in the root of his repository on git.linaro.org. This file details his branches and some known issues. It hooks into gitweb so it makes it easier for people to understand things:
http://git.linaro.org/gitweb?p=people/andygreen/kernel-tilt.git;a=summary
On 4 October 2011 06:23, Andy Green andy.green@linaro.org wrote:
Hi -
TI Landing Team has added a couple of new trees to our git repo over the weekend
http://git.linaro.org/gitweb?p=people/andygreen/kernel-tilt.git%3Ba=summary
Both of them track Linus HEAD, currently at 3.1-rc8.
First is "linaro-androidization-tracking", this is Linus HEAD plus a set of Androidization patches formed from common-3.0 and common-3.1. "common-3.1 you say?", yes, TI needed a tracking Androidization tree and have made their own public one using pieces from common-3.1.
You can find TI's tree that was an ingredient in this here if you're interested, it's public
http://git.omapzoom.org/?p=kernel/omap.git%3Ba=shortlog%3Bh=refs/heads/p-and...
Due to android.git.kernel.org down, AFAIK there's no public access to common-3.1 direct otherwise at the moment.
So what's this tree good for? If you have a kernel for any arch or board that is based on Linus HEAD, 3.1-rc8 at the moment, you can merge or rebase a copy of it with linaro-androidization-tracking to create an Android version of the same kernel.
That's very handy if you did your work to get stuff looking good on Vanilla Linus HEAD and don't want to repeat the effort to get the same features coming in an Android kernel.
Until now there was no way to casually Androidize a Linus HEAD basis tree unless it happened common-3.x was tracking it, which it only does for a short period at the end. It meant that you had to use old release to start integrating and adding drivers for Android and backport from HEAD anything nice that was coming. Now with this tree, you can do your work on Linus HEAD and fork off working release trees when Linus HEAD goes through a release.
This Androidization tree is generic and should be usable for any arch or board, there's nothing TI specific in there. Why then is TI Landing team announcing it / TI go to the effort of creating their original one we based off? Nobody else in Linaro wanted to do the work to create and maintain it, so we own it at the moment. We'll have to see how tough it is to keep tracking Linus HEAD through the post-release patchstorm but reviewing the Androidization patchset I'm cautiously optimistic.
I don't have any connection to Google guys who are basically doing the same work on common-3.x, but it would be very cool to be able to cooperate with them on bringing this Androidization patchset forward for everyone's benefit.
The second branch is "tilt-android-tracking". This is our main tracking branch tilt-tracking for Panda enablement we have been running for some months combined with "linaro-androidization-tracking" above.
This gets you an effective Panda enabled "3.1 preview" kernel that we have had for a while on Vanilla also on Android in an ongoing way.
Current status of it is
+ 1080p SGX acceleration - Suspend borked - WLAN borked
But we only generated it Sunday, we are working on those issues now.
Lastly TILT is also providing tracking versions of the Android autobuilt Panda-LEB tarballs that are ready to use. These are the Autobuilt tarballs with the kernel replaced with a tracking one by us. You can find them linked from our git repo in tilt-android-tracking column of the status table there.
For those who are interested. We have a tracking-panda build running with this tree at https://android-build.linaro.org.
I've tested:
https://android-build.linaro.org/builds/~linaro-android/tracking-panda/#buil...
It passes:
Boots 0xBench Busybox YouTube Ethernet ADB GLMark2 Wi-Fi Bluetooth
It fails:
Resumes
For reference, here's the 11.09 test wrap up: https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AnpUtxWjZbP9dGFDUk...
It also only boots on the 4430 not the 4460.
The following bugs are related to this effort so far:
Android tracking-panda build 9 fails to boot on 4460 https://bugs.launchpad.net/u-boot-linaro/+bug/869537
Android tracking-panda build 9 crashes during suspend https://bugs.launchpad.net/linaro-android/+bug/869514
__linux__ is not getting defined in android-build https://bugs.launchpad.net/linaro-android/+bug/868550
-Zach
-Andy
-- Andy Green | TI Landing Team Leader Linaro.org │ Open source software for ARM SoCs | Follow Linaro http://facebook.com/pages/Linaro/155974581091106 - http://twitter.com/#%21/linaroorg - http://linaro.org/linaro-blog
linaro-kernel mailing list linaro-kernel@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-kernel
On 10/07/2011 05:59 AM, Somebody in the thread at some point said:
Hi -
- Suspend borked
- WLAN borked
It passes:
Boots 0xBench Busybox YouTube Ethernet ADB GLMark2 Wi-Fi Bluetooth
Actually WLAN is broken on that build. It will start up, associate and transfer data, but it will not recover from runtime_pm taking it idle if it sits there for a bit. You just get a bunch of ERP timeout errors.
Not sure if that's worth adding to your WLAN test arrangements or not but that is the case.
We have worked around that in current tilt-android-tracking.
It fails:
Resumes
Several bugs contributed to that but I think I cleared them all now. Our vanilla tracking branch has mem suspend working fine. On our current Android tracking HEAD it suspends and resumes fine, but on resume immediately returns to suspend, I presume either due to what the rootfs is telling it to do, or possibly still some bug on our side. So I updated the status on the launchpad bug.
It also only boots on the 4430 not the 4460.
That should also be solved thanks to Seb Jan.
The following bugs are related to this effort so far:
Android tracking-panda build 9 fails to boot on 4460 https://bugs.launchpad.net/u-boot-linaro/+bug/869537
The problem we had was not to do with U-Boot but on our side fwiw
Android tracking-panda build 9 crashes during suspend https://bugs.launchpad.net/linaro-android/+bug/869514
__linux__ is not getting defined in android-build https://bugs.launchpad.net/linaro-android/+bug/868550
I took Dave Martin's patchset in (not just drm one) so that should also be solved.
Only live issue I am expecting at the moment is figure out why we go straight back to suspend after what is a full resume. That only happens on Android, not our vanilla tracking tree fwiw.
-Andy