Bootstrap on-line upgrading method

A bootloader and program technology, applied in the field of communication, can solve the problems of not being able to upgrade online, occupying a large space, and unfavorable for high-integration boards, etc.

Inactive Publication Date: 2008-04-09
NANJING ZHONGXING XIN SOFTWARE CO LTD
View PDF2 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the patent No. CN02131441, a boot program storage device and its method for ensuring online upgrade are described, but the disadvantage of this technology is that two boot program memories need to be used, which occupies a large space on the single board, which is not conducive to high-speed integrated board
In addition, in the No. CN03137422 patent, a method for bootloader hot upgrade is described. The determination of this technology is to divide the bootloader into a basic boot module and a non-solidified main boot module, and only supports online upgrade of the latter, while The former cannot be upgraded online
Patent No. CN200610002035 also describes an online upgrade technology for bootloaders, but this technology also divides bootloaders into basic bootloaders and upgradeable bootloaders, and only supports online upgrades for upgradeable bootloaders

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
  • Bootstrap on-line upgrading method
  • Bootstrap on-line upgrading method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0021] Fig. 1 is a flow chart of a boot program online upgrade method according to the present invention. As shown in Figure 1, the method includes the following steps:

[0022] Step S102, when the central processing system is powered on, boot the central processing system through the main boot program stored in the boot program storage main page of the boot program storage device;

[0023] Step S104, when the main boot program is normal, verify the inactive boot program stored in the inactive boot program storage page of the programmable device;

[0024] Step S106, when the non-use boot program is correct, judge whether the non-use boot program needs to be updated...

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 method for guiding the online upgrade of programs, which comprises: when a central processing system is powered, through a main bootstrap program in a bootstrap program storage main-use page stored in a bootstrap program storage device, a central processing system is guided to boot; when the main bootstrap program is under the normal circumstances, a non-use bootstrap program in a non-use bootstrap program storage page stored in a programmable device shall be verified; when the non-use bootstrap program is correct, it is judged that whether the non-use bootstrap program needs update, and when the non-use bootstrap program need not to be updated, the central processing system maintains the operation; in addition, when the non-use bootstrap program needs to be updated, the non-use bootstrap program shall be updated, and shall be switched over to reboot the central processing system through the non-use bootstrap program. Therefore, on the basis of a one-chip bootstrap program storage device, the online upgrade of the bootstrap program shall be realized and backspace shall be supported, so as to reduce the frequency of a maintainer to the foreground to replace the bootstrap program storage device, which is convenient for debugging.

Description

technical field [0001] The present invention relates to the communication field, and more specifically, relates to an online upgrade method of a boot program in an embedded system. Background technique [0002] In the embedded central processing system (CPU) of a communication system application board, the program is generally divided into two parts: a boot program and an application program. Wherein, the boot program is solidified in the flash memory (FLASH), and is used to store the boot code of the CPU on the single board, and guide the CPU on the single board to start, initialize and self-check when the board is powered on or reset. After the boot program boots the CPU, it will transfer the application program from the FLASH to the memory, and the single board starts to run the application program. [0003] In order to facilitate maintenance, both the application program and the bootloader have the requirement of online upgrade. In the patent No. CN02131441, a boot pro...

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/445
Inventor 李吉红
Owner NANJING ZHONGXING XIN SOFTWARE 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