Sending patches
We currently use the Mailing list as a code review and integration tool, feel free to send your patches using git send-email.
Contents |
Patches for New Devices
Patches going upstream (mainline) are managed on other mailing lists and by their particular maintainers. You need not subscribe to these list for sending patches. To ensure your patches integrate well, use the following repositories. Find information how to actually make the modifications in the section linked in the Topic column.
Topic | Repository to patch against | Patch receiver(s) | Example |
---|---|---|---|
Fex | https://github.com/linux-sunxi/sunxi-boards | To:[email protected] | [1] |
u-boot-sunxi (Deprecated!) | https://github.com/linux-sunxi/u-boot-sunxi.git | To:[email protected] | [2] |
mainline u-boot | http://git.denx.de/?p=u-boot/u-boot-sunxi.git;a=tree;hb=refs/heads/next | To:[email protected] Cc:[email protected] |
[3], [4] |
linux-sunxi | https://github.com/linux-sunxi/linux-sunxi.git | To:[email protected] | [5] |
mainline kernel (.dts) | https://git.kernel.org/cgit/linux/kernel/git/mripard/linux.git/tree/?h=sunxi/for-next | Use the get_maintainer script as shown below Cc:[email protected] |
[6] |
Patches for Tools and Drivers
The main repositories to clone and base from are all maintained at GitHub ( https://github.com/linux-sunxi/ ) - these include linux kernel sources, u-boot sources, tools and other associated libraries such as MALI 3D graphics and CEDAR Video engine.
Setting up git send-email
- Install git-email addon using your favorite package manager
-
$ git config --global sendemail.smtpserver smtp.yourisp.com
-
$ git config --global sendemail.smtpuser yourusernameforsmtp
-
$ git config --global sendemail.smtppass yourpassword
-
$ git config --global sendemail.from [email protected]
-
$ git config --global sendemail.chainreplyto false
Using git send-email
-
$ git format-patch -1 longcommithashhere
-
$ git send-email 0001-whatever-file-it-generated.patch
If you're sending patches to the mainline kernel, you can get a list of the recipients of the patch using:
-
$ ./scripts/get_maintainer.pl 0001-whatever-file-it-generated.patch
It will ask you whom to send it to (use [email protected]) and that's it!