Study of Embedded Linux and Its Device Driver Development

Author
ZhuXiongHui
Advisor
ZhouLiHua
School
Xi'an University of Electronic Science and Technology
Major
Computer System Architecture
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2002
Downloads
0
Citations
4

Request the full text

Abstract

Embedded Linux possesses great application value and has been the hotspot of OS research, but it faces the deficiency caused by GUN. To develop Embedded OS for commercial purpose, the author applies to the research and development of Embedded Linux. This paper implements a simple Embedded Linux running in 8M Flash, and presents correlative methods and process in detail. In order to shrink the Embedded Linux so as to adapt to real-time environment, this paper probes into Linux kernel, points out the reason why it cannot adapt to real-time environment, and puts forward the improvement approaches. To improve virtual memory management mechanism, the kernel code is amended to avoid the incertitude cause by page scheduling, thus the responding speed is effectively improved. The irrationality of Linux scheduling mechanism is also analyzed, and the methods and models such as to fortify scheduling occasion and adopt double kernel are also proposed to improve it. Besides, this paper analyzes the VFS mechanism and presents improvement approach. Device driver is one of the most important components of Linux kernel. It runs in kernel status, and any problem will affect the stability or even lead to crash. This paper probes into the method of designing device driver under Linux, with emphasis on module, interruption mechanism, DMA, and presents method to avoid resource dead lock and realize cooperation and mutex among processes.Based on the research above, the author realizes a small scale Embedded Linux System, together with device driver and application software, which has been stably running in 8M Flash.Finally, this paper brings forward viewpoint for remaining problems of developing Embedded real-time Linux.

Table of contents

The first chapter 7-17 1.1 embedded operating system development and problems 7-10 1.2 LINUX used to the advantage of the embedded environment are found; 10-11 1.3 Desktop LINUX for embedded environment 11-12 1.4 Embedded LINUX development status 12-14 < br /> 1.5 embedded LINUX research, 14 1.6 This article addresses the issues and the content of each chapter Introduction 14-17 Chapter II kinds of simple the embedded LINUX realization 17-25 2.1 project functional requirements Introduction 17-19 2.2 miniaturized embedded LINUX components 19 2.3 development the embedded LINUX steps formed in 19-22 2.4 Embedded LINUX root file system 22-24 2. 5 Summary 24-25 desktop LINUX Embedded improved 25-28 3.1 guide 25-26 3.2 file system of choice 26 3.3 LINUX disk dependency issues 26-27 3.4 real-time issues 27 3.5 virtual memory management mechanism 27-28 Chapter file system selection and transformation the 28-34 4.1 virtual file system nbsp important data structure; 28-29 4.2 VFS 29-32 4.3 file system registered 32-33 4.4 file system improvements 33-34 Chapter solution for real-time scheduling problem 34-38 5.1 real-time operating system features 34-35 <br / the> 5.2 LINUX real-time scheduling defects the 35-36 5.3 real-time problem solve ideas and methods 36-38 Chapter VI improved virtual memory management mechanism 38-47 6.1 virtual memory management mechanism 38-39 6.2 the VMM mechanism for embedded real-time systems 39-40 the VMM 6.3 data structures 40-42 6.4 removal VMM mechanism to achieve 42-45 6.5 Improved effectiveness analysis 45-47 Chapter VII LINUX device driver development 47-64 7.1 task demand brief 47-48 7.2 module programming concepts 48-50 7.3 LINUX device driver design steps 50-51 7.4 LINUX device driver interface and important data structures 51-52 7.5 DMA transfer drive to achieve the 52-61 7.6 debug and install drivers 61-62 7.7 deadlock as well as producer - consumer problem considering 62-64 Chapter VIII Conclusion 64-65 8.1 In this paper, the main contribution 64- 8.2 unresolved problems 64-65 Acknowledgements to References 65-67 67-68

Related dissertations

  1. Real-time Operating System Customization of Linux and Development of Device Driver
  2. Research and Development of Bottom Software of Inkjet Printer System Based on Embedded Linux
    GaoWeiGuo ·Hebei University of Technology ·2013 ·Master's thesis
  3. Study on Data Acquisition and LCD Display System of5kW Photovoltaic Inverter System
    YangLiuNing ·Donghua University ·2013 ·Master's thesis
  4. Development of a Real-time Embedded Linux System in an Integrated Strong-Motion Seismograph Oriented to Earthquake Early Warning
  5. Communication Controller Design Base on Embedded Linux System
    FengZuo ·Tianjin University ·2012 ·Master's thesis
  6. Design and Implementation of Device Software Driver for Epson-based Large-format Image Capturing System
  7. Research on Real-time Performance of the Embedded Linux Kernel
    LongFei ·Shenyang University of Technology ·2012 ·Master's thesis
  8. Advertising machine based on embedded Linux system
  9. The Research of Embedded Linux and the Design of Gui
  10. Research and Implementation of Multimedia Terminal Based on Embedded Linux
    FengJunZuo ·Chengdu University of Technology ·2012 ·Master's thesis
  11. Research and design of embedded file system based on wireless transmission
  12. Embroidery based on embedded Linux platform software design electrical control systems
  13. Embedded Linux kernel Research
    SunLiangYong ·Qufu Normal University ·2008 ·Master's thesis
  14. Design of In-vehicle Multimedia Information System
    SunDanJun ·Wuhan University of Technology ·2008 ·Master's thesis
  15. FATTY: for embedded devices FAT file system implementation and optimization
    LiuKeJia ·Shanghai Jiaotong University ·2008 ·Master's thesis
  16. Based on RTLinux real-time kernel software research
  17. The Research and Implement of Wireless Electromagnetism Geological Receiver on Linux System
    HuGang ·Wuhan University of Technology ·2006 ·Master's thesis
  18. Network dedicated server dedicated file system
  19. Embedded LINUX -based vehicle information system and application technology platform
    TanLin ·Hunan University ·2009 ·Master's thesis
  20. The Embedded Linux System Building and Application Research Based on ARM
    LengYuLin ·Chongqing University ·2010 ·Master's thesis