Sending patches

From linux-sunxi.org
Jump to: navigation, search

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:linux-sunxi@googlegroups.com [1]
u-boot-sunxi (Deprecated!) https://github.com/linux-sunxi/u-boot-sunxi.git To:linux-sunxi@googlegroups.com [2]
mainline u-boot http://git.denx.de/?p=u-boot/u-boot-sunxi.git;a=tree;hb=refs/heads/next To:u-boot@lists.denx.de
Cc:linux-sunxi@googlegroups.com
[3], [4]
linux-sunxi https://github.com/linux-sunxi/linux-sunxi.git To:linux-sunxi@googlegroups.com [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:linux-sunxi@googlegroups.com
[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

  1. Install git-email addon using your favorite package manager
  2. $ git config --global sendemail.smtpserver smtp.yourisp.com
  3. $ git config --global sendemail.smtpuser yourusernameforsmtp
  4. $ git config --global sendemail.smtppass yourpassword
  5. $ git config --global sendemail.from your@email.com
  6. $ git config --global sendemail.chainreplyto false

Using git send-email

  1. $ git format-patch -1 longcommithashhere
  2. $ 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:

  1. $ ./scripts/get_maintainer.pl 0001-whatever-file-it-generated.patch

It will ask you whom to send it to (use dev@linux-sunxi.org) and that's it!

More information

Personal tools
Namespaces

Variants
Actions
Navigation
Tools