New developments should use the newest stable kernel version available on kernel.org, where applicable.
HostVersion Cores supported
|kernel.org||v4.8+||Released kernels, released cores|
|linux-mips.org||–||Staging repository for MIPS patches|
Support for MIPS processor cores and development systems is included in the following kernel releases
|I6500||Boston, Malta||v4.8||‘eng’ branch at linux-mips.org
|Released kernel on kernel.org
Linux on MIPS is available under the terms of the GNU General Public License Version 2
To download the latest stable source code for the Linux kernel, either
The compressed source tarball is downloaded and then extracted using tar.
$ tar xvf linux-x.y.z.tar.xz
This uncompresses and untars the source to the directory linux-x.y.z.
Alternately, the latest stable git repository may be cloned with the following command:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
After cloning the git repository, you can then locally check out the branch you are going to work from.
For example, to start developing with the 4.8 branch, do the following:
git checkout –b stable v4.8
This creates a local branch ‘stable’ that is a copy of the v4.8 branch that tracks the remote branch in the repository that you cloned from.
You can then configure and build the kernel.
make ARCH=mips CROSS_COMPILE=mips-img-linux-gnu- malta_defconfig
make ARCH=mips CROSS_COMPILE=mips-img-linux-gnu- menuconfig
make -j4 ARCH=mips CROSS_COMPILE=mips-img-linux-gnu-
MIPS Linux patches that have been submitted but not yet included in a kernel release can be viewed at patchwork.linux-mips.org. You should always check pending patches before submitting a new patch request. For instructions on submitting patches, read the wiki page here.
Developments for Linux on MIPS are discussed on the MIPS Linux kernel mailing list, where patches are also submitted and reviewed by the developers.