Font Size: a A A

Research On The Method Of SATA Hard Disk Controller SIL3114Driver Transplantation Based On μclinux Platform

Posted on:2013-07-22Degree:MasterType:Thesis
Country:ChinaCandidate:Y L LuFull Text:PDF
GTID:2248330374479287Subject:Physical Electronics
Abstract/Summary:PDF Full Text Request
The task is a part of Embedded Digital Video Recorder (DVR) project, accordingto the requirement of the project, the driver code of SATA hard disk controllerSIL3114in standard μClinux2.4.27, which will be called source kernel hereinafter,should be transplanted into μClinux2.4.17, calling target kernel hereinafter. Accordingto the requirement of development for the task, the embedded development platformhas been built and configured. After the characteristic features between staticcompilation and dynamic compilation have been analyzed, the driver code of SIL3114should be compiled dynamically at first, and then compiled into the target kernel. Atlast, the driver code of SIL3114is successfully transplanted between different editionsof μClinux operating system.Windows and Linux developing environment have been configured on theembedded development platform selected, cross-compile environment has beenestablished and tested. The configuration of Windows developing platform includesFTP client and software of DNW and Source Insight. While in the process ofconfiguring Linux developing environment, network application、VMware Tools、shared folder、FTP server、root user login and full screen display are configured.According to the specific inquiries of embedded DVR project, and combiningcompilation principle of kernel, the flow chart of the transplantation of SIL3114driver code between different editions of μClinux has been designed. By the flowchart, there are three steps for the transplantation of SIL3114driver code: firstly,SIL3114driver code will be dynamically compiled in the environment of sourcekernel; then, SIL3114driver code will be dynamically compiled in the environment oftarget kernel; at last, in accordance with statical compiling principle, SIL3114drivercode will be statically compiled into target kernel, and finally binary kernelexecutable file linux.bin will be generated successfully. During the process of testing, at fist, starting code ARMboot has been analysedto make sure how to support SATA hard disk controller. Then, H-JTAG is used towrite ARMboot、binary executable file of target kernel and file system into Flash,aiming to theory analysis and testing.The method above-mentioned is adopted to transplant SATA hard disk controllerSIL3114driver of μClinux2.4.27kernel into μClinux2.4.17to realize drivertransplantation. It can obviously raise efficiency and shortening development cycle.The method of driver transplantation introduced in this article can also provide aneffective way for the developers who are not familiar with rules of kernelprogramming and principle of hardware.
Keywords/Search Tags:Driver Transplantation, Compiling, Testing, μClinux, SATA Hard DiskController SIL3114, S3C2510, DVR
PDF Full Text Request
Related items