Sunday, July 12, 2009

Rust as far as the eye can see.

Having many adventures trying to compile a new kernel for the DevKit8000

embest haven't submitted the board support to mainline and after reverse engineering their patches, it's easy to see why!

The diff is littered with random patches to random files (that aren't used), #if 0'ed code, and cruft like:

-       debug = cfg->debug;
+       //debug = cfg->debug;
+       debug = 1;
        warn = (orig != reg);
-       if (debug || warn)
+       //if (debug || warn)
It's been about  two hours work to separate out the parts that actually do something, and port them forward to a 2.6.30 kernel.

Which brings me to a confession: I just realized it's been something like 3 years since I last ran 'make menuconfig' on a linux kernel. The rust! It burns!!

1 comment:

Governa said...

Do you still have this work? could u post it here or send by mail? I'm thinking about doing the same but, if you would like to share it, i could perhaps port it to current dev or something...