Based on RTLinux real-time kernel software research
- Author
- LaiWeiWei
- Advisor
- LiXiaoAn
- School
- Northwestern Polytechnical University
- Major
- Computer Software and Theory
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 378
- Citations
- 5
Abstract
Linux is one of the most popular operation systems (OS), and it has lots of advantages, such as open source code, supportting different platforms, and having abundant computer resources. But Linux usually can not satify the requirements of real time systems. So, studying real time Linux becomes a very important project.RTLinux is a good implementation of real time operation system bases on Linux. RTLinux is a hard real time OS, and has the advantages of Linux. But RTLinux also has some disadvantages in the real time applications. For example, RTLinux do not have any file systems, it can not be used in the projects that real time storage to harddisk is requested.Incorporated with the real time storage application, this thesis mainly studys and develops the real time kernel software based on RTLinux. Firstly, we read roundly the source code of Linux and RTLinux. The framework and the mechanism of Linux and RTLinux have been summarized. Secondly, we find out why the thread of RTLinux can not call any functions of Linux kernel, and then we put . forward a project to solve the problem. Thirdly, we present the design of a real time data storage to harddisk based on RTLinux. A file system has been designed for real-time kernel of RTLinux in order to support real time data storage. Finally, we give an extended . implementation to RTLinux. The practical experiments have demonstrated the excellent performance of our extended RTLinux.
Table of contents
The first chapter 7-11
1.1 research background and purpose 7
1.2 domestic and foreign research and application status 7-9
1.3 the main research contents 9-10
1.4 papers organizational structure 10-11
Chapter Linux and RTLinux 11-16
2.1 Linux Introduction 11-12
2.1.1 Linux operating system 11-12
2.1.2 Linux in real-time applications deficiencies 12
2.2 RTLinux Profile 12-14
2.2.1 process scheduling aspects 13
2.2.2 memory page fault exception aspects 13
2.2.3 clock accuracy 13-14
2.2.4 disable interrupts aspects 14
2.3 based on Linux, RTLinux real-time system development 14-15
2.4 of this chapter Summary 15-16
Chapter Linux module source code analysis 16-36
3.1 Linux process management 16-17
3.1.1 Linux process with the resources and variables 16
3.1.2 Linux process status 16
3.1.3 Linux process scheduling 16-17
3.2 Linux memory management 17-20
3.2.1 above page addressing 17-18
3.2.2 Linux physical memory management 18
3.2.3 Linux virtual memory space 18-19
3.2.4 Linux process of using the physical page 19-20
3.3 Linux interrupt handling 20-24
3.3.1 X86 CPU for interrupt hardware support 21
3.3.2 Linux responds to an interrupt 21-24
3.3.3 Linux time interrupt 24
3.4 Linux file system management 24-33
3.4.1 virtual File System 25-29
3.4.2 Linux ext2 file system 29 - 33
3.5 Linux can be installed modules 33-35
3.5.1 can be installed module loading 33-34
3.5.2 Linux can be installed on module unload 34-35
3.6 Summary 35-36
Chapter RTLinux source code analysis 36-43
4.1 RTLinux design ideas 36-37
4.2 RTLinux implementation principle 37-40
4.2.1 source implementation 37
4.2.2 interrupt simulation real improvement 37 - 39
4.2.3 thread scheduling real improvement 39
4.2.4 memory Management real improvement 39
4.2.5 improved real- time accuracy 39 - 40
4.2.6 RTLinux and Linux real-time thread process communication 40
4.3 RTLinux realtime performance deficiencies 40-42
4.4 Summary 42 - 43
fifth chapter is based on RTLinux real-time archiving system design 43-53
5.1 overall design 43
5.2 real-time save implementation technology 43-51
5.2.1 real-time threads disk read and write 45-50
5.2.2 hard exclusive access 50-51
5.3 RTLinux real-time file system is built 51-52
5.4 Summary 52-53
Chapter 6 Application implementation and experimental study 53-57
6.1 real-time application system description 53-55
6.1.1 platform based on RTLinux achieve 53-54
6.1.2 RTLinux platform based on an extended implementation 54-55
6.2 extended RTLinux platform performance analysis 55-56
6.2.1 minimum running on the platform extension RTLinux cycle analysis 55-56
6.2.2 expansion RTLinux platform maximum data storage capacity analysis 56
6.3 Chapter Summary 56-57
Chapter VII Conclusion 57-58
7.1 results 57
7.2 further research prospects 57-58
Thanks 58-59
References 59-61
Related dissertations
- Real-time Operating System Customization of Linux and Development of Device Driver
- Research and Design of Online Monitoring System of Metal Sawing Machine Saw Blade Displacement
- Design of Embedded 8 Channels High Speed Data Acquisition System
- Design and implementation of remote control system based on Embedded Intelligent Home Furnishing
- Analysis and reliability of Linux device driver
- Research and Implementation of User Mode Driver for Network Device Based on Embedded Linux
- Linux File System Application and File Encoding Conversion under Windows
- Design and Implementation of Driver Module Based on Android System
- The System Migration and Development of Embeded Linux Based on MagicARM2410
- Design and Implementation of Software System of Industrial Controlling Display Device
- The Design and Implementation of the 429 and 1553B Data Bus Device Driver in the RTLinux Environment
- The Research and Implement of Wireless Electromagnetism Geological Receiver on Linux System
- Embedded Linux platform to build applications in aerospace monitoring clock unified control display system
- Study of Embedded Linux and Its Device Driver Development
- Network dedicated server dedicated file system
- Embedded LINUX -based vehicle information system and application technology platform
- The Embedded Linux System Building and Application Research Based on ARM
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Research and Design of Embedded Building Security System
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446