Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for backing up boot program

A boot program and backup technology, applied in program control devices, program loading/starting, instruments, etc., can solve the problems of multiple hardware resources, multiple storage spaces, low startup efficiency, etc., and achieve simple operation process, simple verification process, Effective start-up

Active Publication Date: 2011-04-20
ZTE CORP
View PDF4 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Currently, there are three popular backup methods for the boot code: 1. Use two identical storage devices to back up the boot code, which will take up more hardware resources and more storage space; 2. Set up two There are two memories for storing the boot program, and one of the memories is specified as the main boot memory. When backing up the boot program, not only the corresponding registers and other parts need to be modified, but also the original boot program information needs to be modified accordingly, which will make the verification method more complicated; 3. , Set up two storage areas for storing the boot program in one memory, and stipulate that one of the storage areas is the main boot storage area, and additional storage hardware is added to store the chip select signal. Every time the system starts, it needs to start from the main boot memory. , it will make the startup speed slow and the startup efficiency is low. In addition, hardware resources are added to store chip selection signals, resulting in a waste of hardware resources.
Moreover, the above-mentioned method increases the auxiliary device, and increases the unreliable factor of system operation at the same time

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
  • Method and device for backing up boot program
  • Method and device for backing up boot program
  • Method and device for backing up boot program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The embodiment of the present invention obtains the master boot program in the first storage area according to the default or recorded identification information of the first storage area, and starts it; wherein, the first storage area is the current storage area; after the startup is successful , Record the identification information of the first storage area; backup the master boot program in the first storage area to the second storage area in the same memory. The embodiment of the present invention provides two boot program storage areas in one memory, which will not occupy too many hardware resources; it does not specify which of the two boot program storage areas is the main boot program storage area, and the system can be started according to the last boot The information in the boot program storage area saved after success is started from the boot program storage area. There is no need to limit the start from the main boot program storage area, so that the startup...

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 backing up a boot program, which is used for realizing backup of the boot program and improving the reliability of system startup. The method comprises the following steps: obtaining a main boot program in a first memory area according to the default or recorded identification information in the first memory area, and starting up the main boot program, wherein the first memory area is the current memory area; after the main boot program is successfully started up, recording the identification information in the first memory area; and backing up the main boot program in the first memory area to a second memory area in the same memory. The invention also discloses a method for upgrading a boot program, which is used for realizing upgrading of the boot program. The method comprises the following steps: determining whether the boot program is needed to be upgraded after the main boot program in the first memory area is started up; if so, obtaining upgrading information; and upgrading the boot program backed up to the second memory area according to the obtained upgrading information. The invention also discloses a device for realizing the method.

Description

Technical field [0001] The invention relates to the field of embedded and computer, in particular to a boot program backup method and device. Background technique [0002] In complex embedded products, a simple boot program code is generally required after the device is powered on or reset to make necessary configurations for the CPU to guide the minimum CPU system to start normally. After the CPU minimum system runs successfully, load the peripheral function device drivers and system software, and realize the normal operation of embedded products. [0003] The boot code is generally stored in a non-volatile storage device, and the code size is generally 1K to 512K bytes. Due to the existence of various abnormal conditions, the data in the storage device may change, causing the device or the board to fail to start, affecting the reliability of product performance. Therefore, it is very important to make necessary backups of the startup program code. There are currently three pop...

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): G06F11/14G06F9/445
CPCG06F9/445G06F11/14G06F11/1417
Inventor 杨细龙
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products