Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for loading multiple operating systems with a single elf file

A technology of multiple operating systems and operating systems, applied in the field of loading multiple operating systems with a single ELF file, can solve the problems of large code size and inability to load operating systems, and achieve the effect of reducing the size and the probability of failing to load any system.

Active Publication Date: 2020-05-29
ZHEJIANG UNIV
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The traditional method of realizing multiple operating systems is mainly to partition the FLASH, install each operating system in different partitions in advance, and then load the operating system of the corresponding partition from the FLASH through external instructions or according to the last system abnormality. ; But the loading program adopted by the traditional method needs to include the FLASH driver, so the code size is relatively large, and when an error occurs in the FLASH area where the loading program itself is located, the corresponding operating system cannot be loaded

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
  • A method for loading multiple operating systems with a single elf file
  • A method for loading multiple operating systems with a single elf file
  • A method for loading multiple operating systems with a single elf file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to describe the present invention more specifically, the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0018] In order to minimize the code volume of the loading program itself, the present invention provides a method for loading multiple operating systems with a single ELF file, and the technical scheme adopted is as follows:

[0019] First, design a tool program to convert the ELF files of each operating system, convert the binary content in each segment (such as TEXT segment, DATE segment, RODATE segment) with data content into a C language byte array, and then convert the ELF The core information about these segments in the file (such as loading address, segment size, etc.) is extracted together with the C byte array to generate a C structure, which is used to represent the information and content of a segment in an operating system; and then the same o...

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 a method for achieving loading of a single ELF file in multiple operating systems. According to the method, a plurality of ELF files and loading program ELF files of one operating system are converted into one single ELF file which can be burnt into a FLASH in one time and loaded into an inner memory from the FLASH in one time so that when a loading program selects an operating system to be loaded, it is not required to read the operating system from the FLASH, and in other words, FLASH drive is not required, and therefore the volume of the loading program can be decreased to the maximum extent, and the probability of unavailable loading of any operating system due to errors in the FLASH area where the loading program is positioned is decreased. The method for achieving loading of the single ELF file in the multiple operating systems can be applied to a complex environment for achieving multiple operating systems, in particular to the environment where bad block or bit reversal is likely to happen to the FLASH.

Description

technical field [0001] The invention belongs to the technical field of embedded operating systems, and in particular relates to a method for realizing loading of multiple operating systems by a single ELF file. Background technique [0002] ELF (Executable and Linkable Format) file is an executable file format, which contains binary data generated by compilation and some necessary segment information, symbol table and other information. In the embedded field, ELF files are often used as the final compilation generated The rewritable file format is used for program programming and loading. [0003] Embedded multi-operating system backup technology refers to the technology of installing multiple operating systems on an embedded system and using the loader to load a suitable operating system instance to run. Multiple operating systems can be the same operating system or multiple For different systems, operating system redundancy can be realized by using multi-operating system ...

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 Patents(China)
IPC IPC(8): G06F9/445
CPCG06F9/44521
Inventor 李红黄雷金瑜林杨国青吴朝晖
Owner ZHEJIANG UNIV