http://linux-mips.sourceforge.net/
Quick Guide to Use Linux-MIPS CVS Tree on Sourceforge
Login into CVS tree.
cvs -d:pserver:anonymous@cvs.linux-mips.sourceforge.net:/cvsroot/linux-mips login
Press "Return" when prompted for password. You only need to do this once on any machine.
Check out a copy of the tree (using the -D option).
cvs -z3 -d:pserver:anonymous@cvs.linux-mips.sourceforge.net:/cvsroot/linux-mips co -D "12-nov-2002" linux
To avoid name conflict, rename linux directory to sf-linux.
Take a look of sf-linux/Makefile and determine the kernel version. Let us say it is v2.4.18.
Goto http://www.kernel.org/pub/linux/kernel/ to grab the right version of kernel source. Unzip and
untar it in the same directory as linux-2.4.18.
cd linux-2.4.18
cp -af ../sf-linux/* .