Font Size: a A A

Research And Design Of Drivers For PCI Graphic Card Based On Linux

Posted on:2006-07-06Degree:MasterType:Thesis
Country:ChinaCandidate:H W MaFull Text:PDF
GTID:2178360182469981Subject:Control theory and control engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of computer technology, computer controls more and more electronic devices. Almost all of the CPU and peripheral equipments offer PCI bus interface, because that PCI bus has been the most extensive and tne most universal bus standard in computer system. Therefore, the work is valuable on developing PCI device driver. Linux is popularly applied for it's speciality of free and open codes. The application based on Linux kernel in Embedded operater system is imperative for low cost. So, It's applied and universal to develop the device drivers for Linux. Video capture and proccess card based on DSP is the background of the thesis. After the PCI bus translation technique, control mechanism and configration technique is studied, we expatiate the driver specialty in Linux. Then, the PCI device drivers are developped respective for Linux. The operation of synchronization and mutex are considered fully to settle the question of resource share effectively. For the real time photo transmission of DSP video card, the plan of shared memory is designed, so the photo can be processed with the data is being transmitted and the transmission speed is rised highly. The industry control must be stable, it can be recovered on time when some fault is finded. The article discuss the watching code in the drivers which watch the running status of DSP and can initiate DSP if it run abnormally, so the system security is guaranteed. The entire design project adopts the three-layer program mode including kernel layer, API layer, and user application layer. The codes are unattached among the three layers, which make for clear program thought. The programs have good compatibility, sercurity and transplantability. We only modify the device driver when the hardware device is updated, but do not compile the whole sysytem. The design of universal device drivers can use for reference to this thesis. Many embedded device drivers can be modified with a few codes, even no codes to realize the code compatibility according to it. That improves the efficiency for analogous project. The own opinion how to keep the system stabilization is offered.
Keywords/Search Tags:PCI, Linux, DSP, Driver, embedded system, video card
PDF Full Text Request
Related items