CN114780119A - Firmware updating method and related equipment - Google Patents

Firmware updating method and related equipment Download PDF

Info

Publication number
CN114780119A
CN114780119A CN202210490668.3A CN202210490668A CN114780119A CN 114780119 A CN114780119 A CN 114780119A CN 202210490668 A CN202210490668 A CN 202210490668A CN 114780119 A CN114780119 A CN 114780119A
Authority
CN
China
Prior art keywords
firmware
reset
vector
management
management device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210490668.3A
Other languages
Chinese (zh)
Other versions
CN114780119B (en
Inventor
史彦芪
孙路遥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xingyun Zhilian Technology Co ltd
Original Assignee
Shenzhen Xingyun Zhilian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xingyun Zhilian Technology Co ltd filed Critical Shenzhen Xingyun Zhilian Technology Co ltd
Priority to CN202210490668.3A priority Critical patent/CN114780119B/en
Publication of CN114780119A publication Critical patent/CN114780119A/en
Application granted granted Critical
Publication of CN114780119B publication Critical patent/CN114780119B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses a firmware updating method and related equipment, which are applied to a management device in a distributed system, wherein the distributed system further comprises a management controller, the management controller is communicated with the management device through a sideband bus, and the management device comprises: the device comprises a reset module, a vector logic processing module and a firmware updating module; the method comprises the following steps: entering a reset state through the reset module; setting the vector enable of the management device through the vector logic processing module to obtain a target vector signal, wherein the direction of the target vector signal is that the management controller points to the management device; and determining a target operation mode corresponding to the target vector signal, the target operation mode including a firmware update parameter; and realizing firmware updating operation according to the updated firmware parameters through the firmware updating module. By adopting the embodiment of the application, the firmware updating efficiency can be improved.

Description

Firmware updating method and related equipment
Technical Field
The present application relates to the field of communications technologies and internet technologies, and in particular, to a firmware update method and related devices.
Background
In practical applications, a distributed system (data center) updates firmware by using a sideband bus, that is, a distributed system Management Controller (MC) runs a Platform Level Distributed Management (PLDM) protocol to update firmware of a Management Device (MD).
Disclosure of Invention
The embodiment of the application provides a firmware updating method and related equipment, which can improve the firmware updating efficiency of a firmware updating device.
In a first aspect, an embodiment of the present application provides a firmware update method, which is applied to a management device in a distributed system, where the distributed system further includes a management controller, where the management controller communicates with the management device through a sideband bus, and the management device includes: the device comprises a reset module, a vector logic processing module and a firmware updating module; the method comprises the following steps:
entering a reset state through the reset module;
setting the vector enable of the management device through the vector logic processing module to obtain a target vector signal, wherein the direction of the target vector signal is that the management controller points to the management device; and determining a target operating mode corresponding to the target vector signal, the target operating mode including firmware update parameters;
and realizing firmware updating operation according to the updated firmware parameters through the firmware updating module.
In a second aspect, an embodiment of the present application provides a firmware update apparatus, which is applied to a management apparatus in a distributed system, where the distributed system further includes a management controller, and the management controller communicates with the management apparatus through a sideband bus, and the management apparatus includes: the device comprises a reset module, a vector logic processing module and a firmware updating module; the device comprises: a reset unit, a vector processing unit and an update unit, wherein,
the reset unit is used for entering a reset state through the reset module;
the vector processing unit is used for setting the vector enable of the management device through the vector logic processing module to obtain a target vector signal, and the direction of the target vector signal is that the management controller points to the management device; and determining a target operation mode corresponding to the target vector signal, the target operation mode including a firmware update parameter;
and the updating unit is used for realizing firmware updating operation according to the firmware updating parameters through the firmware updating module.
In a third aspect, an embodiment of the present application provides a management device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform some or all of the steps described in the first aspect of the embodiment of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
it can be seen that the firmware updating method and the related apparatus described in the embodiments of the present application are applied to a management device in a distributed system, the distributed system further includes a management controller, the management controller communicates with the management device through a sideband bus, and the management device includes: the system comprises a reset module, a vector logic processing module and a firmware updating module, wherein the reset module is used for entering a reset state, the vector logic processing module is used for setting vector enable of a management device to obtain a target vector signal, and the direction of the target vector signal points to the management device for a management controller; and determining a target operation mode corresponding to the target vector signal, wherein the target operation mode comprises a firmware updating parameter, and the firmware updating module is used for realizing firmware updating operation according to the firmware updating parameter, so that a firmware updating program can be simplified, namely a firmware updating protocol stack of a distributed system does not need to be operated, a firmware updating flow is simplified, and the firmware updating efficiency is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic structural diagram of a distributed system for implementing a firmware update method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of another distributed system for implementing a firmware update method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a firmware update method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a management device according to an embodiment of the present application;
fig. 5 is a block diagram illustrating functional units of a firmware update apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein may be combined with other embodiments.
The management device described in the embodiment of the present application may include a smart Phone (e.g., an Android Phone, an iOS Phone, a Windows Phone, etc.), a tablet computer, a palm computer, a car data recorder, a router, a network card, a switch, a network device, a server, a notebook computer, a Mobile Internet device (MID, Mobile Internet Devices), or a wearable device (e.g., a smart watch, a bluetooth headset), which are merely examples, but are not exhaustive, and include but are not limited to the foregoing management device, and the management device may also be a cloud server.
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a distributed system for implementing a firmware update method according to an embodiment of the present application, where as shown in the drawing, the distributed system may include a management controller and at least one management device, the management controller and the management device communicate with each other through a sideband bus, and the at least one management device may include: the device comprises a reset module (Deglitch), a Vector Logic processing module (Vector Logic), a firmware update module (FW update Logic), a test module (self-test) and a storage module (Flash). Only one management device is illustrated in fig. 1. Of course, the management device may also include a secure digital input and output card (SDIO). The management controller and the management device can also be connected with a HOST (HOST) through a system bus, and the HOST can be used for performing remote control functions on the management controller or the management device.
In a specific implementation, the management controller and the management device communicate with each other through a sideband Bus, and certainly, the management controller and the management device communicate with each other through a System Bus (System Bus) or a high-speed serial computer extended Bus (pci) standard. The management controller controls the reset module through the reset signal and enables the vector logic processing module through the vector.
Further, as shown in fig. 2, the management apparatus may further include an RMII logic control module and an I2C logic control module, where the RMII logic control module is configured to implement authority control on an RMII bus, and the I2C logic control module is configured to implement selection of a communication mode of the I2C bus or the system bus.
In a specific implementation, the management controller may send a reset signal or a vector enable signal to the management device, perform a reset operation by the management device upon receiving the reset signal, enter a corresponding operation mode by the management device upon receiving the vector enable signal, and implement a corresponding function.
Based on the management device in the distributed system in the embodiment of the present application, the following functions may be implemented:
the reset module is used for entering a reset state;
the vector logic processing module is configured to set a vector enable of the management device to obtain a target vector signal, where the direction of the target vector signal is that the management controller points to the management device; and determining a target operation mode corresponding to the target vector signal, the target operation mode including a firmware update parameter;
and the firmware updating module is used for realizing firmware updating operation according to the firmware updating parameters.
Optionally, the following functions may also be implemented:
the reset module is used for releasing a first reset signal, and the first reset signal comprises a reset vector;
the vector logic processing module is configured to enable the management device to enter the target operating mode according to the reset vector.
Optionally, the following functions may also be implemented:
receiving a second reset signal sent by the management controller;
and confirming that the firmware updating operation is completed between the management controller and the management device through the sideband bus when the firmware updating operation is completed.
Optionally, the following functions may also be implemented:
when the reset program of the management device is completed, the management device enters a firmware updating mode;
finishing communication operation between the management device and the management controller through the sideband bus to confirm the firmware updating parameters;
feeding back a notification message of readiness of firmware update to the management controller through the sideband bus;
updating the firmware to be updated according to the firmware updating parameters through the management controller;
the implementing, by the firmware update module, the firmware update operation according to the update firmware parameter includes:
and updating the firmware to be updated according to the updated firmware parameters through the firmware updating module.
Optionally, the sideband bus is a simplified media independent interface RMII bus, and it is realized through the sideband bus that, in a communication process between the management controller and the management apparatus, other devices except the management apparatus do not allow communication through the sideband bus.
In the embodiment of the application, a firmware updating program can be simplified, namely a firmware updating protocol stack of a distributed system does not need to be operated, a firmware updating flow is simplified, and a processor can still update the firmware when the processor cannot normally work in the states of firmware failure and the like; the firmware updating process does not need to depend on a processor and a Basic Input Output System (BIOS), a sideband bus including SMBus, RMII and the like is used in the firmware updating process, PCIe is not used, and therefore interface control is simplified and implementation cost is reduced.
In the embodiment of the present application, the communication between the management controller and the management device can be simplified, including: the shared bus comprises control information, and the data shares the out-of-band management bus without an additional sideband pin; the communication between the BMC and the management device is established in a low-layer protocol (a physical layer and a link layer) of a sideband interface (RMII/SMBus) without the support of a software protocol stack. And the reset vector and the bolt-lock circuit of the sideband can be utilized to enter a specified working mode, the system control is simplified, and a BIOS (basic input output System) is not needed.
Referring to fig. 3, fig. 3 is a schematic flowchart of a firmware update method according to an embodiment of the present application, and is applied to a management device in the firmware update system shown in fig. 1 or fig. 2, where the distributed system further includes a management controller, the management controller communicates with the management device through a sideband bus, and the management device includes: the device comprises a reset module, a vector logic processing module and a firmware updating module; as shown in the figure, the firmware updating method includes:
301. and entering a reset state through the reset module.
In a specific implementation, the management controller may enter a preparation before a firmware update operation of the management apparatus, specifically, a preparation before reset: the shared sideband bus between the RMII bus connection equipment and the management controller can be stopped, namely, other connection equipment except the management controller is not communicated through the RMII bus.
In addition, the management controller may send a reset signal to the management apparatus to reset the management apparatus, so that the management apparatus enters a reset state. The sideband bus does not malfunction due to the reset of the management device.
302. Setting the vector enable of the management device through the vector logic processing module to obtain a target vector signal, wherein the direction of the target vector signal is that the management controller points to the management device; and determining a target operation mode corresponding to the target vector signal, the target operation mode including a firmware update parameter.
In a specific implementation, the different operation modes may correspond to different firmware update parameters, and the firmware update parameters may include at least one of the following: firmware type, firmware quantity, firmware update priority, firmware update time, etc., without limitation. The target operating mode may include at least one of: a test mode, a normal operation mode, a designated operation mode, etc., which are not limited herein, and the normal operation mode may be set by a user or default to the system. The designated mode of operation may be set at the discretion of the user.
Specifically, the vector enable of the management device can be set through the vector logic processing module to obtain a target vector signal, and the direction of the target vector signal is the direction of the management controller pointing to the management device. Furthermore, a target operation mode corresponding to the target vector signal may be determined according to a mapping relationship between the preset vector signal and the operation mode, where the target operation mode includes a firmware update parameter.
In a specific implementation, a Vector-Enable (Vector-Enable) of the management device may be set, the Vector-Enable being a sideband connected to the management device via an input/output (I/O) interface and directed to the management device by the management controller. The multiplexing management controller generates corresponding reset signals for independent sideband signals of the management device. Of course, any pin of the management device corresponding to the RMII bus may be used to transmit the reset signal. If a normal reset-after-start procedure is employed, the disable sideband vector may also be set.
In a specific implementation, the reset vector pin may be independent of a sideband bus, which may include at least one of: an RMII bus, an I2C bus, an SPI bus, etc., without limitation.
In a specific implementation, the management device vector enable may be set, and the management device vector specifies a post-reset operation mode, which may include updating firmware.
303. And realizing firmware updating operation according to the updated firmware parameters through the firmware updating module.
In specific implementation, the firmware updating module can be used for realizing firmware updating operation according to the firmware updating parameters, and further, firmware updating in a target operation mode can be realized. In the embodiment of the application, the firmware update mode can be entered through system reset, and the management controller shares the sideband to update the firmware of the management device.
Optionally, the method may include the following steps:
a1, releasing a first reset signal by the reset module, wherein the first reset signal comprises a reset vector;
a2, the vector logic processing module makes the management device enter the target operation mode according to the reset vector.
In a specific implementation, the management controller may send a reset signal to the management device, and then the management device may receive the reset signal, and release the first reset signal through the reset module, where the first reset signal may include a reset vector, and then, the management device may enter the target operation mode according to the reset vector through the vector logic processing module.
Optionally, the method may further include the following steps:
b1, receiving a second reset signal sent by the management controller;
b2, confirming the completion of the firmware update operation between the management controller and the management device through the sideband bus when the firmware update operation is completed.
In a specific implementation, the management controller may send a second reset signal to the management device, and then the management device may receive the second reset signal sent by the management controller, and when the firmware update operation is completed, confirm that the firmware update operation is completed between the management controller and the management device through a sideband bus, which may be a system bus or an RMII bus.
In particular implementations, the reset module can include a reset latch circuit. Further, the manager reset signal may be released, which may enable the reset vector via the reset module to enter a specified mode of operation via the reset latch circuit. In one embodiment, the reset latch circuit may be formed of a D-type flip-flop (L) followed by vector logic to determine the mode of operation.
Optionally, the method may further include the following steps:
c1, when the reset program of the management device is completed, the management device enters a firmware update mode;
c2, completing the communication operation between the management device and the management controller through the sideband bus to confirm the firmware update parameters;
c3, feeding back a notification message of readiness of firmware update to the management controller through the sideband bus;
c4, updating the firmware to be updated according to the firmware updating parameters through the management controller;
then, in step 303, the firmware updating module implements the firmware updating operation according to the updated firmware parameter, including:
and updating the firmware to be updated according to the updated firmware parameters through the firmware updating module.
In specific implementation, when a reset program of the management device is completed, the management device enters a firmware update mode, communication operation between the management device and the management controller is completed through a sideband bus to confirm firmware update parameters, specifically, which firmware needs to be updated, update when the firmware needs to be updated, update priority and the like can be determined, a notification message of firmware update readiness can be fed back to the management controller through the sideband bus, the firmware to be updated is updated according to the firmware update parameters through the management controller, and finally, the firmware to be updated can be updated according to the firmware update parameters through a firmware update module, so that firmware update efficiency can be improved.
Optionally, the sideband bus is a simplified media independent interface RMII bus, and it is realized through the sideband bus that, in a communication process between the management controller and the management apparatus, other devices except the management apparatus do not allow communication through the sideband bus.
In a specific implementation, the management controller may turn on the RMII bus connection device to share the sideband bus with the management controller, that is, other connection devices except the management controller may communicate via the RMII bus normally.
For example, taking the sideband reset vector and the latch circuit entering the designated mode as an example, the management apparatus is prepared before reset, that is, the RMII bus connection device is disabled to share the sideband bus with the management apparatus, that is, the other connection devices except the management controller do not communicate via the RMII bus, and the management apparatus is reset to enter the reset state. The sideband bus does not malfunction due to the reset of the management device. Further, a vector-enable (vector-enable) may be set and the I/O direction from the management controller to the management device, the vector enable being a sideband coupled to the management controller, embodiments multiplexing independent sideband signals from the management controller to the management device. Or, any pin corresponding to the RMII is used. If a normal reset post start-up procedure is employed, the disable sideband vector is set. Furthermore, setting the management device vector enable enables, the management device vector can designate the operation mode after reset, the operation mode comprises updating the firmware, then, the management device reset signal can be released, the reset module and the vector enable are reset, and the reset vector enters the designated operation mode through the reset bolt lock circuit.
For another example, in the firmware update mode, the firmware is updated through the sideband bus, the management device completes the reset procedure, and the management device enters the firmware update mode. The management device communicates with the management controller through the sideband bus to confirm the firmware updating parameters, the management device informs the management controller of the readiness of firmware updating through the sideband bus, the management controller updates the firmware of the management device through RMII according to the firmware updating parameters, and the management controller communicates with the management device through the sideband bus in an updating program until the program is completed correctly. Further, the management controller resets the management device again, sets a reset vector and enables according to the operation scene, releases a reset signal to the management device, completes a firmware updating program of the management device, and the management device communicates with the management controller through a sideband bus to confirm that the firmware updating is completed.
In the embodiment of the application, the implementation of updating the firmware by the data center management device can be simplified, and the firmware is updated by the MD through simple additional logic when the protocol stack cannot run. Multiplexing sideband signals to support multiple operating modes is not limited to firmware updates.
In a specific implementation, the vector enable is one of the reset vectors, mainly in the normal mode, and the sideband bus may not need to be disabled during the reset.
In a specific implementation, the management controller and the management device are not limited to update the firmware using the RMII bus, and of course, communication between the management controller and the management device may also be implemented through another bus, which may be an I2C bus or an SPI bus, and is not limited herein.
In the embodiment of the present application, a management controller and an MD are connected by a sideband bus of an outband management protocol set of a multiplexing distributed system, and a reset vector, a reset signal latch logic and related circuits are defined, so as to implement (not limited to) a simple and reliable firmware update application scenario (the application scenario is not limited to whether a BIOS is loaded).
In specific implementation, when a firmware program fails or a protocol set of a distributed system cannot normally run, and a sideband bus, such as an RMII bus, is multiplexed, communication among control devices is not needed to be stopped, and a reliable and simple firmware updating mode is provided with little implementation cost.
It can be seen that the firmware updating method described in the embodiment of the present application is applied to a management device in a distributed system, the distributed system further includes a management controller, the management controller communicates with the management device through a sideband bus, and the management device includes: the system comprises a reset module, a vector logic processing module and a firmware updating module, wherein the reset module is used for entering a reset state, the vector logic processing module is used for setting vector enable of a management device to obtain a target vector signal, and the direction of the target vector signal points to the management device for a management controller; and determining a target operation mode corresponding to the target vector signal, wherein the target operation mode comprises a firmware updating parameter, and the firmware updating operation is realized by a firmware updating module according to the firmware updating parameter, so that a firmware updating program can be simplified, namely a firmware updating protocol stack of a distributed system does not need to be operated, a firmware updating flow is simplified, and the firmware updating efficiency is further improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a management device according to an embodiment of the present disclosure, as shown in the figure, the management device is a management device applied in a distributed system, the distributed system further includes a management controller, the management controller and the management device communicate with each other through a sideband bus, and the management device includes: the device comprises a reset module, a vector logic processing module and a firmware updating module; the management device comprises a processor, a memory, a communication interface and one or more programs, wherein the one or more programs are applied to the management device, are stored in the memory and are configured to be executed by the processor, and in the embodiment of the application, the programs comprise instructions for executing the following steps:
entering a reset state through the reset module;
setting the vector enable of the management device through the vector logic processing module to obtain a target vector signal, wherein the direction of the target vector signal is that the management controller points to the management device; and determining a target operation mode corresponding to the target vector signal, the target operation mode including a firmware update parameter;
and realizing firmware updating operation according to the updated firmware parameters through the firmware updating module.
Optionally, the program further includes instructions for performing the following steps:
releasing, by the reset module, a first reset signal, the first reset signal comprising a reset vector;
causing, by the vector logic processing module, the management device to enter the target mode of operation according to the reset vector.
Optionally, the program further includes instructions for performing the following steps:
receiving a second reset signal sent by the management controller;
and confirming that the firmware updating operation is completed between the management controller and the management device through the sideband bus when the firmware updating operation is completed.
Optionally, the program further includes instructions for performing the following steps:
when the reset program of the management device is completed, the management device enters a firmware updating mode;
finishing communication operation between the management device and the management controller through the sideband bus to confirm the firmware updating parameters;
feeding back a notification message of firmware update readiness to the management controller through the sideband bus;
updating the firmware to be updated according to the firmware updating parameters through the management controller;
in the aspect of the firmware updating operation implemented by the firmware updating module according to the updated firmware parameters, the program includes instructions for performing the following steps:
and updating the firmware to be updated according to the updated firmware parameters through the firmware updating module.
Optionally, the sideband bus is a simplified media independent interface RMII bus, and it is implemented through the sideband bus that, in a communication process between the management controller and the management apparatus, other devices except the management apparatus do not allow communication through the sideband bus.
It can be seen that the management apparatus described in the embodiment of the present application is applied to a management apparatus in a distributed system, the distributed system further includes a management controller, the management controller communicates with the management apparatus through a sideband bus, and the management apparatus includes: the system comprises a reset module, a vector logic processing module and a firmware updating module, wherein the reset module enters a reset state, the vector logic processing module sets vector enable of a management device to obtain a target vector signal, and the direction of the target vector signal points to the management device for a management controller; and determining a target operation mode corresponding to the target vector signal, wherein the target operation mode comprises a firmware updating parameter, and the firmware updating module is used for realizing firmware updating operation according to the firmware updating parameter, so that a firmware updating program can be simplified, namely a firmware updating protocol stack of a distributed system does not need to be operated, a firmware updating flow is simplified, and the firmware updating efficiency is further improved.
Fig. 5 is a block diagram of functional units of a firmware updating apparatus 500 according to an embodiment of the present application. The firmware updating apparatus 500 is applied to a management apparatus in a distributed system, the distributed system further includes a management controller, the management controller communicates with the management apparatus through a sideband bus, and the management apparatus includes: the device comprises a reset module, a vector logic processing module and a firmware updating module; the device comprises: a reset unit 501, a vector processing unit 502, and an update unit 503, wherein,
the reset unit 501 is configured to enter a reset state through the reset module;
the vector processing unit 502 is configured to set, by the vector logic processing module, the vector enable of the management device to obtain a target vector signal, where the direction of the target vector signal indicates that the management controller points to the management device; and determining a target operation mode corresponding to the target vector signal, the target operation mode including a firmware update parameter;
the updating unit 503 is configured to implement a firmware updating operation according to the updated firmware parameter through the firmware updating module.
Optionally, the apparatus 500 is further specifically configured to:
releasing, by the reset module, a first reset signal, the first reset signal comprising a reset vector;
causing, by the vector logic processing module, the management device to enter the target mode of operation according to the reset vector.
Optionally, the apparatus 500 is further specifically configured to:
receiving a second reset signal sent by the management controller;
and confirming that the firmware updating operation is completed between the management controller and the management device through the sideband bus when the firmware updating operation is completed.
Optionally, the apparatus 500 is further specifically configured to:
when the reset program of the management device is completed, the management device enters a firmware updating mode;
finishing communication operation between the management device and the management controller through the sideband bus to confirm the firmware updating parameters;
feeding back a notification message of firmware update readiness to the management controller through the sideband bus;
updating the firmware to be updated according to the firmware updating parameters through the management controller;
in the aspect of implementing the firmware update operation according to the update firmware parameters by the firmware update module, the method includes:
and updating the firmware to be updated according to the updated firmware parameters through the firmware updating module.
Optionally, the sideband bus is a simplified media independent interface RMII bus, and it is realized through the sideband bus that, in a communication process between the management controller and the management apparatus, other devices except the management apparatus do not allow communication through the sideband bus.
It can be seen that the firmware updating apparatus described in the embodiment of the present application is applied to a management apparatus in a distributed system, the distributed system further includes a management controller, the management controller communicates with the management apparatus through a sideband bus, and the management apparatus includes: the system comprises a reset module, a vector logic processing module and a firmware updating module, wherein the reset module enters a reset state, the vector logic processing module sets vector enable of a management device to obtain a target vector signal, and the direction of the target vector signal points to the management device for a management controller; and determining a target operation mode corresponding to the target vector signal, wherein the target operation mode comprises a firmware updating parameter, and the firmware updating module is used for realizing firmware updating operation according to the firmware updating parameter, so that a firmware updating program can be simplified, namely a firmware updating protocol stack of a distributed system does not need to be operated, a firmware updating flow is simplified, and the firmware updating efficiency is further improved.
It can be understood that the functions of each program module of the firmware updating apparatus in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the relevant description of the foregoing method embodiment, which is not described herein again.
Embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, the computer program enables a computer to execute part or all of the steps of any one of the methods as described in the above method embodiments, and the computer includes a management device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, said computer comprising the management means.
It should be noted that for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the above-described units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps of the methods of the above embodiments may be implemented by a program, which is stored in a computer-readable memory, the memory including: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing embodiments have been described in detail, and specific examples are used herein to explain the principles and implementations of the present application, where the above description of the embodiments is only intended to help understand the method and its core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A firmware update method applied to a management apparatus in a distributed system, the distributed system further including a management controller, the management controller communicating with the management apparatus via a sideband bus, the management apparatus including: the device comprises a reset module, a vector logic processing module and a firmware updating module; the method comprises the following steps:
entering a reset state through the reset module;
setting the vector enable of the management device through the vector logic processing module to obtain a target vector signal, wherein the direction of the target vector signal is that the management controller points to the management device; and determining a target operating mode corresponding to the target vector signal, the target operating mode including firmware update parameters;
and realizing firmware updating operation according to the updated firmware parameters through the firmware updating module.
2. The method of claim 1, further comprising:
releasing, by the reset module, a first reset signal, the first reset signal comprising a reset vector;
causing, by the vector logic processing module, the management device to enter the target mode of operation according to the reset vector.
3. The method of claim 2, further comprising:
receiving a second reset signal sent by the management controller;
and confirming that the firmware updating operation is completed between the management controller and the management device through the sideband bus when the firmware updating operation is completed.
4. The method according to any one of claims 1-3, further comprising:
when the reset program of the management device is completed, the management device enters a firmware updating mode;
finishing communication operation between the management device and the management controller through the sideband bus to confirm the firmware updating parameters;
feeding back a notification message of firmware update readiness to the management controller through the sideband bus;
updating the firmware to be updated according to the firmware updating parameters through the management controller;
the implementing, by the firmware update module, the firmware update operation according to the update firmware parameter includes:
and updating the firmware to be updated according to the updated firmware parameters through the firmware updating module.
5. The method according to any of claims 1-3, wherein the sideband bus is a Reduced Media Independent Interface (RMII) bus, and wherein the sideband bus is used for realizing that no other device except the management device can communicate through the sideband bus during the communication between the management controller and the management device.
6. A firmware update apparatus applied to a management apparatus in a distributed system, the distributed system further including a management controller, the management controller communicating with the management apparatus via a sideband bus, the management apparatus comprising: the device comprises a reset module, a vector logic processing module and a firmware updating module; the device comprises: a reset unit, a vector processing unit and an update unit, wherein,
the reset unit is used for entering a reset state through the reset module;
the vector processing unit is used for setting the vector enable of the management device through the vector logic processing module to obtain a target vector signal, and the direction of the target vector signal is that the management controller points to the management device; and determining a target operation mode corresponding to the target vector signal, the target operation mode including a firmware update parameter;
and the updating unit is used for realizing firmware updating operation according to the firmware updating parameters through the firmware updating module.
7. The apparatus according to claim 6, characterized in that it is further specifically configured to:
releasing, by the reset module, a first reset signal, the first reset signal comprising a reset vector;
causing, by the vector logic processing module, the management device to enter the target mode of operation according to the reset vector.
8. The apparatus according to claim 7, characterized in that it is further specifically configured to:
receiving a second reset signal sent by the management controller;
and confirming that the firmware updating operation is completed between the management controller and the management device through the sideband bus when the firmware updating operation is completed.
9. A management apparatus comprising a processor, a memory for storing one or more programs and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-5.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-5.
CN202210490668.3A 2022-05-07 2022-05-07 Firmware updating method and related equipment Active CN114780119B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210490668.3A CN114780119B (en) 2022-05-07 2022-05-07 Firmware updating method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210490668.3A CN114780119B (en) 2022-05-07 2022-05-07 Firmware updating method and related equipment

Publications (2)

Publication Number Publication Date
CN114780119A true CN114780119A (en) 2022-07-22
CN114780119B CN114780119B (en) 2023-03-24

Family

ID=82434590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210490668.3A Active CN114780119B (en) 2022-05-07 2022-05-07 Firmware updating method and related equipment

Country Status (1)

Country Link
CN (1) CN114780119B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070234332A1 (en) * 2006-02-22 2007-10-04 Dell Products L.P. Firmware update in an information handling system employing redundant management modules
CN104834621A (en) * 2014-02-10 2015-08-12 英特尔公司 Embedded Universal Serial Bus Solutions
CN107820603A (en) * 2016-12-30 2018-03-20 深圳配天智能技术研究院有限公司 A kind of firmware update and controller
CN113282321A (en) * 2021-05-28 2021-08-20 武汉天喻信息产业股份有限公司 Firmware updating method and system for intelligent equipment
CN113406991A (en) * 2021-08-23 2021-09-17 苏州浪潮智能科技有限公司 Clock management method and device, electronic equipment and storage medium
CN113672263A (en) * 2021-08-23 2021-11-19 联想(北京)有限公司 Firmware parameter update control method and device and electronic equipment
CN114201197A (en) * 2021-11-30 2022-03-18 苏州浪潮智能科技有限公司 Firmware upgrading method and device, electronic equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070234332A1 (en) * 2006-02-22 2007-10-04 Dell Products L.P. Firmware update in an information handling system employing redundant management modules
CN104834621A (en) * 2014-02-10 2015-08-12 英特尔公司 Embedded Universal Serial Bus Solutions
CN107820603A (en) * 2016-12-30 2018-03-20 深圳配天智能技术研究院有限公司 A kind of firmware update and controller
CN113282321A (en) * 2021-05-28 2021-08-20 武汉天喻信息产业股份有限公司 Firmware updating method and system for intelligent equipment
CN113406991A (en) * 2021-08-23 2021-09-17 苏州浪潮智能科技有限公司 Clock management method and device, electronic equipment and storage medium
CN113672263A (en) * 2021-08-23 2021-11-19 联想(北京)有限公司 Firmware parameter update control method and device and electronic equipment
CN114201197A (en) * 2021-11-30 2022-03-18 苏州浪潮智能科技有限公司 Firmware upgrading method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN114780119B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
EP2434687A1 (en) Data communication method, communication equipment and communication system
CN110780909A (en) Distributed embedded system upgrading method and device
US20210026376A1 (en) Remote synchronization method, apparatus, and system
CN111736867A (en) FPGA updating device, method and storage medium
CN109976926A (en) Method, circuit, terminal and the storage medium of protection BMC renewal process are restarted in a kind of shielding
CN112732616A (en) BMC starting method, device and equipment based on SPI controller
US9779037B2 (en) Establishing connectivity of modular nodes in a pre-boot environment
CN113872951B (en) Hybrid cloud security policy issuing method and device, electronic equipment and storage medium
CN115129249A (en) SAS link topology identification management method, system, terminal and storage medium
CN114780119B (en) Firmware updating method and related equipment
CN110990116B (en) Method, device and system for transmitting data between intelligent network card and virtual machine
CN116418791A (en) Firmware upgrading method, firmware upgrading system, server and storage medium
CN115361141A (en) Relay cross-link verification method and device, storage medium and electronic equipment
CN114116574A (en) Data transmission method and device, electronic equipment and storage medium
CN114189471A (en) Cross-device link aggregation group main/standby configuration method, system, terminal and storage medium
CN108848182B (en) Updating method of BMC firmware, related equipment and system
CN113568669A (en) Service board card starting method based on orthogonal architecture, service board card and orthogonal equipment
CN103004170B (en) Responding device and integrated circuit, response method and responding system
CN115086579B (en) Video matrix redundancy backup method and device, terminal equipment and storage medium
CN111216134B (en) Robot control method, device, controller, storage medium and robot
US20230176986A1 (en) USB Terminal Server
CN116361771B (en) Method and device for accessing and managing equipment, electronic equipment and storage medium
CN114765548B (en) Target service processing method and device
CN114265806A (en) Method, device, equipment and storage medium for realizing USB data signal sharing
CN117354746A (en) Networking method and device of battery management system and wireless battery management system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant