Based on embedded linux device management research and the application of I2C driver
- Author
- HuHuiLan
- Advisor
- XieMei , JiangAnQuan
- School
- University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 120
- Citations
- 1
Abstract
With the rapid development of embedded technology , the use of embedded operating system has become very extensive , open-source Linux system , stability and free so that it has a broad application . Embedded Linux system hardware involved in a wide range of applications to make it a variety of Linux device drivers , has a strong practical . Many external devices are connected through the I2C bus interface processor , I2C has become a common , and a widely used standard . I2C driver in the embedded Linux kernel will be of great significance to contribute to a better understanding of the driver through the driver , but also the in-depth knowledge of the kernel . Firstly, the upper application from the underlying hardware to analyze the architecture of the embedded system , and highlights the file system involved in the realization of the principle , and the driver of the Linux system driver layer . Then , the design principles of the I2C driver detailed analysis of the final paper will contain modified I2C driver Linux ported to the development board , build a file system , and successfully prepared I2C applications . The successful running of the Linux system as well as the results of the application , the correctness of the entire system of hardware and software design . Realization of the system , and contribute to a better understanding of the embedded system architecture and design principles driver .
Table of contents
Summary 4-5
ABSTRACT 5-8
first chapter 8-13
1.1 research background and significance 8-9
1.2 research status 9-10
1.3 needs analysis 10-11
1.4 11-12 <br / 1.5 of this article the organization and structure of 12-13
Chapter II of this topic of hardware and software platforms 13-18
2.1 embedded Linux system architecture 13 - 16
2.1.1 embedded processor 13-15
2.1.2 embedded peripheral hardware 15
2.1.3 embedded operating system 15
2.1.4 device driver 15-16
2.1.5 embedded application software 16
2.2 This topic hardware environment 16
2.3 Linux system advantages 16-17
2.4 Chapter Summary 17-18
Chapter Linux device management research 18-34
3.1 Linux Device Drivers Overview 18-19
3.2 driver and kernel 19-20
3.3 Linux device driver program structure 20-28
3.3.1 The device number and the device entry point the 20-21
3.3.2 device driver key data structures 21-25
3.3.3 device driver of the basic functions 25-26
3.3.4 device driver needs to realize the function 26-27
3.3.5 device driver the modular programming 27-28
3.4 Device Manager file system 28-33
the 3.4.1 Vfs file system 29-31
3.4.2 Proc file system 31-32 < br /> 3.4.3 Devfs file system 32-33
3.4.4 Sysfs file system 33
3.5 Chapter Summary 33-34
first the I2C driver chapters Linux system analysis 34-40
4.1 the I2C buses Overview 34-35
I2C driver 4.2 Linux system hierarchy 35 -36
4.3 I2C driver data structure 36-39
4.4 Chapter Summary 39-40
Chapter I2C driver-based application design and achieve 40-58
5.1 overall design of the program 40-41
5.2 U-BOOT transplant 41-43
5.2.1 U-BOOT About 41-42
5.2.2 U-BOOT transplant the 42-43 5.3 Linux transplantation
43-48
5.3.1 Linux kernel 43-45
5.3.2 Linux transplantation 45-48
5.4 root file system produced 48-53
5.4.1 Busybox Introduction 49
the 5.4.2 root file system produced 49-53
5.5 Linux system I2C driver modify 53-55
5.5.1 M41t11 Introduction 53
5.5.2 driver interface to achieve 53-55
5.6 I2C application design 55-56
5.7 I2C applications run results 56 - 57
5.8 Chapter Summary 57-58
Chapter Summary and Outlook 58-59
thank the 59-60
References 60-62
Related dissertations
- ARM-based embedded data storage system
- Terminal design of fault diagnosis system of intelligent equipment under a cloud service environment
- Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
- Research and Realization of Embedded Wireless Sensor Networks
- Implementation of Windows File System Virtualization Based on Sandbox Technology
- Design and Implementation of Cross-platform Website Anti-tamper System Based on File Filter Driver
- Research on Multi-attribute-based File Organization Mechanism
- The Design and Implementation of Distributed File System Based on Linux
- The Linux Kernel Porting, Profiling Driven Development and Cryptographic Applications Based on CK810
- Research on the Malicious Codes Monitoring Technology Based on the File System
- Research Andapplication of FAT File System for Multimedia Storage
- Research on Storage System Experimental Datasets Construction Method
- The Design and Implementation of a De-duplication File System Based on Cloud Storage
- Design and Implementation of a PCM File System
- Research of Data Storage and Management on Huatu Online Library System Based on HDFS
- The Design and Implementation of File System Based on PaaS Cloud Storage Service
- The Design and Realization of a Distribute System to Store Lots of Small Files
- The Design of the Secure-private-cloud-storage-based File System’s Data Organization Model
- Design and Application of One-way High-speed Data Transmission System
- Research and Implementation of Chip Automatic Test Platform Based on FPGA