Design and Development of ARM Embedded Linux System
Basic Information
Author: Yu Hui Li Yong Liu Kai Wang Xiaohong
Series name: Computer Teaching Material Series of Colleges and Universities
Press: Machinery Industry Press
ISBN: 9787111300045
Mounting time:
Published on: February 1, May 2010
Start: 16
For more details, see: http://www.china-pub.com/196680
More wonderful sample reading: http://www.china-pub.com/computers/common/mianfeisd.asp? Id = 196680
Introduction
This book comprehensively introduces the design and development technology of embedded systems with arm-Linux as the operating system, adhering to the guiding ideology of combining theory and practice
To help readers quickly enter the threshold for embedded system development. This book consists of 11 chapters, which are divided into three parts: The first one (1st ~ Chapter 3) Introduction
Basic knowledge of embedded hardware platforms and software systems, article 2 (4th ~ Chapter 7) describes driver development and software development based on the arm-Linux system.
Part 3 (8th ~ Chapter 11) mainly introduces some practical applications based on ARM-Linux
Solutions and cases.
This book is rich in content and has clear concepts. It is suitable for teaching materials for computer, electronics, communication, software engineering, and other professional embedded courses in colleges and universities,
It can also be referenced by a wide range of engineering and technical personnel.
Directory
Preface
Teaching suggestions
Article 1 ARM Embedded Linux
Basic System and Platform Construction
Chapter 2 embedded system foundation 1
1.1 concepts and features of Embedded Systems 1
1.1.1 Concept 1 of Embedded Systems
1.1.2 characteristics of Embedded Systems 1
1.1.3 embedded system software and hardware cropping 2
1.1.4 differences between embedded systems and single-chip microcomputer and traditional PCs 2
1.2 Embedded System Development basics 3
1.2.1 hardware basics of embedded systems 3
1.2.2 Software basics for Embedded Systems 10
1.3 embedded system development process and method 14
1.3.1 abstract architecture of embedded systems 14
1.3.2 real-time software analysis design method darts 15
1.3.3 embedded system development process 16
1.3.4 embedded Linux system program deployment 17
Exercise 18
Chapter 2 arm and Linux basics 19
. 2.1 arm Overview 19
2.1.1 ARM architecture 19
2.1.2 XScale architecture 24
2.2 Use of Linux 27
2.2.1 Linux basics 27
2.2.2 Linux kernel and structure 37
2.2.3 embedded Linux Startup Process 41
2.3 linuxc programming 42
2.3.1 linuxc programming basics 43
2.3.2 debugging tool 45
2.3.3 LINUX multi-thread library programming 52
Exercise 56
Chapter 5 embedded Linux kernel, file system and storage 57
3.1 embedded boot system technology 57
3.1.1 overview 57
3.1.2 U guest boot directory structure 58
3.1.3 u boot Startup Process and code analysis 59
3.1.4 common U reboot boot commands 67
3.2 Linux kernel customization, cropping, and adding 68
3.2.1 overview 68
3.2.2 configuration file and tool 69
3.2.3 kernel compilation command 71
3.2.4 kernel burning and writing process 71
3.3 File System Construction 73
3.3.1 overview 73
3.3.2 port busybox 74
3.4 improvements to kernel 2.6 78
Exercise 79
Article 2 driver development and software application of ARM Embedded Linux
Chapter 1 embedded Linux interface design and driver 81
4.1 Driver Design Basics 81
4.1.1 introduction to Linux drivers 81
4.1.2 method 81 for driver development
4.1.3 category of device drivers 82
4.1.4 primary and secondary device numbers 82
4.1.5 udev Introduction 83
4.2 virtual drive module experiment 90
4.2.1 Kernel configuration 90
4.2.2 write the driver 94
4.2.3 Test Program and makefile96
4.2.4 testing procedure 96
4.3 ad interface driver 97
4.3.1 AD converter 97
4.3.2 adconversion parameters 99
4.3.3 arm's adconverter 99
4.3.4 procedure 100
4.4 touch screen interface design and driver 104
4.4.1 working principles of touch screen 104
4.4.2 configuration register for the touch screen of the S3C2410 chip 105
4.4.3 procedure 109
4.5 frame buffering and LCD Driver port 110
4.5.1 introduction to frame buffering 110
4.5.2 LCD 111
4.5.3 data structure required for LCD controller initialization 111
4.5.4 transplant LCD Driver 115
4.6 v4l programming 119
4.6.1 v4l overview 119
4.6.2 video Drive Experiment 121
Exercise 128
Chapter 2 embedded Linux open source software transplantation and application 5th
5.1 General process of porting open source software 129
5.1.1 concept of Software Migration 129
5.1.2 software porting process 129
5.2 transplantation and application of embedded webservergoahead 130
5.2.1 Embedded Web Server 130
5.2.2 goahead introduction 131
5.2.3 goahead port on ARM platform 131
5.2.4 Page Operation 133
5.3 transplantation and application of embedded webservicegsoap 134
5.3.1 introduction to gsoap 134
5.3.2 gsoap clipping 137
5.3.3 gsoap 140
5.3.4 gsoap porting 145
5.4 transplantation and application of embedded database SQLite 147
5.4.1 SQLite 147
5.4.2 SQLite port on the ARM platform 148
5.4.3 SQLite usage 151
5.5 Port player mplayer 154
5.5.1 introduction to mplayer 154
5.5.2 mplayer port 154 on the ARM platform
5.6 transplantation of j2e-phoneme 157
5.6.1 introduction to phoneme 157
5.6.2 software porting process 157
5.7 transplantation of the embedded browser Konqueror 158
5.7.1 introduction to Konqueror 158
5.7.2 software porting process 159
Exercise 161
Chapter 2 embedded Linux graphical user interface 6th
6.1 Introduction to embedded GUI 162
6.1.1 features of Embedded GUI 162
6.1.2 types of Embedded GUI 162
6.2 embedded GUI --- qt163
6.2.1 QT and QT/Embedded introduction 163
6.2.2 features of QT 163
6.2.3 QT execution 164
6.2.4 QT slot 166
6.2.5 a complete QT program 166
6.2.6 introducing qtdesigner 166
6.3 QT ing between QT/E4 and keyboard and mouse interfaces 167
6.3.1 QT/E4 porting process 167
6.3.2 working principle of the QT/E4 keyboard and mouse interface 170
6.3.3 QT/E4 and linuxps/2
Keyboard and mouse Drive connections 172
6.3.4 Implementation of QT/E4 keyboard driver ing 172
Exercise 174
Chapter 2 communication applications in Embedded Linux 7th
7.1 serial port communication in Embedded Linux 175
7.1.1 serial port 175
7.1.2 serial programming 175
7.1.3 serial Programming Application Instance 177
7.2 embedded Linux Network Programming 179
7.2.1 network communication 179
7.2.2 socket 179
7.2.3 network programming 180
7.2.4 Network Programming Application Instance 182
7.3 embedded Bluetooth Technology 185
7.3.1 Bluetooth 185
7.3.2 Bluetooth system 185
7.3.3 Bluetooth Network 186
7.3.4 linuxbluetooth software layer 186
7.3.5 USB adapter 186
7.3.6 Bluetooth Application Instance 187
7.4 CAN Bus 191
7.4.1 introduction to CAN Bus 191
7.4.2 CAN Bus hardware features 191
7.4.3 CAN controller driving 194
7.4.4 CAN Bus programming example 196
7.5 applications of GPS and GPRS 199
7.5.1 principles and applications of GPS 199
7.5.2 GPS programming example 200
7.5.3 principles and applications of GPRS 203
7.5.4 GPRS programming example 204
Exercise 205
Article 3 solutions and Applications of ARM Embedded Linux
Chapter 2 omap5910 and Linux gateway207
8.1 omap5910 architecture 207
8.1.1 MPU subsystem 207
8.1.2 DSP subsystem 208
8.2 linuxdspgateway210
8.2.1 source of dspgateway 210
8.2.2 mailbox mechanism of dspgateway 210
8.2.3 communication buffer 210
8.2.4 mailbox Command Protocol 213
8.2.5 dspgateway device interface 214
8.3 omap5910 image processing 215
8.3.1 image format 215
8.3.2 Digital Image Algorithm 216
8.4 Implementation of OMAP-based encryption terminals (software part) 218
8.4.1 encryption algorithms 218
8.4.2 specific implementation of encryption terminals 220
Exercise 221
Chapter 2 Real-Time elinux system 9th
9.1 limo Foundation 222
9.1.1 limo Foundation introduction 222
9.1.2 software architecture of Limo mobile phone solution 222
9.2 Open Mobile Alliance 224
9.2.1 Open Mobile Alliance and Android 224
9.2.2 Android Application structure analysis 227
9.2.3 Android Development Environment setup 229
9.2.4 Android Application Development --- helloworld234
9.3 construct an elinux system instance 236
9.3.1 marvellpxa310 introduction 236
9.3.2 pxa310-based mobilelinux system construction process 237
Exercise 240
Chapter 2 Design and Optimization of Embedded Linux 10th
10.1 Production Chain and key factors of embedded products 241
10.2 Embedded System Development Method 241
10.2.1 Software and Hardware "separation of software and hardware design method 241
10.2.2 non-formal modeling methods and formal modeling methods 242
10.2.3 structured design and object-oriented design 243
10.3 impact of hardware selection on performance 243
10.3.1 hardware platform classification 244
10.3.2 selection of embedded processors 244
10.3.3 select 244 for peripheral devices
10.3.4 245 hardware cost
10.4 impact of software design on performance 245
10.4.1 features of embedded software development 245
10.4.2 problems in embedded software development 245
10.4.3 common embedded software design method 246
10.5 software and hardware Collaborative Design Method 247
10.5.1 limitations of traditional design methods 247
10.5.2 embedded software/hardware Collaborative Design Method 247
Exercise 249
Chapter 2 embedded Linux integrated instance --- digital oilfield production monitoring
System Design and Implementation 250
11.1 System Overview 250
11.1.1 system structure and function introduction 250
11.1.2 software and hardware environment 252
11.2 system design 252
11.2.1 overall system design 252
11.2.2 Design of wireless sensor nodes 253
11.2.3 remote control terminal RTU design 254
11.3 software design 259
11.3.1 remote control terminal RTU software design 259
11.3.2 Monitoring Center Software Design 266
References 271