CN114201197A - Firmware upgrading method and device, electronic equipment and readable storage medium - Google Patents

Firmware upgrading method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN114201197A
CN114201197A CN202111445227.3A CN202111445227A CN114201197A CN 114201197 A CN114201197 A CN 114201197A CN 202111445227 A CN202111445227 A CN 202111445227A CN 114201197 A CN114201197 A CN 114201197A
Authority
CN
China
Prior art keywords
management controller
firmware
upgrading
updated
chassis
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.)
Withdrawn
Application number
CN202111445227.3A
Other languages
Chinese (zh)
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111445227.3A priority Critical patent/CN114201197A/en
Publication of CN114201197A publication Critical patent/CN114201197A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Abstract

The application discloses a firmware upgrading method and device, electronic equipment and a readable storage medium. The method is applied to a server comprising a chassis management controller and a plurality of substrate management controllers, the chassis management controller monitors and manages each substrate management controller, when the firmware to be updated of the chassis management controller exists, the target BMC sets an upgrading operation identifier, after the CMC obtains the upgrading operation identifier, the CMC feeds back an upgrading operation execution instruction to the target BMC, and simultaneously sends notification information of entering an upgrading preparation state to other substrate management controllers. And the target BMC transmits the firmware to be updated to the CMC after receiving the updating operation execution instruction, and the CMC executes the firmware updating operation according to the firmware to be updated. The firmware upgrading of the BMC to the CMC is realized under the condition that the hardware of the server is not modified.

Description

Firmware upgrading method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a firmware upgrading method and apparatus, an electronic device, and a readable storage medium.
Background
The CMC (Chassis Management Controller) is responsible for monitoring and managing the entire Chassis. The BMC (Baseboard Management Controller) can implement functions such as related control and information supervision of a server. The CMC may manage and control BMCs in multiple chassis, and communicate with the BMCs via an IPMB (Intelligent Platform Management BUS) protocol via I2C (Inter-Integrated Circuit, serial transmission BUS). However, when the CMC is not connected to the external network and only the BMC is connected to the external network, the BMC and the CMC can communicate only through the I2C protocol. The CMC is used as a main device to actively send messages and acquire information to the BMC.
Inevitably, both the CMC and the BMC need to be upgraded, and in practical applications, the CMC is usually responsible for upgrading the BMC firmware. In the related technology, when the CMC firmware is upgraded, the CMC can be upgraded on a WEB page through a network for a scene that the CMC is connected with the network; under the condition that the CMC is not connected with an external network, the CMC cannot be directly connected to an operating system, cannot be upgraded in a mode of refreshing a CMC mirror image in band, and can only be refreshed and upgraded in a mode of programming a serial port. The mode of upgrading through serial programming cannot intuitively know the upgrading process of the CMC.
In view of this, how to upgrade firmware of CMC by BMC without modifying server hardware is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The application provides a firmware upgrading method and device, electronic equipment and a readable storage medium, and firmware upgrading of CMC by BMC can be realized under the condition of not modifying server hardware.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
an embodiment of the present invention provides a firmware upgrade method, applied to a server including a chassis management controller and a plurality of baseboard management controllers, where the chassis management controller monitors and manages each baseboard management controller, and the method is applicable to a target baseboard management controller, and includes:
when detecting the firmware to be updated of the chassis management controller, setting an upgrade operation identifier, so that the chassis management controller feeds back an upgrade operation execution instruction to the target substrate management controller after acquiring the upgrade operation identifier, and simultaneously issues notification information for entering an upgrade preparation state to other substrate management controllers;
and when the upgrading operation execution instruction is received, transmitting the firmware to be updated to the case management controller so that the case management controller executes firmware upgrading operation.
Optionally, the transmitting the firmware to be updated to the chassis management controller when the upgrade operation execution instruction is received includes:
when the upgrading operation execution instruction is received, entering an upgrading preparation state;
and when a file transmission instruction is received, transmitting the firmware to be updated to the case management controller.
Optionally, the transmitting the firmware to be updated to the chassis management controller when the upgrade operation execution instruction is received includes:
when the upgrading operation execution instruction is received, entering an upgrading preparation state;
and when the chassis management controller stops communicating with each baseboard management controller, transmitting the firmware to be updated to the chassis management controller.
Optionally, after the transmitting the firmware to be updated to the chassis management controller, the method further includes:
and when a firmware upgrading completion instruction sent by the chassis management controller is received, generating upgrading success prompt information.
The embodiment of the invention provides a firmware upgrading device which is applied to a server comprising a chassis management controller and a plurality of substrate management controllers, wherein the chassis management controller monitors and manages each substrate management controller, and the method is suitable for a target substrate management controller and comprises the following steps:
the identifier setting module is used for setting an upgrading operation identifier when detecting the firmware to be updated of the chassis management controller, so that the chassis management controller feeds back an upgrading operation execution instruction to the target substrate management controller after acquiring the upgrading operation identifier, and simultaneously issues notification information for entering an upgrading preparation state to other substrate management controllers;
and the file transmission module is used for transmitting the firmware to be updated to the case management controller when the upgrading operation execution instruction is received so as to enable the case management controller to execute firmware upgrading operation.
Another aspect of the embodiments of the present invention further provides a firmware upgrading method, applied to a server including a chassis management controller and a plurality of baseboard management controllers, where the chassis management controller monitors and manages each baseboard management controller, and the method is applied to the chassis management controller, and includes:
when a target base plate management controller with an upgrading operation identifier is inquired, feeding an upgrading operation execution instruction back to the target base plate management controller, and simultaneously sending upgrading preparation state notification information to other base plate management controllers;
and when the firmware to be updated sent by the target substrate management controller is received, executing firmware upgrading operation according to the firmware to be updated.
Optionally, after issuing the update preparation state notification information to the other bmcs at the same time, the method further includes:
entering a state of waiting for receiving the file data, and issuing a file transmission instruction to the target substrate management controller.
Optionally, after the firmware upgrading operation is executed according to the firmware to be updated, the method further includes:
when the firmware upgrading operation is completed, issuing a restarting instruction;
and when the restarting operation is completed, sending a firmware upgrading completion instruction to each baseboard management controller.
An embodiment of the present invention further provides an electronic device, which includes a processor, and the processor is configured to implement the steps of the firmware upgrading method according to any one of the foregoing items when executing the computer program stored in the memory.
Finally, an embodiment of the present invention provides a readable storage medium, where a computer program is stored, and when being executed by a processor, the computer program implements the steps of the firmware upgrading method according to any one of the foregoing items.
The technical scheme provided by the application has the advantages that in the process of inquiring each baseboard management controller, if the baseboard management controller with the upgrading operation identifier is found to exist, the case management controller indicates that the case management controller needs to upgrade the firmware, the case management controller feeds back an upgrading operation execution instruction to the baseboard management controller, so that the baseboard management controller transmits the firmware to be updated to the case management controller, meanwhile, the case management controller stops all operations with other baseboard management controllers, and executes corresponding firmware updating operation after receiving the firmware to be updated, so that the firmware of the CMC can be upgraded under the condition of not modifying the hardware of the server.
In addition, the embodiment of the invention also provides a corresponding implementation device, electronic equipment and a readable storage medium for the firmware upgrading method, so that the method has higher practicability, and the device, the electronic equipment and the readable storage medium have corresponding advantages.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the related art, the drawings required to be used in the description of the embodiments or the related art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a firmware upgrading method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another firmware upgrading method according to an embodiment of the present invention;
fig. 3 is a structural diagram of a specific embodiment of a firmware upgrading apparatus according to an embodiment of the present invention;
fig. 4 is a block diagram of another specific embodiment of a firmware upgrading apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of an embodiment of an electronic device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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 invention.
The terms "first," "second," "third," "fourth," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," 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 include other steps or elements not expressly listed.
For the server, the chassis management controller and the baseboard management controller are connected only through I2C, because the chassis management controller needs to manage multiple baseboard management controllers at the same time, the chassis management controller can only actively send I2C message communication to the baseboard management controller, and the baseboard management controller as a receiver can only passively receive messages. Because the chassis management controller does not have an operating system, when the chassis management controller is not connected to an external network, the chassis management controller image cannot be refreshed in a conventional out-of-band manner, and the chassis management controller image cannot be refreshed in-band. Based on this, the present application may implement reverse upgrade of the chassis management controller through I2C communication between the baseboard management controller and the chassis management controller. Various non-limiting embodiments of the present application are described in detail below.
Referring to fig. 1, fig. 1 is a schematic flowchart of a firmware upgrading method according to an embodiment of the present invention, where the method is applied to a server including a chassis management controller and a plurality of baseboard management controllers, and the chassis management controller monitors and manages each baseboard management controller, where the following method is applied to a target baseboard management controller, that is, an execution subject of the following method is one of the baseboard management servers, and an embodiment of the present invention may include the following:
s101: when detecting the firmware to be updated of the chassis management controller, setting an upgrade operation identifier, so that the chassis management controller feeds back an upgrade operation execution instruction to the target substrate management controller after acquiring the upgrade operation identifier, and simultaneously issues notification information for entering an upgrade preparation state to other substrate management controllers.
In this embodiment, when the chassis management controller needs to update the firmware, a new firmware, that is, a firmware to be updated, is generated, and when the chassis management controller needs to update the firmware, since the present application needs to update the firmware of the chassis management controller reversely through the baseboard management controller, and the baseboard management controller can only receive information of the chassis management controller passively, in order to make the chassis management controller learn that the chassis management controller needs to update the firmware, one of the baseboard management controllers, that is, a target baseboard management controller, can set an upgrade operation identifier for identifying that the chassis management controller needs to execute the firmware update, and when the chassis management controller periodically or in real time queries each baseboard management controller, after finding that the upgrade operation identifier exists, the chassis management controller sends an upgrade operation execution instruction to the target baseboard management controller to notify the target baseboard management controller that the target baseboard management controller can execute the upgrade operation on the chassis management controller, in order to ensure normal data transmission between the chassis management controller and the target bmc, the chassis management controller needs to send information of entering an upgrade preparation state to each of the other bmcs to notify each of the other bmcs to stop any operation with the chassis management controller.
S102: and when an upgrading operation execution instruction is received, transmitting the firmware to be updated to the case management controller so that the case management controller executes firmware upgrading operation.
And after receiving the firmware to be updated, the chassis management controller starts a firmware updating tool to execute firmware updating operation based on the firmware to be updated. After the case management controller updates the firmware, the case management controller can also send a firmware upgrade completion instruction to the target baseboard management controller. And when receiving a firmware upgrading completion instruction sent by the chassis management controller, the target substrate management controller generates upgrading success prompt information. The differences between the present embodiment and the chassis management controller upgrading the baseboard management controller through I2C are: the chassis management controller upgrading substrate management controller can directly issue instructions and transmit files to the substrate management controller through I2C, the substrate management controller is only used as a passive party for receiving the instructions, and the logic is simple. If the baseboard management controller upgrades the chassis management controller, the chassis management controller is required to inquire whether the baseboard management controller has an instruction or not in a direct instruction mode, and the chassis management controller needs to inform the baseboard management controller of an execution result after acquiring the instruction. When only the external base plate management controller network is connected, the case management controller belongs to a state without external operation, and the case management controller can be upgraded by only connecting one network.
In the technical solution provided in the embodiment of the present invention, in the process of querying each BMC, if a BMC with an upgrade operation identifier is found to exist, it indicates that the BMC needs to perform firmware upgrade, and the BMC feeds back an upgrade operation execution instruction to the BMC, so that the BMC transmits the firmware to be updated to the BMC, and the BMC stops all operations with other BMCs, and executes corresponding firmware update operations after receiving the firmware to be updated, thereby implementing firmware upgrade of the CMC without modifying server hardware.
In the foregoing embodiment, how to trigger execution of the file transfer operation of S102 is not limited, and two parallel alternative implementations are provided in this embodiment, which may include the following steps:
as an optional implementation manner, when the target baseboard management controller receives an instruction for executing the upgrade operation of the chassis management controller, the target baseboard management controller enters an upgrade preparation state; and when a file transmission instruction sent by the case management controller is received, the target substrate management controller transmits the firmware to be updated to the case management controller.
As another implementation manner parallel to the above embodiment, the target baseboard management controller enters an upgrade preparation state after receiving an upgrade operation execution instruction sent by the chassis management controller; when the chassis management controller stops communicating with each baseboard management controller, the target baseboard management controller transmits the firmware to be updated to the chassis management controller.
In addition, the present application also provides another firmware upgrading method, where this embodiment is also applied to a server including a chassis management controller and a plurality of baseboard management controllers, and the chassis management controller monitors and manages each baseboard management controller, please refer to fig. 2, and fig. 2 is a schematic flowchart of another firmware upgrading method provided in an embodiment of the present invention, and an embodiment of the present invention may be applied to a chassis management controller, that is, an execution subject of the following embodiment is a chassis management controller, and specifically may include the following contents:
s201: and when the target substrate management controller with the set upgrading operation identifier exists, feeding an upgrading operation execution instruction back to the target substrate management controller, and simultaneously sending upgrading preparation state notification information to other substrate management controllers.
S202: and when the firmware to be updated sent by the target substrate management controller is received, executing firmware upgrading operation according to the firmware to be updated.
Optionally, after S201, the method may further include: entering a state of waiting for receiving the file data, and issuing a file transmission instruction to the target substrate management controller.
Optionally, after S202, the method may further include: when the firmware upgrading operation is completed, issuing a restarting instruction; and when the restarting operation is completed, sending a firmware upgrading completion instruction to each baseboard management controller.
In order to make the technical solutions of the present application more apparent to those skilled in the art, the present application also provides an illustrative example, which may include:
setting and recording an upgrading operation mark by the BMC, and waiting for a CMC execution result by the BMC; the CMC acquires and records an upgrading operation mark of the BMC, executes upgrading preparation operation and sets the upgrading preparation operation to be in a state of being prepared for upgrading, the CMC informs the BMC that the upgrading operation mark is successfully executed, and the CMC informs other BMCs that the current CMC is in the state of being prepared for upgrading and does not allow other operations to be received; after the CMC notifies the BMC, the CMC waits for receiving the file data; after receiving the successful execution of the CMC operation mark, the BMC enters an upgrading preparation state and waits for sending file data; at the moment, no other communication exists between the BMC and the CMC, and file transmission is carried out; after the file transmission is finished, the CMC starts a mirror image self-refreshing flow and carries out mirror image upgrading; after the CMC is upgraded and restarted, all BMCs are informed of the completion of upgrading; and the BMC receives the upgrade completion message to prompt that the upgrade is successful.
The same methods or the same steps as those in the above embodiments may refer to the implementation manners described in the above embodiments, and thus, the details are not repeated here.
Therefore, the embodiment of the invention can realize firmware upgrade of the CMC by the BMC without modifying the hardware of the server.
It should be noted that, in the present application, there is no strict sequential execution order among the steps, and as long as a logical order is met, the steps may be executed simultaneously or according to a certain preset order, and fig. 1 to fig. 2 are only schematic manners, and do not represent only such an execution order.
The embodiment of the invention also provides a corresponding device for the firmware upgrading method, thereby further ensuring that the method has higher practicability. Wherein the means can be described separately from the functional module point of view and the hardware point of view. The following describes a firmware upgrading apparatus provided in an embodiment of the present invention, where the apparatus is applied to a server including a chassis management controller and a plurality of baseboard management controllers, and the chassis management controller monitors and manages each baseboard management controller, and a firmware upgrading apparatus described below and a firmware upgrading method described above may be referred to correspondingly.
Referring to fig. 3 based on the angle of the functional module, fig. 3 is a structural diagram of a firmware upgrading device according to an embodiment of the present invention, where the device is applied to a target baseboard management controller, and the device may include:
the identifier setting module 301 is configured to set an upgrade operation identifier when detecting that the firmware to be updated of the chassis management controller is to be updated, so that the chassis management controller feeds back an upgrade operation execution instruction to the target substrate management controller after acquiring the upgrade operation identifier, and simultaneously issues notification information of entering an upgrade preparation state to other substrate management controllers.
The file transmission module 302 is configured to, when receiving an upgrade operation execution instruction, transmit the firmware to be updated to the chassis management controller, so that the chassis management controller executes a firmware upgrade operation.
Optionally, in some embodiments of this embodiment, the file transmission module 302 may be configured to enter an upgrade preparation state when receiving an upgrade operation execution instruction; and when a file transmission instruction is received, transmitting the firmware to be updated to the case management controller.
As another optional implementation parallel to the foregoing embodiment, the file transmission module 302 may be further configured to enter an upgrade preparation state when receiving an upgrade operation execution instruction; and when the chassis management controller stops communicating with each baseboard management controller, transmitting the firmware to be updated to the chassis management controller.
Optionally, in other embodiments of this embodiment, the apparatus may further include a prompt information generating module, for example, configured to generate an upgrade success prompt information when a firmware upgrade completion instruction sent by the chassis management controller is received.
Based on the angle of the functional module, please refer to fig. 4, where fig. 4 is a structural diagram of a firmware upgrading device according to an embodiment of the present invention, and the device is applied to a chassis management controller and may include:
the instruction issuing module 401 is configured to, when a target baseboard management controller with an upgrade operation identifier is found, feed back an upgrade operation execution instruction to the target baseboard management controller, and issue upgrade preparation state notification information to other baseboard management controllers.
And the firmware upgrading module 402 is configured to, when receiving the to-be-updated firmware sent by the target baseboard management controller, execute a firmware upgrading operation according to the to-be-updated firmware.
Optionally, in some embodiments of this embodiment, the instruction issuing module 401 may further be configured to: entering a state of waiting for receiving the file data, and issuing a file transmission instruction to the target substrate management controller.
Optionally, in another embodiment of this embodiment, the apparatus may further include:
the restarting module is used for issuing a restarting instruction when the firmware upgrading operation is finished;
and the upgrading result feedback module is used for sending a firmware upgrading completion instruction to each substrate management controller when the restarting operation is completed.
The functions of the functional modules of the firmware upgrading device according to the embodiments of the present invention may be specifically implemented according to the method in the foregoing method embodiments, and the specific implementation process may refer to the related description of the foregoing method embodiments, which is not described herein again.
Therefore, the embodiment of the invention can realize firmware upgrade of the CMC by the BMC without modifying the hardware of the server.
The above mentioned firmware upgrading device is described from the perspective of functional modules, and further, the present application also provides an electronic device described from the perspective of hardware. Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 5, the electronic device comprises a memory 50 for storing a computer program; a processor 51 for implementing the steps of the firmware upgrade method as mentioned in any of the above embodiments when executing the computer program.
The processor 51 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the processor 51 may also be a controller, a microcontroller, a microprocessor or other data processing chip, and the like. The processor 51 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 51 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 51 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, the processor 51 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 50 may include one or more computer-readable storage media, which may be non-transitory. Memory 50 may also include high speed random access memory as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. The memory 50 may in some embodiments be an internal storage unit of the electronic device, for example a hard disk of a server. The memory 50 may also be an external storage device of the electronic device in other embodiments, such as a plug-in hard disk provided on a server, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 50 may also include both an internal storage unit and an external storage device of the electronic device. The memory 50 can be used for storing various data and application software installed in the electronic device, such as: the code of the program that executes the vulnerability handling method, etc. may also be used to temporarily store data that has been output or is to be output. In this embodiment, the memory 50 is at least used for storing the following computer program 501, wherein after being loaded and executed by the processor 51, the computer program can implement the relevant steps of the firmware upgrading method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 50 may also include an operating system 502, data 503, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 502 may include Windows, Unix, Linux, etc. Data 503 may include, but is not limited to, data corresponding to firmware upgrade results, and the like.
In some embodiments, the electronic device may further include a display 52, an input/output interface 53, a communication interface 54, alternatively referred to as a network interface, a power supply 55, and a communication bus 56. The display 52 and the input/output interface 53, such as a Keyboard (Keyboard), belong to a user interface, and the optional user interface may also include a standard wired interface, a wireless interface, and the like. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, as appropriate, is used for displaying information processed in the electronic device and for displaying a visualized user interface. The communication interface 54 may optionally include a wired interface and/or a wireless interface, such as a WI-FI interface, a bluetooth interface, etc., typically used to establish a communication connection between an electronic device and other electronic devices. The communication bus 56 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
Those skilled in the art will appreciate that the configuration shown in fig. 5 is not intended to be limiting of the electronic device and may include more or fewer components than those shown, such as sensors 57, for example, which may perform various functions.
The functions of the functional modules of the electronic device according to the embodiments of the present invention may be specifically implemented according to the method in the above method embodiments, and the specific implementation process may refer to the description related to the above method embodiments, which is not described herein again.
Therefore, the embodiment of the invention can realize firmware upgrade of the CMC by the BMC without modifying the hardware of the server.
It is to be understood that, if the firmware upgrading method in the above embodiment is implemented in the form of a software functional unit and sold or used as a separate product, it may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be substantially or partially implemented in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods of the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), an electrically erasable programmable ROM, a register, a hard disk, a multimedia card, a card type Memory (e.g., SD or DX Memory, etc.), a magnetic Memory, a removable magnetic disk, a CD-ROM, a magnetic or optical disk, and other various media capable of storing program codes.
Based on this, the embodiment of the present invention further provides a readable storage medium, which stores a computer program, and the computer program is executed by a processor, and the steps of the firmware upgrading method according to any one of the above embodiments are provided.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. For hardware including devices and electronic equipment disclosed by the embodiment, the description is relatively simple because the hardware includes the devices and the electronic equipment correspond to the method disclosed by the embodiment, and the relevant points can be obtained by referring to the description of the method.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The above details describe a firmware upgrading method, apparatus, electronic device and readable storage medium provided by the present application. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present application.

Claims (10)

1. A firmware upgrading method is applied to a server comprising a chassis management controller and a plurality of baseboard management controllers, wherein the chassis management controller monitors and manages each baseboard management controller, and the method is applied to a target baseboard management controller and comprises the following steps:
when detecting that the firmware to be updated of the chassis management controller is to be updated, setting an upgrade operation identifier, so that the chassis management controller feeds back an upgrade operation execution instruction to the target substrate management controller after acquiring the upgrade operation identifier, and simultaneously issues notification information for entering an upgrade preparation state to other substrate management controllers;
and when the upgrading operation execution instruction is received, transmitting the firmware to be updated to the case management controller so that the case management controller executes firmware upgrading operation.
2. The firmware upgrading method according to claim 1, wherein the transmitting the firmware to be updated to the chassis management controller when receiving the upgrading operation execution instruction comprises:
when the upgrading operation execution instruction is received, entering an upgrading preparation state;
and when a file transmission instruction is received, transmitting the firmware to be updated to the case management controller.
3. The firmware upgrading method according to claim 1, wherein the transmitting the firmware to be updated to the chassis management controller when receiving the upgrading operation execution instruction comprises:
when the upgrading operation execution instruction is received, entering an upgrading preparation state;
and when the chassis management controller stops communicating with each baseboard management controller, transmitting the firmware to be updated to the chassis management controller.
4. The firmware upgrade method according to claim 1, wherein after the transmitting the firmware to be updated to the chassis management controller, the method further comprises:
and when a firmware upgrading completion instruction sent by the chassis management controller is received, generating upgrading success prompt information.
5. A firmware upgrade apparatus, applied to a server including a chassis management controller and a plurality of baseboard management controllers, the chassis management controller monitoring and managing each baseboard management controller, the apparatus being adapted to a target baseboard management controller, comprising:
the identifier setting module is used for setting an upgrading operation identifier when detecting the firmware to be updated of the chassis management controller, so that the chassis management controller feeds back an upgrading operation execution instruction to the target substrate management controller after acquiring the upgrading operation identifier, and simultaneously issues notification information for entering an upgrading preparation state to other substrate management controllers;
and the file transmission module is used for transmitting the firmware to be updated to the case management controller when the upgrading operation execution instruction is received so as to enable the case management controller to execute firmware upgrading operation.
6. A firmware upgrade method applied to a server including a chassis management controller and a plurality of baseboard management controllers, the chassis management controller monitoring and managing each baseboard management controller, the method being applied to the chassis management controller, and including:
when a target base plate management controller with an upgrading operation identifier is inquired, feeding an upgrading operation execution instruction back to the target base plate management controller, and simultaneously sending upgrading preparation state notification information to other base plate management controllers;
and when the firmware to be updated sent by the target substrate management controller is received, executing firmware upgrading operation according to the firmware to be updated.
7. The firmware upgrade method according to claim 6, wherein after issuing the upgrade preparation status notification information to the other bmcs at the same time, the method further comprises:
entering a state of waiting for receiving the file data, and issuing a file transmission instruction to the target substrate management controller.
8. The firmware upgrading method according to claim 6, further comprising, after the firmware upgrading operation is performed according to the firmware to be updated:
when the firmware upgrading operation is completed, issuing a restarting instruction;
and when the restarting operation is completed, sending a firmware upgrading completion instruction to each baseboard management controller.
9. An electronic device comprising a processor and a memory, the processor being configured to implement the steps of the firmware upgrade method of any one of claims 1 to 4 and/or the firmware upgrade method of any one of claims 6 to 8 when executing the computer program stored in the memory.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the firmware upgrade method according to any one of claims 1 to 4 and/or the firmware upgrade method according to any one of claims 6 to 8.
CN202111445227.3A 2021-11-30 2021-11-30 Firmware upgrading method and device, electronic equipment and readable storage medium Withdrawn CN114201197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111445227.3A CN114201197A (en) 2021-11-30 2021-11-30 Firmware upgrading method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111445227.3A CN114201197A (en) 2021-11-30 2021-11-30 Firmware upgrading method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114201197A true CN114201197A (en) 2022-03-18

Family

ID=80649777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111445227.3A Withdrawn CN114201197A (en) 2021-11-30 2021-11-30 Firmware upgrading method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114201197A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114780119A (en) * 2022-05-07 2022-07-22 深圳星云智联科技有限公司 Firmware updating method and related equipment
CN116339790A (en) * 2023-05-25 2023-06-27 深圳市磐鼎科技有限公司 BMC firmware upgrading method, device, equipment and storage medium
CN116431190A (en) * 2023-06-13 2023-07-14 苏州浪潮智能科技有限公司 Firmware upgrading method and device, BMC chip, server and medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114780119A (en) * 2022-05-07 2022-07-22 深圳星云智联科技有限公司 Firmware updating method and related equipment
CN116339790A (en) * 2023-05-25 2023-06-27 深圳市磐鼎科技有限公司 BMC firmware upgrading method, device, equipment and storage medium
CN116339790B (en) * 2023-05-25 2023-09-08 深圳市磐鼎科技有限公司 BMC firmware upgrading method, device, equipment and storage medium
CN116431190A (en) * 2023-06-13 2023-07-14 苏州浪潮智能科技有限公司 Firmware upgrading method and device, BMC chip, server and medium
CN116431190B (en) * 2023-06-13 2023-08-29 苏州浪潮智能科技有限公司 Firmware upgrading method and device, BMC chip, server and medium

Similar Documents

Publication Publication Date Title
CN114201197A (en) Firmware upgrading method and device, electronic equipment and readable storage medium
EP3764220B1 (en) Automatic application updates
CN108566290B (en) Service configuration management method, system, storage medium and server
WO2019237586A1 (en) Method and apparatus for managing scheduled tasks, computer device and storage medium
US9904561B2 (en) Computer system and method for setting BIOS
US8397053B2 (en) Multi-motherboard server system
CN111181804A (en) Intelligent device offline state automatic detection method and device, electronic device and medium
CN114866424B (en) Server management method, device, system, electronic equipment and readable storage medium
CN113760332A (en) Software upgrading method and electronic equipment
CN111694604A (en) Method, device and equipment for installing drivers in batches and machine-readable storage medium
CN114153477A (en) Method, device, system, equipment and medium for upgrading firmware of PCIE (peripheral component interface express) driver card
CN114064091A (en) OTA (over the air) upgrade control method and device, electronic equipment and automatic driving vehicle
CN114070763A (en) Improved REST protocol-based test method, client, server and medium
CN116302136A (en) Firmware configuration method, device, equipment and readable storage medium
US10579575B2 (en) Systems and methods of management console user interface pluggability
CN102520895B (en) The printer driver of the registration model centered by use case and being separated of application
EP4174642A1 (en) Method and device for installing program
CN115952129A (en) Blade server setting method and device and readable storage medium
WO2016206437A1 (en) Rom package generation method and device
CN112771497A (en) Method and device for upgrading equipment and storage medium
CN113986279A (en) Intelligent equipment upgrading method and device, storage medium and electronic equipment
CN114895859A (en) Firmware upgrading method and system and electronic equipment
CN117369896A (en) Information acquisition system and method
CN115203165A (en) Block chain management method, device, server and medium
CN116991441A (en) Storage system firmware upgrading method, device, equipment and storage medium

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220318