473,804 Members | 3,203 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is there big difference between RTOS and Embedded Linux

365 Contributor
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 6392
Banfa
9,065 Recognized Expert Moderator Expert
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 Contributor
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 Contributor
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 Recognized Expert Moderator Expert
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
3045
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 anyone working with Python in an embedded Linux environment? Mine is NO where near as constrained as a cell phone since I've got plenty of memory to work with, I'm just running a Linux 2.4 kernel on an ARM9 platform.
2
2201
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, Ken Seehart
10
10521
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 any body can help!!
1
1656
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 networking. The object is to bring them on board and train in SAN/NAS switching, as long as they are solid C, Unix and Embedded programmers that have the work ethic and talent to be very good, he will train whatever else is necessary. See...
3
1687
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 transformed via TCP sockets. b) reading and writing to and from sqlite3 (include Unicode manipulations). c) small web application that will be used as front end to configure the system (flat files and sqlite3 db are the back-end).
27
2096
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 file being written to. Right now I've got it hard coded to the exact location where I want it, but that's not very portable. Is there some way in C to retrieve the absolute path name of the current directory, so that I could use that in my code...
1
1508
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
2464
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 how to make the file name longer? Thanks...
0
9708
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9587
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10588
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10324
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9161
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7623
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
2
3827
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2998
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.