CN107193594A - A kind of USB interface-based principal and subordinate BMC firmware upgrade methods - Google Patents

A kind of USB interface-based principal and subordinate BMC firmware upgrade methods Download PDF

Info

Publication number
CN107193594A
CN107193594A CN201710349421.9A CN201710349421A CN107193594A CN 107193594 A CN107193594 A CN 107193594A CN 201710349421 A CN201710349421 A CN 201710349421A CN 107193594 A CN107193594 A CN 107193594A
Authority
CN
China
Prior art keywords
bmc
main
subordinate
principal
firmware
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
CN201710349421.9A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710349421.9A priority Critical patent/CN107193594A/en
Publication of CN107193594A publication Critical patent/CN107193594A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of USB interface-based principal and subordinate BMC firmware upgrade methods, belong to server design of hardware and software technical field, comprise the following steps:S1, Web send upgrade command and received to main BMC, main BMC after upgrade command, send upgrade command to from BMC by the synchronous channels of principal and subordinate BMC, principal and subordinate BMC does synchronous upgrading and prepared;S2, Web send firmware updating and are mirrored to main BMC, and main BMC is mirrored to from BMC by USB interface synchronized transmission firmware updating;S3, main BMC send refresh command to from BMC by the synchronous channels of principal and subordinate BMC, main BMC and from BMC synchronous refresh;S4, main BMC and carry out reset operation respectively from BMC, enable and update firmware.

Description

A kind of USB interface-based principal and subordinate BMC firmware upgrade methods
Technical field
The present invention relates to server design of hardware and software technical field, especially a kind of USB interface-based principal and subordinate BMC firmwares Upgrade method.
Background technology
With the fast development of server technology, people for BMC functional requirement more and more higher, more some customize Function will be imported and used, along with the upgrading of BMC firmwares.And in the methods of upgrading, it is convenient similarly to require, to reduce Maintenance cost.Tradition has two kinds, a kind of software upgrading interface provided by BMC to BMC firmware upgrade approach;It is another to pass through Hardware interface directly carries out burning to BMC FLASH.Former approach is mostly upgraded by lan interfaces, but when in system When occurring two and above BMC, lan interfaces simply may access main BMC for user, for the upgrading from BMC just The mode for having to enter into laboratory access netting twine is upgraded to firmware, and upgrade method operation is complicated, and maintenance cost is high.
The content of the invention
It is real by hardware interface it is an object of the invention to provide a kind of USB interface-based principal and subordinate BMC firmware upgrade methods Synchronous upgrading between existing principal and subordinate BMC, upgrade method is simple, and it is convenient that post-service device is safeguarded.
To achieve the above object, the present invention uses following technical proposals:
A kind of USB interface-based principal and subordinate BMC firmware upgrade methods, comprise the following steps:
S1, Web send upgrade command and received to main BMC, main BMC after upgrade command, are sent out by the synchronous channels of principal and subordinate BMC Send upgrade command to from BMC, principal and subordinate BMC does synchronous upgrading and prepared;
S2, Web send firmware updating and are mirrored to main BMC, and main BMC is mirrored to by USB interface synchronized transmission firmware updating From BMC;
S3, main BMC send refresh command to from BMC by the synchronous channels of principal and subordinate BMC, main BMC and from BMC synchronous refresh;
S4, main BMC and carry out reset operation respectively from BMC, enable and update firmware.
Further, when need to quantity be more than two when synchronizing firmware updating from BMC, main BMC output end The control end for selecting chip with priority piece is connected, and priority piece selects the output end of chip same with multiple principal and subordinate BMC from BMC respectively Walk channel connection.
Further, the synchronous channels of the principal and subordinate BMC include I2C EBIs or UART interface.
Further, in step S1, the upgrade command is the life for meeting I2C bus inferface protocols or UART interface agreement Make file.
Further, in step S1, principal and subordinate BMC does synchronous upgrading preparation and specifically included:
Main BMC stops accessing main BMC flash process, and refresh process is started into refresh mode;
Stop accessing the process from BMC flash from BMC, refresh process is started into refresh mode.
Further, in step S2, main BMC is mirrored to from BMC fortune by USB interface synchronized transmission firmware updating and deposited.
Further, in step S3, the refresh command is the life for meeting I2C bus inferface protocols or UART interface agreement Make file.
Further, in step S3, main BMC and specifically included from BMC synchronous refresh:
Main BMC fortune deposits refreshing and upgrading firmware image, and main BMC is by the SPI interface between main BMC, main BMC flash to master BMC flash burning firmware updating mirror images;
Deposit refreshing and upgrading firmware image from BMC fortune, from BMC by from BMC, from the SPI interface between BMC flash to From BMC flash burning firmware updating mirror images.
The beneficial effects of the invention are as follows,
The main BMC of the present invention transmits firmware updating mirror image to from BMC by USB interface, realizes the synchronization between principal and subordinate BMC Upgrading, from BMC synchronous upgrading is needed for multiple, between principal and subordinate BMC plus it is a piece of select chip, realize and queued up from BMC, the present invention Upgrade method it is simple, realize principal and subordinate BMC synchronously upgradings, it is convenient that post-service device is safeguarded.
Brief description of the drawings
Fig. 1 is the inventive method flow chart.
Embodiment
Embodiment one
As shown in figure 1, when server includes main BMC and one upgrading synchronous from BMC needs, USB interface-based principal and subordinate BMC firmware upgrade methods, comprise the following steps:
S1, Web send upgrade command and received to main BMC, main BMC after upgrade command, pass through I2C EBIs or UART Interface transmission meets I2C bus inferface protocols or the command file of UART interface agreement does synchronous upgrading to from BMC, principal and subordinate BMC Prepare, specifically stop accessing main BMC flash process for main BMC, refresh process is started into refresh mode;Stop from BMC The process from BMC flash is accessed, refresh process is started into refresh mode.
S2, Web send firmware updating and are mirrored to main BMC, and main BMC is mirrored to by USB interface synchronized transmission firmware updating Deposited from BMC fortune.
S3, main BMC are sent by I2C EBIs or UART interface meets I2C bus inferface protocols or UART interface association The refresh command of view is to from BMC, main BMC and from BMC synchronous refresh, and main BMC fortune deposits refreshing and upgrading firmware image, and main BMC passes through SPI interface between main BMC, main BMC flash is to main BMC flash burnings firmware updating mirror image;Refreshing is deposited from BMC fortune to rise Level firmware image, passes through from BMC, from the SPI interface between BMC flash to from BMC flash burning firmware updating mirrors from BMC Picture.
S4, main BMC and carry out reset operation respectively from BMC, enable and update firmware.
Embodiment two
When server includes two and when synchronizing firmware updating from BMC of above quantity, USB interface-based principal and subordinate BMC firmware upgrade methods, comprise the following steps:
S1, Web send upgrade command and received to main BMC, main BMC after upgrade command, and control sheet selects the output end of chip Send chip selection signals to multiple control ends from BMC, after one selected from BMC, main BMC by this from BMC and main BMC it Between I2C EBIs or UART interface send meet the command file of I2C bus inferface protocols or UART interface agreement to from BMC, principal and subordinate BMC do synchronous upgrading and prepared, and specifically stop accessing main BMC flash process for main BMC, are opened into refresh mode Dynamic refresh process;Stop accessing the process from BMC flash from BMC, refresh process is started into refresh mode.
S2, Web send firmware updating and are mirrored to main BMC, and main BMC is mirrored to by USB interface synchronized transmission firmware updating Deposited from BMC fortune.
S3, main BMC are sent by I2C EBIs or UART interface meets I2C bus inferface protocols or UART interface association The refresh command of view is to from BMC, main BMC and from BMC synchronous refresh, and main BMC fortune deposits refreshing and upgrading firmware image, and main BMC passes through SPI interface between main BMC, main BMC flash is to main BMC flash burnings firmware updating mirror image;Refreshing is deposited from BMC fortune to rise Level firmware image, passes through from BMC, from the SPI interface between BMC flash to from BMC flash burning firmware updating mirrors from BMC Picture.
S4, main BMC and carry out reset operation respectively from BMC, enable and update firmware.
S5, when it is another select end effective from BMC piece when, step S1 is jumped to, until all being fully completed firmware liter from BMC Level backed off after random.
Although above-mentioned the embodiment of the present invention is described with reference to accompanying drawing, not to present invention protection model The limitation enclosed, one of ordinary skill in the art should be understood that on the basis of technical scheme those skilled in the art are not Need to pay various modifications or deform still within protection scope of the present invention that creative work can make.

Claims (8)

1. a kind of USB interface-based principal and subordinate BMC firmware upgrade methods, it is characterised in that comprise the following steps:
S1, Web send upgrade command and received to main BMC, main BMC after upgrade command, are sent and risen by the synchronous channels of principal and subordinate BMC Level order is arrived from BMC, and principal and subordinate BMC does synchronous upgrading and prepared;
S2, Web send firmware updating and are mirrored to main BMC, main BMC by USB interface synchronized transmission firmware updating be mirrored to from BMC;
S3, main BMC send refresh command to from BMC by the synchronous channels of principal and subordinate BMC, main BMC and from BMC synchronous refresh;
S4, main BMC and carry out reset operation respectively from BMC, enable and update firmware.
2. a kind of USB interface-based principal and subordinate BMC firmware upgrade methods as claimed in claim 1, it is characterised in that work as needs Quantity is more than two from BMC synchronize firmware updating when, main BMC output end selects the control end of chip with priority piece Connection, priority piece selects the output end channel connection synchronous with multiple principal and subordinate BMC from BMC respectively of chip.
3. a kind of USB interface-based principal and subordinate BMC firmware upgrade methods as described in any one of claim 1 or 2 claim, Characterized in that, the synchronous channels of the principal and subordinate BMC include I2C EBIs or UART interface.
4. a kind of USB interface-based principal and subordinate BMC firmware upgrade methods as described in any one of claim 1 or 2 claim, Characterized in that, in step S1, the upgrade command is to meet I2C bus inferface protocols or the order text of UART interface agreement Part.
5. a kind of USB interface-based principal and subordinate BMC firmware upgrade methods as described in any one of claim 1 or 2 claim, Characterized in that, in step S1, principal and subordinate BMC does synchronous upgrading preparation and specifically included:
Main BMC stops accessing main BMC flash process, and refresh process is started into refresh mode;
Stop accessing the process from BMC flash from BMC, refresh process is started into refresh mode.
6. a kind of USB interface-based principal and subordinate BMC firmware upgrade methods as described in any one of claim 1 or 2 claim, Characterized in that, in step S2, main BMC is mirrored to from BMC fortune by USB interface synchronized transmission firmware updating and deposited.
7. a kind of USB interface-based principal and subordinate BMC firmware upgrade methods as described in any one of claim 1 or 2 claim, Characterized in that, in step S3, the refresh command is to meet I2C bus inferface protocols or the order text of UART interface agreement Part.
8. a kind of USB interface-based principal and subordinate BMC firmware upgrade methods as described in any one of claim 1 or 2 claim, Characterized in that, in step S3, main BMC and specifically included from BMC synchronous refresh:
Main BMC fortune deposits refreshing and upgrading firmware image, and main BMC is by the SPI interface between main BMC, main BMC flash to main BMC Flash burning firmware updating mirror images;
Deposit refreshing and upgrading firmware image from BMC fortune, from BMC by from BMC, from the SPI interface between BMC flash to from BMC flash burning firmware updating mirror images.
CN201710349421.9A 2017-05-17 2017-05-17 A kind of USB interface-based principal and subordinate BMC firmware upgrade methods Pending CN107193594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710349421.9A CN107193594A (en) 2017-05-17 2017-05-17 A kind of USB interface-based principal and subordinate BMC firmware upgrade methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710349421.9A CN107193594A (en) 2017-05-17 2017-05-17 A kind of USB interface-based principal and subordinate BMC firmware upgrade methods

Publications (1)

Publication Number Publication Date
CN107193594A true CN107193594A (en) 2017-09-22

Family

ID=59873768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710349421.9A Pending CN107193594A (en) 2017-05-17 2017-05-17 A kind of USB interface-based principal and subordinate BMC firmware upgrade methods

Country Status (1)

Country Link
CN (1) CN107193594A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279909A (en) * 2018-01-02 2018-07-13 郑州云海信息技术有限公司 A kind of method and system of the double subregion FW of 8 road server medium-long range update
CN108848182A (en) * 2018-06-28 2018-11-20 郑州云海信息技术有限公司 A kind of update method, relevant device and the system of BMC firmware
CN108965382A (en) * 2018-05-31 2018-12-07 郑州云海信息技术有限公司 A kind of document transmission method based on BMC, device, equipment and medium
CN109660391A (en) * 2018-12-10 2019-04-19 浪潮电子信息产业股份有限公司 A kind of pond server system firmware upgrade method, system and relevant apparatus
WO2019233088A1 (en) * 2018-06-04 2019-12-12 郑州云海信息技术有限公司 Inter-bmc file transmission method, device and apparatus, and storage medium
CN110780905A (en) * 2019-10-31 2020-02-11 山东超越数控电子股份有限公司 BMC software updating method and device based on USB interface
CN111651176A (en) * 2020-05-21 2020-09-11 深圳市同泰怡信息技术有限公司 Method and device for on-line upgrading of server LCD module

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996253A (en) * 2006-01-03 2007-07-11 国际商业机器公司 Apparatus, system, and method for non-interruptively updating firmware on a redundant hardware controller
US20070169106A1 (en) * 2005-12-14 2007-07-19 Douglas Darren C Simultaneous download to multiple targets
CN105700970A (en) * 2014-11-25 2016-06-22 英业达科技有限公司 Server system
CN105867949A (en) * 2016-04-29 2016-08-17 中国人民解放军国防科学技术大学 Online BIOS (basic input/output system) refreshing method for multi-node server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070169106A1 (en) * 2005-12-14 2007-07-19 Douglas Darren C Simultaneous download to multiple targets
CN1996253A (en) * 2006-01-03 2007-07-11 国际商业机器公司 Apparatus, system, and method for non-interruptively updating firmware on a redundant hardware controller
CN105700970A (en) * 2014-11-25 2016-06-22 英业达科技有限公司 Server system
CN105867949A (en) * 2016-04-29 2016-08-17 中国人民解放军国防科学技术大学 Online BIOS (basic input/output system) refreshing method for multi-node server

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279909A (en) * 2018-01-02 2018-07-13 郑州云海信息技术有限公司 A kind of method and system of the double subregion FW of 8 road server medium-long range update
CN108965382A (en) * 2018-05-31 2018-12-07 郑州云海信息技术有限公司 A kind of document transmission method based on BMC, device, equipment and medium
US11431782B2 (en) 2018-05-31 2022-08-30 Zhengzhou Yunhai Information Technology Co., Ltd. Method, apparatus, and device for transmitting file based on BMC, and medium
CN108965382B (en) * 2018-05-31 2021-06-29 郑州云海信息技术有限公司 File transfer method, device, equipment and medium based on BMC (baseboard management controller)
US11256640B2 (en) 2018-06-04 2022-02-22 Zhengzhou Yunhai Information Technology Co., Ltd. File transfer method, apparatus, device between BMCs and storage medium
WO2019233088A1 (en) * 2018-06-04 2019-12-12 郑州云海信息技术有限公司 Inter-bmc file transmission method, device and apparatus, and storage medium
CN108848182A (en) * 2018-06-28 2018-11-20 郑州云海信息技术有限公司 A kind of update method, relevant device and the system of BMC firmware
CN108848182B (en) * 2018-06-28 2022-03-08 郑州云海信息技术有限公司 Updating method of BMC firmware, related equipment and system
CN109660391B (en) * 2018-12-10 2022-03-08 浪潮电子信息产业股份有限公司 Method, system and related device for upgrading firmware of pooling server system
CN109660391A (en) * 2018-12-10 2019-04-19 浪潮电子信息产业股份有限公司 A kind of pond server system firmware upgrade method, system and relevant apparatus
CN110780905A (en) * 2019-10-31 2020-02-11 山东超越数控电子股份有限公司 BMC software updating method and device based on USB interface
CN110780905B (en) * 2019-10-31 2023-09-08 超越科技股份有限公司 BMC software updating method and device based on USB interface
CN111651176A (en) * 2020-05-21 2020-09-11 深圳市同泰怡信息技术有限公司 Method and device for on-line upgrading of server LCD module
CN111651176B (en) * 2020-05-21 2023-11-07 深圳市同泰怡信息技术有限公司 Method and device for online upgrading of server LCD module

Similar Documents

Publication Publication Date Title
CN107193594A (en) A kind of USB interface-based principal and subordinate BMC firmware upgrade methods
CN107153558A (en) A kind of principal and subordinate's BMC firmware upgrade methods based on SPI interface
CN102025756B (en) Distributed system and data synchronization method thereof
CN102164360B (en) Method and system for configuring and loading network equipment
RU2700188C2 (en) Representing computing environment on multiple devices
CN105743757B (en) The method of the free networking of RS485 communicating terminals
CN105553741A (en) Automatic deployment method for application system based on cloud computing
JP2013512510A (en) Configurable connector for system level communication
US9940224B2 (en) Automatic remote execution of an application
CN101170423A (en) A service-oriented service cluster deployment method
CN103605798A (en) Method for directly operating file stored at cloud end
CN102204184A (en) Method, business board, and system for kvm data transmission
US20200059498A1 (en) Minimizing productivity loss in a collaborative sharing environment
CN103546492A (en) Unattended operation installation system and method
CN103885997A (en) Dynamic page information displaying method and dynamic page information displaying system
US20070168580A1 (en) Apparatus to improve the firmware efficiency for a multiframe serial interface
CN103607429A (en) Cloud computing service realization method and system thereof
CN105681108A (en) Method and equipment for achieving configuration synchronization
CN107920136B (en) Data synchronization control method, device and server
CN103685191A (en) Data synchronizing system and method
CN106775750B (en) The method and device that terminal device wakes up
CN112309311B (en) Display control method, device, display control card and computer readable medium
CN104899164B (en) Address addressing method for integrated circuit bus, integrated circuit bus device and system
CN106776384A (en) A kind of usb data capture device and intercept method
CN112272223A (en) Application running method and device, server and computer readable 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170922

RJ01 Rejection of invention patent application after publication