Solved

secondary kernel in linux

Posted on 2003-10-30
7
307 Views
Last Modified: 2010-04-21
Can I know the details and how the things really happen in

EMBEDDED LINUX READY FOR REAL TIME

Two main approaches exist for meeting real time response requirements in a linux system

1.Brute force(real_fast) application of processors power.

2.The insertion of secondary kernel’s that virtualize the cpu interrupt change and manage real time events and processing, leaving linux to run(or not)as a lower priority task under the second kernel.

0
Comment
Question by:vinil_nvk
  • 3
7 Comments
 
LVL 20

Expert Comment

by:Gns
ID: 9651677
First one need understand what "Real Time" means here (when referring to linux in conjunction to "real time operating system" (RTOS)).
Simply put Real Time is achieved when a (user) process can rely on certain system calls returniing within (given) hard timelimits, so that it can depend upon "things" not taking longer than this... Very important in timing critical embedded functions.

With this in mind, #1 would then achieve "Real-Time" by having so much raw CPU "power" that the timing constrints never come close to be exceeded. This might be constued as ... dicey... but in controlled environments should be able to work OK.

#2 would imply linux running as a "host OS" to some real-time-capable RTOS. Kind of like vmwareish...

"Famous" RTOSes would include OS9, QNX, OSE ... And RTLinux, patches etc to make linux be able to meet timing constraints... So a google search for RTLinux (also look at http://www.tldp.org/HOWTO/RTLinux-HOWTO-3.html ... More eloquent than litlle ol' me:-).

-- Glenn
0
 

Author Comment

by:vinil_nvk
ID: 9657673
yeah, thanks for the answer, but still can I have what basically do I need to know if I want to program for a RTLinux? Considering me as a know nothing of RTLinux, What amount of time do I need to spend in days to get to it?
0
 
LVL 20

Accepted Solution

by:
Gns earned 100 total points
ID: 9662590
http://www.tldp.org/HOWTO/RTLinux-HOWTO-4.html and http://www.tldp.org/HOWTO/RTLinux-HOWTO-5.html shoiuld show you some of what it would entail.
Assuming you're not a "knownothing" programmer this should show too that the effort is rather limited;-).

-- Glenn
0
 
LVL 20

Expert Comment

by:Gns
ID: 10182756
I think I've answered in enough detail.

-- Glenn
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10231585
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by Gns
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

khkremer
EE Cleanup Volunteer
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question