Embedded Linux operation system trimming customization method

An operating system and embedded technology, applied in memory systems, program control design, instruments, etc., can solve problems such as redundant modules, system abnormalities, difficult to read and modify, and achieve the effect of ensuring autonomy

Inactive Publication Date: 2014-12-10
SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD
View PDF1 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] As hardware products based on PowerPC hardware architecture are widely used in network security, data storage and other fields, the requirements for embedded Linux operating system based on PowerPC hardware architecture are getting higher and higher. The amount of code in the Linux operating system is too large, there are too many redundant modules, and it is difficult to read and modify, so the operating system needs to be tailored and customized
The tailoring and customization of the existing operating system generally uses the development tools of the operating system for selective compilation, that is, only the required parts are compiled, but the unnecessary parts still exist as redundant codes. When an abnormality occurs in the application software, May enter the redundant code area, causing system exceptions

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Embedded Linux operation system trimming customization method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] A kind of embedded Linux operating system tailoring custom method of the present invention, the embedded Linux operating system based on Power PC hardware framework is carried out tailoring and customizing, comprises the steps:

[0027] Step 1, carry out source code file level cutting to the embedded Linux operating system in PowerPC hardware architecture;

[0028] Step 2, carrying out source code level tailoring to the embedded Linux operating system in the PowerPC hardware architecture;

[0029] Step 3, completely compiling the source code of the embedded Linux operating system after cutting, and generating the kernel file of the embedded Linux operating system;

[0030] Step 4, use the compiled embedded Linux operating system kernel file, burn it into the memory of the mainboard in the PowerPC hardware architecture, and then carry out a comprehensive test to verify whether the function or performance of the tailored embedded Linux operating system is normal.

[0031...

Embodiment 2

[0041] A kind of embedded Linux operating system tailoring custom method of the present invention, the embedded Linux operating system based on Power PC hardware framework is carried out tailoring and customizing, comprises the steps:

[0042] Step 1. Carry out source code file-level tailoring of the embedded Linux operating system in the original PowerPC hardware architecture:

[0043] 1) Determine the required operating system modules according to the architecture and specific application requirements of the PowerPC processor, and these operating system modules are reserved; by analyzing the correspondence between each operating system module and the source code of the operating system kernel, determine the reserved operation The kernel source code corresponding to the system module.

[0044] 2) After the trimming starts, it includes A) the trimming of the kernel source code folder, that is, the kernel source code directory, and B) the trimming of the source code files.

[...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an embedded Linux operation system trimming customization method and belongs to the technical field of operation system trimming. The problems that an existing embedded Linux operation system code number based on a PowerPC hardware architecture is too large, the number of redundant modules is too large, and reading and modifying are not easy are solved. According to the technical scheme, an embedded Linux operation system based on the PowerPC hardware architecture is subjected to trimming and customization, the method comprises the steps that the embedded Linux operation system in the PowerPC hardware architecture is subjected to source code file level trimming; the embedded Linux operation system in the PowerPC hardware architecture is subjected to source code level trimming; source codes of the trimmed embedded Linux operation system are subjected to integral compiling, and embedded Linux operation system nucleus files are generated; and the compiled embedded Linux operation system nucleus files are used and are programmed into a storage of a main board in the PowerPC hardware architecture, then comprehensiveness testing is carried out, and whether the function or the performance of the trimmed embedded Linux operation system is normal is verified.

Description

technical field [0001] The invention relates to the technical field of operating system tailoring, in particular to an embedded Linux operating system tailoring customization method. Background technique [0002] PowerPC is a CPU with RISC architecture. PowerPC processor has very strong embedded performance because it has excellent performance, low energy consumption and low heat dissipation. The PowerPC processor has 32 (32-bit or 64-bit) GPRs (General Purpose Registers) and registers such as the PC (Program Counter, also known as IAR / Instruction Address Register or NIP / Next Instruction Pointer), LR (Link Register), CR ( Condition Register) and various other registers, and thirty-two 64-bit FPRs (floating point registers). [0003] The Linux operating system is a clone system of the UNIX operating system, which was born on October 5, 1991 (this is the first time it was officially announced to the outside world). Later, with the help of the Internet network, it has become ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/45
Inventor 李岩
Owner SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products