Been learning RTLinux and RTAI these days. Linux OS is not preemptible kernel,but a user-oriented operating system.In particular, the kernel is non-preemptible and the scheduling/prioritization schema is fairness-based.
I think the why I couldnot use the real-time kernel..
RT-Linux is the original hard real time Linux variant.It patches the kernel to trap promiscuous disabling interrupts and replaces them with software macros under the direction of a real time executive.
There are many successful cases using RTLinux ,such as DAQ,Industry Control etc. I am sure that it should be a better choice for embedded system to meet the requirements of system.
but RTLinux have a great bug that realtime task couldnot call the services provided by the linux ,such as TCP/IP service.
So in order to have these functions,we can port the LWIP TCP/IP stack in it,which is a restrict protocol stack for embedded system mainly.
I am planing to porting RTLinux +linux to s3c2410,and use the lwIP protocol stack. RTLinux have two versions,pro and free. the free version could not support arm9 now.but the pro does,it need linux 2.6 kernel firstly.
阅读(2041) | 评论(0) | 转发(0) |