Research and Implementation of a Linux-based network storage disk
- Author
- ZengGuo
- Advisor
- LuoLei
- School
- University of Electronic Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP393.05 Network equipment
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 198
- Citations
- 1
Abstract
With the development of information technology and the post-PC era , embedded products to become one of the important needs of today 's computer industry , the huge embedded applications put forward higher requirements of embedded devices . Require handheld terminal in the field of handheld terminal , in order to support applications such as video playback , and a host of data communications , video files downloaded from the host . It is in this context , the proposed handheld terminals , USB mass storage , so it is easy for data communications via USB with a PC . Firstly, a detailed analysis of the USB mass storage device class specification (Universal Serial Bus Mass Storage Class Specification) and its related agreements transplant uClinux based evaluation board S3C4510B processor , and preparation of related drive to achieve a USB storage disk , and finally USB storage disk , network storage , remote network can read and write to the USB storage disk . USB storage disk research to achieve compliance with the requirements of the USB1.1 specification and USB Mass Storage protocol , connected via USB with any compatible host for this specification , the host will be able to put the USB storage disk as local disk access . The subject of network storage function means that users can network USB storage disk read and write , the user does not need to carry the storage disk will be able to access files on a remote operation .
Table of contents
Summary 4-5
ABSTRACT 5-9
Chapter Introduction 9-13
1.1 research background
1.2 the research profile 9-10
1.3 topics sense 10-11
1.4 research purpose and content of 11
1.5 article organization 11-13
USB the bus overview of 13-20
2.1 the USB buses Overview 13-15
2.2 USB system composition analysis 15-16
2.2.1 USB host side composition and function analysis 15
2.2.2 USB device side and functional analysis 15-16
the 2.3 bus protocol 16-18
2.3.1 USB data stream classification 17-18
2.4 USB device enumeration process 18-19 <br / > 2.5 Chapter Summary 19-20
Chapter III USB mass storage device protocol the 20-31 3.1 device class definition
20
3.2 USB Mass Storage Class specification the 20-22 3.2.1 Transfer Protocol
20-21
3.2.2 command protocol 21
3.2.3 sub class code 21-22
3.2.4 protocol code 22
3.3 Bulk-Only Transport Protocol 22-30
3.3.1 features 23-24
3.3.2 standard descriptors are found; 24-25
3.3.3 command / data / status \the .4 \/> 4.1 device model the 31-32
4.2 command set Introduction 32-35
4.3 Chapter Summary 35-36
Chapter development platform Overview the the 36-46
5.1 hardware platform 36-41
5.1.1 S3C4510B processor 36-37
5.1.2 evaluation and development. plates Module Description the 37-38
5.1.3 system memory mapping the 38-41
5.2 software platform. uClinux system Introduction 41-45
5.2.1 the uClinux memory management the 5.2.2 process management 41-43
43
5.2.3 file management 43-44
5.2.4 uClinux directory structure the 44-45 5.3 Chapter Summary
45-46
Chapter 6 System Design and Implementation 46-76
6.1 writing MTD NAND FLASH drive 47-55
6.1.1 set the general-purpose I / O ports 47-49
6.1.2 hardware control the function 49
6.1.3 initial of the MTD the device 49-52
6.1.4 modify Makefile, and kernel configuration the 52-55
6.2 transplant uClinux-2.6 to of S3C4510B process 55-57 < br /> 6.2.1 build cross-compiler environment 55
6.2.2 kernel configuration and modify 55-57
6.3 transplantation USB Gadget driver 57-64
6.3.1 Gadget related data structures and Gadget API 58-60
6.3.2 settings the Gadget stored equipment 60-61
6.3.3 Registered gadget driver function 61-64
6.4 writing USB device controller driver 64-70
6.4.1 register the device to the system 64-65
6.4.2 the registration device driver to the system 65-66
6.4.3 Registration interrupt function 66-68
6.4.4 function S3C4510_udc_irq 68-70
6.5 a brief analysis of the SCSI command processing kernel threads the 70-71
6.6 network storage solution 71-75
6.6.1 FAT file system is a brief analysis of 72-74
6.6.2 mount USB storage disk 74
6.6.3 Set up an FTP server the 74-75 6.7 Chapter Summary
75-76
Chapter VII of the system to compile and test 76-88
7.1 compiled kernel and modules the 76-79 7.2 load modules
79-80
7.3 host of WindowsXP of USB storage disk read and write test 80-83
7.4 network storage solutions literacy tests the 83-86
7.5 test conclusions 86-87
7.6 Chapter Summary 87-88
Chapter VIII Conclusion 88-89
8.1 The main work and innovation 88
8.2 Improvements and Prospects 88-89
Acknowledgements to References 89-90
90-93
attack Shuo obtained during the research 93
Related dissertations
- Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
- Study and Realization of Web Service Gateway of Embedded Linux
- FPGA Implementation of USB Interface Based on UPLI Protocol
- Design and Implementation of Intelligence Residential Intrusion System Based on CAN Bus
- The Research and Application of Monocular Blind-guide System Based on uClinux and DSP
- Research on Electromagentic Leakage Emanations of USB Keyboard
- A Research and Design of the Secure Storaged USB Device Controller Based on FPGA
- Implementation of USB OHCI Host Stack Based on μC/OS-Ⅱ
- The design of USB2.0 device controller and C code verification
- Error Concealment Algorithms of H.264Standard Improvementation and Its DSP Implementation
- Design and Realization of VoIP Phone Terminal Based on BF531
- The Software Design and Implementation of Acousto-optic Signal Post-processing Based on uClinux Operating System
- Research and design of remote machine fault diagnosis and safety of vehicle terminal based on Embedded System
- Flight Control Integrated Test Facility Hardware System Design and Implementation
- The Reasearch and Application of NCUC-Bus and USB Conversion
- UClinux embedded video monitoring system in the application of
- The Design of the High-definition Media Player Based on ARM
- Storage USB2.0 interface test system design
- Improvement of real-time embedded linux
- Embedded Web server monitoring system in low voltage distribution technology research