Hello all,
I am intrested in programming a kernel for the MIPS based machines out there. Such as the MIPS Magnum and DECStation. But where is the documentation for doing that? After searching around there dosn't appear to be much.

Can anyone help?
Posted on 2006-08-26 16:33:34 by Mike359
To develop an operating system, first thing you should probably learn would be the basic concepts. This is what sites like OSDev.org and OSDever.net try to teach people. Once you have learned the basic concepts of operating system design, then you can design an operating system for a specific architecture by learning the architectures instruction set and bios. To learn about MIPS I suggest taking the online course available on CCSU and play around with PCSpim. Good luck with your operating system

Bryant Keller
Posted on 2006-08-26 18:40:58 by Synfire
Yeah I have all that down. I was just wondering how can I implement it on differnt MIPS powerd machines?
Posted on 2006-08-26 19:29:22 by Mike359
You could try reading the MIPS32/64 documentation available on the MIPS Website. Just taking a glance over the documentation, it's fairly thorough. Glancing over the "Programming the MIPS32(r) 32K Core Family" document, I already see a clear description of developing interrupts and exceptions, bootstrapping, memory management, various hardware features, and more. All of which are key to developing an operating system. Most of this stuff is really self explainitory if you have experience developing operating systems. That in itself, is more or less your problem. There really is an information gap as far as documentation goes when dealing with systems software design so undertaking such a project, expect a lot of trial and error style programming and reading through lots of specifications to obtain the information you want (of course that's half the fun). I'm pretty sure the documents I have just linked you too are probably your best shot at figuring out OS Dev on MIPS unless you can find some open source MIPS operating system to learn from. I've added a list of Open Source OS's which support MIPS here (these are just the ones I know of) you could probably try browsing their source tree to get more information.

Open Source Operating Systems which Support MIPS:
eCos - http://ecos.sourceware.org/
Plan9 - http://plan9.bell-labs.com/plan9dist/
RTEMS - http://www.rtems.com/RTEMS/rtems.html

That's about all the help I can give you. I've only done minimal programming on MIPS and it wasn't very recently either, so I'm tapped on this subject. I hope it's moved you in the right direction.

Bryant Keller

EDIT: Btw, you will need to register at MIPS.COM to get the MIPS reference manuals, but they are free and in PDF format, so be sure to have a PDF reader installed.
Posted on 2006-08-26 21:44:02 by Synfire
Thanks for the link  :)

Ugggh that site isn't Firefox friendly. Time for me to dust off Internet Explorer  ;)
Posted on 2006-08-27 18:49:51 by Mike359