other fields.The Linuxsystem has so many adventages such as the open source,versatile,stable
performance,so it becomes the first choice of the embedded systems.The wide types and
differentperformances of embedded devices add to the complexity of the design on the
drive.Therefore,the development of device driver holds an important position in theembedded
system design.This article describes the development and architecture of Linux,and
representsadvantages and disadvantages of Linux as an embedded system.In
practice,combiningS3C2440 processor and Mini2440 experimental platform,the embedded Linux
is portedand device drivers are developed.In the process of embedded Linux porting,firstlybuild
cross development environment based on embedded Linux system andexperimental platform,and
solve the problem of compatible versions among softwares.Secondly,generate the appropriate
system boot procedures by revising open-sourceUboot to complete the pre-order steps of Linux
system porting,which mainly solve dataporting problems in the process of NandFlash
starting.Finally,after Linux kernelcutting and transplantation,design USB devices,LCD devices
and network devicesbefore successful porting.This paper is structured into four parts:(1)The
developing status and structures of embedded Linux system in USB devices.(2)Introduce
hardware features of the USB circuit,LCD circuit,etc.(3)Develop embedded Linux.This includes
the process of cross-compile compilingenvironment,Uboot structure and porting process,Linux
kernel analysis and relatedcutting port,the production of yaffs root file system.(4)Describe driver
architecture and implementation process of the common device,including USB devices,LCD
devices and network devices.After the above work,this article not only offers a complete process
for embeddedLinux system design and device driver development,but also provides a reference
forother developers.Keywords:Embedded systems;Cross compiler;Uboot;Linux kernel porting;
兰州理工硕士论文
III 插图索引图
2.1 开发板电路结构...............................................................................................................7 图
2.2 结构框图..........................................................................................................................8 图
2.3 内存结构图.......................................................................................................................9 图
2.4 SDRAM 结构图..............................................................................................................10 图
2.5 NandFlash 电路图...........................................................................................................10 图
2.6 电源电路........................................................................................................................11 图
2.7 复位电路........................................................................................................................11 图
2.8 USB 电路图.....................................................................................................................12 图
2.9 LCD 电 路 图 .....................................................................................................................12 图
2.10 网络芯片图...................................................................................................................13 图
3.1 交叉编译图.....................................................................................................................15 图
3.2 调试原理图.....................................................................................................................16 图
3.3 minicom 配置图..............................................................................................................17 图
3.4 硬件调试图.....................................................................................................................18 图
3.5 Uboot 结构图...................................................................................................................19 图
3.6 启动原理图......................................................................................................................20 图
3.7 Uboot 的烧写...................................................................................................................21 图
3.8 内核结构图.....................................................................................................................23 图
3.9 内 核 裁 剪 图 .....................................................................................................................26 图