Porting and Test of Real-time Embedded Linux Kernel RTAI

Author
LiuZhongWen
Advisor
TuGang
School
Huazhong University of Science and Technology
Major
Applied Computer Technology
Classification
TP316.81
Degree
Master's thesis
Year
2008
Downloads
278
Citations
1

Request the full text

Abstract

As one of the most important open source software , Linux is rapidly entering the field of real-time control . Give full play to its performance is stable , compatible with UNIX, support multiple processors ; networking capabilities , high security , the kernel can crop a series of advantages . However, with real-time requirements of the increasingly high , Linux kernel mechanism to highlight the growing number of deficiencies : Non- preemptive kernel , rough clock granularity , frequent disable interrupts , etc., making real-time Linux is not strong. By using real-time kernel based on Linux kernel RTAI, RTAI completed in a specific hardware platform (S3C2410 processor ) the transplant , to achieve a good real-time performance with Linux system . Transplantation is mainly for the following several parts : the first is the interrupt control module transplant. RTAI interrupt handling mechanism in the virtual machine using interrupts to take over all interrupts , so that the Linux kernel could not close the hardware interrupt , enabling real-time interrupt response . Combined with the S3C2410 interrupt control logic to achieve a RTAI interrupt control module transplantation ; followed by fine-grained clock implementations. RTAI adds one-shot mode clock , so the clock interrupt occurs when necessary , refine the system clock granularity. S3C2410 processor by utilizing multiple hardware timers were to achieve a single -shot mode and trigger mode clock cycles to complete the clock part of the transplant. Finally, the real-time memory management scheme of the transplant. RTAI real-time memory management using shared memory and dynamic memory management , while taking advantage of the hardware platform, memory management unit and cache mechanism to optimize real-time memory management . By using the S3C2410 memory controller , enabling a real-time kernel memory management functions. After the completion of the transplant RTAI , Linux, and improved on the standard Linux systems were compared in the interrupt latency test . Test results show that the improved Linux real-time performance has been greatly improved.

Table of contents

Abstract 4-5 ABSTRACT 5-7 1 Introduction 7-12 1.1 topics background 7-8 <br / > 1.2 at home and abroad before and forecasting 8-11 1.3 main topic research 11-12 2 Linux kernel real-time modification techniques 12-22 <br / > 2.1 Linux real-time performance analysis 12-16 2.2 based on RTAI real-time transformation of technical analysis 16-18 2.3 RTAI overall structure and transplantation analysis 18-21 < br /> 2.4 chapter Summary 21-22 3 transplant embedded Linux RTAI real-time kernel key technology 22-44 3.1 virtual interrupt transplant 22-29 < br /> 3.2 grained clock transplant 29-36 3.3 real-time memory management transplantation 36-43 3.4 chapter Summary 43-44 4 embedded Linux RTAI real-time kernel performance tests 44-50 4.1 each time index 44-46 4.2 testing and results analysis 46-49 4.3 chapter Summary 49-50 5 Conclusion 50-52 5.1 Full Summary 50 5.2 further work 50-52 Thanks 52-53 References 53-55

Related dissertations

  1. Research on the Scheduling Algorithms in Real-Time Multimedia Systems
  2. Design and Implementation of Vibration Spectrum Analyzer
    WangSheng ·Zhejiang University of Technology ·2013 ·Master's thesis
  3. Reseach on Intelligent Control of Elevator Gate Based on Image Recognition
    WangFei ·Zhejiang University of Technology ·2009 ·Master's thesis
  4. Study on the transplantation of FreeRTOS real-time operating system based on Lwip protocol
  5. The kernel of embedded real-time operating system FreeRTOS
  6. Research on the Context Switching Method in Preempitive Real-Time System
    CaiXueLiang ·Northeastern University ·2010 ·Master's thesis
  7. Design and Implementation of Embedded Operating System WebitX for Internet of Things
    GuoNaiMing ·Northeastern University ·2010 ·Master's thesis
  8. The Interrupt Mechanism of Real-time Operating System on ARM
  9. A Tailoring and Research of Embedded Operating System in Intelligent Car Equipment
  10. Memory Management of an ARM-based Embedded Real-Time Operating System
  11. Design and Implementation of an Automotive Embedded Real-Time Operating System Kernel Supporting Homogeneous Multicore
    JiangBin ·Hunan University ·2012 ·Master's thesis
  12. Formal Verification of Real-time Operating System in Binary Code Level
    ShiJianZuo ·East China Normal University ·2012 ·Doctoral dissertation
  13. Design and Implementation of Interrupt Bugs Analysis Tool in Safety-critical Software
  14. Semi-physical Simulation of Aircraft Brake Control Algorithm
    YangZhenGeng ·Central South University ·2012 ·Master's thesis
  15. Research and Application on Optimization Technologies for Real-time Operating System in Open CNC System
  16. Reconfigurable embedded system prototyping platform and operating system
    ZhouXueGong ·Fudan University ·2007 ·Doctoral dissertation
  17. Open real-time Linux research and design
    ZhuXiangBin ·Fudan University ·2005 ·Doctoral dissertation
  18. Research on novel piezoelectric feeder
    FanZunQiang ·Jilin University ·2008 ·Doctoral dissertation
  19. Research on Operating System Support for Reconfigurable Computing
    ZhouBo ·Fudan University ·2006 ·Doctoral dissertation
  20. Design of Beam Steering System Based on Embedded Computer