Font Size: a A A

Research On Development Technology Of Embedde Linux Device Driver

Posted on:2012-12-01Degree:MasterType:Thesis
Country:ChinaCandidate:D C LiuFull Text:PDF
GTID:2218330338462978Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
The numerous categories of embedded device requires that different embedded devices must have their own drivers. The development of device driver programs is an important part in the embedded system development. Embedded Linux is now one of the mainstream embedded operating system.It has the important practical value to study embedded Linux device drivers development technology.It is difficult to propose one suitable framework of developing driver for all devices as there are the different interfaces for different devices. This thesis focuses on the techniques of developing embedded Linux SPI device driver and V4L2-based video driver to explore the general development method.This thesis first studies the technologies and methods related to Linux device driver development, analyses the modular technology, the implementation of the interrupt function, the key data structures of device drivers and the Linux 2.6 device model. Then it proposes a framework of device driver development. The development methods of two types of device driver are studied in detail.In the fisrt part the Linux SPI driver development technology is researched. The architecture of Linux SPI driver includes hardware abstraction layer, platform dependent layer and user interface layer. First it analyzes the use of structures and interface functions provided by hardware abstraction layer. Then it summarizes the development process of SPI driver of platform dependent layer by analyzing the source code of DM355 SPI driver. Finally, a general development method of Linux SPI device driver is proposed. Then it designs and implements the DM355 SPI protocol driver, achieving one-way SPI communication between DM355 and DM6437.In the second part the V4L2-based video driver development technology is studied. First it studies the API, data structures, driver framework and the video data buffer memory management of V4L2.Then a general development method of V4L2-based video driver is proposed, according to the characteristics of the camera and it's controller. The VPFE driver based on V4L2 is designed and implemented to realize the image acquisition from Hitachi camera(DI-SC110).
Keywords/Search Tags:Linux, device driver, SPI, V4L2, DM355
PDF Full Text Request
Related items