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

Storage method and fault recovery method for bootstrap program, and devices

A bootloader and storage device technology, applied to program control devices, program loading/starting, and response error generation, can solve problems such as difficult system recovery, insecurity, and system bootstrapping, so as to prolong service life and improve safety performance, the effect of reducing the storage area

Inactive Publication Date: 2015-12-23
XIAN ZHONGXING NEW SOFTWARE
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1) In the prior art, if there is a power failure when upgrading the boot program, the system bootstrap problem will occur when the system is started next time
[0007] 2) In the prior art, the first-stage code and the second-stage code in the boot program are combined and stored in the storage medium. Here, the code used to complete the basic parameter setting and load the second-stage code to the memory is usually The code is called the first-stage code, and the code used to load the kernel into the memory and run is called the second-stage code; if the boot program fails during the running or upgrading process, the system will be difficult to recover. In this case, the It is necessary to disassemble the storage medium, rewrite the software with a burner or write it with the Joint Test Action Group (JTAG) interface, which is not only unsafe, but also destroys the problem site, which brings a lot of inconvenience to the software development process

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
  • Storage method and fault recovery method for bootstrap program, and devices
  • Storage method and fault recovery method for bootstrap program, and devices
  • Storage method and fault recovery method for bootstrap program, and devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In the embodiment of the present invention, the first-stage code and the second-stage code of the boot program are configured; wherein, the first-stage code is used to complete basic parameter settings, perform fault detection on the second-stage code, and perform corresponding operations according to the detection results ; The second-stage code is used to load the kernel into the memory and run; the first-stage code is stored in a preset first partition in the storage medium, and the second-stage code is stored in the storage medium by default of the second partition.

[0059] The method and device of the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0060] The embodiment of the present invention proposes a storage method of bootstrap program, such as figure 1 As shown, the method includes:

[0061] Step S100: configuring the first stage stage1 code and the second stage stage2 code of 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 discloses a storage method for bootstrap program. The method comprises: configuring first stage codes and second stage codes of the bootstrap program, wherein the first stage codes are used to complete setting of basic parameters, detect faults of the second stage codes, and execute corresponding operation according to the detection results, and the second stage codes are used to load core to memory and operate the core; storing the first stage codes in a first partition preset in a storage medium, and storing the second stage codes in a second partition preset in the storage medium. The invention also discloses a fault recovery method for the bootstrap program, and a storage device, and an embedded device.

Description

technical field [0001] The invention relates to boot program management technology in the embedded field, in particular to a boot program storage method, fault recovery method and equipment. Background technique [0002] UBoot and BootLoader are bootloaders for the Central Processing Unit (CPU) of various embedded devices. UBoot is an upgraded version of BootLoader. UBoot not only supports Linux systems, but also supports VxWorks, NetBSD, LyxOS and other embedded operating systems . The processors supported by UBoot include: 80×86, ARM, MIPS, XScale, and PowerPC. The main function of UBoot is to initialize hardware devices. After setting up the hardware and software operating environment, load the operating system kernel from the storage medium into the memory. , and finally jump to the entry of the operating system, and hand over control to the operating system. [0003] Firmware Over The Air (FOTA) is a firmware upgrade over-the-air technology for terminal equipment, whi...

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/445G06F3/06
CPCG06F9/445
Inventor 段瑞楠
Owner XIAN ZHONGXING NEW SOFTWARE
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