TW201926035A - Firmware update method and baseboard management controller for firmware update - Google Patents

Firmware update method and baseboard management controller for firmware update Download PDF

Info

Publication number
TW201926035A
TW201926035A TW106141930A TW106141930A TW201926035A TW 201926035 A TW201926035 A TW 201926035A TW 106141930 A TW106141930 A TW 106141930A TW 106141930 A TW106141930 A TW 106141930A TW 201926035 A TW201926035 A TW 201926035A
Authority
TW
Taiwan
Prior art keywords
firmware
management controller
substrate management
version number
status signal
Prior art date
Application number
TW106141930A
Other languages
Chinese (zh)
Inventor
陳婷婷
Original Assignee
英業達股份有限公司
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 英業達股份有限公司 filed Critical 英業達股份有限公司
Priority to TW106141930A priority Critical patent/TW201926035A/en
Publication of TW201926035A publication Critical patent/TW201926035A/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

A firmware update method configured for a BMC (baseboard management controller) in a server comprises sending an inquiry command to a second BMC by a first BMC, sending a status signal to the first BMC by the second BMC after receiving the inquiry command wherein the status signal comprises the version number of a second firmware data in the second BMC, executing a firmware status decision procedure according to the status signal by the first BMC, sending a first firmware data to the second BMC by the first BMC when the firmware status decision procedure gives an abnormal indication, replacing the second firmware data of the second BMC with the first firmware data by the second BMC.

Description

韌體更新方法及可更新韌體的基板管理控制器Firmware update method and substrate management controller for updateable firmware

本發明係關於一種電腦系統中韌體更新的方法,特別是一種以基板管理控制器通過網路進行韌體更新的方法。The present invention relates to a method for firmware update in a computer system, and more particularly to a method for firmware update via a network using a substrate management controller.

伺服器係一連接到網路系統的電腦平台,有別於一般的個人電腦,伺服器必須能夠不間斷地提供服務,同時兼具自我管理或自我修復的功能。在智慧平台管理介面(Intelligent Platform Management Interface, IPMI)將管理介面標準化並且引入基板管理控制器(Baseboard Management Controller, BMC)的概念之後,伺服器管理員便能輕易地從遠端監視伺服器的硬體健康狀態,例如溫度、電壓、風扇轉速及電源供應等,配合IPMI提供的遠端控制指令修復停擺的伺服器,減少伺服器管理員到現場機房修復的時間成本和人力成本。The server is a computer platform connected to the network system. Unlike a normal personal computer, the server must be able to provide services without interruption, and at the same time have self-management or self-healing functions. After the Intelligent Platform Management Interface (IPMI) standardizes the management interface and introduces the concept of the Baseboard Management Controller (BMC), the server administrator can easily monitor the hard disk from the remote end. Body health status, such as temperature, voltage, fan speed and power supply, with the remote control command provided by IPMI to repair the stalled server, reducing the time and labor costs for the server administrator to repair the on-site computer room.

現今絕大多數的伺服器皆使用BMC進行管理與監測。BMC係一自帶電源的微控制器並且獨立於主系統之外自行運作。一般而言,在測試階段時,若發現BMC運行的韌體(Firmware)有異常時,可透過離線燒錄的方式進行韌體更新。或者當BMC正常運行韌體時,亦可透過網路下載的方式更新原本運行的韌體。然而在伺服器位於出貨階段時,用於存放BMC運行的韌體的儲存元件(例如唯讀記憶體或快閃記憶體等)已經焊接於主機板,故已無法再單獨取下此儲存元件對其執行離線燒錄以更新損壞的韌體。或者在伺服器已送抵客戶端開始運作時,因BMC運行的韌體異常所導致的伺服器停擺情況,也無法藉由離線燒錄的方式進行韌體更新。目前在上述情況下,只能由維修人員親至伺服器所在之處進行韌體更新的工作,進而增加了後續支援的時間及人力成本。Most of today's servers use BMC for management and monitoring. The BMC is a self-powered microcontroller and operates independently of the main system. In general, in the test phase, if the firmware of the BMC is found to be abnormal, the firmware can be updated by offline burning. Or when the BMC is running the firmware normally, the firmware that was originally running can also be updated through the network download. However, when the server is in the shipping phase, the storage component (such as read-only memory or flash memory) used to store the firmware of the BMC operation has been soldered to the motherboard, so it is no longer possible to remove the storage component separately. Perform offline burning on it to update the damaged firmware. Or, when the server has been delivered to the client to start operation, the firmware may be shut down due to the abnormality of the firmware caused by the BMC running firmware, and the firmware update cannot be performed by offline burning. At present, in the above situation, only the maintenance personnel can go to the place where the server is located to perform the firmware update work, thereby increasing the time and labor cost of the follow-up support.

有鑒於此,本發明提出一種韌體更新方法,透過網路方式及開機引導程序中儲存的基本設置,可以在一基板管理控制器無法正常運行韌體時,透過另一正常運作的基板管理控制器對異常韌體進行更新,以恢復所述基板管理控制器的正常運作。In view of the above, the present invention provides a firmware update method, which can be managed through another normal operation of a substrate when a substrate management controller cannot operate the firmware normally through the network mode and the basic settings stored in the boot boot program. The abnormal firmware is updated to restore the normal operation of the baseboard management controller.

依據本發明一實施例所敘述的一種韌體更新方法,適用於一網路系統內的第一基板管理控制器及第二基板管理控制器,其中第一基板管理控制器與第二基板管理控制器分別位於相異之二主機板上,所述的韌體更新方法包括:第一基板管理控制器發送查詢命令至第二基板管理控制器,其中查詢命令用以取得第二基板管理控制器之韌體版本號;在接收查詢命令後,第二基板管理控制器發送狀態訊號至第一基板管理控制器,其中狀態訊號包括對應於第二基板管理控制器的第二韌體資訊的韌體版本號;第一基板管理控制器根據狀態訊號執行韌體狀態判斷程序,當韌體狀態判斷程序指示為異常狀態時,第一基板管理控制器發送第一韌體資訊至第二基板管理控制器;以及第二基板管理控制器根據第一基板管理控制器所發送的第一韌體資訊取代第二基板管理控制器的第二韌體資訊。A firmware update method according to an embodiment of the present invention is applicable to a first substrate management controller and a second substrate management controller in a network system, wherein the first substrate management controller and the second substrate management control The firmware update method includes: the first substrate management controller sends a query command to the second substrate management controller, wherein the query command is used to obtain the second substrate management controller a firmware version number; after receiving the query command, the second substrate management controller sends a status signal to the first substrate management controller, wherein the status signal includes a firmware version corresponding to the second firmware information of the second substrate management controller The first substrate management controller executes the firmware state determination program according to the status signal, and when the firmware state determination program indicates the abnormal state, the first substrate management controller sends the first firmware information to the second substrate management controller; And the second substrate management controller replaces the second substrate management control according to the first firmware information sent by the first substrate management controller The second firmware information.

依據本發明一實施例所敘述的一種可更新韌體的基板管理控制器,包括:網路收發單元以及控制單元。網路收發單元,用於通過網路接收查詢命令、發送狀態訊號以及接收更新韌體資訊。控制單元,電性連接網路收發單元,控制單元用以運行一韌體及一引導程序,控制單元更包括用以根據查詢命令產生狀態訊號並透過網路收發單元發送狀態訊號,其中狀態訊號包括基板管理控制器所運行的韌體的一韌體版本號,控制單元更包括用以根據更新韌體資訊取代原本運行的韌體。A substrate management controller for an updateable firmware according to an embodiment of the invention includes: a network transceiver unit and a control unit. The network transceiver unit is configured to receive query commands, send status signals, and receive updated firmware information through the network. The control unit is electrically connected to the network transceiver unit, the control unit is configured to run a firmware and a booting program, and the control unit further comprises: generating a status signal according to the query command and transmitting the status signal through the network transceiver unit, wherein the status signal includes The firmware version of the firmware running on the baseboard management controller, and the control unit further includes a firmware for replacing the originally operated firmware according to the updated firmware information.

藉由上述架構,本案所揭露的一種韌體更新方法,通過第一基板管理控制器發送查詢命令給位於同一網路系統的第二基板管理控制器,並且根據第二基板管理控制器回覆的狀態訊息(其中包括韌體版本號)判斷是否可更新第二基板管理控制器上的韌體。在韌體版本及其他相關資訊顯示第二基板管理控制器上的韌體可更新時,第一基板管理控制器通過網路發送可正常運作的第一韌體資訊,以供第二基板管理控制器取代其運作異常的第二韌體資訊。藉此在原本伺服器的韌體損壞的情況下,通過網路更新韌體以回到伺服器原本的正常運作狀態。With the above architecture, a firmware update method disclosed in the present invention sends a query command to a second baseboard management controller located in the same network system through the first baseboard management controller, and according to the state of the second baseboard management controller replying The message (including the firmware version number) determines whether the firmware on the second baseboard management controller can be updated. When the firmware version and other related information indicate that the firmware on the second substrate management controller is updatable, the first substrate management controller sends the first firmware information that can be normally operated through the network for the second substrate management control. Replaces the second firmware information that it is operating abnormally. In this way, if the firmware of the original server is damaged, the firmware is updated through the network to return to the normal working state of the server.

以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the disclosure and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention, and to provide further explanation of the scope of the invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

請參考圖1,圖1係繪示本發明之一實施例所敘述的韌體更新方法的流程圖。在本發明一實施例中,所敘述的韌體更新方法包括下述主要流程:步驟S1至步驟S2:查詢韌體狀態;步驟S3至步驟S4:執行韌體狀態判斷程序;步驟S5至步驟S7:更新韌體;另需注意的是,若於步驟S2至步驟S4的運作流程中出現不適用本發明一實施例所敘述的韌體更新方法的狀況時,則進入終止程序。以下詳述圖1中各個步驟的具體實施方式。Please refer to FIG. 1. FIG. 1 is a flow chart showing a firmware updating method according to an embodiment of the present invention. In an embodiment of the present invention, the described firmware update method includes the following main processes: step S1 to step S2: querying the firmware state; step S3 to step S4: executing the firmware state determination program; and step S5 to step S7 The firmware is updated; it should be noted that if the status of the firmware update method described in one embodiment of the present invention occurs in the operation flow of steps S2 to S4, the termination procedure is entered. Specific embodiments of the various steps in Figure 1 are detailed below.

所述的韌體更新方法係適用於一網路系統內的第一基板管理控制器及第二基板管理控制器。實務上,第一基板管理控制器與第二基板管理控制器位於同一子網路(subnet),並且可透過網路進行資料交換。必須特別說明的是:第一基板管理器與第二基板管理控制器的實際位置分別位於相異的兩主機板上,所述的相異兩主機則可位於同一機櫃或不同機櫃,本發明對此不予限制。The firmware update method is applicable to a first substrate management controller and a second substrate management controller in a network system. In practice, the first baseboard management controller and the second baseboard management controller are located in the same subnet, and can exchange data through the network. It should be particularly noted that the actual positions of the first substrate manager and the second substrate management controller are respectively located on two different motherboards, and the different two hosts may be located in the same cabinet or different cabinets. This is not limited.

必須事先說明的是,前述的第一基板管理控制器與第二基板管理控制器係一種可更新韌體的基板管理控制器,包括網路收發單元及控制單元。網路收發單元用於通過網路接收查詢命令、發送狀態訊號、接收更新韌體資訊以及接收韌體取代命令。控制單元電性連接該網路收發單元,控制單元用以運行一韌體,根據查詢命令產生狀態訊號並透過網路收發單元發送此狀態訊號,其中狀態訊號包括基板管理控制器所運行之韌體的韌體版本號以及基板管理控制器所運行的引導程序的引導程序版本號,控制單元更包括用以根據韌體取代命令以及更新韌體資訊取代原先運行的韌體。It should be noted that the foregoing first substrate management controller and the second substrate management controller are a substrate management controller capable of updating firmware, including a network transceiver unit and a control unit. The network transceiver unit is configured to receive query commands, send status signals, receive updated firmware information, and receive firmware replacement commands through the network. The control unit is electrically connected to the network transceiver unit. The control unit is configured to run a firmware, generate a status signal according to the query command, and send the status signal through the network transceiver unit, where the status signal includes the firmware run by the baseboard management controller. The firmware version number and the boot program version number of the boot program run by the baseboard management controller, and the control unit further includes a firmware for replacing the originally run firmware according to the firmware replacement command and the updated firmware information.

請參考圖1的步驟S1,其係關聯於查詢韌體狀態。詳言之,第一基板管理控制器發送查詢命令至第二基板管理控制器。在本實施例中,係假設第一基板管理控制器具有一正常運行的韌體(Firmware),第二基板管理控制器具有一無法正常運行的韌體,故第一基板管理控制器必須透過前述的查詢命令以得知第二基板管理控制器的韌體相關資訊。然而在實際場景中,亦有可能係第一基板管理控制器之韌體無法正常運行,此時則由第二基板管理控制器發送查詢命令至第一基板管理控制器。查詢命令例如係一「取得韌體版本」的客製化命令(Original Equipment Manufacturer command,OEM command),並且此OEM command符合智慧平台管理介面(Intelligent Platform Management Interfaec,IPMI)的規範。查詢命令係用以取得第二基板管理控制器的韌體版本號。在本發明另一實施例中,所述的查詢命令除了取得韌體版本號之外,更用以取得第二基板管理控制器的引導程序版本號。實務上,第一基板管理控制器可以設置為每經過一時間間隔發送查詢命令,以掌握與第一基板管理控制器通訊連接的其他基板管理控制器的狀況。Please refer to step S1 of FIG. 1 , which is related to querying the firmware state. In detail, the first substrate management controller sends a query command to the second substrate management controller. In this embodiment, it is assumed that the first substrate management controller has a normal running firmware, and the second substrate management controller has a firmware that cannot operate normally, so the first substrate management controller must pass the foregoing query. The command is used to learn the firmware related information of the second substrate management controller. However, in the actual scenario, it is also possible that the firmware of the first substrate management controller cannot operate normally. At this time, the second substrate management controller sends a query command to the first substrate management controller. The query command is, for example, an "Original Equipment Manufacturer command (OEM command)", and the OEM command conforms to the specification of the Intelligent Platform Management Interfaec (IPMI). The query command is used to obtain the firmware version number of the second baseboard management controller. In another embodiment of the present invention, the query command is used to obtain the boot program version number of the second baseboard management controller in addition to the firmware version number. In practice, the first substrate management controller can be configured to send an inquiry command every time interval to grasp the status of other substrate management controllers that are in communication with the first substrate management controller.

請參考圖1的步驟S2,其係關聯於查詢韌體狀態。詳言之,在第二基板管理控制器接收查詢命令後,若第二基板管理控制器無法正常運行韌體,且第二基板管理控制器的引導程序(boot loader)亦無法正常運行,則代表第二基板管理控制器已無法透過引導程序中所包含的韌體更新的代碼對第二基板管理控制器本身進行更新。在此情況下,第二基板管理控制器亦無法針對查詢指令回覆任何訊號,因此終止本次韌體更新的流程。Please refer to step S2 of FIG. 1 , which is associated with querying the firmware state. In detail, after the second baseboard management controller receives the query command, if the second baseboard management controller cannot run the firmware normally, and the boot loader of the second baseboard management controller fails to operate normally, the representative The second substrate management controller has been unable to update the second substrate management controller itself through the firmware update code included in the boot program. In this case, the second substrate management controller cannot reply any signal to the query command, thus terminating the process of the firmware update.

請參考圖1的步驟S3,其係關聯於執行韌體狀態判斷程序。詳言之:在第二基板管理控制器接收查詢命令後,若第二基板管理控制器可正常運行韌體,則顯然第二基板管理控制器的引導程序亦能正常運行,在此情況下,第二基板管理控制器發送一狀態訊號至第一基板管理控制器。此狀態訊號包括對應於第二基板管理控制器所運行的第二韌體資訊的韌體版本號且此韌體版本號介於一正常範圍。一般而言,韌體版本號係一不為零的數值。故當第一基板管理控制器收到狀態訊號且其中的韌體版本號數值係一不為零的數值時,代表第二基板管理控制器的韌體運作正常,故可傳回一介於正常範圍的韌體版本號(即不為零的數值),因此終止本次韌體更新的流程。Please refer to step S3 of FIG. 1 , which is associated with executing the firmware state determination program. In detail, after the second baseboard management controller receives the query command, if the second baseboard management controller can normally run the firmware, it is obvious that the booting process of the second baseboard management controller can also operate normally, in this case, The second substrate management controller sends a status signal to the first substrate management controller. The status signal includes a firmware version number corresponding to the second firmware information run by the second substrate management controller and the firmware version number is within a normal range. In general, the firmware version number is a value that is not zero. Therefore, when the first substrate management controller receives the status signal and the firmware version number is a non-zero value, the firmware representing the second baseboard management controller operates normally, so that a normal range can be returned. The firmware version number (that is, a value that is not zero), thus terminating the process of firmware update.

另需補充說明的是,實務上,前述由第二基板管理控制器發送的狀態訊號可更包括第二基板管理控制器的引導程序版本號。It should be additionally noted that, in practice, the foregoing status signal sent by the second baseboard management controller may further include a boot program version number of the second baseboard management controller.

請參考圖1的步驟S4,其係關聯於執行韌體狀態判斷程序。詳言之,在第一基板管理控制器接收狀態訊號後,若其中包括的韌體版本號不是介於一正常範圍,換言之,即韌體版本號介於一異常範圍時,代表發送此狀態訊號的第二基板管理控制器無法正常運行韌體。在此情況下,第一基板管理控制器檢查狀態訊號中包含的引導程序版本號,若此引導程序版本號(即,第二基板管理控制器的引導程序版本號)與第一基板管理控制器的引導程序版本號兩者數值不同時,則代表第一基板管理控制器的引導程序中關於韌體更新的代碼可能與第二基板管理控制器的引導程序中關於韌體更新的代碼有所不同,故無法確保第二基板管理控制器得以執行與第一基板管理控制器相同的韌體更新程序,因此終止本次韌體更新的流程。Please refer to step S4 of FIG. 1 , which is associated with executing the firmware state determination program. In detail, after the first baseboard management controller receives the status signal, if the firmware version number included therein is not within a normal range, in other words, when the firmware version number is within an abnormal range, the status signal is sent. The second substrate management controller does not function properly with the firmware. In this case, the first baseboard management controller checks the bootloader version number included in the status signal, if the bootloader version number (ie, the bootloader version number of the second baseboard management controller) and the first baseboard management controller When the bootstrap version number is different, the code for the firmware update in the boot program representing the first baseboard management controller may be different from the code for the firmware update in the bootloader of the second baseboard management controller. Therefore, it is impossible to ensure that the second substrate management controller can perform the same firmware update procedure as the first substrate management controller, thereby terminating the flow of the firmware update.

請參考圖1的步驟S5,其係關聯於更新韌體。在第一基板管理控制器接收狀態訊號後,若其中包括的韌體版本號介於一異常範圍且其中包括的引導程序版本號與第一基板管理控制器的引導程序版本號相同,則代表第二基板管理控制器無法正常運行韌體,且第二基板管理控制器可透過與第一基板管理控制器所具有相同的韌體更新代碼進行韌體更新。在此情況下,在第一基板管理控制器所運行韌體狀態判斷程序指示為異常狀態,並發送一韌體取代命令至第二基板管理控制器,其目的係用以告知第二基板管理控制器根據此韌體取代命令指示一引導程序進行後續韌體更新操作。實務上此韌體取代命令亦為符合IPMI規範的OEM command,然而此韌體取代命令亦可省略,直接執行步驟S6。Please refer to step S5 of FIG. 1 , which is associated with the updated firmware. After the first baseboard management controller receives the status signal, if the firmware version number included therein is within an abnormal range and the boot program version number included therein is the same as the boot program version number of the first baseboard management controller, The two baseboard management controllers cannot operate the firmware normally, and the second baseboard management controller can perform firmware update through the same firmware update code as that of the first baseboard management controller. In this case, the firmware state determination program run by the first substrate management controller indicates an abnormal state, and sends a firmware replacement command to the second substrate management controller, the purpose of which is to notify the second substrate management control Based on this firmware replacement command, a bootloader is instructed to perform subsequent firmware update operations. In practice, the firmware replacement command is also an OEM command conforming to the IPMI specification. However, the firmware replacement command may be omitted, and step S6 is directly executed.

請參考圖1的步驟S6至步驟S7,其係關聯於更新韌體。第一基板管理控制器在執行韌體狀態檢測程序並得到異常狀態的指示後,第一基板管理控制器發送第一韌體資訊至第二基板管理控制器。此第一韌體資訊係複製自第一基板管理控制器可正常運行的韌體影像檔,並透過網路傳送至第二基板管理控制器。當第二基板管理控制器接收此第一韌體資訊後,第二基板管理控制器可根據在步驟S5接獲的韌體取代命令,指示引導程序執行韌體更新代碼以將第一韌體資訊取代原本無法正常運作的第二韌體資訊。換言之,引導程序根據第一韌體資訊對第二韌體資訊進行更新。Please refer to step S6 to step S7 of FIG. 1 , which is associated with the updated firmware. After the first substrate management controller executes the firmware state detection program and obtains an indication of the abnormal state, the first substrate management controller transmits the first firmware information to the second substrate management controller. The first firmware information is copied from the firmware image file that the first substrate management controller can operate normally, and transmitted to the second substrate management controller through the network. After the second substrate management controller receives the first firmware information, the second substrate management controller may instruct the boot program to execute the firmware update code to display the first firmware information according to the firmware replacement command received in step S5. Replace the second firmware information that was not working properly. In other words, the boot program updates the second firmware information based on the first firmware information.

請參考圖1的步驟S7至步驟S1,在第二基板管理控制器的引導程序完成韌體更新程序之後,第一基板管理控制器隔一預設時間後再度發送查詢命令至第二基板管理控制器,藉此檢查第二基板管理控制器的韌體是否恢復正常運作。Referring to step S7 to step S1 of FIG. 1 , after the booting process of the second substrate management controller completes the firmware update procedure, the first substrate management controller sends the query command to the second substrate management control after a predetermined time interval. In this way, it is checked whether the firmware of the second substrate management controller is restored to normal operation.

綜合以上所述,本發明一實施例所敘述的韌體更新方法,藉由查詢韌體狀態,執行韌體狀態判斷程序以及更新韌體等步驟,在一基板管理控制器的韌體無法正常運作時,通過網路中另一基板管理控制器發送韌體資訊以更新已損壞的韌體。因此有效節省伺服器在出貨階段之後必須採用手動離線燒錄的方式進行韌體更新的次數。同時在本發明一實施例中所揭露的可自行更新韌體的基板管理控制器可針對位於相同子網路的另一基板管理伺服器執行前述的韌體更新方法以協助另一基板管理伺服器的韌體更新,或者在本身韌體故障時,接收其他正常運作的韌體以更新故障的韌體。In summary, in the firmware updating method described in one embodiment of the present invention, the firmware of a substrate management controller cannot be operated normally by querying the firmware state, executing the firmware state determination program, and updating the firmware. The firmware information is sent through another baseboard management controller in the network to update the damaged firmware. Therefore, the number of times the firmware must be manually offline burned after the server is shipped is effectively saved. At the same time, the self-updating firmware-based substrate management controller disclosed in an embodiment of the present invention can perform the foregoing firmware update method for another substrate management server located in the same sub-network to assist another substrate management server. The firmware is updated, or in the event of a firmware failure, receiving other normally functioning firmware to update the failed firmware.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。Although the present invention has been disclosed above in the foregoing embodiments, it is not intended to limit the invention. It is within the scope of the invention to be modified and modified without departing from the spirit and scope of the invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

S1至S7‧‧‧步驟S1 to S7‧‧‧ steps

圖1係依據本發明一實施例所繪示的韌體更新方法的流程圖。1 is a flow chart of a firmware update method according to an embodiment of the invention.

Claims (10)

一種韌體更新方法,適用於一網路系統內的一第一基板管理控制器及一第二基板管理控制器,其中該第一基板管理控制器與該第二基板管理控制器分別位於相異之二主機板上,所述的韌體更新方法包括:以該第一基板管理控制器發送一查詢命令至該第二基板管理控制器,其中該查詢命令用以取得該第二基板管理控制器之一韌體版本號;在該第二基板管理控制器接收該查詢命令後,以該第二基板管理控制器發送一狀態訊號至該第一基板管理控制器,其中該狀態訊號包括對應於該第二基板管理控制器的一第二韌體資訊的韌體版本號;以該第一基板管理控制器根據該狀態訊號執行一韌體狀態判斷程序,當該韌體狀態判斷程序指示為異常狀態時,該第一基板管理控制器發送一第一韌體資訊至該第二基板管理控制器;以及以該第二基板管理控制器根據該第一基板管理控制器所發送的該第一韌體資訊取代該第二基板管理控制器的該第二韌體資訊。A firmware update method is applicable to a first baseboard management controller and a second baseboard management controller in a network system, wherein the first baseboard management controller and the second baseboard management controller are respectively different The method for updating the firmware includes: sending, by the first baseboard management controller, a query command to the second baseboard management controller, wherein the query command is used to obtain the second baseboard management controller. a firmware version number; after the second substrate management controller receives the query command, the second substrate management controller sends a status signal to the first substrate management controller, wherein the status signal includes a firmware version number of the second firmware information of the second substrate management controller; the first substrate management controller executes a firmware state determination program according to the status signal, when the firmware state determination program indicates an abnormal state The first substrate management controller sends a first firmware information to the second substrate management controller; and the second substrate management controller is configured according to the first The first board management controller firmware information transmitted by the second substituent of the second BMC firmware information. 如請求項1所述之韌體更新方法,其中該網路系統係一子網路。The firmware update method of claim 1, wherein the network system is a subnet. 如請求項1所述之韌體更新方法,其中該查詢命令更用以取得該第二基板管理控制器之一引導程序版本號,該狀態訊號更包括該第二基板管理控制器之該引導程序版本號。The firmware update method of claim 1, wherein the query command is used to obtain a bootloader version number of the second baseboard management controller, and the status signal further includes the bootloader of the second baseboard management controller. version number. 如請求項1所述之韌體更新方法,其中該韌體狀態判斷程序包括:當該第一基板管理控制器未取得該狀態訊號,該韌體狀態判斷程序終止;當該韌體版本號介於一正常範圍時,該韌體狀態判斷程序終止;以及當該韌體版本號介於一異常範圍時,該韌體狀態判斷程序指示為異常狀態。The firmware update method of claim 1, wherein the firmware state determination program comprises: when the first substrate management controller does not obtain the status signal, the firmware state determination program is terminated; when the firmware version number is introduced In a normal range, the firmware state determination program is terminated; and when the firmware version number is within an abnormal range, the firmware state determination program indicates an abnormal state. 如請求項3所述之韌體更新方法,其中該韌體狀態判斷程序包括:當該第一基板管理控制器未取得該狀態訊號,該韌體狀態判斷程序終止;當該韌體版本號介於一正常範圍時,該韌體狀態判斷程序終止;當該韌體版本號介於一異常範圍且該第一基板管理控制器與該第二基板管理控制器兩者之引導程序版本號不同時,該韌體狀態判斷程序終止;以及當該韌體版本號介於一異常範圍且該第一基板管理控制器與該第二基板管理控制器兩者之引導程序版本號相同時,該韌體狀態判斷程序指示為異常狀態。The firmware update method of claim 3, wherein the firmware state determination program comprises: when the first substrate management controller does not obtain the status signal, the firmware state determination program is terminated; when the firmware version number is introduced In a normal range, the firmware state determination program is terminated; when the firmware version number is within an abnormal range and the boot program version number of the first baseboard management controller and the second baseboard management controller are different Terminating the firmware state determination program; and when the firmware version number is within an abnormal range and the boot device version number of the first baseboard management controller and the second baseboard management controller are the same, the firmware The status determination program indicates an abnormal status. 如請求項1所述之韌體更新方法,其中在該第一基板管理控制器發送該第一韌體資訊之前,以該第一基板管理控制器發送一韌體取代命令至該第二基板管理控制器。The firmware update method of claim 1, wherein the first substrate management controller sends a firmware replacement command to the second substrate management before the first substrate management controller sends the first firmware information. Controller. 如請求項6所述之韌體更新方法,其中該第二基板管理控制器根據該韌體取代命令指示一引導程序以該第一韌體資訊取代該第二韌體資訊。The firmware updating method of claim 6, wherein the second substrate management controller instructs a booting program to replace the second firmware information with the first firmware information according to the firmware replacement command. 一種可更新韌體的基板管理控制器,包括:一網路收發單元,用於通過網路接收一查詢命令、發送一狀態訊號以及接收一更新韌體資訊;以及一控制單元,電性連接該網路收發單元,該控制單元用以運行一韌體及一引導程序,該控制單元更包括用以根據該查詢命令產生該狀態訊號並透過該網路收發單元發送該狀態訊號,其中該狀態訊號包括該基板管理控制器所運行的該韌體的一韌體版本號,該控制單元更包括用以根據該更新韌體資訊取代該韌體。A substrate management controller capable of updating a firmware, comprising: a network transceiver unit, configured to receive a query command through the network, send a status signal, and receive an updated firmware information; and a control unit electrically connected to the a network transceiver unit, the control unit is configured to run a firmware and a booting program, the control unit further comprising: generating the status signal according to the query command and transmitting the status signal through the network transceiver unit, wherein the status signal is The firmware includes a firmware version number of the firmware running by the baseboard management controller, and the control unit further includes a firmware for replacing the firmware according to the updated firmware information. 如請求項9所述的可更新韌體的基板管理控制器,其中該網路收發單元更包括用於接收一韌體取代命令並根據該韌體取代命令指示一引導程序。The substrate management controller of the updateable firmware of claim 9, wherein the network transceiver unit further comprises: receiving a firmware replacement command and indicating a boot procedure according to the firmware replacement command. 如請求項10所述的可更新韌體的基板管理控制器,其中該狀態訊號更包括該基板管理控制器所運行的該引導程序的一引導程序版本號。The substrate management controller of the updateable firmware of claim 10, wherein the status signal further comprises a boot program version number of the boot program run by the baseboard management controller.
TW106141930A 2017-11-30 2017-11-30 Firmware update method and baseboard management controller for firmware update TW201926035A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106141930A TW201926035A (en) 2017-11-30 2017-11-30 Firmware update method and baseboard management controller for firmware update

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106141930A TW201926035A (en) 2017-11-30 2017-11-30 Firmware update method and baseboard management controller for firmware update

Publications (1)

Publication Number Publication Date
TW201926035A true TW201926035A (en) 2019-07-01

Family

ID=68048883

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106141930A TW201926035A (en) 2017-11-30 2017-11-30 Firmware update method and baseboard management controller for firmware update

Country Status (1)

Country Link
TW (1) TW201926035A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113687843A (en) * 2020-05-18 2021-11-23 佛山市顺德区顺达电脑厂有限公司 Method for automatically recovering firmware of baseboard management controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113687843A (en) * 2020-05-18 2021-11-23 佛山市顺德区顺达电脑厂有限公司 Method for automatically recovering firmware of baseboard management controller
CN113687843B (en) * 2020-05-18 2024-04-19 佛山市顺德区顺达电脑厂有限公司 Method for automatically recovering firmware of baseboard management controller

Similar Documents

Publication Publication Date Title
JP5564956B2 (en) Information processing apparatus and firmware update method for information processing apparatus
US8127128B2 (en) Synchronization of swappable module in modular system
US8495415B2 (en) Method and system for maintaining backup copies of firmware
JP4448878B2 (en) How to set up a disaster recovery environment
US8719390B2 (en) Server management apparatus and server management method
TWI655582B (en) Server with dual firmware storage space and firmware update method thereof
CN107729038A (en) The baseboard management controller of firmware update and renewable firmware
JP2009271834A (en) Boot control method, computer system and boot control program
CN111045866A (en) BMC fault processing method and device, electronic equipment and storage medium
CN106547645B (en) Method for automatically restoring image file and server system
US20130117518A1 (en) System controller, information processing system and method of saving and restoring data in the information processing system
JPWO2012020481A1 (en) Management apparatus, information processing apparatus, control method, and program
TW200426571A (en) Policy-based response to system errors occurring during os runtime
CN111782283A (en) Automatic management method, device and medium for bare metal server
CN109032636A (en) A method of UEFI firmware is updated based on encryption certification BMC
US20090222677A1 (en) Display of blade server operating system information
TW201926035A (en) Firmware update method and baseboard management controller for firmware update
CN106411643B (en) BMC detection method and device
JP2012203442A (en) Enclosure manager, firmware management system, firmware management method and program
CN117289963A (en) Method and equipment for online updating target area of server platform service firmware
US20080303692A1 (en) Method and System for Assigning Identity Addresses to Local Management Modules
WO2017072904A1 (en) Computer system and failure detection method
TWI668578B (en) Server rack system with function of automatic synchronization of bmc configuration parameters between different server and automatic synchronization method thereof
CN111913551B (en) Control method for resetting baseboard management controller
Cisco Operational Traps