Society of Robots - Robot Forum

Software => Software => Topic started by: ansh on July 13, 2014, 08:26:04 AM

Title: real time operating system
Post by: ansh on July 13, 2014, 08:26:04 AM
    
I am not really going to design I just want to learn something before design
I want to design my real time operating system , so I need features , requirement component and tool

I need to develop program For real time operating system
my effort
1)basic tool
compiler
linker
debugger

2)language
c language

3)requirement
requirement of real time os should be fast

features
kernel - micro kernel
scheduler - real time scheduler
multitasking - multitasking
scheduling - preemptive scheduling


I think I have forgotten some features
Title: Re: real time operating system
Post by: mklrobo on March 03, 2015, 11:23:37 AM
 :) Hello!
If you are going to attempt to make your own operating system, you might want to
use a mini-kernel called, MINIX. This was the first primitive linux kernel made, and
does work.(takes more work to make it work, for me) Or, use a linux kernel
for a model. There are plenty of books for the learning, and the freeware
makes it easy to access. Dig in, though, it is going to be a long ride! Good Luck!  ;D ;D ;D
Title: Re: real time operating system
Post by: voyager2 on May 24, 2015, 12:20:25 AM
You haven't specified what device you would like to target your RTOS (Real Time OS) to so i am going to assume a small microcontroller (eg: PIC/AVR).
You might want a monolithic kernel actually, not a micro kernel. A microkernel can be very hard to implement on a small device because it requires complicated signalling between processes/tasks. Microkernels are better suited to more powerful machines like i386, x64, etc. A monolithic kernel is easier for a beginner to program and a better choice for a RTOS.
This (http://wiki.osdev.org/Main_Page (http://wiki.osdev.org/Main_Page)) site has a lot of info on OS design and implementation.

[...] you might want to
use a mini-kernel called, MINIX. This was the first primitive linux kernel made [...]

Linux != MINIX
(MINIX == unix-like) && (Linux == unix-like)
Linus and Tanenbaum had a famous argument about this.