Study and Development of Embedded Linux Device Driver
- Author
- YangBinBin
- Advisor
- ZhangXueYing
- School
- Taiyuan University of Technology
- Major
- Signal and Information Processing
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 138
- Citations
- 1
Abstract
Embedded system development that adopting Linux as embedded operating system mainly includes three parts: boot loader&Linux kernel transplantation, Linux device driver development and user application development. The user applications access the physical device by their corresponding device driver. So, the device driver plays an important role in embedded system development.The emphasis of this paper is the development of embedded Linux device driver. The hardware platform is embedded speech recognition system that based on a dual-core processor -- OMAP5912.Matrix keypad and touch screen are absolutely necessarily peripheral equipments in human-computer interaction. And they all belong to the input device. The paper adopts the Linux input subsystem to develop their device drivers. Compared with the traditional method, the development efficiency has greatly enhanced. Follow that, matrix keypad device driver and touch screen device driver are dynamically debugged as modules. That reduced the difficulty of debugging. Lastly, matrix keypad device driver and touch screen device driver are tested. They work efficiently and stably. It proves that they basically achieved the requirements of embedded speech recognition system.USB device driver and Framebuffer device driver are already existed drivers in Linux kernel. In the beginning, the author transplanted them to the embedded speech recognition system. However, they did not work well. By modifying the source codes of Linux kernel, the USB mouse and USB storage device can work well. And Framebuffer device driver also works well.Finally, the paper introduces how to make a root file system by using Busybox. And the author transplanted an embedded Web server and an mp3 player, and implemented remote accessing the development board by the embedded Web server.
Table of contents
Abstract 2-3
ABSTRACT 3-8
first chapter 8-15
the
research 1.1 Background 8-9
1.2 hardware and software platforms Overview 9-12
1.2.1 Embedded Linux Overview 9-10
1.2.2 OMAP hardware platform Overview 10-12
1.3 development status at home and abroad 12-13
1.4 research contents and chapter arrangement 13-15
embedded Linux device driver design Overview 15-23
2.1 device driver characteristics and classification 15-16
2.2 device driver hierarchy and the main features 16-17
2.3 device driver working mechanism 17-19
2.4 embedded Linux interrupt mechanism 19-21
2.5 embedded Linux input subsystem 21-23
Chapter matrix keyboard device driver design 23-34
the 3.1 matrix keyboard design principle 23-25
3.2 matrix keyboard driver detailed design 25-29
3.2.1 matrix keyboard driver data structures 25-26
3.2.2 matrix keyboard driver design process 26-29
the 3.3 matrix keyboard driver compile and test 29-34
Chapter touchscreen device driver design 34-49
4.1 touch screen Overview 34-35
4.2 resistive touch screen works 35-36
4.3 ADS7846, and μWire bus protocol outlined 36-40
4.3.1 ADS7846 Overview 36-38
the bus protocol
4.3.2 μWire Overview 38-40
4.4 touch screen driver workflow 40-41
4.5 touch screen driver detailed design 41-44
4.5.1 touch screen driver data structures 41-42
4.5.2 detection and removal functions 42-43
4.5.3 subroutine and the timer interrupt handler processing subroutine 43-44
4.6 touch screen calibration 44-47
4.6.1 touch screen calibration principle 44-46
4.6.2 middleware TSLIB introduction 46
the 4.6.3 TSLIB compilation and execution process 46-47
4.7 touch screen test 47-49
Chapter USB Framebuffer research and transplantation of device drivers 49-68
5.1 USB device driver specification Introduction 49-51
5.1.1 USB Electrical Characteristics 49-50
5.1.2 USB physical topology 50
5.1.3 USB communication protocol 50-51
5.2 embedded systems, the use of a USB 51-55
5.2.1 Embedded Linux USB driver architecture 52-53
5.2.2 OMAP OHCI host controller driver 53-55
5.3 Linux kernel on the USB configuration options 55-59
5.4 USB mouse and storage devices test 59-60
5.5 Framebuffer About 60-61
5.6 Linux in Framebuffer drive data structures 61-65
parameter settings 5.7 Framebuffer 65-67
5.8 user space access Framebuffer devices 67-68
Chapter embedded Linux root file system production and application of transplantation Carbon dioxide is an important greenhouse gas. Carbon dioxide reduction is an important measure to mitigate the greenhouse effect and it becomes a hotspot of
6.1 embedded Linux root file system of the production process 68-71
6.1.1 to create the necessary directory structure 68
6.1.2 compile and install Busybox 68-70
6.1.3 to create the necessary start-up files 70-71
the
the 6.2 embedded Web server Boa Introduction 71-72
6.3 Embedded Web Server Boa transplant 72-73
6.4 Embedded Web Server Boa test 73-74
6.5 Madplay the transplant 74-76
Chapter VII Summary and Outlook 76-77
the
References 77-80
Acknowledgements 80-81
the
pursuing graduate during the published papers 81
Related dissertations
- Study on Data Acquisition and LCD Display System of5kW Photovoltaic Inverter System
- Communication Controller Design Base on Embedded Linux System
- Design and Implementation of Device Software Driver for Epson-based Large-format Image Capturing System
- Research and Implementation of Multimedia Terminal Based on Embedded Linux
- Embroidery based on embedded Linux platform software design electrical control systems
- Embedded Linux kernel Research
- Design of In-vehicle Multimedia Information System
- The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
- Design and Implementation of Network Video Monitoring and Alarm System Based on Embedded Linux
- Design of Security Surveillance System Based on Intelligent Video Analysis
- Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision
- Research and Design of Harmonic Detecting Device Based on ARM9
- Research on the Embedded Control System of Fed-Batch Culture in the Production of Monosodium Glutamate
- The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
- Development of Small Smart Controller Software Technology Based on ARM9
- Design of the Paper Quality Control System Based on Industrial Ethernet
- The Research of Embeded Intelligent Household Based on ARM
- Research on Intelligent Home Furnishing system based on Android
- Research and Development of Intelligent Board Based on Multi-sensor Fusion
- Design and Implementaiton of a Human-computer Interaction System Train Monitoirng Device