CN114489716A - Substrate management controller, updating method thereof and connector - Google Patents

Substrate management controller, updating method thereof and connector Download PDF

Info

Publication number
CN114489716A
CN114489716A CN202111630724.0A CN202111630724A CN114489716A CN 114489716 A CN114489716 A CN 114489716A CN 202111630724 A CN202111630724 A CN 202111630724A CN 114489716 A CN114489716 A CN 114489716A
Authority
CN
China
Prior art keywords
module
management controller
cpu
interface
connector
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.)
Pending
Application number
CN202111630724.0A
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.)
Shanghai Xinxi Information Technology Co ltd
Original Assignee
Shanghai Xinxi Information 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 Shanghai Xinxi Information Technology Co ltd filed Critical Shanghai Xinxi Information Technology Co ltd
Priority to CN202111630724.0A priority Critical patent/CN114489716A/en
Publication of CN114489716A publication Critical patent/CN114489716A/en
Pending 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
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Abstract

The invention relates to the field of electronic equipment, and discloses a substrate management controller, an updating method thereof and a connector. Wherein, baseboard management controller for be connected with CPU, include: the device comprises a control module, a storage module connected with the control module and a switching module connected with the storage module; the switching module comprises a first interface connected with the storage module and a second interface connected with the CPU, and is used for upgrading the software of the storage module under the control of the CPU. Compared with the prior art, the baseboard management controller, the updating method thereof and the connector provided by the embodiment of the invention have the advantage that the software running in the baseboard management controller can still be updated when the baseboard management controller is halted.

Description

Substrate management controller, updating method thereof and connector
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a baseboard management controller, an update method thereof, and a connector.
Background
The SPI (Serial Peripheral Interface) bus technology is a high-speed, synchronous, full-duplex communication bus. SPI storage device, a common data storage component, is often used in system design to store firmware programs and their associated configuration data.
In data centers, servers, switches and other devices increasingly use baseboard management controller chips as out-of-band management devices. The base plate management controller adopts SPI FLASH as a storage medium of software. The upgrading mode around the baseboard management controller is also infinite, and the following corresponding upgrading modes and the existing pain point problems are listed:
the software upgrading scheme of the baseboard management controller based on the standard IPMI interface requires the baseboard management controller to work and cannot work if the baseboard management controller crashes.
Disclosure of Invention
An object of embodiments of the present invention is to provide a baseboard management controller, an update method thereof, and a connector, so that software running in the baseboard management controller can still be updated when the baseboard management controller crashes.
To solve the above technical problem, an embodiment of the present invention provides a baseboard management controller, for connecting with a CPU, including: the device comprises a control module and a storage module connected with the control module; the switching module comprises a first interface connected with the storage module and a second interface used for being connected with the CPU, and the switching module is used for carrying out software upgrading on the storage module under the control of the CPU.
An embodiment of the present invention further provides a connector for connecting a board management controller and a CPU, including: the first interface is used for being connected with a storage module in the baseboard management controller; a second interface for connecting with the CPU; the connector is used for carrying out software upgrading on the storage module under the control of the CPU.
The embodiment of the invention also provides a substrate management controller updating method, which is applied to a CPU and comprises the following steps: controlling a control module of the baseboard management controller to suspend access to a storage module of the baseboard management controller; and controlling the connector to update the software of the storage module of the baseboard management controller.
Compared with the prior art, the embodiment of the invention has the advantages that the switching module is arranged in the baseboard management controller and comprises the first interface and the second interface, the first interface is connected with the storage module, the second interface is used for being connected with the CPU, when software running in the baseboard management controller needs to be updated, the CPU can communicate with the switching module through the second interface because the software is stored in the storage module, and the software stored in the storage module is updated through the switching module, so that the software in the baseboard management controller is updated under the conditions that the baseboard management controller is halted and the control module cannot operate.
In addition, the switching module further comprises a third interface connected with the control module, and the switching module is further used for opening/closing the access of the control module to the storage module under the control of the CPU. The third interface is arranged in the switching module and connected with the control module, when software upgrading is needed to be carried out on the substrate management controller, the switching module can close the access of the control module to the storage module under the control of the CPU, so that the CPU can update the software stored in the storage module conveniently, signal interference which possibly occurs when the control module accesses the storage module simultaneously when the CPU updates the software stored in the storage module is avoided, and the stability when the software stored in the storage module is updated is improved. After the updating is finished, the switching module can start the access of the control module to the storage module under the control of the CPU, so that the interference on the normal work of the control module is avoided.
In addition, the switching module is a programmable logic device. The programmable logic device is used as a switching module, and a user can edit the programmable logic device according to the self requirement when using the switching module, and customize an upgrading strategy when upgrading software of the substrate management controller.
In addition, the number of the second interfaces is multiple, and the interface types of the second interfaces are different. And a plurality of second interfaces of different types are arranged, so that the switching module can be connected with CPUs of different types, and the application range of the substrate management controller is greatly expanded.
In addition, the switching module further comprises a fourth interface for connecting with an external memory. The switching module is internally provided with a fourth interface connected with an external memory, and in the working process of the substrate management controller, information communication between the storage module and the external memory can be completed by using the switching module as a bridge, so that connection between the storage module and the switching module is completed under the condition that the storage module is not structurally changed, and the process difficulty in manufacturing is further reduced.
In addition, the connector further comprises a third interface used for being connected with a control module in the baseboard management controller, and the connector is further used for opening/closing the access of the control module to the storage module under the control of the CPU. The third interface is arranged in the connector and connected with the control module in the substrate management controller, when software upgrading is needed to be carried out on the substrate management controller, the connector can close access of the control module in the substrate management controller to the storage module under the control of the CPU, so that the CPU can update the software stored in the storage module conveniently, signal interference which possibly occurs when the control module accesses the storage module when the CPU updates the software stored in the storage module is avoided, and the stability when the software stored in the storage module is updated is improved. After the updating is finished, the connector can start the access of the control module to the storage module under the control of the CPU, so that the interference on the normal work of the control module is avoided.
In addition, still include: a fourth interface for connection with a memory. The fourth interface is arranged in the connector and connected with the external memory, and in the working process of the substrate management controller, information communication between the storage module and the external memory can be completed by taking the connector as a bridge, so that connection between the storage module and the connector is completed under the condition that structural change is not needed to be performed on the storage module of the substrate management controller, and the application range of the connector is further expanded.
In addition, the number of the second interfaces is multiple, and the interface types of the second interfaces are different. And a plurality of second interfaces of different types are arranged, so that the connector can be connected with CPUs of different types, and the application range of the connector is greatly expanded.
Drawings
Fig. 1 is a schematic structural diagram of a baseboard management controller according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a baseboard management controller according to a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a baseboard management controller according to another embodiment of the present invention;
fig. 4 is a schematic structural view of a connector provided in a third embodiment of the present invention;
fig. 5 is a schematic structural view of a connector according to a fourth embodiment of the present invention;
FIG. 6 is a schematic view of a connector according to another embodiment of the present invention;
fig. 7 is a flowchart illustrating a baseboard management controller updating method according to a fifth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to a board management controller for connection to a CPU, as shown in fig. 1, including: the control module 10, the storage module 20 connected with the control module 10, and the transfer module 30 connected with the storage module, wherein the transfer module 30 includes a first interface 31 connected with the storage module and a second interface 32 for connecting with the CPU, and the transfer module 30 is used for upgrading software of the storage module 32 under the control of the CPU when being connected with the CPU.
Compared with the prior art, the baseboard management controller provided in the first embodiment of the present invention is provided with the adapter module 30, the adapter module 30 includes a first interface 31 and a second interface 32, the first interface 31 is connected to the storage module 20, and the second interface 32 is used for being connected to the CPU, when software running in the baseboard management controller needs to be updated, since the software is stored in the storage module 20, the CPU can communicate with the adapter module 30 through the second interface 32, and update the software stored in the storage module 20 through the adapter module 30, so that the software in the baseboard management controller is updated when the baseboard management controller is in a dead halt and the control module 10 cannot operate.
Specifically, in the present embodiment, the first Interface may be any one of an SPI (Serial Peripheral Interface), an I2C (Inter-Integrated Circuit) Interface, an SDIO (Secure Digital Input and Output) Interface, and the like.
In the present embodiment, the number of the second interfaces 32 is plural, and the Interface types of the second interfaces 32 are different, and for example, the second interfaces 32 may be various communication interfaces such as lpc (low pin count Bus), two-wire synchronous Serial Bus, SMBUS (System Management Bus), SPI (Serial Peripheral Interface), and the like. The second interfaces 32 of different types are arranged, so that the switching module 30 can be connected with CPUs of different types, and the application range of the baseboard management controller is greatly expanded.
In this embodiment, the patching module 30 is a programmable logic device. In an actual use process, the switching module 30 may be, for example, an FPGA (Field Programmable Gate Array) or a CPLD (Complex Programmable Logic Device), and may be flexibly configured according to actual needs. The programmable logic device is used as the switching module 30, so that a user can edit the programmable logic device according to the self requirement when using the switching module, and customize the upgrading strategy when upgrading the software of the substrate management controller. In addition, because a plurality of interfaces of different types can be set in the programmable logic device, the programmable logic device can be used as the switching module 30, so that a plurality of second interfaces 32 of different types can be set more conveniently, and the manufacturing difficulty is reduced.
A second embodiment of the present invention relates to a baseboard management controller. The second embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that, as shown in fig. 2, the switching module 30 further includes a third interface 33, the third interface 33 is connected with the control module 10, and the switching module 30 is further configured to turn on/off the access of the control module 10 to the storage module 20 under the control of the CPU.
Compared with the prior art, the baseboard management controller provided by the second embodiment of the present invention, while maintaining all technical effects of the first embodiment, sets the third interface 33 in the switch module 30 to connect with the control module 10, and when software upgrade needs to be performed on the baseboard management controller, the switch module 30 can close the access of the control module 10 to the storage module 20 under the control of the CPU, so as to facilitate the CPU to update the software stored in the storage module 20, avoid signal interference that may occur when the CPU updates the software stored in the storage module 20 and the control module 10 accesses the storage module 20 at the same time, and improve stability when the software stored in the storage module 20 is updated. After the update is completed, the switching module 30 may start the access of the control module 10 to the storage module 20 under the control of the CPU, so as to avoid interference with the normal operation of the control module 10.
In addition, in this embodiment, after the update is completed, the switching module 30 may restart the control module 10 under the control of the CPU, so that the control module 10 may better load the updated software, thereby avoiding the problem of mismatch between the control module 10 and the updated software, and further improving the stability.
Specifically, in another embodiment of the present invention, as shown in fig. 3, the adaptor module 30 further includes a fourth interface 34 for connecting with an external memory. In this embodiment, the second interface 32 may be connected to an interface originally used for being connected to an external memory in the memory module 20, and the fourth interface 34 is disposed in the adaptor module 30 and connected to the external memory, so that in the working process of the baseboard management controller, information communication between the memory module 20 and the external memory may be completed as a bridge via the adaptor module 30, and thus connection between the memory module 20 and the adaptor module 30 is completed without structural modification of the memory module 20, thereby further reducing the process difficulty in manufacturing.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
A third embodiment of the present invention relates to a connector for connecting a baseboard management controller and a CPU, and as shown in fig. 4, the connector 40 includes a first interface 41 for connecting with a memory module in the baseboard management controller; a second interface 42 for connection with the CPU; the connector is used for carrying out software upgrading on the storage module in the baseboard management controller under the control of the CPU.
Compared with the prior art, the connector provided in the third embodiment of the present invention is provided with the first interface 41 connected to the storage module in the board management controller, and the second interface 42 connected to the CPU, so that when software stored in the storage module of the board management controller needs to be updated, the connector can perform software upgrade on the storage module of the board management controller under the control of the CPU, and thus the software upgrade on the board management controller can be completed when the board management controller is halted, shut down, or otherwise does not work.
In the present embodiment, the number of the second interfaces 42 is plural, and the Interface types of the respective second interfaces 42 are different, and for example, the second interfaces 42 may be various communication interfaces such as lpc (low pin count Bus), two-wire synchronous Serial Bus, SMBUS (System Management Bus), SPI (Serial Peripheral Interface), and the like. The arrangement of the plurality of second interfaces 42 of different types enables the connector to be connected with different types of CPUs, and the application range of the connector is greatly expanded.
In this embodiment, the connector is a programmable logic device. In an actual use process, the connector may be, for example, an FPGA (Field Programmable Gate Array) or a CPLD (Complex Programmable Logic Device), and may be flexibly set according to actual needs. The programmable logic device is used as a connector, and a user can edit the programmable logic device according to the self requirement when using the connector, and customize an upgrading strategy when upgrading software of the substrate management controller. In addition, since the programmable logic device can be provided with a plurality of interfaces of different types, the programmable logic device can be used as a connector to facilitate the setting of the second interfaces 42 of different types, thereby reducing the manufacturing difficulty.
A fourth embodiment of the present invention relates to a connector. The fourth embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that, as shown in fig. 5, the connector further includes a third interface 43, the third interface 43 is used for connecting with a control module in the baseboard management controller, and the connector is also used for turning on/off access to the memory module by the control module in the baseboard management controller under the control of the CPU.
Compared with the prior art, the connector provided by the fourth embodiment of the present invention maintains all technical effects of the third embodiment, and at the same time, the third interface 43 is set in the connector to connect with the control module in the baseboard management controller, when software upgrade needs to be performed on the baseboard management controller, the connector can close access of the control module in the baseboard management controller to the memory module under the control of the CPU, so that the CPU can update the software stored in the memory module more conveniently, signal interference which may occur when the CPU updates the software stored in the memory module and the control module accesses the memory module at the same time is avoided, and stability when the software stored in the memory module is updated is improved. After the updating is finished, the connector can start the access of the control module to the storage module under the control of the CPU, so that the interference on the normal work of the control module is avoided.
In addition, in this embodiment, after the update is completed, the connector may restart the control module under the control of the CPU, so that the control module may better load the updated software, thereby avoiding the problem of mismatch between the control module and the updated software, and further improving the stability.
In particular, in another embodiment of the present invention, as shown in fig. 6, the connector further comprises a fourth interface 44 for connecting with a memory. In this embodiment, the second interface 42 may be connected to an interface originally used for being connected to an external memory in a memory module of the bmc, and the fourth interface 44 is disposed in the connector and connected to the external memory, so that in the working process of the bmc, information communication between the memory module and the external memory may be completed as a bridge through the connector, and thus connection between the connector and the memory module is completed without structural modification of the memory module of the bmc, and the application range of the connector is further improved.
A fifth embodiment of the present invention relates to a baseboard management controller updating method, which is applied to a CPU, and the specific steps are as shown in fig. 7, including the following steps:
step S101: controlling a control module of the baseboard management controller to suspend access to a storage module of the baseboard management controller;
step S102: and controlling the switching module or the connector to update the software of the storage module of the baseboard management controller.
Specifically, in this step, when the CPU is directly connected to the switch module of the bmc, the CPU may control the switch module to complete the process of updating the software stored in the storage module, and when the CPU is connected to the storage module of the bmc via the connector, the CPU may control the connector to complete the process of updating the software stored in the storage module.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the steps contain the same logical relationship, which is within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
It should be understood that this embodiment is a method example corresponding to the above embodiment, and that this embodiment can be implemented in cooperation with the above embodiment. The related technical details mentioned in the foregoing embodiments are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the foregoing embodiments.
Those skilled in the art can understand that all or part of the steps in the method of the foregoing embodiments may be implemented by a program to instruct related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (10)

1. A baseboard management controller for connection to a CPU, comprising:
the device comprises a control module, a storage module connected with the control module and a switching module connected with the storage module;
the switching module comprises a first interface connected with the storage module and a second interface connected with the CPU, and is used for upgrading the software of the storage module under the control of the CPU.
2. The baseboard management controller of claim 1, wherein the switch module further comprises a third interface connected to the control module, and the switch module is further configured to turn on/off access of the control module to the storage module under the control of the CPU.
3. The baseboard management controller of claim 1, wherein the patching module is a programmable logic device.
4. The baseboard management controller of claim 3, wherein the number of the second interfaces is multiple, and the interface types of the second interfaces are different.
5. The baseboard management controller of claim 1, wherein the patching module further comprises a fourth interface for connecting with an external memory.
6. A connector for connecting a board management controller and a CPU, comprising:
the first interface is used for being connected with a storage module in the baseboard management controller;
a second interface for connecting with the CPU;
the connector is used for carrying out software upgrading on the storage module under the control of the CPU.
7. The connector of claim 6, further comprising a third interface for connecting with a control module in the baseboard management controller, wherein the connector is further configured to turn on/off access of the control module to the memory module under the control of the CPU.
8. The connector of claim 6, further comprising: a fourth interface for connection with a memory.
9. The connector according to claim 6, wherein the number of the second interfaces is plural, and the interface type of each of the second interfaces is different.
10. A baseboard management controller updating method is applied to a CPU, and is characterized by comprising the following steps:
controlling a control module of the baseboard management controller to suspend access to a storage module of the baseboard management controller;
controlling the patching module of any of claims 1-5 or the connector of any of claims 6-9 to perform a software update on a memory module of the baseboard management controller.
CN202111630724.0A 2021-12-28 2021-12-28 Substrate management controller, updating method thereof and connector Pending CN114489716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111630724.0A CN114489716A (en) 2021-12-28 2021-12-28 Substrate management controller, updating method thereof and connector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111630724.0A CN114489716A (en) 2021-12-28 2021-12-28 Substrate management controller, updating method thereof and connector

Publications (1)

Publication Number Publication Date
CN114489716A true CN114489716A (en) 2022-05-13

Family

ID=81495425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111630724.0A Pending CN114489716A (en) 2021-12-28 2021-12-28 Substrate management controller, updating method thereof and connector

Country Status (1)

Country Link
CN (1) CN114489716A (en)

Similar Documents

Publication Publication Date Title
CN103559053B (en) Board system and FPGA (Field Programmable Logic Array) online update method of communication interface cards
CN105446657B (en) A kind of method for monitoring RAID card
US8397053B2 (en) Multi-motherboard server system
US9092334B2 (en) Method for shortening enumeration of tightly coupled USB device
CN110399328B (en) Control method and device for board-mounted graphics processor
CN109901664B (en) Method, apparatus, system, device and readable storage medium for providing clock signal
US11604635B2 (en) Online program updating method
CN104158709A (en) Optical module identification method and port extender
CN116820827B (en) Control method and system of substrate management controller of node server
CN116032746B (en) Information processing method and device of resource pool, storage medium and electronic device
CN115562738B (en) Port configuration method, component and hard disk expansion device
CN114489716A (en) Substrate management controller, updating method thereof and connector
KR20050050548A (en) Peripheral controller with shared eeprom
CN116501343A (en) Program upgrading method, power supply and computing device
CN113392052B (en) BIOS system and method based on four-way server and computer readable storage medium
CN110765065A (en) System on chip
CN114936033A (en) Cluster firmware upgrading system and intelligent super computing cluster
CN111723032B (en) Interrupt management and control method and electronic equipment
CN115422110B (en) Port configuration method of electronic equipment and PCIE Switch chip
US11960899B2 (en) Dual in-line memory module map-out in an information handling system
CN109144583A (en) Mainboard information acquisition method, device, system and equipment based on Domestic Platform
CN115086579B (en) Video matrix redundancy backup method and device, terminal equipment and storage medium
CN217506538U (en) Multiprocessor communication system suitable for optical module
TWI659295B (en) Server and initialization method in a booting server process
CN117394921A (en) Digital light module, control method and terminal

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