Research on Porting and Reduction of Embedded Linux Based on ARM
- Author
- LiuHongDan
- Advisor
- MaGuangSheng
- School
- Harbin Engineering University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 1,431
- Citations
- 15
Abstract
With the computer technology and the rapid development of microelectronics, embedded systems have been widely applied to many fields such as science, engineering, military technology and a variety of commercial applications. Embedded system is defined as application-centric, computer technology, hardware and software can be tailored to meet the specific application system functionality, reliability, cost, size, power consumption, strict requirements of professional computer system. In the current variety of embedded processors, ARM chip as low power, low cost and other significant advantages, thereby gaining a large number of semiconductor manufacturers strongly support the 32-bit embedded applications was a great success. On the other hand, Linux open source operating system has a powerful and easy to transplant, etc. become embedded operating system of choice, so build on the ARM chip embedded Linux system has become a hot topic in the embedded space. This paper summarizes the ARM architecture and features, and selected based on the ARM920T core platform AT91RM9200 development board as a transplant. Then introduces embedded Linux system startup program implementation principles, and to achieve the U-Boot transplant. In the Linux kernel structure has been analyzed, gives a detailed porting Linux kernel implementation. After a comprehensive analysis of existing Linux clipping method based on taking into account the embedded system is a dedicated system for a specific application, in the design of the hardware platform and software design goal has been very clear, will not easily change, proposed for application of cutting method, which belongs to the code level of cutting, can effectively remove dead code. The use of application-oriented cropping methods for embedded Linux under the General System CD player cutting experiments, obtained a higher than normal cutting method of cutting rates, thus confirming that the method can be more effectively reduced embedded Linux system volume. Finally, given in detail in the Fedora Core 4 operating system SkyEye simulation platform for embedded Linux system process, including SkyEye platform hardware emulation configuration in Fedora Core 4 in embedded development environment for the establishment and root file system building, etc., ultimately cutting transplant embedded system can successfully run.
Table of contents
Abstract 5-6
Abstract 6-11
Chapter 1 Introduction 11-19
1.1 embedded operating system overview 11 -12
1.2 embedded microprocessor 12-13
1.3 embedded operating system, domestic situation and development trend 13-16
1.3.1 Embedded foreign operating system status 13-15
1.3.2 Domestic embedded operating system status 15-16
1.4 Linux in embedded systems, the advantages 16 - 17
1.5 The main thesis work 17-19
ARM microprocessor Chapter 2 Overview 19-27
2.1 Overview 19 <br / > 2.2 ARM microprocessor architecture 19-23
2.2.1 RISC architecture 19-20
2.2.2 ARM architecture 20-21 < br /> 2.2.3 ARM processor mode 21-22
2.2.4 ARM memory management 22
2.2.5 ARM exception handling model 22-23
2.3 ARM microprocessor selection 23-26
2.3.1 ARM microprocessor core selection 23-25 ??
2.3.2 AT91RM9200 development board 25-26
2.4 Summary 26-27
Chapter 3 Bootloader transplant 27-38
3.1 Bootloader Overview 27-29
3.1.1 Bootloader some concepts 27-28
3.1.2 Bootloader mode of operation 28-29
3.2 Bootloader boot process 29-34
3.2.1 Bootloader of stage1 29-30
3.2.2 Bootloader of stage2 30-34
3.3 U-Boot's Transplant 34-37
3.3.1 Several current popular Bootloader 34
3.3.2 U-Boot introduction 34-35
3.3 .3 U-Boot transplant 35-37
3.4 Summary 37-38
Chapter 4 analyzes the Linux kernel and transplantation 38-53 <br / > 4.1 Linux kernel structure 38-41
4.1.1 Linux kernel in the operating system location 38
4.1.2 Linux kernel mode 38-39
4.1.3 kernel architecture 39-41
4.2 transplant-related source code file describes 41-43
4.3 ARMLinux kernel boot analysis 43 - 44
4.4 kernel portable implementation 44-52
4.4.1 models describe the structure 44-46
4.4.2 virtual memory mapping between structure 46-49
4.4.3 kernel interrupt handling 49-50
4.4.4 Set flash partition 50-51
4.4.5 adds support devfs 51-52
4.5 Chapter Summary 52-53
Chapter 5 embedded Linux cropped 53-63
5.1 existing Linux cropping methods 53-55
5.1.1 kernel cutting 53-54
5.1.2 system libraries cutting 54-55
5.2 now There are insufficient tailoring methods 55
5.3 application-oriented cropping methods 55-61
5.3.1 Crop specific steps 56-59
5.3 .2 cut test method 59-61
5.4 Summary 61-63
Chapter 6 Embedded Linux system implementation 63-74 <br / > 6.1 SkyEye hardware emulation platform 63-65
6.1.1 SkyEye Overview 63-64
6.1.2 SkyEye simulated hardware 64-65 <br / > 6.2 build embedded development environment 65-69
6.2.1 SkyEye simulation environment to establish 65-66
6.2.2 cross compiler built environment 66 -69
6.3 kernel compilation 69-70
6.4 root file system creation 70-71
6.5 running on SkyEye embedded systems 71-72
6.6 Summary 72-74
Conclusion 74-75
References 75-78
During the master's degree papers and research achievements 78-79
Thanks 79
Related dissertations
- Research on Distributed Industrial Signal Modularized Data Acquisition System Based on ARM
- Design of a General Human-machine Interaction System for Weft Knitting Machine Based on Linux
- Embedded Control Module Designed for Vacuum Coating Device Based on ARM
- The Call System Design of Ward Based on LM3S1138MCU
- Techniques of Cutting for Embedded Linux System Based on Application
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Remote Monitor System for Oil Wells Working Condition Based on GPRS
- Engine Room Monitoring System Based on the Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- The Research and Design of Embedded Graphic Remote Monitor Terminal
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Design of Remote Monitoring System Based on ARM
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Study on Embedded Data Acquisition System Application
- The Study of Physiological Parameters Monitoring and Remote Wireless Alarming System Based on ARM
- Study on ARM-based Embedded Monitoring and Measuring System of Refrigerated Vehicle for Fresh-keeping of Fruit and Vegetable
- Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
- Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
- Design of Remote Strain Measurement System Based on FGPA