Research and Design of Device Driver Based on Embedded Linux System
- Author
- ZhangLei
- Advisor
- JiangXiangDong
- School
- Southwest Jiaotong University
- Major
- Optical Engineering
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 174
- Citations
- 1
Abstract
Compared with other operation systems, the linux operation system’s safety and stability are excellent. And its program’s source is open, thus users can develop their own embedded operation system, which is based on the linux operation system. Whth those good qualities, the linux operation system can be used in many field. Wearable Computer’s operation system is just based on the linux operation system. Many devices are used on the computer, so it becomes very significant to study these device drivers. The drivers which run efficiently and steadily can exert high capability of the computer peripheral equipments, and they are also the important factors of the reliability of the whole system.Device driver plays an important role in linux kernel, it’s the entrance to the world of linux kernel. The research on embedded linux device driviers helps deeply understand the linux kernel code. Besides, the hardware can only work normally on condition that it has the matched device driver. The numerous categories of embedded device decides that different embedded device must have their own drivers, which makes the development of device driver programs have an important part in the work of embedded system development. Therefore the researchment on embedded linux device drivers has a great social and commercial value.Firstly, this paper introduces ARM device driver and the linux device driver. Secondly the paper analyzes two kinds of devices drivers (including character device, network device), and gives the common mesures and steps on those different kinds sevice driver programs’ development. Those steps almost compete all affairs in the device drivers related with kernel, including the device’s register and unregister, open, close and write, unitive interface of system transferring, the method of transferring data from kernel memory to the user memory, and etc. The paper also describes detailedly the use of memory and the visiting method of device. On the basis of above things, a complete driver program will be done only if the developer is acquainted with the hardware information like using method of peripheral device and data format.
Table of contents
Chinese Abstract 6-7
Abstract 7-10
Chapter 1 Introduction 10-13
1.1 Basic concepts of embedded systems 10
1.2 embedded Linux 10-11
1.3 significance 11-12
1.4 paper structure 12-13
first Chapter 2 Linux device drivers 13-18
2.1 device classification and characteristics 13
2.2 device driver concept 13-14
2.3 devices the basic structure of the driver 14
2.4 Linux device drivers relationship with the entire hardware and software system 14-15
2.5 driver development process 15-16 <br / > 2.6 hardware platforms 16-17
2.7 Summary 17-18
Chapter 3 embedded Linux system migration 18-25
3.1 development environment to build 18-19
3.2 U-boot transplant 19-21
3.2.1 U-boot introduction 19-20
3.2.2 U-boot transplant 20-21
3.3 Linux2.6 kernel porting 21-23
3.3.1 kernel configuration 21-22 <br / > 3.3.2 kernel configuration and compilation 22-23
3.4 JFFS2 root file system to build 23-24
3.5 Summary 24-25 <br / > Chapter 4 character device driver design 25-39
4.1 Linux character device driver structure 25-28
4.1.1 file_operations structure 25 - 27
4.1.2 file structure 27
4.1.3 inode structure 27-28
4.2 Linux character device driver development 28-30 < br /> 4.3 touch screen driver design 30-38
4.3.1 touch screen hardware description 30
4.3.2 touch screen driver implements 30-36 < br /> 4.3.3 touch screen calibration 36-38
4.4 Summary 38-39
Chapter 5 Linux network device driver design 39-50 <br / > 5.1 introduces embedded Linux network driver 39
5.2 embedded Linux network driver architecture and implementation principle 39-43
5.2.1 Linux network device driver architecture 39-40
5.2.2 net_device data structure 40-41
5.2.3 network driver for the preparation and implementation of principles 41-43 < br /> 5.3 the device driver modules compiled into the kernel 43-44
5.4 CS8900 network adapter device driver design 44-49
5.4.1 CS8900 NIC hardware description 44-45
5.4.2 CS8900 network card driver design analysis 45-46
5.4.3 specific implementations 46-49
5.5 chapter Summary 49-50
Conclusion 50-51
Thanks 51-52
References 52-55
papers published during the master's degree 55
Related dissertations
- Pioneer Network Device Driver Research and Implementation
- Design of CAN Bus Intelligent Node Based on Embedded Linux
- Feature Extraction and Classification Based on Supspace Analysing and Its Applications
- Applications and Research on Possibilistic Fuzzy Kernel Clustering Algorithm Based on Sample-feature Weighted
- The Research and Design of Embedded Linux Based on ST-E9500
- Transplantation of Embedded Linux Operating System Based on S3C6410
- Design and Implementation of Experiment Platform for Operating System Based on Linux
- Research of Embedded Linux Device Drivers Concurrency Control
- Design of Digital Visual Intercom System
- Design and Implementation about ALSA Audio Driver Based on the ARM Platform
- Digital Photo Frame Design Based on ARM Platform
- Effects of Low-light Stress on the Growth and Development of Two Different Genotypic Ear
- Research on GPS Vehicle Navigation System Based on ARM9
- Research and Implementation of Vechicle Terminal System Based on Embedded Linux
- Research on Data Processing Based on Gaussian Process
- Research on the Reaction Mechanism of Metalloporphyrin Colorimetric Sensor Array with VOCs and its Application on Detection of Fish Freshness
- On Weighted Hardy-Hilbert Type Inequality and Application in Probability
- Several Studies on Pullback in the2-category
- Some Studies on Some Classes of Semirings
- Standard Industrial Signal Acquisition System Based on ARM