Rapid and safe starting method for embedded Linux system

A secure boot and embedded technology, applied in the field of Linux systems, can solve problems such as system crashes, long startup times, and undetectable data errors, and achieve the effects of reduced startup time, high compression ratio, and reduced storage space

Inactive Publication Date: 2015-07-15
ALLWINNER TECH CO LTD
View PDF3 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a fast and safe startup method for an embedded Linux system for the deficiencies of the prior art, which overcomes the defects of the prior art that the Linux system startup time is too long, and cannot detect data errors during startup, resulting in System crash bug

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
  • Rapid and safe starting method for embedded Linux system
  • Rapid and safe starting method for embedded Linux system
  • Rapid and safe starting method for embedded Linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Such as figure 2 and image 3 Shown, the embedded Linux system quick and safe startup method of the present invention comprises steps:

[0036] A1, use the XZ compression algorithm to compress the Linux system boot loader and the backup boot loader to form the boot loader compression code and the backup boot loader compression code;

[0037] A2. When the Linux system starts, read the bootloader compression code, and use the XZ decompression algorithm to decompress the bootloader compression code;

[0038] A3. Calculate the boot loader check code and compare it with the boot loader header check code;

[0039] A4. If the comparison result is correct, execute the boot loader, otherwise, execute step A5;

[0040] A5. Read the backup bootloader compression code from the data backup area, and use the XZ decompression algorithm to decompress the backup bootloader compression code;

[0041] A6. Calculate the checksum of the backup bootloader and compare it with the header ...

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 rapid and safe starting method for an embedded Linux system. The method comprises the following steps: A1, compressing a Linux system bootstrap loader and a backup bootstrap loader by using an XZ compression algorithm to form a bootstrap loader compression code and a backup bootstrap loader compression code; A2, during starting of the Linux system, reading the bootstrap loader compression code, and decompressing the bootstrap loader compression code by using the XZ decompression algorithm; A3, calculating a bootstrap loader check code, and comparing the bootstrap loader check code with a bootstrap loader head check code; A4, if a comparison result is correct, executing the bootstrap loader, otherwise executing a step A5; A5, reading the backup bootstrap loader compression code from a data backup region, and decompressing the backup bootstrap loader compression code by using an XZ decompression algorithm; A6, calculating a backup bootstrap loader check code, and comparing the backup bootstrap loader check code with a backup bootstrap loader head check code; A7, if a comparison result is correct, executing the backup bootstrap loader, otherwise terminating the starting progress.

Description

technical field [0001] The invention relates to the technical field of Linux systems, in particular to a fast and safe startup method for an embedded Linux system. Background technique [0002] In the development of embedded application systems, a large amount of data processing is usually required. For example, in electronic products such as driving recorders, sports cameras, and network cameras, there are a large amount of data such as images and sounds that need to be processed. In order to store these data on embedded products, a large storage space needs to be expanded, thus increasing the cost of the product and the system start-up time. If the data can be compressed and the system startup time can be optimized, the storage space of the data can be reduced, the cost of the product can be reduced, the competitiveness of the product can be improved and the user experience can be improved. [0003] Traditional embedded Linux system firmware consists of bootloader (such a...

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/445G06F11/14
Inventor 刘白皓
Owner ALLWINNER TECH 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