Realization of Embedded Device Drivers and GUI Porting Based on Linux System

Author
PuMin
Advisor
HeZhongShi
School
Chongqing University
Major
Computer Software and Theory
Classification
TP368.12 Microprocessor
Degree
Master's thesis
Year
2009
Downloads
373
Citations
5

Request the full text

Abstract

With the computer technology and communication technology and the development of embedded systems has been widely penetrated into all aspects of science, engineering, military technology, and various types of industrial and commercial culture and the arts as well as people's daily life. Further development and promotion of a variety of embedded products at home and abroad, the embedded technology to to closely integrate more and more people's lives. The various characteristics of embedded devices defined its device driver must be customized and embedded operating system and the application is completely bound together constitute an indivisible whole. Therefore, the different embedded product development must design their own device drivers, although many embedded operating systems provide drivers for example, the actual run driver specific hardware resource allocation and some The characteristics of the modification, or even redesigned. On the other hand, with the development of computer technology, more and more embedded systems devices need a good man-machine interface, which requires a high-performance, high-reliability, occupy less system resources graphical user interface support. Design and Implementation of dissertation contents of one of the four basic embedded Linux driver. This paper first introduces the basic steps of the embedded Linux system architecture and design, and elaborated in the S3C2410 chip-based development board to build a practical embedded system process; then analyze the composition of the Linux kernel and kernel The relationship between the device driver and Linux device driver structure. Finally, based on in-depth analysis of the device hardware manual and in front of the driver, the realization of the RS-232, keypad interface, Flash memory and LCD display controller driver. Debugging each drive successfully transplant them to the development board, development board to provide the basic functions of running and ready for the next step of the research and development work. In order to meet the requirements of embedded devices, interactive interface, graphical user interface based on embedded Linux transplantation research and GTK successfully transplanted into the development board. First introduce several typical embedded system graphical user interface system, and a brief analysis of the characteristics of each; then select one GUI system - GTK transplantation to the development board according to their characteristics. As transplant GTK previous work, the first detailed analysis of the the the GTK support software - X-Window operating principle, transplanted to the development board and its cutting compiled; Based on this analysis, the operating principle of the GTK Finally, its cutting compiled successfully transplanted to the development board as an embedded GUI system. On this basis, it is possible to develop a simple, free and beautiful, the a practical GUI interface, ultimately makes the user become more simple and convenient operation of the system as a whole, which has a certain reference value for the future development of embedded GUI system.

Table of contents

Abstract 3-4 ABSTRACT 4-9 1 Introduction 9-18 1.1 Embedded Systems Overview 9-11 the 1.1.1 embedded systems definition 9 the 1.1.2 embedded technology historical development 9-10 the characteristics of 1.1.3 embedded systems 10-11 the the 1.2 subject research background 1.3 the research and development status 11-16 the of 1.3.1 embedded operating systems status quo 11-14 1.3.2 embedded processor status quo 14-15 the status of 1.3.3 embedded GUI 15-16 the significance of the research 1.4 16-17 1.5 of this article content and structure 17-18 the Embedded LINUX System development environment to build 18-25 2.1 to create a development environment of the host 18-19 2.1.1 configure the TFTP server 18 2.1.2 configure NFS 18-19 2.1.3 configuration MINICOM 19 2.1.4 cross compiler environment establish 19 2.2 Embedded LINUX boot program 19-21 2.2.1 of Bootloader concept 19-20 2.2.2 Bootloader boot process 20 2.2.3 Bootloader operation mode 20-21 2.3 Embedded LINUX kernel 21-24 2.3.1 Linux kernel composition and function 21-22 The cut of the 2.3.2 Linux kernel, compiled with the transplant 22-24 2.4 based on embedded LINUX applications compiled with the transplant example 24-25 The Embedded LINUX device drivers 25-35 3.1 Embedded LINUX device driver Overview 25-26 3.1.1 Linux driver 25 3.1.2 Linux driver under complete 25 3.1.3 Linux driver under Features 25-26 3.2 device driver structure 26-28 3.2.1 device files and device number 26 3.2.2 device driver program composed 26-27 3.2.3 driver program key data structure 27-28 3.3 Embedded LINUX device driver development, basic function 28-30 3.3.1 memory operations 28 3.3.2 memory interrupt 28-29 3.3.3 I / O port 29 3.3.4 timer 29-30 3.4 Embedded LINUX device driver classification 30-33 3.4.1 character device driver 30-31 3.4.2 block device driver 31 3.4.3 network device drivers 31-33 3.5 Embedded LINUX device drivers compiled and transplant method 33-35 3.5.1 drivers compiled 33-34 3.5.2 drivers transplant 34-35 the Embedded LINUX device driver design and Implementation 35-51 4.1 RS-232 interface driver to achieve with the transplant 35-39 4.1.1 the RS-232 interface works 35-36 4.1.2 RS-232 interface driver structure 36 4.1.3 the RS-232 interface driver design and implementation 36-39 4.2 keypad interface driver to achieve with transplantation 39-44 4.2.1 keypad interface works 39-41 4.2.2 keypad interface driver design and implementation 41-44 4.3 Flash memory drive program to achieve and transplantation 44-48 4.3.1 Flash memory circuit schematic 45-46 4.3.2 Flash memory driver to achieve 46-48 4.4 LCD display controller driver to achieve and transplantation 48-51 4.4.1 LCD display controller works 48-49 4.4.2 LCD display controller driver Design and Implementation 49-51 5 embedded GUI system transplant 51-63 5.1 system requirements analysis 51 5.2 system architecture design 51-52 5.3 GTK and the advantages of X-WINDOW 52-54 5.4 X-WINDOW transplant 54-57 5.4.1 X-Window System Overview 54 5.4.2 X-Window system structure 54-55 5.4.3 X-Window programming tools 55-56 5.4.4 X-Window cutting and transplantation 56-57 5.5 GTK Overview 57-59 5.5.1 GTK library used About 58 5.5.2 GTK program structure 58 5.5.3 GTK signals and callback technology 58-59 5.6 GTK the cutting and transplant 59-63 5.6.1 cropped GTK 59-62 5.6.2 compile GTK 62-63 6 Summary and Outlook 63-64 6.1 thesis work summarizes 63 6.2 further needs to be done 63-64 Acknowledgements 64-65 the References 65-68 Appendix 68 the papers directory published by A. of study for a degree during 68

Related dissertations

  1. Design of Embedded Digital Video System Based on PXA255 & TMS320DM642 and Application of Graphic User Interface
    JinRongHao ·Taiyuan University of Technology ·2008 ·Master's thesis
  2. The Design and Implementation of Fiscal Cash Register Based on Embedded System
  3. Research and Implement of GUI for Shell Program Based on GTK+
    SongJingDong ·Jilin University ·2008 ·Master's thesis
  4. Passive millimeter wave imaging systems detect significant control terminal design and software development
  5. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  6. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  7. The Research and Design of Embedded Graphic Remote Monitor Terminal
    DengBoWen ·Harbin Engineering University ·2013 ·Master's thesis
  8. Design of Security Surveillance System Based on Intelligent Video Analysis
  9. Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
    ZhangYanYan ·Dalian Polytechnic University ·2011 ·Master's thesis
  10. The Design and Implementation of Integrated Data Acquisiton Instrument Hardware Platform for Gas Station
  11. The Research for the Engraving Machine Control System Based on ARM and FPGA
    FanJianFeng ·Xi'an University of Engineering ·2012 ·Master's thesis
  12. Research on the Embedded Control System of Fed-Batch Culture in the Production of Monosodium Glutamate
  13. Design and Implementation of Control System for Stabilized Platform Based on Embedded System
    SunXiLong ·Harbin Institute of Technology ·2012 ·Master's thesis
  14. Research on the Digital Controller and PID Parameter Tuning of the Proportional Valve
    ZhangZuoZuo ·Zhejiang University ·2014 ·Master's thesis
  15. Study on the Control System of Lower Limbs Rehabilitative and Fitness Robot
    YangKe ·Hefei University of Technology ·2013 ·Master's thesis
  16. The Research of Embedded Web Sensor Node
    HeShuangWang ·Hebei University of Technology ·2012 ·Master's thesis
  17. Research and Realization of Embedded Wireless Sensor Networks
    ZhangJiPing ·Dalian Polytechnic University ·2013 ·Master's thesis
  18. Human-Computer Interaction Technology Research of Gene Amplification Based on Arm
    LiuJun ·Qingdao Technological University ·2013 ·Master's thesis
  19. The Research of Embedded Image Processing Technology Based on ARM
    WangXueBin ·Hebei University of Technology ·2013 ·Master's thesis
  20. Study on the Bubble Image Processing System Based on ARM
    LiuXiaoWen ·Tianjin University ·2012 ·Master's thesis