The Research on the Real-Time of Embedded Linux
- Author
- LiZhiPeng
- Advisor
- CaoYunFu , FanYangXing
- School
- Hunan University
- Major
- Software Engineering
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 434
- Citations
- 2
Abstract
With the spreading application of the embedded system, it has come into our life. Development of embedded real-time operating system has been the hotspot during the past several years. Now some embedded real-time operating systems are very costly and its development cost is very high. Their technology is secret. Linux operating system has changed the condition. Because of some characters of the Linux, it has become one of the ideal options of the embedded operating system.At first, the article introduce the conceptions, characteristics and developing history of the embedded system and embedded real-time operating system. We can get the background information of the problem. The real-time property is the obstacle of Linux in the embedded real-time application. So the real-time Linux is a focus of the embedded Linux research.At first we analyze the real-time mechanism of the Linux. Then we decided the dual kernel program of RTLinux as our research object. A simple real-time kernel is inserted between the hardware and the Linux kernel and satisfy hard real-time requirements. It has a little change to the original Linux kernel. The key technologies include interrupt emulation, fine-grain timer, real-time scheduler and so on. They are analyzed in the article. We test the RTLinux performance and get the anticipated results. We give a improved real-time scheduling program which support several scheduling policy. Several points to be approved in the dual kernel program are listed at last.Differentiating from the desktop system embedded Linux development is in a constrained environment in which computer memory and processing power are limited and require the software be efficient. The article introduce the embedded Linux development environment and the approach of the miniaturization of the kernel and the file system. We build a embedded Linux system prototype and realize a embedded IPSec VPN gateway application which can be used on the home-gateway.
Table of contents
Abstract 6-7
Abstract 7-9
Chapter 1 Overview 9-20
1.1 Embedded Systems 9-11
1.2 embedded operating system 11-12
1.3 real-time operating system 12-15
1.3.1 real-time operating system concepts 12-13
1.3.2 real-time operating system development 13
1.3.3 real-time operating system features 13-15
1.3.4 real-time operating system, key performance indicators 15
1.4 embedded Linux operating system and its real-time research 15-18
1.5 content and structure of the paper 18-20
first Chapter 2 Linux system with real-time program 20-33
2.1 Linux with real-time mechanisms 20-23
2.1.1 Linux kernel can not seize property 20
2.1.2 Linux scheduler timing 20-21
2.1.3 Linux scheduling strategy 21-23
2.1.4 Linux interrupt handling 23
2.1.5 Linux timer in 23
2.2 dual-core real-time system analysis 23-30
2.2.1 interrupt simulation 25-27
2.2.2 real-time scheduler 27
2.2.3 precision clock processing 27-28
2.2.4 real-time tasks and Linux processes communication 28-30
2.3 real-time kernel performance tests 30-33
Chapter 3 real-time task scheduling improvements 33-42
3.1 tasks scheduling 33-41
3.1.1 real-time task status 33-34
3.1.2 basic data structures 34-35
3.1.3 tasks scheduling module 35-40
3.1.4 tasks effective priority calculation and comparison module 40-41
3.2 dual core program deficiencies and improve the direction 41-42
Chapter 4 embedded Linux system to achieve 42-52
4.1 embedded Linux system consisting of basic elements 42-43
4.1.1 boot Tools 42
4.1.2 embedded Linux kernel 42-43
4.1.3 root filesystem 43
4.2 embedded Linux development environment 43-45
4.3 smallest embedded Linux kernel customization 45-49
4.3.1 LKM mechanism 46-47
4.3.2 kernel module selection principle 47-48
4.3.3 minimal kernel configuration and compilation 48-49
4.4 file system customization 49-52
4.4.1 embedded C library 50
4.4.2 small file system 50-52
Chapter 5 IPSec-based embedded VPN gateway application 52-59
5.1 IPSec Introduction to VPN 52-53
5.2 IPSec VPN gateway 53-55
5.3 system test 55-59
5.3.1 nbsp network test environment ; 55
5.3.2 gateway setting 55-56
5.3.3 network Testing 56-59
Conclusion and Outlook 59-61
References 61-64
Thanks 64-65
Appendix 65-70
Related dissertations
- Design and Relization of Double Axis Simulation Turntable Control System Based on RTLinux
- Engraving based control system RTLINUX
- Research on the Scheduling Algorithms in Real-Time Multimedia Systems
- Design and Implementation of Vibration Spectrum Analyzer
- The Design for Laser Cutting Machine System Based on PCI-Bus
- Control System Design and Implementation of Biped Robots
- Reseach on Intelligent Control of Elevator Gate Based on Image Recognition
- Study on the transplantation of FreeRTOS real-time operating system based on Lwip protocol
- The kernel of embedded real-time operating system FreeRTOS
- Research on the Context Switching Method in Preempitive Real-Time System
- Design and Implementation of Embedded Operating System WebitX for Internet of Things
- The Interrupt Mechanism of Real-time Operating System on ARM
- A Tailoring and Research of Embedded Operating System in Intelligent Car Equipment
- Research on Real-time Performance of the Embedded Linux Kernel
- Memory Management of an ARM-based Embedded Real-Time Operating System
- Design and Implementation of an Automotive Embedded Real-Time Operating System Kernel Supporting Homogeneous Multicore
- Formal Verification of Real-time Operating System in Binary Code Level
- Semi-physical Simulation of Aircraft Brake Control Algorithm
- Research and Application on Optimization Technologies for Real-time Operating System in Open CNC System
- Reconfigurable embedded system prototyping platform and operating system