Font Size: a A A

Research On Driver Component Of Embedded Linux System

Posted on:2011-08-04Degree:MasterType:Thesis
Country:ChinaCandidate:Y T HuaFull Text:PDF
GTID:2178330338488530Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Software reuse is an effective solution to avoid duplicated work in software development, software component technology is the primary means of software reuse, with the extensive use of embedded handheld devices, and the field of embedded component technology has also become a hot research at home and abroad. Linux system uses process-oriented C-language to develop and has a strong technical support from the open source community; it can be well positioned to meet the time and space requirements of embedded system. In Linux driver development, there can be found some code fragments with relatively higher reuse rate, this forms a starting point of this study.This subject, make use of the software component technology in embedded Linux system driver development, because the development of Linux device drivers uses process-oriented language, on that basis, this subject will study how to obtain a driver component,,model the driving components, describe the driver components and package the driver components. we abstract and extract the character device driver from Linux driver, then make analysis of the code framework to find those functional code segments with higher reuse rate, extract the driver components according to the different functions;this paper use the tree-model to make modeling of the driver component, define the entrance interface and call interface of driver component, meanwhile, give definition of the root driver component model, connection driver component model and leaf driver component model;considering Linux driver mainly uses C-language to develop, so this paper achieve the driver component description language which is similar to C Note, driver component description language primarily characterize the properties of drive components, describe the elements of driver component development language and the functional interface; on the basis of driver component model and driver component description language, the driver components can be assembled, this paper achieve driver component assembly algorithm combined with the actual Linux character device driver code structure; the Linux driver code template could be made through above steps, can provide its own driver module initialization and release as well as provides the interface for the application layer and the Linux kernel driver support. This method can also be applied to a similar drive in the Linux, such as block device drivers and network device drivers.Based on the support of the driver component theory, the subject achieves ESM (Embedded System Maker) system, which is the subsystem of SoftMaker in the embedded field. EMS's main functions are: making portable Linux kernel, inputting driver component, assembling driver components and making a portable u-boot and file system.
Keywords/Search Tags:Linux driver component, Driver component extraction, Driver component model, Driver component description language, Driver component composition
PDF Full Text Request
Related items