Linux Kernel Porting Based on ARM9 and USB Device Driver Development

Author
ZhangXueYong
Advisor
LiYan
School
Harbin University of Science and Technology
Major
Applied Computer Technology
Classification
TP316.81
Degree
Master's thesis
Year
2010
Downloads
302
Citations
1

Request the full text

Abstract

Linux operating system for its free , open source , high efficiency , widely used in embedded systems . ARM processor dominant in the field of embedded Linux kernel for ARM9 development platform kernel porting and driver development . The rapid development of USB is it to replace the traditional external serial and parallel interface to become the main channel for the transfer of data between the external device and PC . Thus the development of the Linux kernel porting and USB driver on ARM9 platform to become a research hotspot . This thesis research in all aspects of the USB bus protocol , including hierarchical star topology , device configuration , data flow model , the data transmission mode , and various types of packages and USB power supply, electrical characteristics for the USB driver the preparation and lay a solid theoretical foundation . Secondly , according to the needs of the embedded Linux development platform , configure the appropriate development tools , rational tailoring of the Linux kernel , select Bootloader and root file system , transplant them to the ARM9 development platform to build a good development environment . Next, the device driver in the Linux environment , understanding of device models and device driver development framework as well as concurrency , memory and interrupt mechanism , which are familiar with the character devices , block devices , and network equipment to drive the development of the general method . Research based on the USB bus protocol implementations in the Linux kernel , the main function of the USB device driver development structure URB and development process . ARM9 platform , a serial USB device driver development , the experimental verification and get the desired results . Linux kernel underlying mechanisms and USB driver development to have a deeper understanding of the significance to the future of Linux embedded system development .

Table of contents

Abstract 5-6 Abstract 6-11 Chapter 1 Introduction 11-16 the 1.1 research background and significance 11-12 1.2 research status 12-15 1.2.1 Linux operating system, applications and research status 12-13 1.2.2 ARM application and research status 13-14 the Study and Application of 1.2.3 USB bus 14-15 1.3 subject sources and main contents 15-16 Chapter 2 USB bus protocol 16-30 2.1 USB bus topology 16-17 2.2 USB device configuration 17-20 2.2.1 Device Description Fu 18 2.2.2 configuration description breaks 18-19 2.2.3 interface descriptor 19 2.2.4 endpoint descriptor 19-20 2.3 USB data flow model 20-22 the 2.3.1 USB macro data flow model 20-21 the 2.3.2 micro USB data flow model 21-22 2.4 USB packets 22-24 2.4.1 USB packet data domain 22-23 2.4.2 USB packet type 23-24 2.5 USB data transfer 24-28 2.5.1 Control Transmission 24-25 2.5.2 bulk transfer 25-27 2.5.3 interrupt transmission 27 2.5.4 synchronous transmission 27-28 2.6 USB electrical, mechanical characteristics and power 28-29 2.6.1 USB electrical, mechanical properties 28-29 2.6.2 USB power 29 2.7 This chapter Summary 29-30 Chapter 3 target platform and development environment to build 30-38 3.1 S3C2410 target platform 30 3.2 build embedded Linux development environment 30-32 The the 3.2.1 embedded cross compiler environment structures 30-31 the the 3.2.2 host cross-development environment configuration 31-32 3.3 Linux kernel porting 32-34 3.3.1 Linux kernel 32-33 3.3.2 Linux kernel configuration and compile 33-34 3.4 Embedded Bootloader technology 34-37 3.4.1 Bootloader brief 34-35 3.4.2 Bootloader structural framework 35-36 3.4.3 compiler Bootloader 36-37 3.5 root file system 37 3.6 Configuring the target platform 37 3.7 This chapter Summary 37-38 Chapter 4 under Linux USB device driver 38-49 4.1 Linux device model 38-40 4.1.1 kobject, kset and subsystem 38-39 4.1.2 bus, devices and drivers 39-40 4.2 Linux device driver framework 40-43 4.2.1 Linux device classification 41 4.2.2 concurrency, memory and interrupt mechanisms 41-43 4.3 Linux USB drive level 43-44 4.4 USB master controller driver 44-45 4.5 USB Request Block (URB) 45-47 4.5.1 the URB structure of body 45-46 the 4.5.2 URB life cycle 46-47 4.6 USB device driver structure 47-48 4.7 This chapter Summary 48-49 Chapter 5 USB serial device driver implementation 49-61 5.1 serial device drivers written 49-58 5.1.1 module loading and unloading function 49-50 5.1.2 to detect and disconnect function 50-52 5.1.3 serial device drivers various operating to achieve 52-58 5.2 Experimental verification 58-60 5.3 This chapter Summary 60-61 concluded 61-62 the References 62-65 studying for a master's degree during the published papers 65-66 Acknowledgements 66

Related dissertations

  1. The Designand Realization of Embedded USB Mass Storage System
    WangMeng ·Hebei University of Technology ·2013 ·Master's thesis
  2. Digital Photo Frame Design Based on ARM Platform
    FanMin ·University of North ·2014 ·Master's thesis
  3. The Designand Implement of Fingerprint Access Controlsystem Based on ARM and Linux
    ShiWeiMing ·Zhejiang University of Technology ·2012 ·Master's thesis
  4. Design and Implementation of Driver Module Based on Android System
    WeiDeQiong ·Harbin Institute of Technology ·2013 ·Master's thesis
  5. The Research of Data Communication System Based on USB
    YuXiaoLong ·Beijing Jiaotong University ·2008 ·Master's thesis
  6. The Software Development on Interface System of Imaging Tracker Capability Evaluation System
  7. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  8. Research and Design of Embedded Building Security System
    YangChen ·Liaoning Normal University ·2012 ·Master's thesis
  9. The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
  10. The Research of Household Remote Monitoring Based on Embedded Web Server
  11. Research and Design of Intelligent Video Surveillance System Based on ARM
  12. Design of Video Monitoring System Based on the Embedded
  13. The Design of Embedded Network Video Surveillance System Based on ARM9
  14. Design and Application of the Distributed Monitoring System Based on Embedded Web
  15. Study on Embedded Data Acquisition System Application
    ZhangDong ·Dalian Polytechnic University ·2009 ·Master's thesis
  16. Embedded Software Design of AC Field Detection Instrument Based on ARM
  17. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  18. Usb Without Invasive Data Collection Technology Research
  19. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  20. Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface