MIPS

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
mewashere
Posts: 2
Joined: Tue May 03, 2011 9:17 am

MIPS

Post by mewashere »

hi,

i have a simple question: im now programming c for 5 years, and now i want to develop my own "os" (not a real os...only playing around)
im wondering if there is any tutorial or guide to beginn to write a kernel for MIPS based devices? like http://www.routerboard.com/pricelist.php?showProduct=52
mewashere
Posts: 2
Joined: Tue May 03, 2011 9:17 am

Re: MIPS

Post by mewashere »

thank you for the links, but i allready know these ..

so far i have written a kernel for x86 (only basc things, interrupts, physical and virtual memory managment..paging, floppy driver..etc)
but now i decided to switch over to MIPS...but i have no clue how to start...whats about boot sectors at MIPS? bios...mips?
(what things need to be enabled to load a c "kernel"? or what things can be enabled? )

i have read the wiki articles about MIPS. A overview about the cpu registers and instructions
but is it the same procedure as in x86?

yeah sry for asking so general questions

thank you for your help
User avatar
Owen
Member
Member
Posts: 1700
Joined: Fri Jun 13, 2008 3:21 pm
Location: Cambridge, United Kingdom
Contact:

Re: MIPS

Post by Owen »

"How is it for MIPS"? All of the data you need is in the datasheet for the chip you want to use, and for the board the chip is mounted on. Nobody can help you more than that, because every chip is different (And if they're working on non-x86, they're probably working on ARM, which is likely a TI OMAP3 (BeagleBoard) or 4 (PandaBoard), and for which you can download an excellent manual for free)
Post Reply