Analysis and Design of Network Device Driver for Home Network Based on Embedded Linux

Author
WuTieZuo
Advisor
XingLi , FanYangXing
School
Hunan University
Major
Software Engineering
Classification
TP316 Operating system
Degree
Master's thesis
Year
2005
Downloads
347
Citations
1

Request the full text

Abstract

With the development of network technique, network comes into the common life ofmost people and it forms a roboticized Home Network System, which has abundantcontents. Ethernet technique is more suitable than other for the native actuality, becauseof the mature technique twopenny cost, better compatibility, extendable bandwidth anddense suitability, so it is a perfect internal network technique.As a network interface card (NIC) under home network environment, not only it canprovide information communication for traditional IP packets, optimize the datathroughput and ensure the data transfer. But also for the faster development multimediaapplications, it can provide integrative service including voice, graph, image, video,cartoon and such on. These distributing multimedia applications require morebandwidth, lower delay and lower dithering. As the driver of NIC, it should givedifferent treatment for those special applications.Based on above requirement, a famous international electric company of Japan providesa bran-new stratagem of "Home Network Terminal". The stratagem regards theembedded home network terminal as core, and the faster Ethernet as the backbone ofhome local bus, which also combine multi-network. So the Japanese parent companyand its semiconductor company, which lies in American Silicon, cooperate with ISCAS(Institute of Software China Academy of Science) for starting this development. TheETH100 is a very important part for this stratagem.This task has been finished in March of 2004, and the development result has beenaccepted by three sides: Japanese parent company, American semiconductor and ISCAS.After the first product coming into mass-production in the Japanese market inSeptember of 2003, as the replacer of NIC component of the first, the SoC combinedETH100 has been produced. The second generation with it will have better performancefor multimedia environment.In this cooperation project, the author takes on the works of design, development andhardware validation. Also author concerns with various auto-test routine for testinghardware.This thesis primary describes three aspects during the NIC development:1) Implement an integrated network device driver. This thesis studies the device driver of hone network and implements the basic functions. It focuses on the faster DMA transfer mode and discovers two bugs of hardware development platform in actual design. Then it uses the software solution in device driver.2) Deduce a probability formula of hardware filter under multicast model. ETH100 adopt the international popular development platform with FPGA hardware validation. So the most important work, from the level of software and application, is to validate the hardware design by software modeling and routine simulating. Furthermore, provides the improvement advice to the Semiconductor Company.Based on the implementation of supporting multicast model, this text analyses the process of hardware filtering. And discuss the mapping relation between hardware registers and memory hash table addresses, then deduce probability formula of hardware filter under multicast model. This formula is applied in the development item, and provides theoretical supporting for improving the hardware design. With it, we have succeeded in validating the hardware design.3) Implement the QoS strategy control in driver. QoS strategy control provides the transfer assurance for multimedia data with the character of high bandwidth, low delay, low dithering. This text introduces the relational content of QoS, and emphasizes the analysis of RED strategy. As an example, RED strategy is implemented on driver layer.

Table of contents

Abstract 6-8 Abstract 8-10 illustrations Index 10-12 Chapter 1 Introduction 12-22 <br / > 1 . An embedded Linux system 12-15 1. 1 . An embedded system concept 12 1. 1 . 2 Linux system introduced 12 1. 1 . 3 Embedded Linux Systems 12-13 1. 1 . 4 mainstream embedded Linux system 13-15 1. 2 Embedded Linux applications - Intelligent Home Network 15-19 1. 2 . A home network (Home Network / Networks for Home) 15-16 1. 2 . 2 of intelligent home network system development status 16-17 1. 2 . 3 Ethernet home network access technology 17-19 1. 3 Status and domestic products subject choices 19-20 1. 4 main work and thesis structure 20-21 1. 5 Summary 21-22 Chapter 2 device driver design and implementation 22-57 2. A fat target relevant background information 22-26 2. 1 . A development environment topology 22 2. 1 . Two hardware platforms introduced 22-24 2. 1 . 3 Ethernet card hardware 24-26 2. 2 driver 's initial build 26-34 2. 2 . A driver related data structures 26-30 2. 2 . 2 powered device operation method 30-32 2. 2 . 3 Define ETH100 main API 32-34 2. 3 ETH100 driven concrete realization 34-55 2. 3 . An overall framework driven definition 34-36 2. 3 . 2 device initialization process 36-37 2. 3 . 3 devices open the process 37-39 2. 3 . 4 Device closure process 39-40 2. 3 . 5 interrupt processing 40-42 2. 3 . 6 DMA mode transceiver package design process 42-50 2. 3 . Seven pairs of drive performance test 50-51 2. 3 . 8 two hardware problem and solution 51-55 2. 4 Summary 55-57 Chapter 3 driven strategy for achieving control analysis 57-82 3. A multicast mode policy control 57-67 3. 1 . A multicast mode, meaning 57 3. 1 . 2 IP Multicast Overview 57-62 3. 1 . 3 Multicast driver design 62-64 3. 1 . 4 registers hardware filter design 64-67 3. 2 QoS policy control 67-82 3. 2 . 1 QoS Overview 67-70 3. 2 . 2 DiffServ DiffServ 70-72 3. 2 . 3 Queue Management Strategies - Random Early Detection (RED) 72-74 3. 2 . 4 drive level of support to achieve 74-81 3. 2 . 5 Summary 81-82 Summary 82-84 References 84-87 Thanks 87-88 Appendix A ( study for a degree of academic papers published during ) 88

Related dissertations

  1. The Applications of Multicast and Qos Techniques in Telecommunication IP Network of Campus Network
    LiuNing ·Inner Mongolia University ·2012 ·Master's thesis
  2. The Chuzhou IPTV Carrier Network Optimization Design and Related Technical Studies
  3. Research on QoS Multicast Routing Metric in Wireless Mesh Networks
  4. Study on the Key Technologies of the Convergence of PON and Millimeter-Wave Network
  5. Renovation Planning of Video IP Metropolitan Area Network in JINAN
  6. The Research and Implementation on Video Data Network Transmission Technology
  7. The Applications of MPLS VPN, QOS Techniques in Telecommunication IP Network of China Telecom in Inner Mongolia
    CuiFei ·Inner Mongolia University ·2012 ·Master's thesis
  8. The Research on Infrastructure-based QoS Mechanism in Wireless Home Networks
  9. Research on Secure Routing for Mobile Ad Hoc Networks
    YangMingXi ·Wuhan University of Technology ·2007 ·Doctoral dissertation
  10. Research on Application Layer Multicast Algorithms
    LiZuo ·University of Science and Technology of China ·2007 ·Doctoral dissertation
  11. Routing and Performance Optimization of Computer Networks
  12. The Research on Mobile Management and Routing Protocols in Ad Hoc Networks
    SunXueMei ·Tianjin University ·2004 ·Doctoral dissertation
  13. Infrared video moving target identification and tracking system's PCI interface communication design
  14. Design of Remote Control System Based on Ethernet
    YaoGaoHua ·South China University of Technology ·2013 ·Master's thesis
  15. Design of Security Surveillance System Based on Intelligent Video Analysis
  16. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  17. Design and Implementation of Multi-channel Data Acquisition System
  18. Network-based Wind Power Monitoring Data Acquisition System
  19. Research on Real-time Mornitoring System of High-voltage Switchgear
    DengLongJun ·Jimei University ·2013 ·Master's thesis
  20. Research on the Embedded Control System of Fed-Batch Culture in the Production of Monosodium Glutamate