The Design of IDE Disk Driver Based on ARM9 PLATFORM
- Author
- ChenQian
- Advisor
- ZuoGuoKu
- School
- Dalian Maritime University
- Major
- Applied Computer Technology
- Classification
- TP368.12 Microprocessor
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 210
- Citations
- 1
Abstract
This topic is implemented in embedded Linux IDE hard drive , IDE hard disk management . On this basis , a simple FAT16 file system to meet the general requirements of read and write operations ; take full advantage of the Linux Resource completed the transplant ARM9 embedded platform IDE drive , combined with the actual needs of the FAT16 file system load Linux system , complete the following work : 1 . hardware platform operation . Including the realization of communication between S3C2410 a brief description and the choice of hardware platform , the establishment of the host software environment , the host and target machine and the target machine VIVI, kernel and file system compiler and programming , as well as the executable file downloaded to the target machine . Perfect hardware platform . According to the schematic build a hardware platform, connecting lines, analysis and processing due to voltage mismatch resulting from the problems encountered in the experiment , including the specific choice of the chip and pin connection, designed specifically isolate circuit, improved anti bus interference. Underlying the preparation of the IDE drive . Comprehensive analysis comparing the IDE hard disk and ARM board interface defined in the ARM board register address , write the underlying access control function of the hard disk 's read / write control , interface level call . Design FAT16 file system . According to the system , simplified FAT16 file system was designed and implemented . Including master boot settings , the FAT table operation the FDT table operation and simplified file / directory operations , write a flow chart of some important operations . 5 the transplantation under Linux IDE driver , describes the detailed process . 6.IDE drive loaded achieve . Modular basis underlying driver , the driver , and manually load the \Analysis of several important data structures , detailing the principles and processes of the driver loaded , including registration block device , several important functions in the process of preparing block_device_operations data structure , Makefile file write , and manually load achieved . Analysis and summary of the problems encountered in the implementation process as well as the reasons that cause this problem and find out the solution ; perfect place , pointing out that this is going to sound local .
Table of contents
Abstract 5-6
Abstract 6-9
Chapter 1 Introduction 9-12
1.1 Background 9-10
1.2 Current Situation Analysis 10
1.3 topics task introduction and thesis chapters arranged 10-12
Chapter 2 embedded systems foundation 12-14
2.1 embedded systems defined 12
2.2 typical embedded operating system 12-13
2.3 Selection of Embedded OS 13-14
Chapter 3 ARM9 processor hardware development platform 14-23
3.1 ARM processor 14-15
3.2 S3C2410 Processor 15-17
3.3 select development board 17
3.4 on the host development environment 17-19
3.4.1 to create the operating system of the host 17-18
3.4.2 parallel port driver installed in Windows system 18
3.4.3 cross compiler environment under Linux 18-19
3.5 Linux kernel compiled 19-20
between 3.6 host and target board communication 20-23
3.6.1 programming VIVI 20-21
3.6.2 partition and to programming kernel and file system are found; 21-23
Chapter 4 IDE hard drive to write 23-51
the
IDE 4.1 Introduction 23-25
4.1.1 mode selection 23
4.1.2 hard disk interface introduced 23-25
of 4.2 ARM with IDE interface connection 25-27
4.2.1 ARM development board IDE interface 25
4.2.2 ARM IDE pin connection problems and their solutions 25-26
4.2.3 re-build the ARM IDE interface connector 26-27
4.3 hard disk read and write drive design 27-38
4.3.1 IDE register address 27-32
the 4.3.2 use interface function 32-33
4.3.3 several important functions designed 33-36
4.3.4 hard disk read and write to achieve summarize 36-38
4.4 FAT16 file system design 38-51
4.4.1 BPB design 39-40
4.4.2 FAT table and FDT table design to achieve 40-46
4.4.3 file and directory operations 46-51
Chapter 5 embedded Linux driver written 51-68
5.1 device driver Overview 51-53
5.1.1 device driver and file system relations 51-52
5.1.2 block device 52-53
5.2 device driver key data structure 53-57
5.3 IDE driver on the S3C2410 transplant 57-60
5.4 under linux IDE driver achieve 60-68
5.4.1 device device number 60-61
5.4.2 device entry point 61
5.4.3 Registration and uninstall the IDE devices 61-62
5.4.4 write access to the disk data function 62-66
5.4.5 initialization and unloading of modules 66
5.4.6 Makefile written 66
5.4.7-driven dynamic load 66-68
summarize 68-69
the
References 69-71
the
pursue a degree during the public papers; nbsp 71-72
Acknowledgements 72-73
the
Graduate biographical 73
Related dissertations
- Large Food Enterprise Automation Production Equipment Management Model Research
- The design of file system for embedded data acquisition device
- The Design of Data Acquisition Controller Based on Wireless Ad-Hoc Network Technology
- Research and Design of Modular Reconfigurable Robot Control System
- Intelligent Soccer Robot’s Control System Design
- Dynamic Learning Algorithms of Neural Networks for Large-scale Data Sets
- Higher Mathematics Teaching Design and Implementation of Research Site
- The Student Records Management System of Zhejiang Institute of Communications Based on Hibernate
- Research and Implementation of Cluster Nas Storage System Based on Modularization
- Design of Programmable Radar Signal Synchronization System by FPGA
- Design and Implementation of Automatic Measurement of Parameters for Multi-channel Circuit
- Pharmacy Technician Schools into Professional Emulation Modular Teaching System from Layer to Layer
- Design of the Miniature Rice Harvester and Study of the Main Part
- The Design of High Power LED Lighting Module
- The Research of Parallel Current-sharing for Modular High-power DC Power Supply
- Design and Implementation of a Battery Formation and Grading Control System Based on Bit Vector Search Algorithm
- Research on STATCOM Based on MMCC-SDBC
- Digital Control and Its Implementation of Modular Three-phase Four-wire Shunt Active Power Filter
- Modular Non-isloated Photovoltaic Grid-tied Inverters and Generation Systems
- Research on High Voltage Input Large Current Ouput DC-DC Converter