Study and Realization of Tailoring and Porting Embedded Linux Kernel

Author
XuChenHui
Advisor
LuWenKe
School
Donghua University
Major
Control Theory and Control Engineering
Classification
TP316.81
Degree
Master's thesis
Year
2009
Downloads
1,369
Citations
14

Request the full text

Abstract

Embedded operating system is the software core of embedded system,can manage the entire software and hardware resources,and can also meet the requirements of special and tailorable features of embedded system.The features of embedded Linux are open-source,tailorable and modular design method,and embedded Linux attract most of researchers at home and abroad.The method of tailoring and porting the kernel of Linux operating system can guide the customization of embedded Linux kernel in practical application.From the aspect of tailoring Linux kernel, the realization principles of different modules of Linux kernel are deeply analyzed firstly;the methods of fine-grained tailoring and porting the kernel are studied secondly;the tailoring effect would be illustrated by specific examples at last.The paper concerns the contents:1.The method of fine-grained kernel tailoring is proposed.By analyzing“make menuconfig”configuration tailoring method and tailoring methods based on the source code and the call graph,the tailoring policy of fine-grained is proposed,and Linux kernel is fine-grained tailored by this policy.Eliminating redundant processes,optimizing the memory management functions,tailoring the file system and customizing the TCP/IP protocol stack are deeply studied in this paper. The fine-grained tailoring of Linux kernel is really realized according to the requirements of specific application.2.The porting of embedded Linux kernel for ARM platform is realized. The porting,executing and debugging process of U-boot,are firstly analyzed in this paper.The porting procedure and the files which should be modified in this procedure are also summed.Secondly,the method and realization of parameter transmission of embedded Linux kernel is illustrated as well.On S3C2410 platform based on ARM920T,the porting of embed Linux kernel is realized.The porting method and procedure are summed as well.3.The kernel of embedded mobile POS system is realized.Fine-grained tailoring and porting of Linux kernel are realized by the example of embedded mobile POS system.This paper compares the general tailoring method with the method proposed by this paper,so the conclusion that the method proposed by this paper can realize“more small-scale”tailoring is reached.

Table of contents

Abstract 5-7 Abstract 7-9 directory 9-12 first chapter 12-25 <br / > 1.1 Introduction 12 1.2 topics of the background and significance 12-21 1.2.1 embedded system Overview 12-15 1.2. 2 embedded operating system 15-18 1.2.3 Linux kernel cutting 18-19 1.2.4 Linux kernel porting 19-21 1.3 issues and Challenges 21-22 1.4 research 22 1.5 paper structure 22-25 Chapter Linux kernel and the hardware platform Introduction 25-34 2.1 Introduction 25 2.2 Linux2.6 kernel version Overview 25-31 2.2.1 Linux kernel introduces 25-26 2.2.2 Linux kernel features 26 2.2.3 Linux kernel structure 26-28 2.2.4 Linux kernel directory and directory -related function analysis 28-31 2.3 S3C2410 ARM920T-based hardware platform introduces 31-33 2.3.1 S3C2410 chip features 31-32 <br / > 2.3.2 FS2410 hardware platforms 32-33 2.4 Summary 33-34 Chapter embedded Linux kernel reduction analysis 34-53 <br / > 3.1 Introduction 34 3.2 Linux process management analysis 34-40 3.2.1 process Description 34-37 3.2.2 process creation and termination 37 3.2.3 process scheduling 37-40 3.3 Linux memory management analysis 40-44 3.3.1 pagination memory management 40-41 3.3.2 Description of the process user space 41-42 3.3.3 create user space processes and virtual memory mapping 42 -44 3.4 Linux file system analysis 44-49 3.4.1 file system analysis 44-46 3.4.2 VFS data structures 46-49 3.5 Linux network stack analysis 49-51 3.5.1 Linux kernel network stack architecture 49-50 3.5.2 TCP / IP protocol stack system architecture 50-51 3.6 embedded Linux kernel can be cut items 51-52 3.7 Chapter Summary 52-53 Chapter embedded Linux kernel grained cutting research 53-76 4.1 Introduction 53 4.2 embedded Linux kernel customization 53-54 4.3 embedded Linux kernel cutting method 54-58 4.3.1 configurations cropping methods 54-55 4.3.2 source code analysis based cropping methods 55 < br /> 4.3.3 -based cutting method call graph 55-57 4.3.4 grained modular kernel cutting method 57-58 4.4 memory management module cutting and optimization 58-62 4.4.1 embedded Linux virtual memory mechanism analysis 58-59 4.4.2 embedded Linux memory management mechanism to improve 59-62 4.5 file system tailoring and customization 62-67 4.5.1 Linux file system cutting analysis 62-63 4.5.2 file System Fine-grained cutting 63-67 4.6 network protocol stack cutting 67-73 4.6.1 embedded TCP / IP protocol stack overview 68 <br / > 4.6.2 embedded TCP / IP protocol customization 68-72 4.6.3 network protocol system calls cutting 72-73 4.7 system, the process of removing excess 73-74 4.8 Chapter Summary 74-76 Chapter embedded Linux kernel porting 76-101 5.1 Introduction 76 5.2 startup program analysis 76-78 5.2.1 open source startup program introduces 76-77 5.2.2 boot function analysis 77-78 5.3 U-boot porting and debugging 78-89 5.3.1 U-boot Overview 78-79 5.3.2 U-boot boot process analysis 79-85 5.3.3 U-boot transplant and debugging 85-88 5.3.4 U-boot primarily to modify the file 88-89 < br /> 5.4 embedded Linux kernel parameters passed 89-92 5.4.1 Linux kernel parameter structure 89-90 5.4.2 Linux kernel parameters list creation 90-91 5.4.3 kernel parameters passed 91-92 5.5 embedded Linux kernel porting 92-100 5.5.1 embedded Linux kernel boot process analysis 92-97 5.5.2 portable implementation of embedded Linux kernel 97-100 5.6 chapter Summary 100-101 <br / > Chapter embedded mobile POS machine system kernel to achieve 101-114 6.1 Introduction 101 6.2 mobile POS machine system design 101-103 6.2.1 mobile POS machine system design 101-102 6.2.2 hardware structure analysis 102 6.2.3 software systems analysis 102 -103 6.3 kernel realization of mobile POS machines 103-111 6.3.1 kernel cutting realization 103-106 6.3.2 kernel porting implementation 106-111 6.4 mobile POS machines experimental results 111-113 6.5 Chapter Summary 113-114 Chapter Summary and Outlook 114-116 7.1 article summarizes 114 7.2 job Outlook 114-116 References 116-121 for Master papers and participate during the project 121-122 Thanks 122

Related dissertations

  1. The Design of Industrial Control Panel Base on the ARM9under Linux System
    ChenShaoGui ·Zhejiang University of Technology ·2013 ·Master's thesis
  2. Research and Realization of Embedded SNMP Agent for Manufacturing Equipment Management
    GongKang ·Chongqing University ·2012 ·Master's thesis
  3. The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
    YangMingJun ·Hubei University of Technology ·2013 ·Master's thesis
  4. Design and Implementation of Network Video Monitoring and Alarm System Based on Embedded Linux
    LiJiaJia ·Northwest Normal University ·2013 ·Master's thesis
  5. Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision
    LiuChaoChao ·Nanjing Agricultural College ·2011 ·Master's thesis
  6. Research and Design of Harmonic Detecting Device Based on ARM9
  7. The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
    SunWei ·Hebei University of Technology ·2013 ·Master's thesis
  8. Development of Small Smart Controller Software Technology Based on ARM9
    HuShu ·Hebei University of Technology ·2013 ·Master's thesis
  9. Design of the Paper Quality Control System Based on Industrial Ethernet
    LiQiZuo ·Chongqing University ·2013 ·Master's thesis
  10. The Research of Embeded Intelligent Household Based on ARM
    WangWenChuan ·Hefei University of Technology ·2013 ·Master's thesis
  11. Research on Intelligent Home Furnishing system based on Android
  12. Research and Development of Intelligent Board Based on Multi-sensor Fusion
    WangBaiCai ·Northeastern University ·2013 ·Master's thesis
  13. Design and Implementaiton of a Human-computer Interaction System Train Monitoirng Device
    LuoJing ·Hunan University ·2013 ·Master's thesis
  14. Human-Computer Interaction Technology Research of Gene Amplification Based on Arm
    LiuJun ·Qingdao Technological University ·2013 ·Master's thesis
  15. Design and implementation of bank network fault diagnosis system
    YuDeChao ·Heilongjiang University ·2013 ·Master's thesis
  16. Design and Implementation of Chinese Handwritten Input Method Based on ARM9and Qt
    WangZhiChao ·Central South University ·2013 ·Master's thesis
  17. The Design and Implementation of Electronic License Plate Recognition System Based on Embedded Linux
    ChenWei ·Ningbo University ·2013 ·Master's thesis
  18. Research and Optimization of Embedded Linux Operating System in Banknote Sorter
  19. The Research and Design of Embedded Linux Based on ST-E9500
  20. Research of Embedded Linux Device Drivers Concurrency Control
    ZhangJiHong ·Chang'an University ·2013 ·Master's thesis