Bootloader program module updating method and device

A technology of program modules and update methods, which is applied in software deployment and other directions, can solve problems such as equipment system failure to start, and achieve the effect of good versatility and wide application

Inactive Publication Date: 2018-01-19
MAIPU COMM TECH CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing bootloader update solution usually updates two Bootloader programs at the same time. After the system is restarted, if one bootloa

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
  • Bootloader program module updating method and device
  • Bootloader program module updating method and device
  • Bootloader program module updating method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0033] Please refer to figure 2 , is a schematic flowchart of the method for updating the Bootloader program module provided by the first embodiment of the present invention. It should be noted that the Bootloader program module updating method described in the embodiment of the present invention does not use figure 2 And the specific order described below is a limitation. It should be understood that in other embodiments, the order of some steps in the bootloader program module updating method can be exchanged according to actual needs, or some steps can also be omitted or deleted. Below, the figure 2 The specific process shown will be described in detail.

[0034] Step S101, determining that the first Bootloader program module among the two Bootloader program modules can successfully guide the network device 100 to start.

[0035] Specifically, the central processing unit 120 reads the first Bootloader program module from the storage medium 130 by accessing the bus 11...

no. 2 example

[0040] Please refer to image 3 , is a schematic flow chart of the Bootloader program module update method provided in the second embodiment of the present invention, which is different from the first embodiment in that the Bootloader program module update method provided in the second embodiment of the present invention also includes:

[0041] Step S202, verifying the second Bootloader program module to obtain a verification result.

[0042] In this embodiment, after the central processing unit 120 reads the first Bootloader program module through the access bus 110 and the first Bootloader program module successfully guides the network device 100 to start, the central processing unit 120 reads the program module from the storage medium 130 through the access bus 110. The second Bootloader program module is taken, and a verification calculation is performed on the second Bootloader program module to obtain a verification result. Wherein, the verification result includes veri...

no. 3 example

[0062] Please refer to Figure 5 , is a functional block diagram of the bootloader program module updating apparatus 400 provided in the third embodiment of the present invention. It should be noted that the bootloader program module update device 400 described in the embodiment of the present invention has the same basic principles and technical effects as the first embodiment. For a brief description, the parts not mentioned in this embodiment can be referred to in the first embodiment. Corresponding content in an embodiment. The bootloader program module update apparatus 400 includes a startup determination module 410 and an update module 420 .

[0063] The startup determining module 410 is configured to determine that the first Bootloader program module among the two Bootloader program modules can successfully boot the network device 100 .

[0064] It can be understood that the start determining module 410 may execute the above step S101.

[0065] The updating module 42...

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

An embodiment of the invention provides a Bootloader program module updating method and device, and relates to the technical field of embedded systems. The method includes the steps: updating a secondBootloader program module in two Bootloader program modules after determining that a first Bootloader program module in the two Bootloader program modules can successfully guide a network device to start; ensuring that the first Bootloader program module and the updated second Bootloader program module can successfully guide the network device to start. Updating is automatically realized withoutmanually paying close attention to the difference between the two Bootloader program modules, excessive version consistency or difference of the two Bootloader program modules is avoided, and the method is good in universality and high in reliability.

Description

technical field [0001] The invention relates to the technical field of embedded systems, in particular to a method and device for updating a Bootloader program module. Background technique [0002] Most of the current embedded system equipment, in order to improve the reliability of the operating system startup, usually adopts a dual Bootloader program (system startup boot program) design, its role is: when one boot program fails, it is hoped that another boot program can continue System startup guide. The existing bootloader update scheme usually updates two Bootloader programs at the same time. After the system is restarted, if one bootloader cannot successfully boot the device, the other bootloader cannot successfully boot either, resulting in the failure of the device system to start. Contents of the invention [0003] The purpose of the embodiments of the present invention is to provide a bootloader program module update method and device to improve the above problem...

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): G06F8/65
Inventor 罗文武
Owner MAIPU COMM 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