Development of Embedded System and Network Programming Application under Linux Environment
- Author
- CaiYao
- Advisor
- HeYuCheng
- School
- Xi'an University of Electronic Science and Technology
- Major
- Communication and Information System
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 466
- Citations
- 3
Abstract
As a mature and stable network operating system, Linux supports the whole TCP/IP protocol stacks. The Linux kernel structure is perfect for the network and supports including 10M-bit, 100M-bit and G-bit Ethernet and Wireless network, Token Ring, Fiber and even satellite. Using Linux as an embedded operating system is undoubtedly a good choice for the embedded communication devices that are relies on the network now. Linux support multiple types of socket address cluster and make it into unified socket interface, this is convenient for data communications between network programming applications and we use this interface to carry out the control software in the client and server side.Hardware platform of embedded satellite communication indoor terminal adopts the method of integration of MPC8250 and FPGA. MPC8250 with communication processing module is in charge of receiving and sending data from and to client in LAN, it also takes the task of data processing. FPGA is in charge of coding and modulating the data. The version of Linux kernel is 2.6.18 that is responsible for the process scheduling, memory management and providing net interfaces. Different embedded CPU architecture will have different software development environment. To develop system applications software on MPC8250, it is needed to build cross-compiler environment to transplant targeted Linux kernel for the hardware platform, the application programs also needs to be compiled under this environment.This paper detailedly describes the process of designing embedded system hardware platform REWIN-PPC8250 board and gives the modifications and compilation of the linux2.6.18 kernel for the MPC8250, lastly, completes the transplantation of the kernel. On that basis, we build Linux cross-compiler environment. Then, we give the design mode of the IDU control software application and the process of development of the TCP and UDP server programs under the circumstance of embedded Linux.
Table of contents
Abstract 3-4
Abstract 4-7
first chapter 7-13
1.1 Embedded System Introduction 7-9
the 1.1.1 embedded system structure 7-8
the
characteristics of 1.1.2 embedded systems 8-9
1.2 embedded Linux operating system 9-12
1.2.1 Linux operating system and its advantages 9-10
1.2.2 linux kernel composition module 10-11
1.2.3 Linux operating system, the network function 11-12
1.3 Project design ideas 12-13
Chapter II embedded hardware platform design 13-21
2.1 REWIN-the PPC8250 hardware platforms 13-14
the
the 2.2 embedded MPC8250 hardware platform 14-17
2.2.1 G2 processor core 15-16
2.2.2 SIU System Interface Unit module 16-17
2.2.3 communications processor module CPM 17
2.3 Modem Block hardware platforms 17-20
2.3.1 Modem Block function and structure introduced 17-19
2.3.2 Modem Block control interface 19-20
2.4 This chapter Summary 20-21
Chapter embedded Linux software development environment 21-29
3.1 embedded Linux cross-compiler environment 21-22
3.2 Linux host system configuration 22-25
3.2.1 installed compilation environment Kit eldk 22-23
3.2.2 system settings 23-25
3.3 configure embedded Linux kernel 25-28
3.3.1 kernel cuts 25-26
3.3.2 kernel source code to modify 26-28
3.3.3 kernel compiled with transplantation 28
3.4 This chapter Summary 28-29
Chapter embedded Linux network programming 29-41
4.1 Linux in the network hierarchy 29-31
4.1.1 linux implementation of the TCP / IP protocol suite 29-30
4.1.2 REWIN-the PPC8250 indoor IDU terminal network model 30-31
4.2 Linux network programming 31-37
4.2.1 socket Overview 31-33
4.2.2 Network Programming mode 33-37
the 4.2.2.1 Client / server mode 33-34
4.2.2.2 byte stream connection-oriented protocol socket programming 34-36
4.2.2.3 unconnected datagram protocol socket programming 36-37
4.3 Linux kernel socket support 37-39
4.4 This chapter Summary 39-41
Chapter IDU control software design and development examples 41-59
5.1 IDU control software 41-44
5.1.1 IDU client-side software features 41-43
5.1.2 IDU server-side software design ideas 43-44
5.2 tcp_daemon server program design 44-50
5.2.1 daemon module 44-46
5.2.2 TCP communication module 46-48
5.2.3 data receiving and processing subroutine modules 48-50
5.3 udp_daemon server program design 50-53
5.3.1 UDP communication module 51-52
5.3.2 UDP service module 52-53
5.4 server program running to achieve 53-57
5.5 This chapter Summary 57-59
Chapter VI Conclusion 59-61
Acknowledgements 61-63
the
References 63-65
research 65
Related dissertations
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Design of Industrial Ethernet Motion Controller Based on ARM
- AGV car design and development of image recognition and motion control technology based on
- Transplant OpenCV to Embedded System and Face Recognition
- Linux System Transplantation and USB Driver Development Based on CK-CPU Embedded Platform
- Design and Implementation of Unidirectional Data Transmission Device Based on Removable Storage Media
- Design and Realizing of the Video Monitoring System Based on the Embedded Network
- Design and Implementation of Video Acquisition and Wireless Transmission System Based on Embedded System
- Software Design of Visual Conversational Embedded System
- Research and Implementation of IoT Gateway Based on Embedded Linux System
- 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
- Research and Realization of a Smart Home Gateway Based on Linux
- Research and Design of BD/GPS Dual-Mode Intelligent Vehicle System
- The GPS/CNSS Navigation System Reaearch Based on Linux
- Design of a Data Communication System for Theodolite Based on Embedded Technology
- Design and Implementation of the Embedded Video Surveillance Server Based on ARM and Linux