Protection design method of bootstrap program

A technology of boot program and protection design, applied in the direction of boot program, program control device, calculation, etc., can solve the problems of boot program damage, system failure to start, etc., and achieve the effect of solving the problem of failure to start

Pending Publication Date: 2020-05-05
JINGCHEN SEMICON SHENZHEN CO LTD
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the above problems, the present invention proposes a bootloader protection design method, which can effectively prevent the intelligent terminal device from being powered off during the upgrade process, causing the bootloader to be empty or the bootloader in the Bootloader partition to be damaged, resulting in the system failing to start The problem

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
  • Protection design method of bootstrap program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to describe the technical solution of the present invention more clearly and completely, the present invention will be further described below in conjunction with the accompanying drawings.

[0018] Please refer to figure 1 , the present invention proposes a protection design method for bootstrap, comprising:

[0019] A bootloader is stored in the Bootloader partition of the logical partition of the storage device, and the same bootloader as the bootloader in the Bootloader partition is also stored in the inherent partitions Boot0 and Boot1 of the storage device, and the backup startup of the bootloader in the partition is set The order is: Bootloader first, Boot0 second, and Boot1 last;

[0020] When starting the data of the Bootloader partition, first check its integrity. If it is complete, the boot program will be loaded from the Bootloader partition; if it is incomplete, quickly start the Boot0 partition data in the backup plan;

[0021] When starting the...

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 provides a protection design method of a bootstrap program. The method comprises the following steps of: storing a boot program in a Bootloader partition of a logic partition of a storage device, storing boot programs which are the same as the boot programs in the Bootloader partition in an inherent partition Boot0 and an inherent partition Boot1 of the storage device; and setting abackup starting sequence of the boot programs in partitions: firstly, the Bootloader, then the Boot0, and finally, the Boot1. The problem that the boot program is empty or the boot program in the Bootloader partition is damaged to cause that the system cannot be started due to a power failure phenomenon in the upgrading process of the intelligent terminal equipment can be effectively prevented.

Description

technical field [0001] The invention relates to the field of embedded system application, in particular to a boot program protection design method. Background technique [0002] At present, the software system of smart terminal equipment often needs to be upgraded with the use cycle. On the one hand, upgrading the software can effectively solve various problems in the software of the smart terminal equipment after the manufacturer leaves the factory, including the part of the boot program. bug, it is necessary to use Ethernet to upgrade the end user's machine; on the other hand, in order to improve the market competitiveness of their products, manufacturers will launch new software products every once in a while, and some functions may need to modify the boot program. The corresponding upgrades are also required from time to time. [0003] In the upgrade process of smart terminal equipment, in order to ensure the integrity of the upgrade, the industry usually adopts 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
IPC IPC(8): G06F9/4401G06F8/65G06F11/14
CPCG06F9/4401G06F8/65G06F11/1433
Inventor 徐李超何晓帆赵守福余威
Owner JINGCHEN SEMICON SHENZHEN 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