MIPS Technologies Inc (MTI) is maintaining an additional repository containing a stable and tested kernel with focus on hardware support for MIPS Technologies' synthesizable cores and the [[Malta]] evaluation board.

+

Imagination Technologies Ltd (IMG) (who purchased the former MIPS Technologies Inc (MTI)) is maintaining an additional repository containing a stable and tested kernel with focus on hardware support for IMG MIPS synthesizable cores and the [[Malta]] and [[SEAD3]] evaluation board.

These kernels have undergone a range of conformance and soaktesting on the Malta platform, to provide 'stable' kernels with some degree of confidence. This code is now maintained on the <code>linux-mti-*</code> branches in the [http://www.linux-mips.org/git?p=linux-mti.git;a=summary repository], or you can clone it from '''git://git.linux-mips.org/pub/scm/linux-mti.git'''.

These kernels have undergone a range of conformance and soaktesting on the Malta platform, to provide 'stable' kernels with some degree of confidence. This code is now maintained on the <code>linux-mti-*</code> branches in the [http://www.linux-mips.org/git?p=linux-mti.git;a=summary repository], or you can clone it from '''git://git.linux-mips.org/pub/scm/linux-mti.git'''.

Line 5:

Line 5:

Tarballs of particular releases are available [http://www.linux-mips.org/pub/linux/mips/mti-stable/v2.6/ here].

Tarballs of particular releases are available [http://www.linux-mips.org/pub/linux/mips/mti-stable/v2.6/ here].

−

MTI aims to keep the <code>linux-mti-*</code> branches reasonably up to date with the latest available stable branch, or at most one version behind. This aiming to balance being modern and up-to-date with some degree of stability and reliability.

+

MTI aims to keep the <code>linux-mti-*</code> branches reasonably up to date with the latest available LTS branch. This aiming to balance being modern and up-to-date with some degree of stability and reliability.

The kernel branches are labeled with the kernel version number, patch and the MTI build number, e.g.<code>linux-mti-2.6.19.1-0</code>. The current available kernels are:

The kernel branches are labeled with the kernel version number, patch and the MTI build number, e.g.<code>linux-mti-2.6.19.1-0</code>. The current available kernels are:

Additional MTI generated configuration files can be found with the <code>malta_defconfig</code> in the MIPS configs directory:

+

Additional IMG generated configuration files can be found with the <code>malta_defconfig</code> in the MIPS configs directory:

<code> arch/mips/configs/malta_*config</code>. To use one of these configurations copy it to the root of your checked out linux kernel tree and run <code>make oldconfig</code>.

<code> arch/mips/configs/malta_*config</code>. To use one of these configurations copy it to the root of your checked out linux kernel tree and run <code>make oldconfig</code>.

Line 59:

Line 91:

Note that the trailing '-' in the example above is a part of the prefix, not a typo.

Note that the trailing '-' in the example above is a part of the prefix, not a typo.

−

If you want to submit changes back to linux-mips.org, you need to read [[The perfect patch]] page.

+

If you want to submit changes back to linux-mips.org, you need to read [[Submitting Patches]].

==Memory Ordering Patches==

==Memory Ordering Patches==

Revision as of 10:54, 3 January 2014

Imagination Technologies Ltd (IMG) (who purchased the former MIPS Technologies Inc (MTI)) is maintaining an additional repository containing a stable and tested kernel with focus on hardware support for IMG MIPS synthesizable cores and the Malta and SEAD3 evaluation board.

These kernels have undergone a range of conformance and soaktesting on the Malta platform, to provide 'stable' kernels with some degree of confidence. This code is now maintained on the linux-mti-* branches in the repository, or you can clone it from git://git.linux-mips.org/pub/scm/linux-mti.git.

Additional IMG generated configuration files can be found with the malta_defconfig in the MIPS configs directory:
arch/mips/configs/malta_*config. To use one of these configurations copy it to the root of your checked out linux kernel tree and run make oldconfig.

cp arch/mips/configs/malta_smtcconfig .config
make oldconfig

In order to build the kernel, you will probably have to specify the prefix of your cross-compilation toolchain. For example:

make CROSS_COMPILE=mipsisa32r2el-linux-

Note that the trailing '-' in the example above is a part of the prefix, not a typo.

If you want to submit changes back to linux-mips.org, you need to read Submitting Patches.

Memory Ordering Patches

By design, the MIPS32 specification allows for a weakly consistent memory model for shared memory multiprocessor systems. The rationale behind this relaxed model is that it provides opportunities for significant performance improvements with a reduction in hardware complexity. Unfortunately since a lot of Linux user-land software had x86 centric origins where the ordering is stricter, programmers didn't pay heed to ordering related constraints which cause unpleasant side effects when the software is run on weakly ordered systems. MTI's TimeSys based distribution contains patches to popular user-land software that was known to suffer from these problems. These patches are available here for people who are interested in fixing up similar problems in their own user-land software. While these patches are relevant to the distribution specific versions of the software, applying them to vanilla versions should be trivial.

Oprofile for MIPS

A patch that provides bugfixes and support for newer MIPS processor types is available here. The patch is against version 0.9.3 of the oprofile tools which are available for download here.