Design and implementation of embedded Linux server based on Web
- Author
- FangPeng
- Advisor
- ZhangHongYu
- School
- University of Electronic Science and Technology
- Major
- Circuits and Systems
- Classification
- TP368.1 Microprocessor
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 59
- Citations
- 0
Abstract
Nowadays all kinds of embedded systems can be seen everywhere in people’s jobs and lives. Along with the ever-improving performance of embedded microprocessors, more and more embedded systems are combined with network, which offers efficient ways to administrate, control, or minitor all sorts of embedded devices.To achieve these functions in a common practice, a web server which suits embedded enviroments is to be implemented, and this is the research objetive of this paper.An embedded web server is an application program running on an embedded system, relying on the support of a TCP/IP stack.Therefore, a stably running embedded system should be constructed firstly, including both the hardware system which is based on an embedded CPU and the software system which is based on a operating system. Further more, a TCP/IP stack should be implemented. S3C2440is adopted in this design because of its popularity and its typical role of embedded CPU. The famous open-source Linux is chosed as the operating system of this design. In summary, this design fulfils a web server program running on the embedded Linux system, and this task includes the following aspects:(1) Overall design of the web server;(2) Design of hardware system which consists of the memory module and debug interface, etc;(3) The design of system software, including the installation of cross-compiler, the porting of U-Boot, Linux kernel and the root file system, etc;(4) Design and implementation of a web server which support version1.1of HTTP (Hypertext Transfer Protocal). Tests of this web server including both static and dynamic webpages service signify that the goal of this system is achieved.
Table of contents
Summary 4-5
ABSTRACT 5-9
first chapter 9-15
1.1 Embedded System Overview 9 - defined 13
1.1.1 embedded systems Features 9
1.1.2 embedded systems 9-11 composition nbsp
1.1.3 embedded Systems ; trends 11
1.1.4 embedded systems 11-13
1.2 embedded Web server brief 13-14
1.2.1 Embed practical application type of Web Server 13-14
1.2.2 embedded Web Server is designed 14
1.3 of this topic work 14-15 <br / > the second chapter of key technologies and the Web server platform solutions select 15-25
2.1 HTTP technology 15-22
2.1.1 World Wide Web and HTTP 15
2.1.2 World Wide Web architecture consisting 15-16
2.1.3 uniform Resource Locator 16-17
Features 2.1.4 HTTP protocol 17-18
2.1.5 HTTP request and HTTP response 18-22
2.2 system hardware platform selection 22
2.3 system software platform choice 22-23
2.4 Web Server designed for general considerations 23-24
2.5 Summary 24-25
Chapter III system hardware design 25-39
3.1 hardware system overall structure 25-26
3.2 power circuit design 26-27
3.3 reset and oscillator circuit design 27 - 28
3.4 memory circuit design 28-35
3.4.1 SDRAM designs 29-32
3.4.2 NOR Flash design 32 - 33
3.4.3 Nand Flash interface circuit 33-35
3.5 debug circuit design 35-37
3.5.1 serial circuit 35-36
3.5.2 JTAG debug interface design 36-37
3.6 Ethernet interface circuit design 37-38
3.7 physical connection diagrams 38-39
Chapter IV software platform to build 39-48
4.1 embedded Linux cross-compiler environment to build 39-41
4.1.1 in the Ubuntu10.04 install basic development environment 40
4.1.2 installed cross compiler tool chain 40
4.1.3 installed serial communication tool minicom 40-41
4.2 BootLoader transplant 41-43
4.2.1 BootLoader typical structural frame 41-43
4.2.2 BootLoader this system to achieve 43 <br / > 4.3 Linux kernel porting 43-45
4.4 making the root file system 45-48
4.4.1 compiled BusyBox 46
4.4.2 build file system 46-48
Chapter Web server design 48-71
5.1 Web server Overview 48-49
5.2 C / S the basic programming model 49-51
5.2.1 TCP / IP socket interface with socket 50-51
5.2.2 main socket interface 51
5.3 Web server to determine the C / S design model 51-54
5.4 Web server program WebIo achieve 54-65
5.4.1 WebIo foreign initialization function modules and WebIo of 54-57
5.4.2 WebIo process entry point wi_thread () 57-58
5.4.3 WebIo core data structure design 58-60
5.4.4 select polling module wi_poll () 60-62
5.4.5 accepting new requests module wi_sockaccept () 62-63 <br / > 5.4.6 browser input parsing module wi_parseheader () 63-64
realize 5.4.7 CGI 's 64-65
5.5 Web server test 65 - 70
5.5.1 platform test 65-66
5.5.2 WebIo handle static html 66-67
5.5.3 dynamic Forms test 67-70
5.6 summary 70-71
Chapter VI summary and Outlook 71-72
6.1 paper summarizes 71
6.2 subject to improvement 71-72
Thanks 72-73
References 73-75
pursue a Master 's achievements during 75
Related dissertations
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- AGV car design and development of image recognition and motion control technology based on
- Design and Implementation of Gateway Based on ARM9and Zigbee
- Design of Image Acquisition and Wireless Transmission System for Barley Field Based on ARM and WiFi
- Design and Implementation of the Embedded Video Surveillance Server Based on ARM and Linux
- Design and Implementation of the Client of Remote Vechicle Surveillance System Based on ARM Linux
- Bicycle Anti—Theft Surveillance and Wireless Transmission System Research
- Research on the Digital Vibration Sensation Threshold Detection System
- Design of Control System in Ground Source Heat Pump Central Air-Conditioner and the Application in Smart Home
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Engine Room Monitoring System Based on the Embedded Web Server
- Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Design of Video Monitoring System Based on the Embedded
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Study on Embedded Data Acquisition System Application
- Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal