On Tue, Jun 21, 2011 at 11:33 PM, David Turner <di...@android.com> wrote: > Hello, > On Wed, Jun 22, 2011 at 1:30 AM, Jason <killert...@gmail.com> wrote: >> >> I'm wondering if anyone can point me in the right direction to >> submitting a kernel patches for Android. I'm working on improving >> support for the w8001 (see my original mail at >> >> http://groups.google.com/group/android-discuss/browse_thread/thread/18a3fc968ac72397) >> and can't seem to figure out who I hand my code off to. >> >> If my patches weren't Android-specific, I'd just submit them upstream. >> The "Submitting Patches" page (http://source.android.com/source/submit- >> patches.html) seems to have the instructions I need, but the repo >> command doesn't bring in the kernel sources. I see that there are a >> half-dozen Android kernel trees at http://android.git.kernel.org/ but >> (assuming I can figure out hot to get repo to pull down the >> repository) which one would I submit my patches to? >> > > If the patch isn't specific to a given chipset, you should send to it > android.git.kernel.org/kernel/common.git > The Android kernel team uses gerrit, but not repo, so to send a patch, you > need to do something like: > 1/ Select a remote branch to work on, e.g. android-2.6.39 > 2/ Make your patch a commit on your local git repository on top of this > branch > 3/ Upload the patch to gerrit with: > git push ssh://r.android.com:29418/kernel.common.git > +HEAD:refs/for/android-2.6.39 > (this assumes you have a registered account on r.android.com and loaded your > SSH keys to your ssh-agent). > Try looking at @android.com or @google.com addresses in the git log that > correspond to people that have submitted stuff in parts of the kernel that > relate to your patch, and add them as reviewers for your patch on gerrit. > Hope this helps > - David >> >> Jason >>
Thank you for that help! It took me a little while to figure out why I couldn't push to Gerrit, but eventually figured it out (I didn't realize "refs/for/" was a real prefix!). Now it's down to a matter of waiting to see how the reviews go. Jason -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting