文档介绍:重庆大学
硕士学位论文
嵌入式linux操作系统的驱动程序设计与实现
姓名:焦学锋
申请学位级别:硕士
专业:计算机软件与理论
指导教师:雷跃明
20051101
重庆大学硕士学位论文中文摘要
摘要
本课题来源于作者在 TCL 移动通信有限公司西部研发中心实习时参与的 linux
智能手机项目。
目前嵌入式系统已发展成为以高速处理器和嵌入式操作系统为核心的软硬件
综合系统。本课题采用的 PXA27x 处理器是 Intel 公司基于 XScale 架构的的当前最
新的面向多媒体应用的手持设备处理器,而在操作系统方面嵌入式 linux 的开发和
研究是目前的一个热点。
本课题的重点是基于 PXA27x 处理器和嵌入式 linux 操作系统的设备驱动程序
的开发。本文设计并实现了显示驱动、键盘驱动、触摸屏驱动和音频驱动的程序。
其中显示驱动支持 320×240 分辨率、16 位色彩深度的 TFT 型液晶显示屏,键盘
驱动支持软件扫描的、30 键的矩阵键盘,触摸屏驱动支持 I²C 总线接口的四线电
阻式触摸屏,音频驱动支持 I²S 数据接口和 I²C 控制接口的、驱动扬声器、麦克风
和耳机的音频 Codec。
本文还阐述了嵌入式 linux 内核的剪裁和针对 PXA27x 处理器的移植,主机开
发工具和交叉工具链的建立,主机和目标机的系统结构中 TFTP 服务、DHCP 服务、
NFS 服务和 串行终端模拟程序的配置等。
关键词:PXA27x 处理器,嵌入式 linux, 驱动程序开发
I
重庆大学硕士学位论文英文摘要
ABSTRACT
The origin of this paper is the linux smartphone project I have been participating
after I began to practice in Western Research and Development Center of TCL Mobile
Communication Limited Corporation.
Now embedded system has been turned into software and hardware integrative
system with high-speed processor and embedded operating system as core. PXA27x
processor adopted in this paper is the newest handheld and handset processor based on
XScale microarchitecture, and on the other hand, embedded linux is a hotspot of
development and research currently.
This paper lays emphases on the development of device drivers of embedded
system based on Intel PXA27x processor and embedded linux, and display driver,
keypad driver, touch screen driver and audio driver are designed and implemented. In
detail, display driver supports 320×240pixels resolution, 16-bit color depth, TFT style
liquid crystal display; keypad driver supports software-scan, thirty-key matrix keypad;
touch screen driver supports I²C bus interfacing, four-wire resistance touch screen;
audio driver supports I²S data interfacing, I²C control interfacing, audio Codec with
speaker, microphone and jack.
This paper expounds cutting embedded linux kernel and porting to PXA27x
processor, buildi