文档介绍:华中科技大学
硕士学位论文
基于ARM和μClinux的嵌入式网关设计
姓名:胡海鹏
申请学位级别:硕士
专业:检测技术与自动化装置
指导教师:魏丰
20060509
摘要
随着网络技术和微处理器技术的发展,网络和信息家电已越来越多地出现在人
们的生活之中,这一切使得家电的网络化的趋势已不可逆转。而为了使这一趋势得
以实现,连接家电总线网络和 网络的嵌入式网关是其关键。本文介绍的基于
ARM 和μClinux 的嵌入式网关就是对这一趋势所做出的解决方案。
本系统分别以μClinux 嵌入式操作系统和 ARM 核 CPU S3C44B0X 为软、硬件基
础。详细介绍了以 S3C44B0X 为核心的硬件系统设计方案,包括 S3C44B0X 微处理
器功能介绍、各个功能模块设计、芯片器件选型等。
分析了μClinux 的特点和运行机制,实现了μClinux 操作系统在系统硬件平台上
的移植。研究了μClinux 系统下的文件系统,采用 Romfs 作为本系统的根文件系统,
同时在其中加入 Ramdisk 文件系统以便于程序暂存的需要。并着重对μClinux 设备驱
动程序进行了讨论,完成了μClinux 下的 CAN 总线节点设备驱动程序的设计。为了
使得用户可以很方便地通过浏览器访问嵌入式网关,本系统在网关内嵌入了 Web 服
务器功能,详细介绍了 Boa Web 服务器特点和实现过程以及 CGI 程序编写流程。
经过对嵌入式网关系统的调试,本系统完全能够满足家电网络的要求,达到了
预期的设计目标。
关键词:嵌入式网关; μClinux 操作系统; ARM; 嵌入式 WEB 服务器; μClinux
设备驱动程序
I
Abstract
With the development of work and microprocessor technology, work and
information appliance have more and more entered into the people’s life. And these make
the trend which includes household appliances’ networking e inrreversible. To
plish the trend, the embedded gateway which connect the household appliances’ bus
network and work is the key. And the embedded gateway base on ARM and μ
Clinux which introduced in this thesis just is the solution we design.
This system makes the μClinux embedded operation system as the basis of the
software and the microprocessor S3C44B0X as the basis of the thesis
detailed introduces the design of hardware system base on S3C44B0X, including the
function of the S3C44B0X, each design of the function module and chip selection.
After Analyzing the characteristics and operating mechanism of the μClinux, I
implement the porting of the μClinux to the system hardware studying
the filesystems under the μClinux, the thesis decide to adopt the Romfs filesystem as the
root filesystem in the Clinux operation system and add the ramdisk filesystem in it for the
requirement of the temporary the thesis also emphas