With the development of various chip technologies, a variety of embedded products have sprung up. At present, the application areas of embedded products involve mobile communications, automotive, medical, home appliances and many other fields. Moreover, the speed and capacity of today's embedded hardware are getting closer and closer to that of PCs, so it becomes possible to run operating systems on these embedded products. All along, many enterprises have spent huge costs to develop a large number of software products running on PCs. If these excellent software are applied to embedded systems, it will become an important way to rapidly develop embedded systems, reduce the development cost of embedded products, and improve the stability and security of the software.
Currently, there are few books on the domestic book market that specialize in Linux system porting. In order to give the majority of Linux developers and enthusiasts to learn Linux system porting to provide some valuable reference material, the author spent more than a year to write this book.
This book focuses on practice and contains a wealth of porting examples, which are characterized by a variety of features, ranging from basic system components to device drivers to advanced applications, and are suitable for readers at all levels of study and research. The examples in this book are based on the author's functional requirements of embedded products in the actual project, specifically selected representative of the open source software for transplantation, including the common embedded products, the minimum system components of the transplantation, while selecting the application of more databases, Web servers, GUIs, etc. for transplantation. By personally experiencing each compilation and transplantation process, the author explains the details of the transplantation and gives solutions to the problems encountered in the transplantation process. The book also introduces VoIP technology at the end, and analyzes the implementation of VoIP with source code, and also introduces the detailed compilation process of VoIP. This book is a summary of the author's experience in embedded development, hoping to provide the most effective help to readers who are currently engaged in embedded research and development and learning, and can make the reader's embedded system run the fastest, so that readers can successfully port open source software in the shortest possible time.
The source codes used in this book are all open source codes, which readers can get from the corresponding official websites. This book analyzes the important parts of the source code in detail and suggests that readers should read the source code for better results.
Features of this book
1. Multimedia audio-video explanation, efficient, intuitive
The author of this book focuses on the content of the multimedia teaching video, which will greatly improve the reader's learning efficiency.
2. Detailed compilation process
The compilation process of this book are accompanied by detailed compilation commands, for the complex commands are given to illustrate the reader to facilitate the actual operation. Readers can read the book, while hands-on experiments.
3. Comprehensive content, selection of materials with characteristics
This book introduces the minimum system boot program porting, kernel porting, file system porting, a variety of driver porting and other content. In addition, this book also specializes in embedded database, embedded GUI, embedded Web server, embedded JVM, VoIP technology and other content. For the database, GUI, Web server were selected to introduce two, readers can compare the performance, and then applied in their own projects.
4. Content from shallow to deep, step-by-step, operable
This book is arranged in accordance with the gradient from shallow to deep, step-by-step content, suitable for readers at all levels. Each chapter of the book follows the learning sequence of principle analysis-code analysis-compilation-testing-porting, which is highly operable.
5. A large number of compilation skills throughout, can quickly improve the level of transplantation
This book explains the compilation process through a large number of compilation skills, and for the compilation errors in the transplantation process introduces how to find the source of the error, and at the same time gives a solution. This, in turn, facilitates the reader in solving similar compilation problems and improving the level of system porting.
6. Detailed introduction to the use of popular tools
This book introduces the use of Eclipse and VC++ 6.0 in development, which are the most familiar tools for Java programmers and C++ programmers respectively. The book introduces the installation of Eclipse under Linux, the development of C++ projects using Eclipse, and the basic methods of development using VC++ 6.0.
Contents and Knowledge System of this Book
Part 1 The Basics of System Porting (Chapters 1 and 2)
This chapter introduces the basics of system porting. First, it gives a brief introduction to the Linux kernel, and then introduces the construction of the system porting environment. Through the study of the content of this chapter, readers can have a preliminary understanding of the Linux system, can master the use of embedded Linux development tools, can correctly build the development platform, and can create a compiled embedded system.
. Part 2 System Porting Technology Chapter (Chapter 3-5)
This chapter introduces the components of a most basic embedded system, Bootloader, kernel and file system porting. After studying this chapter, readers will be able to compile and port a basic embedded system independently.
Part 3 System Porting Drivers (Chapters 6 to 12)
This chapter describes the porting of various drivers, including the porting process of popular device drivers such as LCD, touch screen, USB, NIC, audio, SD card, NandFlash, and so on. Through the study of this content, the reader will have a certain understanding of embedded Linux driver porting, can basically master the driver porting steps, can complete a simple driver porting.
Title 4 Advanced System Transplantation (Chapters 13-20)
This chapter introduces various types of high-level software transplantation in system transplantation from the point of view of embedded products, including the transplantation of GUI, database, Web server, virtual machine, and finally introduces the popular VoIP technology, and combines the source code with the introduction of the VoIP-related protocols and compilation methods. The last part also introduces the current popular VoIP technology, and introduces VoIP related protocols and compilation methods with source code. By learning this content, readers can master a lot of porting skills and be able to apply these examples to their own projects.
This book is intended for
Embedded porting personnel;
Embedded students;
Embedded lab instructors;
Embedded training students and teachers;
System analysts;
Project developers.
Authors of the book and members of the editorial board
This book was written by Liu Gang and Zhao Jianchuan, and other contributors are Bi Mengfei, Cai Zhenzhi, Chen Tao, Chen Xiaoli, Chen Yan, Cui Dongdong, Feng Guoliang, Gao Daiming, Huang Cheng, Huang Huai, Ji Kui Xiu, Jiang Ying, Jin Hua, Li Ling, Li Shengjun, Li Yajuan, Liu Daling, Liu Huiping, Liu Shui Zhen, Ma Yuegui, Min Zhihe, and Qin Lan, Wang Wenjun and Wenlong. We would like to express our thanks to all of them.
The members of the editorial board of this book are Ou Zhenxu, Chen Jie, Chen Champion, Oh Yufeng, Zhang Fan, Chen Gang, Cheng Caihong, Mao Hongjuan, Nie Qingliang, Wang Zhijuan, Wu Wenjuan, Yan Mangmeng, Yao Zhijuan, Yin Jiping, Zhang Kun, and Zhang Xue.
This book is supported by technical support
If you encounter any problems while reading this book, please contact us through the following ways, and we will reply you promptly.