Project 2.6 mips

This Page should be used to collect all the wisdom regarding compiling working versions of the latest 2.6-kernel for the LS 2(mips).

Everyone is invited to edit this page and add information!

All compiling information and information about patches should get here. if needed i can modify mediawiki to allow some more filetypes to be allowed to upload to the wiki. this way we could even share our patches directly here on this page

Possible steps from "virgin LS2" to "LS2 Lenny"

WARNING!

Please note that this guide comes with NO warranty whatsoever; you are using this at your own risk! Modifying your LinkStation in this way most likely will void your warranty. This is still highly experimental and should not tried on boxes with important data on. You might brick your box just by mistyping a single letter or even because of a bad day!

Be sure to check that you have really booted into the 2.6 kernel, the upgrade will fail on a 2.4 kernel system.

6) Compile your own kernel using the patch or install a precompiled one with modules

Compiling a 2.4 Kernel

Roadmap

1) Build a 2.4.20-kernel from the gpl-source

(there you won`t need to apply the melfs.patch as this is obviously included)

we will test it by trying to load the resulting vmlinux.bin with the mips-loader.o

2) Create a patch for compiling a working LS2 Kernel from the vanilla kernel 2.4.20

After we know that we can build the kernel from GPL Source we need to find out what the differences are between the vanilla kernel and the GPL-Source Kernel. I tried to create a diff between those kernel-sources already (but i noticed that there are far too much lines in it as some lines have a "-" before and later a "+" for adding the unmodified again...maybe this is related to some additional blank lines or comments?

Here is a diff of the arch-tree between the vanilla 2.4.20 kernel and linux-2.4.20_mipsel_linkstation