SlideShare une entreprise Scribd logo
1  sur  10
RTOS
LINUX2.6.X & LINUX2.6.24
BY:
J.SUDARSHANREDDY
ROII NO:117Y1A0425
1/25/2015J.SUDARSHANREDDY
TOPICS:
 INDRODUCTION
 REAL TIME LINUX FUNCTIONS
 LINUX HAS THE FOLLOWING FEATURES
 LINUX MODULES
 LINUX FUNCTIONS FOR THE SIGNAL,MULTITHREADING,SEMAPHORE AND MESSAGE QUEUE
INTERPROCESS COMMUNICATION
1/25/2015J.SUDARSHANREDDY
INTRODUCTION:
 Linux is increasingly used in embedded systems and real time enhancements of that
introduced As linux2.6.x
 The linux provide preemptive scheduling , high resolution timers and preemptive
interrupt service threads
 Linux latest version is linux 2.6.24 ,released in January 2008
 Reasons for the popularity of linux OS are that it is a freeware, device driver
feature,expandability of the kernel codes at runtime and has provision of registering
and deregistering device driver modules
 The modules are scheduled like the process Sections 10.3.1 and 10.3.2.

1/25/2015J.SUDARSHANREDDY
Real time linux functions :
 The os named linux is after linus Torvalds ,father of the linux os
 Embedded linux systems combine the linux kernel with a small set of free software
utilities
 The glibc is often replaced as the C standard library by less resource consuming
alternatives such as dietlibc ,uclibc or newlib
 Embedded linux application program makes the systems calls for the functions at a
kernel
 1.process management
 2.memory management EX (allocation,delocation )
 3.file system
 4.shared memory
 5.networking systems functions
 6.device control functions for any peripheral present into a system
 7.graphic editors for kernel configuration
 8.soft realtime scheduling
1/25/2015J.SUDARSHANREDDY
 The following are the three important classes of
devices in embedded linux:
 1.realtime linux scheduler has all functions as 0(1)functions:
Which means that size of input to a function and function run time are linearly correlated.
 2.the task scheduler supports spin lock (section 7.11) :
It is a preemptive scheduler.
 3.linux supports characters and block devices:
A device type can be a char device for example a parallel port , lcd matrix .
 The character acess is byte to byte and analogous to the access from and to a printer device.
 Systems call functions are also like an I/O device open (), close () write (), read (), functions.
1/25/2015J.SUDARSHANREDDY
 Linux has the following features useful for embedded system
design:
 1.linux is multiuser OS and supports user groups
 2.linux has root directory (represented by /sign)
 3.linux has large number of editor,file,directory,I/O commands .Each command can
Consists of a number of words .First word is command and remaining words are arguments .
 4. Linux has number of interfaces for users .For example X-WINDOWS for GUI and csh
 5.Process always creates as child process in the process that uses fork()function
 6.linux has modules for the character,block,socket,network device drivers and linux 2.6.x
Support 4095.
 7.Linux supports a module initialization,handeling of errors,prevention of un authorized port acess,
 8.The linux OS supports registering of the driver configuration and functions
 9.The linux kernel use of sequential acess ,specific memory address only by the registering
and de registering mechanisam.
1/25/2015J.SUDARSHANREDDY
Registering and de registering and related
functions of linux modules :
 init :
 Insmod:
 Rmmod:
 Cleanup:
 Register-
capability:
 Unregister
capability:
 Register
symtab:
The init module()is called before the module is inserted into the kernel
Inserts module into the linux kernel the object file module 1.0,inserts by
Command and insmod module 1.0
A module file module 1.0 is delated from the kernel by command and
rmmod module1.
A kernel level void function,which perform by action on an rmmod call from
the execution module .
A kernel level function for registering
A kernel level function for de register
A symbol table function support ,which exist an alternatively to declaring
functions .
1/25/2015J.SUDARSHANREDDY
 Linux has following feauters useful for
embedded system design:
 1.Linux 2.6.x all tasks are assigned static priorities between -19 to +20 .time
slicies are varied as per priority
 2.Realtime linux 2.6.24 a latest realease supports a new set of group scheduling
functions,Which improves cups load
 3.Linux 2.6.24 provides high resolution timers as well as tick less timer
 4.Linux 2.6.24 supports functions to improve system performance by restricting
the block device from teaking larger cu load
1/25/2015J.SUDARSHANREDDY
Linux functions
Features
 1.thread properties:
 2.signal functions:
 3.thread functions:
 4.Semaphore
functions
 5.Mutex functions
Description
1.Threads of same process share the memory space and manage acess
premises
1.Struct sigaction signal 1;/*statement in c defines a struacture signal1 .*/
Signal1 .sa-flags=0;/*sets flags=0*/
1.Pthread-self();/*reaturns gets id of the function pthread-self calling
thread self */
2.();/*sends ‘kill’ signal to the thread*/
1.Sem-wait (&sem1);/*wait for the semaphore sem1*/
2.Sem-post (&sem1)/*post the semaphore sem1*/
1.Pthread –mutex-lock();the argument is mutex ms1or ms2 or other*/
2.Pthread –mutex-unlock();the argument is mutex ms1or ms2 or other*/
1/25/2015J.SUDARSHANREDDY
THANK YOU
1/25/2015J.SUDARSHANREDDY

Contenu connexe

Tendances

Real Time Application Interface for Linux
Real Time Application Interface for LinuxReal Time Application Interface for Linux
Real Time Application Interface for LinuxSarah Hussein
 
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLSINTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLSJOLLUSUDARSHANREDDY
 
RTAI - Earliest Deadline First
RTAI - Earliest Deadline FirstRTAI - Earliest Deadline First
RTAI - Earliest Deadline FirstStefano Bragaglia
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V  Real Time Operating System (RTOS)SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V  Real Time Operating System (RTOS)
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)Arti Parab Academics
 
Real time operating system
Real time operating systemReal time operating system
Real time operating systemBharti Goyal
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating SystemsPawandeep Kaur
 
Chapter 19 - Real Time Systems
Chapter 19 - Real Time SystemsChapter 19 - Real Time Systems
Chapter 19 - Real Time SystemsWayne Jones Jnr
 
Rtos concepts
Rtos conceptsRtos concepts
Rtos conceptsanishgoel
 
Real time operating systems (rtos) concepts 1
Real time operating systems (rtos) concepts 1Real time operating systems (rtos) concepts 1
Real time operating systems (rtos) concepts 1Abu Bakr Ramadan
 
The survey on real time operating systems (1)
The survey on real time operating systems (1)The survey on real time operating systems (1)
The survey on real time operating systems (1)manojkumarsmks
 
RTOS implementation
RTOS implementationRTOS implementation
RTOS implementationRajan Kumar
 
Real Time Kernels
Real Time KernelsReal Time Kernels
Real Time KernelsArnav Soni
 

Tendances (20)

Real Time Application Interface for Linux
Real Time Application Interface for LinuxReal Time Application Interface for Linux
Real Time Application Interface for Linux
 
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLSINTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
 
RTAI - Earliest Deadline First
RTAI - Earliest Deadline FirstRTAI - Earliest Deadline First
RTAI - Earliest Deadline First
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V  Real Time Operating System (RTOS)SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V  Real Time Operating System (RTOS)
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
 
RTOS - Real Time Operating Systems
RTOS - Real Time Operating SystemsRTOS - Real Time Operating Systems
RTOS - Real Time Operating Systems
 
Chapter 19 - Real Time Systems
Chapter 19 - Real Time SystemsChapter 19 - Real Time Systems
Chapter 19 - Real Time Systems
 
Real-Time Operating Systems
Real-Time Operating SystemsReal-Time Operating Systems
Real-Time Operating Systems
 
Rtos
RtosRtos
Rtos
 
ucOS
ucOSucOS
ucOS
 
Rtos concepts
Rtos conceptsRtos concepts
Rtos concepts
 
RTOS
RTOSRTOS
RTOS
 
Real time operating systems (rtos) concepts 1
Real time operating systems (rtos) concepts 1Real time operating systems (rtos) concepts 1
Real time operating systems (rtos) concepts 1
 
Rtos part2
Rtos part2Rtos part2
Rtos part2
 
The survey on real time operating systems (1)
The survey on real time operating systems (1)The survey on real time operating systems (1)
The survey on real time operating systems (1)
 
RTOS implementation
RTOS implementationRTOS implementation
RTOS implementation
 
Real Time Kernels
Real Time KernelsReal Time Kernels
Real Time Kernels
 
Rtos 2
Rtos 2Rtos 2
Rtos 2
 
How to choose an RTOS?
How to choose an RTOS?How to choose an RTOS?
How to choose an RTOS?
 

Similaire à RTOS LINUX2.6.X & LINUX2.6.24

Ch20 OS
Ch20 OSCh20 OS
Ch20 OSC.U
 
Assignment On Linux Unix Life Cycle And Its Commands Course Title System Pro...
Assignment On Linux Unix Life Cycle And Its Commands Course Title  System Pro...Assignment On Linux Unix Life Cycle And Its Commands Course Title  System Pro...
Assignment On Linux Unix Life Cycle And Its Commands Course Title System Pro...Robin Beregovska
 
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B KuteUnit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B KuteTushar B Kute
 
Linux@assignment ppt
Linux@assignment pptLinux@assignment ppt
Linux@assignment pptRama .
 
Redhat Linux server administration industrial training report.
Redhat Linux server administration industrial training report.Redhat Linux server administration industrial training report.
Redhat Linux server administration industrial training report.AlokGupta336
 
Linux architecture
Linux architectureLinux architecture
Linux architecturemcganesh
 
linux os-basics,Devops training in Hyderabad
linux os-basics,Devops training in Hyderabadlinux os-basics,Devops training in Hyderabad
linux os-basics,Devops training in HyderabadDevops Trainer
 
Introduction to Linux Kernel
Introduction to Linux KernelIntroduction to Linux Kernel
Introduction to Linux KernelStryker King
 
Chapter 21 - The Linux System
Chapter 21 - The Linux SystemChapter 21 - The Linux System
Chapter 21 - The Linux SystemWayne Jones Jnr
 

Similaire à RTOS LINUX2.6.X & LINUX2.6.24 (20)

OS_Ch20
OS_Ch20OS_Ch20
OS_Ch20
 
OSCh20
OSCh20OSCh20
OSCh20
 
Ch20 OS
Ch20 OSCh20 OS
Ch20 OS
 
Ch22
Ch22Ch22
Ch22
 
Studienarb linux kernel-dev
Studienarb linux kernel-devStudienarb linux kernel-dev
Studienarb linux kernel-dev
 
3CS LSP UNIT 1-1.pdf
3CS LSP UNIT 1-1.pdf3CS LSP UNIT 1-1.pdf
3CS LSP UNIT 1-1.pdf
 
ch20.ppt
ch20.pptch20.ppt
ch20.ppt
 
Assignment On Linux Unix Life Cycle And Its Commands Course Title System Pro...
Assignment On Linux Unix Life Cycle And Its Commands Course Title  System Pro...Assignment On Linux Unix Life Cycle And Its Commands Course Title  System Pro...
Assignment On Linux Unix Life Cycle And Its Commands Course Title System Pro...
 
Cs8493 unit 5
Cs8493 unit 5Cs8493 unit 5
Cs8493 unit 5
 
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B KuteUnit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
 
CS8493-OS-Unit-5.pdf
CS8493-OS-Unit-5.pdfCS8493-OS-Unit-5.pdf
CS8493-OS-Unit-5.pdf
 
Linux@assignment ppt
Linux@assignment pptLinux@assignment ppt
Linux@assignment ppt
 
Redhat Linux server administration industrial training report.
Redhat Linux server administration industrial training report.Redhat Linux server administration industrial training report.
Redhat Linux server administration industrial training report.
 
Nguyen lyhedieuhanh 14-15_hedieuhanhlinux
Nguyen lyhedieuhanh 14-15_hedieuhanhlinuxNguyen lyhedieuhanh 14-15_hedieuhanhlinux
Nguyen lyhedieuhanh 14-15_hedieuhanhlinux
 
Linux
LinuxLinux
Linux
 
Linux architecture
Linux architectureLinux architecture
Linux architecture
 
linux os-basics,Devops training in Hyderabad
linux os-basics,Devops training in Hyderabadlinux os-basics,Devops training in Hyderabad
linux os-basics,Devops training in Hyderabad
 
Os file
Os fileOs file
Os file
 
Introduction to Linux Kernel
Introduction to Linux KernelIntroduction to Linux Kernel
Introduction to Linux Kernel
 
Chapter 21 - The Linux System
Chapter 21 - The Linux SystemChapter 21 - The Linux System
Chapter 21 - The Linux System
 

Plus de JOLLUSUDARSHANREDDY

DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT
DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENTDEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT
DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENTJOLLUSUDARSHANREDDY
 
INTERRUPT LATENCY AND RESPONSE OF THE TASK
INTERRUPT LATENCY AND RESPONSE OF THE TASKINTERRUPT LATENCY AND RESPONSE OF THE TASK
INTERRUPT LATENCY AND RESPONSE OF THE TASKJOLLUSUDARSHANREDDY
 
RTOS MICRO CONTROLLER OPERATING SYSTEM-2
RTOS MICRO CONTROLLER OPERATING SYSTEM-2RTOS MICRO CONTROLLER OPERATING SYSTEM-2
RTOS MICRO CONTROLLER OPERATING SYSTEM-2JOLLUSUDARSHANREDDY
 
Automated system for fault analysis in industries using
Automated system for fault analysis  in industries usingAutomated system for fault analysis  in industries using
Automated system for fault analysis in industries usingJOLLUSUDARSHANREDDY
 
CASE STUDY OF DIGITAL CAMERA HARDWARE AND SOFT WARE ARCHITECTURECASE STUDY OF...
CASE STUDY OF DIGITAL CAMERAHARDWARE AND SOFT WAREARCHITECTURECASE STUDY OF...CASE STUDY OF DIGITAL CAMERAHARDWARE AND SOFT WAREARCHITECTURECASE STUDY OF...
CASE STUDY OF DIGITAL CAMERA HARDWARE AND SOFT WARE ARCHITECTURECASE STUDY OF...JOLLUSUDARSHANREDDY
 
SOLAR TRACKING SYSTEM BY USING MICROCONTROLLER
 SOLAR  TRACKING  SYSTEM  BY  USING  MICROCONTROLLER SOLAR  TRACKING  SYSTEM  BY  USING  MICROCONTROLLER
SOLAR TRACKING SYSTEM BY USING MICROCONTROLLERJOLLUSUDARSHANREDDY
 
Zigbee Based Solar Light System By Using LDR
Zigbee Based Solar Light System By Using LDRZigbee Based Solar Light System By Using LDR
Zigbee Based Solar Light System By Using LDRJOLLUSUDARSHANREDDY
 
Design of smart nodes for wireless sensor network ...
Design of smart nodes for wireless sensor network                            ...Design of smart nodes for wireless sensor network                            ...
Design of smart nodes for wireless sensor network ...JOLLUSUDARSHANREDDY
 
ATM USER ACCOUNT SECURE BY USING GSM TECHNOLOGY
ATM USER ACCOUNTSECURE BYUSING GSM TECHNOLOGYATM USER ACCOUNTSECURE BYUSING GSM TECHNOLOGY
ATM USER ACCOUNT SECURE BY USING GSM TECHNOLOGYJOLLUSUDARSHANREDDY
 
BOMB DETECTION ROBOT BY USING GSM & GPS
BOMB DETECTION ROBOT BY USING GSM & GPSBOMB DETECTION ROBOT BY USING GSM & GPS
BOMB DETECTION ROBOT BY USING GSM & GPSJOLLUSUDARSHANREDDY
 
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFID
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFIDSTUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFID
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFIDJOLLUSUDARSHANREDDY
 
SOLAR BASED MOBILE CHARGER IN RURAL AREAS
SOLAR BASED MOBILE CHARGER IN RURAL AREASSOLAR BASED MOBILE CHARGER IN RURAL AREAS
SOLAR BASED MOBILE CHARGER IN RURAL AREASJOLLUSUDARSHANREDDY
 
MOBILE MONITORNG SYSTEM FOR SMART HOMES
MOBILE  MONITORNG  SYSTEM FOR SMART HOMES MOBILE  MONITORNG  SYSTEM FOR SMART HOMES
MOBILE MONITORNG SYSTEM FOR SMART HOMES JOLLUSUDARSHANREDDY
 
wireless security control system and sensor network for smoke and fire detection
wireless security control system and sensor network for smoke and fire detectionwireless security control system and sensor network for smoke and fire detection
wireless security control system and sensor network for smoke and fire detectionJOLLUSUDARSHANREDDY
 
ACCIDENTAL PROTECTION BY AUTOMATIC BREAKS AND RELEASE OF AIRBAG USING GPS,GSM...
ACCIDENTAL PROTECTION BY AUTOMATIC BREAKS AND RELEASE OF AIRBAG USING GPS,GSM...ACCIDENTAL PROTECTION BY AUTOMATIC BREAKS AND RELEASE OF AIRBAG USING GPS,GSM...
ACCIDENTAL PROTECTION BY AUTOMATIC BREAKS AND RELEASE OF AIRBAG USING GPS,GSM...JOLLUSUDARSHANREDDY
 

Plus de JOLLUSUDARSHANREDDY (20)

MEMORY MANAGEMENT
MEMORY MANAGEMENTMEMORY MANAGEMENT
MEMORY MANAGEMENT
 
Os security issues
Os security issuesOs security issues
Os security issues
 
OSEK / VDX
OSEK / VDXOSEK / VDX
OSEK / VDX
 
DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT
DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENTDEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT
DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT
 
INTERRUPT LATENCY AND RESPONSE OF THE TASK
INTERRUPT LATENCY AND RESPONSE OF THE TASKINTERRUPT LATENCY AND RESPONSE OF THE TASK
INTERRUPT LATENCY AND RESPONSE OF THE TASK
 
Rt linux-lab1
Rt linux-lab1Rt linux-lab1
Rt linux-lab1
 
RTOS MICRO CONTROLLER OPERATING SYSTEM-2
RTOS MICRO CONTROLLER OPERATING SYSTEM-2RTOS MICRO CONTROLLER OPERATING SYSTEM-2
RTOS MICRO CONTROLLER OPERATING SYSTEM-2
 
WINDOWS-CE
WINDOWS-CEWINDOWS-CE
WINDOWS-CE
 
Automated system for fault analysis in industries using
Automated system for fault analysis  in industries usingAutomated system for fault analysis  in industries using
Automated system for fault analysis in industries using
 
CASE STUDY OF DIGITAL CAMERA HARDWARE AND SOFT WARE ARCHITECTURECASE STUDY OF...
CASE STUDY OF DIGITAL CAMERAHARDWARE AND SOFT WAREARCHITECTURECASE STUDY OF...CASE STUDY OF DIGITAL CAMERAHARDWARE AND SOFT WAREARCHITECTURECASE STUDY OF...
CASE STUDY OF DIGITAL CAMERA HARDWARE AND SOFT WARE ARCHITECTURECASE STUDY OF...
 
SOLAR TRACKING SYSTEM BY USING MICROCONTROLLER
 SOLAR  TRACKING  SYSTEM  BY  USING  MICROCONTROLLER SOLAR  TRACKING  SYSTEM  BY  USING  MICROCONTROLLER
SOLAR TRACKING SYSTEM BY USING MICROCONTROLLER
 
Zigbee Based Solar Light System By Using LDR
Zigbee Based Solar Light System By Using LDRZigbee Based Solar Light System By Using LDR
Zigbee Based Solar Light System By Using LDR
 
Design of smart nodes for wireless sensor network ...
Design of smart nodes for wireless sensor network                            ...Design of smart nodes for wireless sensor network                            ...
Design of smart nodes for wireless sensor network ...
 
ATM USER ACCOUNT SECURE BY USING GSM TECHNOLOGY
ATM USER ACCOUNTSECURE BYUSING GSM TECHNOLOGYATM USER ACCOUNTSECURE BYUSING GSM TECHNOLOGY
ATM USER ACCOUNT SECURE BY USING GSM TECHNOLOGY
 
BOMB DETECTION ROBOT BY USING GSM & GPS
BOMB DETECTION ROBOT BY USING GSM & GPSBOMB DETECTION ROBOT BY USING GSM & GPS
BOMB DETECTION ROBOT BY USING GSM & GPS
 
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFID
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFIDSTUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFID
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFID
 
SOLAR BASED MOBILE CHARGER IN RURAL AREAS
SOLAR BASED MOBILE CHARGER IN RURAL AREASSOLAR BASED MOBILE CHARGER IN RURAL AREAS
SOLAR BASED MOBILE CHARGER IN RURAL AREAS
 
MOBILE MONITORNG SYSTEM FOR SMART HOMES
MOBILE  MONITORNG  SYSTEM FOR SMART HOMES MOBILE  MONITORNG  SYSTEM FOR SMART HOMES
MOBILE MONITORNG SYSTEM FOR SMART HOMES
 
wireless security control system and sensor network for smoke and fire detection
wireless security control system and sensor network for smoke and fire detectionwireless security control system and sensor network for smoke and fire detection
wireless security control system and sensor network for smoke and fire detection
 
ACCIDENTAL PROTECTION BY AUTOMATIC BREAKS AND RELEASE OF AIRBAG USING GPS,GSM...
ACCIDENTAL PROTECTION BY AUTOMATIC BREAKS AND RELEASE OF AIRBAG USING GPS,GSM...ACCIDENTAL PROTECTION BY AUTOMATIC BREAKS AND RELEASE OF AIRBAG USING GPS,GSM...
ACCIDENTAL PROTECTION BY AUTOMATIC BREAKS AND RELEASE OF AIRBAG USING GPS,GSM...
 

Dernier

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 

Dernier (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 

RTOS LINUX2.6.X & LINUX2.6.24

  • 1. RTOS LINUX2.6.X & LINUX2.6.24 BY: J.SUDARSHANREDDY ROII NO:117Y1A0425 1/25/2015J.SUDARSHANREDDY
  • 2. TOPICS:  INDRODUCTION  REAL TIME LINUX FUNCTIONS  LINUX HAS THE FOLLOWING FEATURES  LINUX MODULES  LINUX FUNCTIONS FOR THE SIGNAL,MULTITHREADING,SEMAPHORE AND MESSAGE QUEUE INTERPROCESS COMMUNICATION 1/25/2015J.SUDARSHANREDDY
  • 3. INTRODUCTION:  Linux is increasingly used in embedded systems and real time enhancements of that introduced As linux2.6.x  The linux provide preemptive scheduling , high resolution timers and preemptive interrupt service threads  Linux latest version is linux 2.6.24 ,released in January 2008  Reasons for the popularity of linux OS are that it is a freeware, device driver feature,expandability of the kernel codes at runtime and has provision of registering and deregistering device driver modules  The modules are scheduled like the process Sections 10.3.1 and 10.3.2.  1/25/2015J.SUDARSHANREDDY
  • 4. Real time linux functions :  The os named linux is after linus Torvalds ,father of the linux os  Embedded linux systems combine the linux kernel with a small set of free software utilities  The glibc is often replaced as the C standard library by less resource consuming alternatives such as dietlibc ,uclibc or newlib  Embedded linux application program makes the systems calls for the functions at a kernel  1.process management  2.memory management EX (allocation,delocation )  3.file system  4.shared memory  5.networking systems functions  6.device control functions for any peripheral present into a system  7.graphic editors for kernel configuration  8.soft realtime scheduling 1/25/2015J.SUDARSHANREDDY
  • 5.  The following are the three important classes of devices in embedded linux:  1.realtime linux scheduler has all functions as 0(1)functions: Which means that size of input to a function and function run time are linearly correlated.  2.the task scheduler supports spin lock (section 7.11) : It is a preemptive scheduler.  3.linux supports characters and block devices: A device type can be a char device for example a parallel port , lcd matrix .  The character acess is byte to byte and analogous to the access from and to a printer device.  Systems call functions are also like an I/O device open (), close () write (), read (), functions. 1/25/2015J.SUDARSHANREDDY
  • 6.  Linux has the following features useful for embedded system design:  1.linux is multiuser OS and supports user groups  2.linux has root directory (represented by /sign)  3.linux has large number of editor,file,directory,I/O commands .Each command can Consists of a number of words .First word is command and remaining words are arguments .  4. Linux has number of interfaces for users .For example X-WINDOWS for GUI and csh  5.Process always creates as child process in the process that uses fork()function  6.linux has modules for the character,block,socket,network device drivers and linux 2.6.x Support 4095.  7.Linux supports a module initialization,handeling of errors,prevention of un authorized port acess,  8.The linux OS supports registering of the driver configuration and functions  9.The linux kernel use of sequential acess ,specific memory address only by the registering and de registering mechanisam. 1/25/2015J.SUDARSHANREDDY
  • 7. Registering and de registering and related functions of linux modules :  init :  Insmod:  Rmmod:  Cleanup:  Register- capability:  Unregister capability:  Register symtab: The init module()is called before the module is inserted into the kernel Inserts module into the linux kernel the object file module 1.0,inserts by Command and insmod module 1.0 A module file module 1.0 is delated from the kernel by command and rmmod module1. A kernel level void function,which perform by action on an rmmod call from the execution module . A kernel level function for registering A kernel level function for de register A symbol table function support ,which exist an alternatively to declaring functions . 1/25/2015J.SUDARSHANREDDY
  • 8.  Linux has following feauters useful for embedded system design:  1.Linux 2.6.x all tasks are assigned static priorities between -19 to +20 .time slicies are varied as per priority  2.Realtime linux 2.6.24 a latest realease supports a new set of group scheduling functions,Which improves cups load  3.Linux 2.6.24 provides high resolution timers as well as tick less timer  4.Linux 2.6.24 supports functions to improve system performance by restricting the block device from teaking larger cu load 1/25/2015J.SUDARSHANREDDY
  • 9. Linux functions Features  1.thread properties:  2.signal functions:  3.thread functions:  4.Semaphore functions  5.Mutex functions Description 1.Threads of same process share the memory space and manage acess premises 1.Struct sigaction signal 1;/*statement in c defines a struacture signal1 .*/ Signal1 .sa-flags=0;/*sets flags=0*/ 1.Pthread-self();/*reaturns gets id of the function pthread-self calling thread self */ 2.();/*sends ‘kill’ signal to the thread*/ 1.Sem-wait (&sem1);/*wait for the semaphore sem1*/ 2.Sem-post (&sem1)/*post the semaphore sem1*/ 1.Pthread –mutex-lock();the argument is mutex ms1or ms2 or other*/ 2.Pthread –mutex-unlock();the argument is mutex ms1or ms2 or other*/ 1/25/2015J.SUDARSHANREDDY