摘要:嵌入式系统是以应用为中心,以计算机技术为基础,并且软硬件均可裁剪,适用于应用系统对功能、可靠性、成本、体积、功耗有严格要求的专用计算机系统。嵌入式系统的应用日益广泛,可以说无所不在。Linux操作系统由于开放源代码、内核功能强大、尺寸较小等原因,在嵌入式系统中得到了广泛的应用。要把Linux内核应用到一个特定的嵌入式系统首要的工作就是系统移植和驱动开发。
论文针对S3C2410主控芯片的嵌入式开发平台,给出了内核移植的具体方法和USB人机接口设备驱动的原理及实现。论文的主要主要研究工作包括:
①在对目标平台软硬件开发环境、Linux内核以及Bootloader进行介绍的基础上,给出了针对目标平台配置和编译Linux内核并移植到目标平台的方法。
②对Linux内核的设备驱动模型和驱动架构进行了深入分析,研究了USB协议,内容包括USB的基本通讯协议、USB接口的特性、USB总线传输的协议和USB设备驱动程序开发的知识。
③给出了Linux下USB骨架驱动程序。
关键词:嵌入式系统; Linux; USB; 驱动程序
Abstract:An embedded system which aims at app1icaiton field basing on computer technology is a special system and it adapts to application System Whose function,credibility,cost,volume and consume have strict standards. Both of its software and hardware are cuttable. The applications of embedded systems are becoming increasingly wide which can be said everywhere. Due to open source, powerful kernel, smaller size and other reasons, Linux operation system is widely used in the embedded system. The first work is to port kernel and code driver when applying Linux kernel to a special embeded platform.
The paper which aims at S3C2410 embeded platform gives the method of transplanting Linux kernel and implements USB human interface device driver. The paper is divided into three parts:
①The method which aims at the target platform includes configuring and compiling Linux kernel and Bootloader is put forward on the basis of introducing embeded platform’s software and hardware development environment.
②Research on the Linux kernel device driver model and architecture deeply and studies USB protocol and the knowledge of some of the basic USB protocol,USB interface features,USB bus transfer agreement and the USB device driver development.
③The paper has put forward the specific methods of the process of USB mouse driver program design and debugging under theS3C2410 embeded platform.
Key words: Embeded System; Linux; USB; Device Driver