CN112000351A - Updating method, updating device, updating equipment and storage medium of BMC (baseboard management controller) firmware - Google Patents

Updating method, updating device, updating equipment and storage medium of BMC (baseboard management controller) firmware Download PDF

Info

Publication number
CN112000351A
CN112000351A CN202010790339.1A CN202010790339A CN112000351A CN 112000351 A CN112000351 A CN 112000351A CN 202010790339 A CN202010790339 A CN 202010790339A CN 112000351 A CN112000351 A CN 112000351A
Authority
CN
China
Prior art keywords
bmc
firmware
updated
control configuration
memory chip
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
CN202010790339.1A
Other languages
Chinese (zh)
Other versions
CN112000351B (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.)
Beijing Inspur Data Technology Co Ltd
Original Assignee
Beijing Inspur Data 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 Beijing Inspur Data Technology Co Ltd filed Critical Beijing Inspur Data Technology Co Ltd
Priority to CN202010790339.1A priority Critical patent/CN112000351B/en
Publication of CN112000351A publication Critical patent/CN112000351A/en
Application granted granted Critical
Publication of CN112000351B publication Critical patent/CN112000351B/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
    • 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
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a BMC firmware updating method, updating device, updating equipment and storage medium, which are realized by a programmable controller based on a circuit board where a BMC to be updated is located, the programmable controller is firstly subjected to control configuration of the BMC to be updated, control configuration of a storage chip for storing the firmware of the BMC to be updated and control configuration of a bus switch between the BMC to be updated and the storage chip, the BMC to be updated is controlled to enter a reset state and the bus switch is controlled to be in a disconnected state after receiving a programming command sent by an upper computer, then the firmware file is written into the storage chip after the firmware file sent by the upper computer is received by the programmable controller, a special programmer is not needed, the storage chip for storing the BMC is not needed to be taken down from the circuit board where the storage chip is located, and the circuit board is installed after programming, the programming efficiency of the BMC firmware in the process of debugging the circuit board is improved.

Description

Updating method, updating device, updating equipment and storage medium of BMC (baseboard management controller) firmware
Technical Field
The present invention relates to the field of storage server technologies, and in particular, to an update method, an update apparatus, an update device, and a storage medium for BMC firmware.
Background
In the hardware design of the storage server, a Firmware (Firmware) file of a Baseboard Management Controller BMC (BMC) is usually stored in a memory chip (e.g., Flash memory chip (Flash)) on a circuit board. In the process of debugging the circuit board, a firmware file needs to be written into a memory chip for storing the BMC firmware, and a currently common method is to take the memory chip off the circuit board, burn the firmware file by using a special burner, and after the burning is completed, put the memory chip back to the original position of the circuit board for use.
Based on the existing firmware burning mode, when a large batch of firmware is burned, the number of the burning devices is limited, and the memory chips are required to be manually taken down and then installed, so that the burning efficiency is greatly influenced.
Disclosure of Invention
The invention aims to provide a BMC firmware updating method, a BMC firmware updating device, BMC firmware updating equipment and a storage medium, which are used for improving the programming efficiency of BMC firmware in the process of debugging a circuit board.
In order to solve the above technical problem, the present invention provides a BMC firmware updating method, based on a programmable controller of a circuit board where a BMC to be updated is located, including:
completing control configuration of the BMC to be updated, control configuration of a memory chip used for storing firmware of the BMC to be updated and control configuration of a bus switch between the BMC to be updated and the memory chip in advance;
after a programming command sent by an upper computer is received, controlling the BMC to be updated to enter a reset state and controlling the bus switch to be in a disconnected state;
and after receiving the firmware file sent by the upper computer, writing the firmware file into the storage chip.
Optionally, the completing the control configuration of the BMC to be updated in advance, the control configuration of a memory chip for storing the firmware of the BMC to be updated, and the control configuration of a bus switch located between the BMC to be updated and the memory chip specifically includes:
and receiving a preset configuration file sent by the upper computer to complete the control configuration of the BMC to be updated, the control configuration of the memory chip and the control configuration of the bus switch.
Optionally, the receiving of the preset configuration file sent by the upper computer to complete the control configuration of the BMC to be updated, the control configuration of the memory chip, and the control configuration of the bus switch specifically includes:
and receiving a preset configuration file sent by the upper computer based on a joint test working group interface so as to complete the control configuration of the BMC to be updated, the control configuration of the memory chip and the control configuration of the bus switch.
Optionally, after receiving the firmware file sent by the upper computer, the method further includes:
calculating according to a preset rule to obtain verification data of the firmware file;
and sending the check data to the upper computer.
Optionally, the writing the firmware file into the memory chip specifically includes:
and writing the firmware file into the memory chip by taking a preset start bit required by the BMC to be tested as a start address, and setting the start address of the write operation of the memory chip as the preset start bit after the write operation is finished.
Optionally, after the writing the firmware file into the memory chip, the method further includes:
and after the writing is finished, closing a writing channel to the memory chip, starting the bus switch, and removing the reset state of the BMC to be updated so as to restart the BMS to be updated and read the firmware file in the memory chip.
Optionally, the programmable controller is specifically any one of a programmable logic device, a complex programmable logic device, a field programmable gate array, a single chip microcomputer, or an ARM processor.
In order to solve the above technical problem, the present invention further provides an update apparatus for BMC firmware, including:
the configuration unit is used for completing control configuration of the BMC to be updated in advance, control configuration of a memory chip used for storing firmware of the BMC to be updated and control configuration of a bus switch between the BMC to be updated and the memory chip;
the control unit is used for controlling the BMC to be updated to enter a reset state and controlling the bus switch to be in a disconnected state after receiving a programming command sent by an upper computer;
and the writing unit is used for writing the firmware file into the storage chip after receiving the firmware file sent by the upper computer.
In order to solve the above technical problem, the present invention further provides a BMC firmware update apparatus, including:
a memory for storing instructions, wherein the instructions comprise any one of the steps of the update method of the BMC firmware;
a processor to execute the instructions.
In order to solve the above technical problem, the present invention further provides a storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the BMC firmware updating method according to any one of the above embodiments.
The method for updating the BMC firmware is realized based on a programmable controller of a circuit board where the BMC to be updated is located, firstly, the programmable controller is subjected to control configuration of the BMC to be updated, control configuration of a storage chip used for storing the firmware of the BMC to be updated and control configuration of a bus switch located between the BMC to be updated and the storage chip, after receiving a programming command sent by an upper computer, the programmable controller controls the BMC to be updated to enter a reset state and controls the bus switch to be in a disconnected state, and then after receiving a firmware file sent by the upper computer, the programmable controller writes the firmware file into the storage chip. According to the method for updating the BMC firmware, a special programming device is not needed, a storage chip for storing the BMC firmware is not needed to be taken down from a circuit board where the storage chip is located, and the storage chip is not needed to be installed back to the circuit board after programming, programming of the BMC firmware can be completed based on the pre-existing programmable controller and the line connection relation of the programmable controller on each circuit board, programming efficiency of the BMC firmware in the process of debugging the circuit board is improved, and updating work of the BMC firmware is greatly facilitated.
The invention also provides an updating device, updating equipment and a storage medium of the BMC firmware, which have the beneficial effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the description of the embodiments or the prior 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 it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for updating BMC firmware according to an embodiment of the present invention;
fig. 2 is a control circuit diagram of a programmable controller according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for updating BMC firmware according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an update device of BMC firmware according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide a BMC firmware updating method, a BMC firmware updating device and a BMC firmware storage medium, which are used for improving the programming efficiency of the BMC firmware in the process of debugging a circuit board.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
Fig. 1 is a flowchart of a method for updating BMC firmware according to an embodiment of the present invention; fig. 2 is a control circuit diagram of a programmable controller according to an embodiment of the present invention.
As shown in fig. 1, based on a programmable controller of a circuit board where a BMC to be updated is located, the method for updating the BMC firmware provided in the embodiment of the present invention includes:
s101: the method comprises the steps of completing control configuration of the BMC to be updated in advance, control configuration of a memory chip used for storing firmware of the BMC to be updated, and control configuration of a bus switch located between the BMC to be updated and the memory chip.
In a specific implementation, a programmable controller is selected to perform control configuration on a circuit board where the BMC to be updated is located. The programmable controller can select any one of a programmable logic device, a complex programmable logic device, a field programmable gate array, a single chip microcomputer or an ARM processor or other types of programmable controllers according to the situation of the circuit board.
It should be noted that the programmable controller needs to be connected to a reset pin of the BMC to be updated, a control terminal of the bus switch, and a write pin of the memory chip. As shown in fig. 2, on the circuit board where the BMC to be updated is located, the BMC to be updated is connected to the memory chip (e.g., Flash shown in fig. 2) through a Bus Switch (e.g., Bus Switch shown in fig. 2). Usually, the BMC to be updated is connected to the memory chip through the SPI interface, and the memory chip is placed in a Socket (e.g., SPI Flash Socket shown in fig. 2) soldered on the circuit board. One path of control signal of the selected programmable controller is connected with a reset pin of the BMC to be updated, the other path of control signal of the programmable controller is connected with a control end of the bus switch, and the programmable controller is further connected with an external SPI (serial peripheral interface) of the socket through the SPI.
After the programmable controller is selected, the programmable controller needs to be endowed with a function of programming BMC firmware, namely, the programmable controller is configured. The configuration work can be carried out after debugging personnel utilize the upper computer to connect the debugging pin of the programmable controller, and also can be carried out on the programmable controller through a preset configuration script, so that the automation level of programming work is improved, and the labor cost is saved. Step S101 may be: the programmable controller receives a preset configuration file sent by the upper computer to complete control configuration of the BMC to be updated, control configuration of the memory chip and control configuration of the bus switch.
Further, step S101 may be: and receiving a preset configuration file sent by an upper computer based on a Joint Test Action Group (JTAG) interface so as to complete the control configuration of the BMC to be updated, the control configuration of the memory chip and the control configuration of the bus switch.
S102: after a programming command sent by an upper computer is received, the BMC to be updated is controlled to enter a reset state, and the bus switch is controlled to be in a disconnected state.
According to the configuration of the programmable controller in the step S101, after the programmable controller receives the programming command sent by the upper computer, the BMC to be updated is controlled to enter the reset state, and the bus switch is controlled to be in the off state, so that a conflict between the memory chip and the BMC to be updated in the programming process is avoided.
If the automatic configuration of the programmable controller is carried out by adopting the preset configuration script, a feedback function after the configuration of the programmable controller is finished can be given to the programmable controller in the configuration work, so that the programmable controller feeds back a configuration finished signal to the upper computer after the configuration work is finished.
S103: and after receiving the firmware file sent by the upper computer, writing the firmware file into the storage chip.
And after the programmable controller is configured, the upper computer sends the firmware file to be programmed to the programmable controller. The programmable controller can receive the firmware file sent by the upper computer based on the UART interface. Correspondingly, based on the configuration in step S101, after the programmable controller converts the firmware file from the UART interface to the SPI interface, the firmware file is written into the memory chip through the write channel configured in advance with the memory chip.
In order to ensure that the written firmware file can be successfully read and used by the BMC to be updated, when the firmware file is written into the memory chip, the firmware file is written into the memory chip by taking a preset initial position required by the BMC to be updated as an initial address, and after the writing is finished, the initial address of the writing operation of the memory chip is set as the preset initial position.
After the writing is finished, the programmable controller closes a writing channel to the memory chip (for example, a pin of the SPI interface of the programmable controller is set to a high resistance state), turns on the bus switch, and releases the reset state of the BMC to be updated, so that the BMS to be updated is restarted and reads the firmware file in the memory chip.
Based on the pre-configuration, the method for the programmable controller to determine that the firmware file transmission is completed may be: and when the programmable controller receives a specific character (group) appointed in advance sent by the upper computer, determining that the transmission of the firmware file is finished. The method for the programmable controller to judge the completion of the transmission of the firmware file can also comprise the following steps: after receiving a programming command sent by an upper computer, the programmable controller determines that the transmission of the firmware file is finished if the firmware file data sent by the upper computer is not received within a preset time period or a UART interface of the upper computer is detected to be in a high level state beyond the preset time period in the data transmission process.
The method for updating the BMC firmware provided by the embodiment of the invention is realized based on a programmable controller of a circuit board where the BMC to be updated is located, the programmable controller is firstly subjected to control configuration of the BMC to be updated, control configuration of a storage chip used for storing the firmware of the BMC to be updated and control configuration of a bus switch between the BMC to be updated and the storage chip, the BMC to be updated is controlled to enter a reset state after the programmable controller receives a programming command sent by an upper computer, the bus switch is controlled to be in a disconnected state, and then the firmware file is written into the storage chip after the programmable controller receives the firmware file sent by the upper computer. According to the updating method of the BMC firmware provided by the embodiment of the invention, a special programming device is not needed, a storage chip for storing the BMC firmware is not needed to be taken off from a circuit board where the storage chip is located and installed back to the circuit board after programming, the programming of the BMC firmware can be completed based on the pre-existing programmable controller and the line connection relation of the programmable controller on each circuit board, the programming efficiency of the BMC firmware in the process of debugging the circuit board is improved, and the updating work of the BMC firmware is greatly facilitated.
On the basis of the foregoing embodiment, in order to ensure reliability of programming the BMC firmware, in the method for updating the BMC firmware provided in the embodiment of the present invention, after receiving the firmware file sent by the upper computer in step S102, the method further includes:
calculating according to a preset rule to obtain verification data of the firmware file; and sending the verification data to an upper computer.
In a specific implementation, based on the configuration in step S101, the programmable controller may first receive the firmware file, perform file verification, and write the firmware file into the memory chip when obtaining a signal that the verification fed back by the upper computer passes. Or the programmable controller can receive the firmware file and write the firmware file into the memory chip, and after transmission is completed, the programmable controller can check the received complete firmware file, and if the upper computer detects that the firmware file fails to pass the check, the programmable controller can perform programming again.
On the basis of the above detailed description of the various embodiments corresponding to the update method of the BMC firmware, the present invention also discloses an update apparatus, an update device and a storage medium of the BMC firmware corresponding to the above method.
Fig. 3 is a schematic structural diagram of an apparatus for updating BMC firmware according to an embodiment of the present invention.
As shown in fig. 3, an apparatus for updating BMC firmware according to an embodiment of the present invention includes:
a configuration unit 301, configured to complete in advance a control configuration of the BMC to be updated, a control configuration of a memory chip configured to store a firmware of the BMC to be updated, and a control configuration of a bus switch located between the BMC to be updated and the memory chip;
the control unit 302 is configured to control the BMC to be updated to enter a reset state and control the bus switch to be in a disconnected state after receiving a programming command sent by the upper computer;
the writing unit 303 is configured to write the firmware file into the memory chip after receiving the firmware file sent by the upper computer.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
Fig. 4 is a schematic structural diagram of an update device of BMC firmware according to an embodiment of the present invention.
As shown in fig. 4, an update device of BMC firmware according to an embodiment of the present invention includes:
a memory 410 for storing instructions, the instructions including the steps of the update method of BMC firmware according to any of the above embodiments;
a processor 420 for executing the instructions.
Among other things, processor 420 may include one or more processing cores, such as a 3-core processor, an 8-core processor, and so forth. The processor 420 may be implemented in at least one hardware form of a Digital Signal Processing (DSP), a Field-Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), or a Programmable Logic Array (PLA). Processor 420 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 420 may be integrated with an image processor GPU (graphics Processing unit) that is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, processor 420 may also include an Artificial Intelligence (AI) (artificial intelligence) processor for processing computational operations related to machine learning.
Memory 410 may include one or more storage media, which may be non-transitory. Memory 410 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. In this embodiment, the memory 410 is at least used for storing the following computer program 411, wherein after the computer program 411 is loaded and executed by the processor 420, the relevant steps in the update method of BMC firmware disclosed in any of the foregoing embodiments can be implemented. In addition, the resources stored by the memory 410 may also include an operating system 412, data 413, and the like, and the storage may be transient storage or permanent storage. Operating system 412 may be Windows, among others. The data 413 may include, but is not limited to, data involved in the above-described methods.
In some embodiments, the update device for the BMC firmware may further include a display 430, a power supply 440, a communication interface 450, an input/output interface 460, a sensor 470, and a communication bus 480.
Those skilled in the art will appreciate that the architecture shown in FIG. 4 does not constitute a limitation of the update facility of the BMC firmware and may include more or fewer components than those shown.
The update device of the BMC firmware provided in the embodiment of the present application includes a memory and a processor, and when the processor executes a program stored in the memory, the update method of the BMC firmware can be implemented, and the effect is the same as above.
It should be noted that the above-described embodiments of the apparatus and device are merely illustrative, for example, the division of modules is only one division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of modules 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 through some interfaces, devices or modules, and may be in an electrical, mechanical or other form. Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and performs all or part of the steps of the methods according to the embodiments of the present invention, or all or part of the technical solution.
To this end, an embodiment of the present invention further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the update method, such as the BMC firmware, are implemented.
The storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory ROM (Read-Only Memory), a random Access Memory ram (random Access Memory), a magnetic disk, or an optical disk.
The computer program contained in the storage medium provided in this embodiment can implement the steps of the update method of the BMC firmware described above when being executed by the processor, and the effect is the same as that described above.
The detailed description of the update method, the update device and the storage medium of the BMC firmware provided by the present invention is provided above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device, the equipment and the storage medium disclosed by the embodiment correspond to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. 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 invention.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. The method for updating the BMC firmware is characterized in that a programmable controller based on a circuit board where the BMC to be updated is located comprises the following steps:
completing control configuration of the BMC to be updated, control configuration of a memory chip used for storing firmware of the BMC to be updated and control configuration of a bus switch between the BMC to be updated and the memory chip in advance;
after a programming command sent by an upper computer is received, controlling the BMC to be updated to enter a reset state and controlling the bus switch to be in a disconnected state;
and after receiving the firmware file sent by the upper computer, writing the firmware file into the storage chip.
2. The update method according to claim 1, wherein the pre-completing the control configuration of the BMC to be updated, the control configuration of a memory chip for storing firmware of the BMC to be updated, and the control configuration of a bus switch located between the BMC to be updated and the memory chip specifically includes:
and receiving a preset configuration file sent by the upper computer to complete the control configuration of the BMC to be updated, the control configuration of the memory chip and the control configuration of the bus switch.
3. The updating method according to claim 2, wherein the receiving of the preset configuration file sent by the upper computer to complete the control configuration of the BMC to be updated, the control configuration of the memory chip, and the control configuration of the bus switch specifically includes:
and receiving a preset configuration file sent by the upper computer based on a joint test working group interface so as to complete the control configuration of the BMC to be updated, the control configuration of the memory chip and the control configuration of the bus switch.
4. The updating method according to claim 1, further comprising, after receiving the firmware file sent by the upper computer:
calculating according to a preset rule to obtain verification data of the firmware file;
and sending the check data to the upper computer.
5. The updating method according to claim 1, wherein the writing the firmware file to the memory chip specifically includes:
and writing the firmware file into the memory chip by taking a preset start bit required by the BMC to be tested as a start address, and setting the start address of the write operation of the memory chip as the preset start bit after the write operation is finished.
6. The updating method according to claim 1, further comprising, after the writing the firmware file to the memory chip:
and after the writing is finished, closing a writing channel to the memory chip, starting the bus switch, and removing the reset state of the BMC to be updated so as to restart the BMS to be updated and read the firmware file in the memory chip.
7. The updating method according to claim 1, wherein the programmable controller is any one of a programmable logic device, a complex programmable logic device, a field programmable gate array, a single chip microcomputer, or an ARM processor.
8. An apparatus for updating BMC firmware, comprising:
the configuration unit is used for completing control configuration of the BMC to be updated in advance, control configuration of a memory chip used for storing firmware of the BMC to be updated and control configuration of a bus switch between the BMC to be updated and the memory chip;
the control unit is used for controlling the BMC to be updated to enter a reset state and controlling the bus switch to be in a disconnected state after receiving a programming command sent by an upper computer;
and the writing unit is used for writing the firmware file into the storage chip after receiving the firmware file sent by the upper computer.
9. An update device for BMC firmware, comprising:
a memory for storing instructions, the instructions comprising the steps of the BMC firmware update method of any of claims 1 to 7;
a processor to execute the instructions.
10. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the BMC firmware updating method according to any of claims 1 to 7.
CN202010790339.1A 2020-08-07 2020-08-07 Updating method, updating device, updating equipment and storage medium of BMC (baseboard management controller) firmware Active CN112000351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010790339.1A CN112000351B (en) 2020-08-07 2020-08-07 Updating method, updating device, updating equipment and storage medium of BMC (baseboard management controller) firmware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010790339.1A CN112000351B (en) 2020-08-07 2020-08-07 Updating method, updating device, updating equipment and storage medium of BMC (baseboard management controller) firmware

Publications (2)

Publication Number Publication Date
CN112000351A true CN112000351A (en) 2020-11-27
CN112000351B CN112000351B (en) 2023-04-07

Family

ID=73463864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010790339.1A Active CN112000351B (en) 2020-08-07 2020-08-07 Updating method, updating device, updating equipment and storage medium of BMC (baseboard management controller) firmware

Country Status (1)

Country Link
CN (1) CN112000351B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113157304A (en) * 2021-03-12 2021-07-23 山东英信计算机技术有限公司 Server firmware updating device and method based on USB storage equipment
CN113535213A (en) * 2021-07-21 2021-10-22 联想长风科技(北京)有限公司 Firmware updating method and system for programmable logic device
CN114124699A (en) * 2021-08-27 2022-03-01 苏州浪潮智能科技有限公司 System and method for remotely refreshing BMC (baseboard management controller) firmware based on network
TWI779858B (en) * 2021-09-26 2022-10-01 新加坡商鴻運科股份有限公司 System and method for upgrading firmware
CN117170694A (en) * 2023-09-15 2023-12-05 合芯科技(苏州)有限公司 BMC data burning configuration method, device, equipment and medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1834915A (en) * 2005-03-16 2006-09-20 富士通株式会社 Method of updating firmware in computer server systems
CN101673202A (en) * 2008-09-09 2010-03-17 比亚迪股份有限公司 Program writing method and system, pre-writing device and writing device
CN104503798A (en) * 2014-12-29 2015-04-08 杭州华三通信技术有限公司 Method and device for configuring server
CN108153541A (en) * 2017-12-13 2018-06-12 天津津航计算技术研究所 FPGA online upgrading methods based on 1553B buses
CN109032636A (en) * 2018-07-17 2018-12-18 济南浪潮高新科技投资发展有限公司 A method of UEFI firmware is updated based on encryption certification BMC
CN109460240A (en) * 2018-10-19 2019-03-12 郑州云海信息技术有限公司 A kind of firmware programming component and firmware programming method, system and storage medium
CN109542478A (en) * 2018-11-09 2019-03-29 中电科仪器仪表有限公司 A kind of system and method updating FPGA program in SPI Flash
CN110162326A (en) * 2018-02-13 2019-08-23 北京京东尚科信息技术有限公司 The method of firmware upgrade and system comprising hard disk
CN110287707A (en) * 2019-06-28 2019-09-27 珠海奔图电子有限公司 The firmware upgrade method of image forming apparatus and its safety management module
CN111352640A (en) * 2020-02-20 2020-06-30 浪潮商用机器有限公司 Backboard firmware updating method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1834915A (en) * 2005-03-16 2006-09-20 富士通株式会社 Method of updating firmware in computer server systems
CN101673202A (en) * 2008-09-09 2010-03-17 比亚迪股份有限公司 Program writing method and system, pre-writing device and writing device
CN104503798A (en) * 2014-12-29 2015-04-08 杭州华三通信技术有限公司 Method and device for configuring server
CN108153541A (en) * 2017-12-13 2018-06-12 天津津航计算技术研究所 FPGA online upgrading methods based on 1553B buses
CN110162326A (en) * 2018-02-13 2019-08-23 北京京东尚科信息技术有限公司 The method of firmware upgrade and system comprising hard disk
CN109032636A (en) * 2018-07-17 2018-12-18 济南浪潮高新科技投资发展有限公司 A method of UEFI firmware is updated based on encryption certification BMC
CN109460240A (en) * 2018-10-19 2019-03-12 郑州云海信息技术有限公司 A kind of firmware programming component and firmware programming method, system and storage medium
CN109542478A (en) * 2018-11-09 2019-03-29 中电科仪器仪表有限公司 A kind of system and method updating FPGA program in SPI Flash
CN110287707A (en) * 2019-06-28 2019-09-27 珠海奔图电子有限公司 The firmware upgrade method of image forming apparatus and its safety management module
CN111352640A (en) * 2020-02-20 2020-06-30 浪潮商用机器有限公司 Backboard firmware updating method and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113157304A (en) * 2021-03-12 2021-07-23 山东英信计算机技术有限公司 Server firmware updating device and method based on USB storage equipment
CN113157304B (en) * 2021-03-12 2024-02-06 山东英信计算机技术有限公司 Device and method for updating server firmware based on USB storage device
CN113535213A (en) * 2021-07-21 2021-10-22 联想长风科技(北京)有限公司 Firmware updating method and system for programmable logic device
CN113535213B (en) * 2021-07-21 2024-03-29 联想长风科技(北京)有限公司 Firmware updating method and system for programmable logic device
CN114124699A (en) * 2021-08-27 2022-03-01 苏州浪潮智能科技有限公司 System and method for remotely refreshing BMC (baseboard management controller) firmware based on network
CN114124699B (en) * 2021-08-27 2023-09-01 苏州浪潮智能科技有限公司 System and method for remotely refreshing BMC firmware based on network
TWI779858B (en) * 2021-09-26 2022-10-01 新加坡商鴻運科股份有限公司 System and method for upgrading firmware
CN117170694A (en) * 2023-09-15 2023-12-05 合芯科技(苏州)有限公司 BMC data burning configuration method, device, equipment and medium

Also Published As

Publication number Publication date
CN112000351B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN112000351B (en) Updating method, updating device, updating equipment and storage medium of BMC (baseboard management controller) firmware
CN105573743B (en) Chip burning system and method and electronic equipment
CN102609286B (en) A kind of FPGA configurator remote update system based on processor control and method thereof
CN100383737C (en) SCM online loading and updating method and system
CN104965725B (en) A kind of full-automatic firmware programming method of embedded device based on SD card
CN105718281A (en) Touch screen firmware upgrading method and device
CN113553081A (en) FPGA loading method based on ZYNQ chip
CN109460240A (en) A kind of firmware programming component and firmware programming method, system and storage medium
CN112996020A (en) Bluetooth-based automatic testing method and device and Bluetooth testing terminal
CN110459260B (en) Automatic test switching device, method and system
CN114115724A (en) Solid state disk safe erasing method and device
CN113608684A (en) Memory information acquisition method, device and system, electronic equipment and storage medium
CN105677429A (en) Program burning method, processor and electronic circuit
CN112925569A (en) Firmware data processing method, device, equipment and storage medium
CN114185720B (en) Method, device, equipment and storage medium for dynamic hot backup of server
CN110888656A (en) Multifunctional programming device and programming method
CN116560678A (en) Firmware updating method and device, storage medium and electronic device
CN114253781B (en) Test method, device, equipment and storage medium
CN112306536B (en) Main board, chip thereof and chip upgrading method
CN112445670B (en) eMMC test method and device
CN114019357A (en) Management method of test pin of logic processing module and related assembly
CN112994902A (en) Intelligent network card and FPGA (field programmable Gate array) firmware updating management method of intelligent network card
JPH11282712A (en) Flash memory emulation device and debug system using the same
CN113590153B (en) Firmware upgrading method, system, equipment and medium of CPLD
CN115858433A (en) Method, system, device, equipment and storage medium for controlling retimer mode

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