Linux
From linux-sunxi.org
Public Linux Kernel support for the sunxi family (Allwinner A10, A13, ...) started with a source drop of 2.6.36 made by Ainol, followed by an official release of 2.6.36[1] sources by Allwinner. Developement jumped forward after a source release of 3.0.8 made by Qware[2]
Contents |
Building
Before building make sure you have the following installed:
- u-boot tools (uboot-mkimage package on debian)
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sun4i_defconfig make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 uImage modules make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=output modules_install
you need to exchange arm-linux-gnueabihf- with arm-linux-gnueabi- if your are not using a hardfloat toolchain.
Repository
Initially living in amery's github now our community driven sunxi kernel repo is located in the linux-sunxi's github.
Branches
| Name | State | Description |
|---|---|---|
| sunxi-3.0 | stable | sunxi support initially based on lichee3-3.0.8 and keeping reference-3.0 as it's mainline reference. [PREFERRED] |
| sunxi-3.4 | semi-stable | sunxi support forward ported from sunxi-3.0 and keeping reference-3.4 as it's mainline reference. |
| sunxi-2.6.36 | legacy | sunxi support based on the official 2.6.36 release. |
| reference-3.0 | reference | merge of mirror/android-3.0 and the latest v3.0.x mainline stable tag. Used to see what of sunxi-3.0 is sunxi specific. |
| reference-3.4 | reference | merge of mirror/android-3.4 and the latest v3.4.x mainline stable tag. Used to see what of sunxi-3.4 is sunxi specific. |
| mirror/allwinner-2.6.36 | mirror | mirror of allwinner's official 2.6.36 tree (aka lichee2) |
| mirror/android-2.6.36 | mirror | mirror of Android's kernel-common for Android 2.3 (Gingerbread) |
| mirror/android-3.0 | mirror | mirror of Android's kernel-common for Android 4.0 (Ice Cream Sandwich), 4.1 (Jelly Bean) |
| mirror/android-3.4 | mirror | mirror of Android's 3.4 kernel branch. |
| mirror/master | mirror | mirror of Linus Torvalds' master. |
| lichee-3.0.8-sun4i | compat | based on Qware's source release, kept only to let people drop-in new modules into a GPL-violating lichee3/A10 based install. |
| wip/* | WIP | experimental and very likely to 1) be rebased, 2) be seriously broken |
For overview of porting effort, see differences between sunxi-3.0 and reference-3.0.