Research on Linux Operating System’s Embedded Mechanism and Fast Start
- Author
- WangYaJun
- Advisor
- LiuJinGang
- School
- Capital Normal University
- Major
- Computer Applications
- Classification
- TP316.8 Network operating system
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 358
- Citations
- 2
- Linux kernel
- embedded system
- Embedded Linux system
- Critical section
- Semaphore
- Mutex Semaphore
- Priority inversion
- Memory Management
- Process Management
- File System
- network management
- Sytem Boot
Abstract
This thesis Researches on Linux Operating System’s Embedded mechanism and fast start. I mainly research into the following: After analyzing the linux core original codes, I will compile a new linux core which is to satisfy the Embedded System. An integrated linux operating system includes not only a core, but also embedded C library and embedded shell. A picture needs displaying when the system is booting. By compiling new scripts, I am to realize the system’s fast start and fast exit.Firstly, the thesis discusses how to modify the linux core original codes. Because some aspects of linux operating system are not expected by embedded system, linux core original codes must be modified. The thesis analyzes and then modifies linux core original codes in four aspects: Memory Management; Process Management; File System; Network Management. This thesis aims at expatiating on how to cover page-swapping mechanism in linux core. Semaphore mechanism is a an effective means of synchronizing tasks which compete against each other to enter the same critical section.Most of the semaphores used by linux core are mutex semaphores.But linux core doesn’t detach the operations on mutex semaphores from those on counting semaphores.The list of tasks which wait to enter the critical section is not optimalized by linux core either.Another question is that the linux core doesn’t resolve the priority inversion problems caused by using mutex semaphore.This paper brings out a new method in order to improve the application of mutex semaphore to linux core.In order to apply linux to embedded system, I must cut the whole linux operating system including its core original codes. A typical linux operating system contains three main software layers: linux core> C library and application programs. This thesis expounds how to make a linux operating system miniature by modifying linux kernel, disposing linux kernel, using embedded C library and embedded shell.As default, lines of texts will be displayed on the console when linux system starting. This is redundant to embedded system’s users. To substitute for that, this thesis brings out a new method which can retain a picture when linux is booting.Many a minute will be exhausted when the linux system starts or exits. This is too long to await for embedded system’s users. This thesis is to shorten the whole procedure of start or exit after analyzing it carefully.
Table of contents
The first chapter 7-16
first section embedded LINUX operating system Overview 7-11
1.1.1 embedded systems steering LINUX 7-8
1.1.2.LINUX used in embedded systems 8-9
1.1.3 embedded operating system, select 9-10 1.1.4 Embedded
the processor choice 10-11
Section II of domestic and international mainstream embedded LINUX system design of 11-14
Section III of this research content Overview nbsp LINUX kernel source code modifications; 14-16
Chapter 16-54
Section I LINUX Memory Management Research 16-28
2.1.1 the LINUX memory management the 16-20
2.1.2 shielding page swapping mechanism 20-24
2.1.3 specific shielding page exchange mechanism to achieve 24-28
second LINUX process management the process management 28-40
2.2.1.LINUX analysis 28-33
2.2.2. semaphore wait queue optimization the 33-36
2.2.3 improvements of the mutex mechanism 36-40
Section III LINUX file system 40-45
2.3.1.LINUX file system analysis are found; 40-42
2.3.2 shielded special file system SHM are found; 42-45
section LINUX network management 45-54
2.4.1.LINUX network management analysis 45-49
2.4.2. lightweight TCP / IP protocol stack 49-54
Chapter LINUX system miniaturization 54-63
Section I LINUX kernel configuration and compile 54-57
second section embedded C library 57-59
the Section III miniaturization SHELL 59-60
the fourth quarter to set up the embedded file system 60-63
Chapter LINUX system boot screen 63-67
Section I hide the the LINUX system boot character information 63-65
4.1.1.LINUX boot character information principle 63-64
4.1.2 hidden the LINUX boot character information method 64-65
Section II LINUX system display custom boot screen 65-67
4.2.1.LINUX boot screen display principle 65
4.2.2 custom startup screen method 65-67
Chapter LINUX system quick start 67-76
first section standard LINUX system startup process analysis 67-71
5.1.1.LINUX system boot process analysis 67-68
5.1.2.LINUX system kernel initialization process the userland of 68-70
5.1.3.LINUX system initialization process 70-71 The
section II Embedded LINUX System Quick Start realize the 71-74
5.2.1 Embedded LINUX kernel part of the Quick Launch achieve 71-72
5.2.2 Embedded LINUX user mode part of the Quick Start realize the 72-74
Section III embedded LINUX system achieve rapid exit 74-76
Chapter concluded 76-77
Reference 77-78
Acknowledgements 78
Related dissertations
- The Research of CANopen Protocol Based on Embedded Systems
- RFRTOS - based on the Linux QoS of real - time operating system
- Analysis and Research on the Embedded System μClinux
- The Porting and Testing of the Embeded Operating System μCOS
- The Research on Automobile Navigation System Based on ARM and Embedded Linux
- The Research and Implement of Wireless Electromagnetism Geological Receiver on Linux System
- Design and Implementation of Portable Intelligent Terminal System
- The Embedded Linux System Building and Application Research Based on ARM
- The Research of Purchasing Process Improvement of WZZ Company
- Guangxin Call Center Process Management Innovation Research
- Study on Organization Change of SD International Company Based on Business Process Management
- A Sales Oriented Process Management Study of JH Holdings Ltd.
- The Study for the F Company LED Lighting Luminaire New Product Research and Development Management
- Analysis of Business Process Management for Shanghai JDY Precision Machinery (group) Co.,ltd.
- Improvement and Research on Applying Civil Product Development Based on Military Industrial Product Development Process of QS Company in National Military Industrial Enterprises
- The Optimization Countermeasure of Nanning W Newspaper’s Editing and Publishing
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- Research of Manufacturing Simulation and Workshop Control
- Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux