473,396 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Is there big difference between RTOS and Embedded Linux

365 100+
Porting small application from windows to embedded system, not decided what to use whether RTOS or Embedded Linux, is there big difference between RTOS and embedded Linux?.

also I need to reduce the C code size (during development all debugging symbols are visible), for final product, I don't need all debugging symbols, I need to turn off all those symbols, can I reduce code size for final product?.

also I have to write a library which should be replacable during run time, I am thinking of develop shared library, this way I can replace this at run time instead of power cycle the device, just upload shared library and bringdown the process and bringup process again, can I do with shared library. Thanks.
Nov 5 '09 #1
4 6359
Banfa
9,065 Expert Mod 8TB
An RTOS is much more lightweight than embedded Linux.

Normally an RTOS consists of a single process with threads, where Linux is multi-process.

An RTOS has no concept of kernel mode, all sections of code have access to all parts of the system.

An RTOS is normally in a single statically linked executable file, there is no option for shared libraries.

An RTOS rarely includes all the features, disk access, IO devices, USB stack, Network stack etc that are in Linux, these normally have to be bolted on.
Nov 6 '09 #2
tvnaidu
365 100+
Thanks Banfa.

How can I select whether to use RTOS or Embedded Linux?. Looklike Embedded Linux needs high-end Processors, where as RTOS doesn't, high-end processors are expensive, is embedded Linux better performance than RTOS?.

any other OS features (lock, protection) advantages in RTOS than Embedded Linux?
Nov 6 '09 #3
tvnaidu
365 100+
Is RTOS is non-preemtive?. Is low priority process gets thrown out when higher priority process needs CPU resources?. where as in embedded linux is pre-emtive?.
Nov 7 '09 #4
Banfa
9,065 Expert Mod 8TB
Whether any OS RTOS or not is preemtive or not is entirely down to the OS design. I have seen preemtive and non-preemtive RTOS and time sliced and co-operative ones too.

Linux is preemtive and I assume embedded Linux is too.

As you say RTOS run on much lower-end processors than embedded Linux, I can not say if your application is suited to a low-end processor with an RTOS say a 16 bit micro-controller as opposed to a medium(?)-end processor running embedded-Linux, an ARM say.
Nov 7 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Dennis Clark | last post by:
Hi all, I've looked through the threads about embedded Python that are a year and a half old, and I thought that I'd ask this question now to see if anything has changed. Has anyone, or is...
2
by: | last post by:
Where can I find a minimal version of python (less than 2 MB) suitable for a web server on an embedded linux system? The small size is required because the system lives on flash memory. Thanks,...
10
by: Ashish | last post by:
Hi I am new to C I have one query.... can i store a value on a given memory location in C say for example i want to store an integer value 10 at location 0X100000. how can i do it in C... if...
1
by: leeanngriego | last post by:
I have a client who has asked me to find him some solid up and coming embedded engineers. 2 to 3 years expereince with Embedded Linux, VxWorks, Nucleus or any other RTOS who has working in L2/L3...
3
by: Tzury | last post by:
Regarding the platform described below, can anyone suggest from his experience what would be the best library choice to develop the following application. a) application that deals with data...
27
by: kvnsmnsn | last post by:
I've written a piece of code that interfaces with Postgres. It needs to write a Postgres table to disk, which it does with the <COPYcom- mand. That command requires the absolute file name of the...
1
by: hgedek | last post by:
I have an arm embedded computer.I installed qtopia core.Now I want to change the resolution of It.Its default resolution is 800x600.How can I change resolution of an embedded linux?
3
by: skyy | last post by:
Hi.. i am running arm-linux on a board. However i realise that the file name in the usb drive is only limited to 8 characters long. If the character is longer, a "~1" will be added to it. Any idea...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.