Research and development based on S3C2440A and embedded Linux storage device driver
- Author
- WangLiWei
- Advisor
- YangHouJun
- School
- Qingdao University
- Major
- Applied Computer Technology
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 427
- Citations
- 14
Abstract
As the development of information technology and the spreading of digital products, embedded system and Linux OS are becoming two of the hottest focuses in IT industry. Furthermore,driver programs play a vital role in Linux kernel,so the analysis and development of driver programs also are important.This thesis introduces the architecture of embedded Linux system,and expounds the advantages about Linux OS as embedded system.Based on S3C2440A processor,the thesis uses QQ2440 which is a popular embedded board as the developing platform,and builds the proper cross compile environment.Combine with theory and transplanting experience of VIVI and Linux,the article studies and analyzes the design principle and mechanism of VIVI and Linux on QQ2440 developing platform,and then,develop mass storage device driver programs based on the Linux kernel.The article includes 4 parts:(1) basic theory:includes the basic information and developing instance of embedded system and Linux operating system;(2) hardware:simply analyzes the configuration and function of QQ2440 board and S3C2440 processor,and introduces functional signals which relate to mass storage devices;(3) transplant boofloader and VIVI:describe the startup course of Bootloader, analyzes the structure of VIVI and Linux kernel,eventually,completes the transplant of VIVI and Linux on QQ440 board;(4) transplant root filesystem:summarize the type and build method of root filesystem,and creats Yaffs root filesystem based on Busybox;(5) development of driver programs:studies and probes into the structure about Linux device driver,and summarizes the designing steps,mainly completes the USB Host driver program and SD card driver program,and then analyzes and resolves the instable situation about USB.
Table of contents
Abstract 2-3
Abstract 3-7
Chapter Introduction 7-11
1.1 Embedded Systems Overview 7-9
1.1.1 embedded system-defined 7
the
characteristics of 1.1.2 embedded systems 7-8
the 1.1.3 embedded systems development 8-9
1.2 Linux operating system overview 9
1.2.1 Linux OS Introduction 9
1.2.2 Linux as an embedded operating system advantages
1.3 research the meaning and content of 9-11
second chapter of the embedded system development environment to build 11-19
2.1 hardware development platform 11-16
2.1.1 embedded microprocessor S3C2440A 12-15
2.1.2 ARM architecture 15-16
2.2 software development environment to build 16-19
2.2.1 embedded Linux system 16-17
2.2.2 to establish a cross-development environment 17-19
Chapter embedded Linux boot system 19-28
3.1 the Bootloader Introduction 19-21
3.1.1 Bootloader concept 19-20
3.1.2 Bootloader structure and start the process 20-21
3.1.3 Common Bootloader 21
3.2 VIVI transplant 21-28
3.2.1 VIVI structure analysis 21-23
3.2.2 VIVI transplant 23-26
the
configuration 3.2.3 VIVI process of compiling, linking 26-28
Chapter ARM platform based on the Linux kernel porting 28-44
4.1 kernel porting basics 28-30
4.1.1 Linux kernel transplant support 28-29
4.1.2 Linux kernel structure analysis 29-30
4.2 create a development environment 30
4.3 QQ2440 development board based Linux kernel porting 30-36
the 4.3.1 development board hardware parameters configuration 31
4.3.2 MTD support 31-36
4.4 build root file system 36-42
the 4.4.1 root file system Profile 36
4.4.2 embedded file system type of 36-37
4.4.3 Busybox About 37-38
4.4.4 Busybox production YAFFS use the 38-42
4.5 kernel configuration and compilation 42-44
Linux device driver development 44-49
5.1 device driver Overview 44-45
5.1.1 device driver functionality 44
5.1.2 device type classification 44-45
5.1.3 device drivers and kernel 45
5.2 device driver structure 45-48
5.2.1 device number 45-46
5.2.2 key data structure 46-48
5.3 device driver design and implementation process 48-49
Chapter VI USB driver development 49-60
6.1 USB driver foundation 49-50
6.1.1 USB bus Overview 49
6.1.2 USB bus topology 49-50
6.1.3 USB bus data transfer mode 50
6.2 under Linux USB device driver 50-53
6.2.1 USB host driver structure 50-51
6.2.2 USB device driver core data structure 51-53
6.3 U disk drive to achieve 53-58
6.3.1 configure and initialize the device parameters 53-54
6.3.2 U disk drive detection subroutine 54-55
6.3.3 U disk drive module registration and cancellation 55-56
6.3.4 USB driver kernel configuration 56-58
6.4 USB Host instability causes and solutions 58-60
Chapter VII of the SD card driver development 60-67
7.1 SD memory card info 60
7.2 SD card interface circuit 60-61
7.3 SD card operation 61-63
7.3.1 SD card support bus protocol 61
7.3.2 SD card operation mode 61-62
7.3.3 SD card register 62-63
7.4 SD card driver program to achieve 63-65
7.5 SD card driver configuration 65-67
summarize 67-68
the
References 68-70
studying for a degree during the research 70-71
Acknowledgements 71-73
Related dissertations
- Research and design of intelligent 3D pulse peak field strength tester
- The Designand Realization of Embedded USB Mass Storage System
- Digital Photo Frame Design Based on ARM Platform
- Research on GPS Vehicle Navigation System Based on ARM9
- Design and Research of Fatigue Driving Monitoring System Based on ARM and Linux
- The Designand Implement of Fingerprint Access Controlsystem Based on ARM and Linux
- Design and Implementation of Inteligent Tracing Car Based on ARM
- The Study and Design of Vehicle Traveling Data Recorder Based on Embedded System
- The Design and Research of Two-dimensional Barcode Recognition Embedded System
- Design and Implementation of Driver Module Based on Android System
- Research and Application of USB Driver Based on S3C2440A Embedded Linux System
- SD Memory Research and Implementation of the program
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Research and Design of Embedded Building Security System
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Design and Application of the Distributed Monitoring System Based on Embedded Web