TW201430702A - Method and system for updating firmware - Google Patents

Method and system for updating firmware Download PDF

Info

Publication number
TW201430702A
TW201430702A TW102101706A TW102101706A TW201430702A TW 201430702 A TW201430702 A TW 201430702A TW 102101706 A TW102101706 A TW 102101706A TW 102101706 A TW102101706 A TW 102101706A TW 201430702 A TW201430702 A TW 201430702A
Authority
TW
Taiwan
Prior art keywords
firmware
management control
substrate management
basic output
input system
Prior art date
Application number
TW102101706A
Other languages
Chinese (zh)
Inventor
Chih-Neng Wang
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to TW102101706A priority Critical patent/TW201430702A/en
Publication of TW201430702A publication Critical patent/TW201430702A/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

A method and a system for updating firmware are disclosed. The present invention can be used to update a Basic Input/Output System (BIOS) firmware and a Basic Baseboard Management Controller (BMC) firmware. Before updating, it is necessary to determine whether the BIOS firmware and the BMC firmware are compatible. The updating process continues if the BIOS firmware and the BMC firmware are compatible.

Description

韌體更新方法及系統 Firmware update method and system

本發明係關於一種韌體更新方法及系統;特別是有關於一種用以更新電腦系統之基板管理控制韌體及基本輸出輸入系統韌體之韌體更新方法及系統。 The present invention relates to a firmware updating method and system; and more particularly to a firmware updating method and system for updating a substrate management control firmware and a basic output input system firmware of a computer system.

現今各種電腦應用設備中,許多硬體的運作均由韌體(Firmware)來負責啟動及執行,例如於一般電腦系統內的主機板上有基本輸入輸出系統(Basic Input/Output System,BIOS)以及基板管理控制器(Baseboard Management Controller,BMC)韌體等。這些韌體皆需要時常進行更新。但是這些韌體彼此之間皆會相互影響,如果更新時設定錯誤,則有可能造成系統無法啟動。 In today's various computer applications, many hardware operations are initiated and executed by firmware. For example, a basic input/output system (BIOS) is provided on a motherboard in a general computer system. Baseboard Management Controller (BMC) firmware, etc. These firmwares need to be updated from time to time. However, these firmwares will affect each other. If the settings are incorrectly updated, the system may fail to start.

然而,目前BIOS的更新過程多半並未考慮到與BMC韌體版本之相容性問題,而如果BMC韌體版本與BIOS不相容仍進行更新,則極可能會造成系統無法開機之後果,徒然增加不必要的維修時間及費用。因此,有必要提供一種韌體更新方法及系統,在更新時可以先檢查BMC韌體版本與BIOS是否相容,以解決先前技術之缺失。 However, most of the current BIOS update process does not consider compatibility with the BMC firmware version. If the BMC firmware version is not compatible with the BIOS, it will be updated, which may cause the system to fail to boot. Increase unnecessary repair time and costs. Therefore, it is necessary to provide a firmware update method and system. When updating, it is possible to check whether the BMC firmware version is compatible with the BIOS to solve the lack of the prior art.

本發明之主要目的係在提供一種韌體更新方法。 The main object of the present invention is to provide a firmware renewal method.

本發明之另一主要目的係在提供一種韌體更新系統。 Another primary object of the present invention is to provide a firmware renewal system.

為達成上述之目的,依據本發明之一實施例,本發明之韌體更新方法係用於韌體更新系統,韌體更新系統包含處理單元、控制單元、基板管理控制單元、第一儲存單元及第二儲存單元,第一儲存單元中儲存基板管理控制單元之基板管理控制韌體,第二儲存單元中儲存基本輸出輸入系統韌體。該方法包含以下步驟:控制單元發送中斷訊號至處理單元;處理單元執行基本輸出輸入系統韌體,使基本輸出輸入系統韌體發送詢問指令至基板管理控制單元;基板管理控制單元回傳基板管理控制韌體資訊至基本輸出輸入系統韌體;以及基本輸出輸入系統韌體根據基板管理控制韌體資訊判斷是否進行更新基本輸出輸入系統韌體之程序。 In order to achieve the above object, according to an embodiment of the present invention, a firmware updating method of the present invention is used for a firmware updating system, and the firmware updating system includes a processing unit, a control unit, a substrate management control unit, and a first storage unit. The second storage unit stores a substrate management control firmware of the substrate management control unit in the first storage unit, and stores a basic output input system firmware in the second storage unit. The method comprises the following steps: the control unit sends an interrupt signal to the processing unit; the processing unit executes the basic output input system firmware, so that the basic output input system firmware sends an inquiry command to the substrate management control unit; and the substrate management control unit returns the substrate management control Firmware information to the basic output input system firmware; and the basic output input system firmware determines whether to update the basic output input system firmware according to the substrate management control firmware information.

依據本發明之一實施例,韌體更新系統包含處理單元、控制單元、基板管理控制單元、第一儲存單元及第二儲存單元,第一儲存單元中儲存基板管理控制單元之基板管理控制韌體,第二儲存單元中儲存基本輸出輸入系統韌體。其中,當控制單元發送中斷訊號至處理單元時,處理單元執行基本輸出輸入系統韌體,使基本輸出輸入系統韌體發送詢問指令至基板管理控制單元,基板管理控制單元回傳基板管理控制韌體資訊至基本輸出輸入系統韌體,基本輸出輸入系統韌體則根據基板管理控制韌體資訊判斷是否進行更新基本輸出輸入系統韌體之程序。 According to an embodiment of the present invention, a firmware update system includes a processing unit, a control unit, a substrate management control unit, a first storage unit, and a second storage unit, and the substrate management control firmware of the substrate management control unit is stored in the first storage unit. The second storage unit stores the basic output input system firmware. Wherein, when the control unit sends the interrupt signal to the processing unit, the processing unit executes the basic output input system firmware, so that the basic output input system firmware sends an inquiry command to the substrate management control unit, and the substrate management control unit returns the substrate management control firmware. Information to the basic output input system firmware, the basic output input system firmware determines whether to update the basic output input system firmware according to the substrate management control firmware information.

為讓本發明之上述和其他目的、特徵和優點能更明顯易懂,下文特舉出本發明之具體實施例,並配合所附圖式,作詳細說明如下。 The above and other objects, features and advantages of the present invention will become more <

以下請先參考圖1,係依據本發明之一實施例之韌體更新系統之系統架構圖。如圖1所示,依據本發明之一實施例,本發明之韌體更新系統1包括處理單元50、控制單元10、基板管理控制單元20、第一儲存單元30及第二儲存單元40。第一儲存單元30中儲存基板管理控制單元20之基板管理控制韌體31;第二儲存單元40中儲存基本輸出輸入系統韌體41。 Please refer to FIG. 1 below, which is a system architecture diagram of a firmware update system according to an embodiment of the present invention. As shown in FIG. 1 , in accordance with an embodiment of the present invention, a firmware update system 1 of the present invention includes a processing unit 50, a control unit 10, a substrate management control unit 20, a first storage unit 30, and a second storage unit 40. The first storage unit 30 stores the substrate management control firmware 31 of the substrate management control unit 20; the second storage unit 40 stores the basic output input system firmware 41.

需注意的是,上述各個模組除可配置為硬體裝置、軟體程式、韌體或其組合外,亦可藉電路迴路或其他適當型式配置;並且,各個模組除可以單獨之型式配置外,亦可以結合之型式配置。此外,本實施方式僅例示本發明之較佳實施例,為避免贅述,並未詳加記載所有可能的變化組合。然而,本領域之通常知識者應可理解,上述各模組或元件未必皆為必要。且為實施本發明,亦可能包含其他較細節之習知模組或元件。各模組或元件皆可能視需求加以省略或修改,且任兩模組間未必不存在其他模組或元件。 It should be noted that, in addition to being configurable as a hardware device, a software program, a firmware, or a combination thereof, each of the above modules may also be configured by a circuit loop or other suitable type; and, in addition, each module may be configured in a separate type. It can also be combined with the type configuration. In addition, the present embodiment is merely illustrative of preferred embodiments of the present invention, and in order to avoid redundancy, all possible combinations of variations are not described in detail. However, those of ordinary skill in the art will appreciate that the various modules or components described above are not necessarily required. In order to implement the invention, other well-known modules or elements of more detail may also be included. Each module or component may be omitted or modified as needed, and no other modules or components may exist between any two modules.

依據本發明之一實施例,處理單元50例如是中央處理器(Central Processing Unit,CPU),控制單元10係為一般晶片組系統中的南橋晶片或北橋晶片,可用以發送中斷訊號。基板管理控制單元20例如是基板管理控制器(Baseboard Management Controller,BMC)晶片。第一儲存單元30及第二儲存單元40例如是快閃唯讀記憶體(Flash Read Only Memory,Flash ROM),但本發明並不以此為限,例如亦可能是電可抺除式唯讀記憶體(EEPROM)。基本輸出輸入系統韌體41則例如是基本輸入輸出系統(Basic Input Output System,BIOS)韌體,可用以記憶電腦週邊硬體相關設定,讓電腦正確管理並讓系統運作。而依據本發明之一實施例,韌體更新系統1可以為一般電腦系統之型式,例如筆記型電腦、桌上型電腦、平板電腦、伺服器等裝置,但本發明並不以此為限。 According to an embodiment of the present invention, the processing unit 50 is, for example, a Central Processing Unit (CPU). The control unit 10 is a south bridge chip or a north bridge chip in a general chip group system, and can be used to send an interrupt signal. The substrate management control unit 20 is, for example, a Baseboard Management Controller (BMC) chip. The first storage unit 30 and the second storage unit 40 are, for example, flash read-only memory (Flash Read Only Memory (Flash ROM), but the invention is not limited thereto, and may be, for example, an electrically erasable read only memory (EEPROM). The basic output input system firmware 41 is, for example, a Basic Input Output System (BIOS) firmware, which can be used to memorize the computer peripheral hardware related settings, so that the computer can properly manage and operate the system. According to an embodiment of the present invention, the firmware update system 1 can be a general computer system, such as a notebook computer, a desktop computer, a tablet computer, a server, etc., but the invention is not limited thereto.

依據本發明之一實施例,第一儲存單元30係用以儲存基板管理控制單元20之基板管理控制韌體31。舉例來說,在主機板出廠前,廠商會先將基板管理控制韌體31寫入基板管理控制單元20的快閃唯讀記憶體(即第一儲存單元30)中,以驅動基板管理控制單元20進行運作。第二儲存單元40則是用來儲存電腦系統之基本輸出輸入系統韌體41,同樣廠商在產品出廠前會先將基本輸出輸入系統韌體41寫入第二儲存單元40中。而基板管理控制韌體31及基本輸出輸入系統韌體41之更新可提升整體系統之執行效率。 According to an embodiment of the invention, the first storage unit 30 is configured to store the substrate management control firmware 31 of the substrate management control unit 20. For example, before the motherboard is shipped, the manufacturer first writes the substrate management control firmware 31 into the flash-only memory (ie, the first storage unit 30) of the substrate management control unit 20 to drive the substrate management control unit. 20 to operate. The second storage unit 40 is used to store the basic output input system firmware 41 of the computer system. Similarly, the manufacturer first writes the basic output input system firmware 41 into the second storage unit 40 before the product leaves the factory. The update of the substrate management control firmware 31 and the basic output input system firmware 41 can improve the overall system execution efficiency.

接下來請參考圖2,係依據本發明之一實施例之基本輸出輸入系統韌體更新方法之步驟流程圖。以下將以圖1所示之韌體更新系統1說明本發明之韌體更新方法。但需注意的是,本發明之韌體更新方法並不以使用在圖1所示之韌體更新系統1為限。 Next, please refer to FIG. 2, which is a flow chart of steps of a basic output input system firmware update method according to an embodiment of the present invention. The firmware updating method of the present invention will be described below with the firmware updating system 1 shown in FIG. It should be noted, however, that the firmware update method of the present invention is not limited to use the firmware update system 1 shown in FIG.

首先進行步驟S21:控制單元發送中斷訊號至處理單元。 First, step S21 is performed: the control unit sends an interrupt signal to the processing unit.

當韌體更新系統1欲進行更新基本輸出輸入系統韌體41時,首先由控制單元10發送中斷訊號至處理單元50。依據本發明之一實施例,中斷訊號為一軟體系統管理中斷(Software System Management Interrupt,SW SMI)。 When the firmware update system 1 wants to update the basic output input system firmware 41, the interrupt signal is first sent by the control unit 10 to the processing unit 50. According to an embodiment of the invention, the interrupt signal is a Software System Management Interrupt (SW SMI).

需要說明的是,在電腦系統中,系统管理中斷可因為觸發原因的不同而區分為硬體系统管理中斷(Hardware System Management Interrupt,HW SMI)或軟體系统管理中斷(Software System Management Interrupt,SW SMI)等類別。SW SMI係由軟體自發性觸動,一般是由軟體程式對特定硬體做寫入的動作而產生的,例如讀寫指定之輸出/輸入埠(IO port)。軟體程式如果需要BIOS對某一硬體做某方面的控制時,會透過下達特定的SW SMI指令告知BIOS其想要做的事情。作業系統、應用程式或驅動程式可以透過SW SMI來執行對應的預設程式。HW SMI則一般是由晶片組或外部發動。 It should be noted that in the computer system, the system management interrupt can be divided into a hardware system management interrupt (HW SMI) or a software system management interrupt (SW SMI) due to different triggering reasons. And other categories. SW SMI is triggered by software spontaneously. It is usually generated by a software program writing to a specific hardware, such as reading and writing the specified output/input port (IO port). If the software program requires the BIOS to control a certain hardware, it will tell the BIOS what it wants by issuing a specific SW SMI command. The operating system, application or driver can execute the corresponding preset program through SW SMI. The HW SMI is typically launched by a chipset or externally.

無論觸發的原因為何,電腦系統啟動系统管理中斷的程序大致相同,即透過控制單元10(例如是南橋晶片)上的系统管理中斷針腳SMI#傳送一系统管理中斷信號至處理單元50(例如是中央處理器)。接著,觸發處理單元50進入系統管理模式(System Management Mode,SMM),此模式為處理單元50的最高權限模式,進入此模式後電腦系統原本正在執行的任務將被中斷。然後,處理單元50將透過記憶體控制器讀取位於第二儲存單元40(例如是Flash ROM)內的一特殊區域(一般為系统配置動態存取記憶體System Management Random Access Memory,SMRAM)內的程式以 判斷應執行何種中斷處理程式。此特殊區域中的程式稱為SMI處理程式,SMI處理程式屬於基本輸出輸入系統韌體41的一部分,在電腦系統開機的初期載入第二儲存單元40。 Regardless of the cause of the trigger, the computer system initiates a system management interrupt procedure that is substantially the same, that is, transmits a system management interrupt signal to the processing unit 50 via the system management interrupt pin SMI# on the control unit 10 (eg, a south bridge wafer) (eg, centrally processor). Next, the trigger processing unit 50 enters a System Management Mode (SMM), which is the highest privilege mode of the processing unit 50. After entering this mode, the task that the computer system is originally performing will be interrupted. Then, the processing unit 50 reads the special area (generally the system management random access memory, SMRAM) located in the second storage unit 40 (for example, the Flash ROM) through the memory controller. Program Determine which interrupt handler should be executed. The program in this special area is called the SMI handler. The SMI handler belongs to the basic output input system firmware 41 and is loaded into the second storage unit 40 at the beginning of the computer system boot.

於本實施例中,可以視作開機後啟動BIOS更新程式,此程式透過控制單元10傳送中斷訊號至處理單元50。 In this embodiment, the BIOS update program can be started after booting, and the program transmits the interrupt signal to the processing unit 50 through the control unit 10.

接著進行步驟S22:處理單元執行基本輸出輸入系統韌體,使基本輸出輸入系統韌體發送詢問指令至基板管理控制單元。 Next, step S22 is performed: the processing unit executes the basic output input system firmware, and causes the basic output input system firmware to send an inquiry command to the substrate management control unit.

處理單元50在接收到中斷訊號後,會讀取第二儲存單元40以執行基本輸出輸入系統韌體41,使基本輸出輸入系統韌體41發送詢問指令至基板管理控制單元20。依據本發明之一實施例,詢問指令為智慧平台管理介面(Intelligent Platform Management Interface,IPMI)指令。此詢問指令之目的在於要求基板管理控制單元20回報基板管理控制韌體資訊。 After receiving the interrupt signal, the processing unit 50 reads the second storage unit 40 to execute the basic output input system firmware 41, and causes the basic output input system firmware 41 to send an inquiry command to the substrate management control unit 20. According to an embodiment of the invention, the query command is an Intelligent Platform Management Interface (IPMI) instruction. The purpose of this inquiry command is to require the substrate management control unit 20 to report the substrate management control firmware information.

接著進行步驟S23:基板管理控制單元回傳基板管理控制韌體資訊至基本輸出輸入系統韌體。 Then proceed to step S23: the substrate management control unit returns the substrate management control firmware information to the basic output input system firmware.

基板管理控制單元20在接收到詢問指令後,提供一基板管理控制韌體資訊,並將其傳送到基本輸出輸入系統韌體41。依據本發明之一實施例,基板管理控制韌體資訊中至少包含製造商資訊及機種/版本資訊。舉例來說,製造商 資訊可能是如宏碁、華碩等製造商之資訊,而機種資訊則例如是製造商產品之型號。 After receiving the inquiry command, the substrate management control unit 20 provides a substrate management control firmware information and transmits it to the basic output input system firmware 41. According to an embodiment of the present invention, the substrate management control firmware information includes at least manufacturer information and model/version information. For example, the manufacturer Information may be information about manufacturers such as Acer, Asus, etc., and model information is, for example, the model number of the manufacturer's product.

接著進行步驟S24:基本輸出輸入系統韌體根據基板管理控制韌體資訊判斷是否進行更新基本輸出輸入系統韌體之程序。 Next, step S24 is performed: the basic output input system firmware determines whether to update the basic output input system firmware according to the substrate management control firmware information.

基本輸出輸入系統韌體41在接收到基板管理控制韌體資訊後,即可根據基板管理控制韌體資訊判斷是否要進行更新基本輸出輸入系統韌體41之程序。若是欲更新的基本輸出輸入系統韌體與基板管理控制韌體31相容,則進行基本輸出輸入系統韌體41之更新(步驟S25A);否則即終止更新程序(步驟S25B)。 After receiving the substrate management control firmware information, the basic output input system firmware 41 can determine whether to update the basic output input system firmware 41 according to the substrate management control firmware information. If the basic output input system firmware to be updated is compatible with the substrate management control firmware 31, the update of the basic output input system firmware 41 is performed (step S25A); otherwise, the update procedure is terminated (step S25B).

若判斷進行更新基本輸出輸入系統韌體之程序,則接著進行步驟S25A:更新基本輸出輸入系統韌體。 If it is determined that the program for updating the basic output input system firmware is performed, then step S25A is performed: updating the basic output input system firmware.

若是欲更新的基本輸出輸入系統韌體與基板管理控制韌體31相容,則繼續進行更新基本輸出輸入系統韌體41之程序。需注意的是,有關於如何更新基本輸出輸入系統韌體41,應為發明所屬技術領域中具通常知識者所熟悉,為習知技術之範疇,於說明書中不再贅述。 If the basic output input system firmware to be updated is compatible with the substrate management control firmware 31, the process of updating the basic output input system firmware 41 continues. It should be noted that there is a description of how to update the basic output input system firmware 41, which should be familiar to those of ordinary skill in the art, and is not in the specification.

若判斷不進行更新基本輸出輸入系統韌體之程序,則接著進行步驟S25B:提供錯誤訊息並終止更新程序。 If it is judged that the program for updating the basic output input system firmware is not performed, then step S25B is performed: providing an error message and terminating the update program.

若是欲更新的基本輸出輸入系統韌體與基板管理控制 韌體31不相容,基本輸出輸入系統韌體41判斷不應進行更新程序,則基本輸出輸入系統韌體41提供一錯誤訊息提醒使用者,並直接終止更新程序。 If you want to update the basic output input system firmware and substrate management control The firmware 31 is incompatible, and the basic output input system firmware 41 determines that the update procedure should not be performed, and the basic output input system firmware 41 provides an error message to alert the user and terminate the update procedure directly.

接著請參考圖3,係依據本發明之一實施例之基板管理控制韌體更新方法之步驟流程圖。 Next, please refer to FIG. 3, which is a flow chart of steps of a substrate management control firmware update method according to an embodiment of the present invention.

首先進行步驟S31:基板管理控制單元根據基本輸出輸入系統韌體資訊判斷是否進行更新基板管理控制韌體之程序。 First, step S31 is performed: the substrate management control unit determines whether to update the substrate management control firmware according to the basic output input system firmware information.

當韌體更新系統1欲進行更新基板管理控制韌體31時,基板管理控制單元20必需根據基本輸出輸入系統韌體資訊判斷是否進行更新基板管理控制韌體31之程序。依據本發明之一實施例,基本輸出輸入系統韌體資訊包含基本輸出輸入系統韌體41之製造商資訊及版本資訊。在此製造商資訊指的是基本輸出輸入系統韌體41之製造商,例如是AMI、PHOENIX或是系統製造商如宏碁、華碩等。版本資訊則是基本輸出輸入系統韌體41之版本。若是基本輸出輸入系統韌體41與欲更新的基板管理控制韌體相容,則進行基板管理控制韌體31之更新(步驟S32A);否則即終止更新程序(步驟S32B)。 When the firmware update system 1 is to update the substrate management control firmware 31, the substrate management control unit 20 must judge whether or not to update the substrate management control firmware 31 based on the basic output input system firmware information. In accordance with an embodiment of the present invention, the basic output input system firmware information includes manufacturer information and version information of the basic output input system firmware 41. The manufacturer information refers to the manufacturer of the basic output input system firmware 41, such as AMI, PHOENIX, or system manufacturers such as Acer, Asus, and the like. The version information is the version of the basic output input system firmware 41. If the basic output input system firmware 41 is compatible with the substrate management control firmware to be updated, the substrate management control firmware 31 is updated (step S32A); otherwise, the update program is terminated (step S32B).

若判斷進行更新基板管理控制韌體之程序,則接著進行步驟S32A:更新基板管理控制韌體。 If it is determined that the program for updating the substrate management control firmware is performed, then step S32A is performed to update the substrate management control firmware.

若是基本輸出輸入系統韌體41與欲更新的基板管理控制韌體相容,則繼續進行更新基板管理控制韌體31之程序。需注意的是,有關於如何更新基板管理控制韌體31,應為發明所屬技術領域中具通常知識者所熟悉,為習知技術之範疇,於說明書中不再贅述。 If the basic output input system firmware 41 is compatible with the substrate management control firmware to be updated, the process of updating the substrate management control firmware 31 is continued. It should be noted that there is a description of how to update the substrate management control firmware 31, which should be familiar to those of ordinary skill in the art, and is not in the specification.

若判斷不進行更新基板管理控制韌體之程序,則接著進行步驟S32B:提供警告訊息並等待使用者決定是否繼進行更新程序。 If it is determined that the program for updating the baseboard management control firmware is not performed, then step S32B is performed: a warning message is provided and the user is determined to decide whether to continue the update procedure.

若是基本輸出輸入系統韌體41與欲更新的基板管理控制韌體不相容,基板管理控制韌體31判斷不應進行更新程序,則基板管理控制韌體31提供一警告訊息提醒使用者。此時使用者可選擇強制進行更新基板管理控制韌體31或是放棄進行更新程序。 If the basic output input system firmware 41 is incompatible with the substrate management control firmware to be updated, the substrate management control firmware 31 determines that the update procedure should not be performed, and the substrate management control firmware 31 provides a warning message to alert the user. At this time, the user can choose to forcibly update the substrate management control firmware 31 or give up the update procedure.

此處需注意的是,本發明之韌體更新方法並不以上述之步驟次序為限,只要能達成本發明之目的,上述之步驟次序亦可加以改變。 It should be noted here that the method for updating the firmware of the present invention is not limited to the above-described order of steps, and the order of the above steps may be changed as long as the object of the present invention can be achieved.

1‧‧‧韌體更新系統 1‧‧‧ Firmware update system

10‧‧‧控制單元 10‧‧‧Control unit

20‧‧‧基板管理控制單元 20‧‧‧Base Management Control Unit

30‧‧‧第一儲存單元 30‧‧‧First storage unit

31‧‧‧基板管理控制韌體 31‧‧‧Substrate Management Control Firmware

40‧‧‧第二儲存單元 40‧‧‧Second storage unit

41‧‧‧基本輸出輸入系統韌體 41‧‧‧Basic output input system firmware

50‧‧‧處理單元 50‧‧‧Processing unit

圖1係依據本發明之一實施例之韌體更新系統之系統架構圖。 1 is a system architecture diagram of a firmware update system in accordance with an embodiment of the present invention.

圖2係依據本發明之一實施例之基本輸出輸入系統韌體更新方法之步驟流程圖。 2 is a flow chart showing the steps of a basic output input system firmware update method in accordance with an embodiment of the present invention.

圖3係依據本發明之一實施例之基板管理控制韌體更新方法之步驟流程圖。 3 is a flow chart showing the steps of a substrate management control firmware update method according to an embodiment of the present invention.

1‧‧‧韌體更新系統 1‧‧‧ Firmware update system

10‧‧‧控制單元 10‧‧‧Control unit

20‧‧‧基板管理控制單元 20‧‧‧Base Management Control Unit

30‧‧‧第一儲存單元 30‧‧‧First storage unit

31‧‧‧基板管理控制韌體 31‧‧‧Substrate Management Control Firmware

40‧‧‧第二儲存單元 40‧‧‧Second storage unit

41‧‧‧基本輸出輸入系統韌體 41‧‧‧Basic output input system firmware

50‧‧‧處理單元 50‧‧‧Processing unit

Claims (10)

一種韌體更新方法,係用於一韌體更新系統,該韌體更新系統包含一處理單元、一控制單元、一基板管理控制單元、一第一儲存單元及一第二儲存單元,該第一儲存單元中儲存該基板管理控制單元之一基板管理控制韌體,該第二儲存單元中儲存一基本輸出輸入系統韌體,該方法包含:該控制單元發送一中斷訊號至該處理單元;該處理單元執行該基本輸出輸入系統韌體,使該基本輸出輸入系統韌體發送一詢問指令至該基板管理控制單元;該基板管理控制單元回傳一基板管理控制韌體資訊至該基本輸出輸入系統韌體;以及該基本輸出輸入系統韌體根據該基板管理控制韌體資訊判斷是否進行更新該基本輸出輸入系統韌體之程序。 A firmware update method is used for a firmware update system, the firmware update system includes a processing unit, a control unit, a substrate management control unit, a first storage unit, and a second storage unit, the first Storing a substrate management control firmware of the substrate management control unit, wherein the second storage unit stores a basic output input system firmware, the method comprising: the control unit sending an interrupt signal to the processing unit; The unit executes the basic output input system firmware, so that the basic output input system firmware sends an inquiry command to the substrate management control unit; the substrate management control unit returns a substrate management control firmware information to the basic output input system toughness And the basic output input system firmware determines whether to update the basic output input system firmware according to the substrate management control firmware information. 如申請專利範圍第1項所述之方法,更包含:若不進行更新該基本輸出輸入系統韌體之程序,則該基本輸出輸入系統提供一錯誤訊息並終止更新程序。 The method of claim 1, further comprising: if the program of updating the basic output input system firmware is not performed, the basic output input system provides an error message and terminates the update procedure. 如申請專利範圍第2項所述之方法,更包含:該基板管理控制單元根據一基本輸出輸入系統韌體資訊判斷是否進行更新該基板管理控制韌體之程序;以及若不進行更新該基板管理控制韌體之程序,則提供一警告訊息。 The method of claim 2, further comprising: the substrate management control unit determining, according to a basic output input system firmware information, whether to update the substrate management control firmware; and if the substrate management is not updated A program to control the firmware provides a warning message. 如申請專利範圍第1或3項所述之方法,其中該中斷訊號為一軟體系統管理中斷(Software System Management Interrupt,SW SMI)。 The method of claim 1 or 3, wherein the interrupt signal is a Software System Management Interrupt (SW SMI). 如申請專利範圍第1或3項所述之方法,其中該基板管理控制韌體資訊包含一製造商資訊及一機種/版本資訊。 The method of claim 1 or 3, wherein the substrate management control firmware information comprises a manufacturer information and a model/version information. 一種韌體更新系統,包含:一處理單元;一控制單元;一基板管理控制單元;一第一儲存單元,用以儲存該基板管理控制單元之一基板管理控制韌體;以及一第二儲存單元,用以儲存一基本輸出輸入系統韌體;其中,當該控制單元發送一中斷訊號至該處理單元時,該處理單元執行該基本輸出輸入系統韌體,使該基本輸出輸入系統韌體發送一詢問指令至該基板管理控制單元,該基板管理控制單元回傳一基板管理控制韌體資訊至該基本輸出輸入系統韌體,該基本輸出輸入系統韌體則根據該基板管理控制韌體資訊判斷是否進行更新該基本輸出輸入系統韌體之程序。 A firmware update system includes: a processing unit; a control unit; a substrate management control unit; a first storage unit for storing a substrate management control firmware of the substrate management control unit; and a second storage unit For storing a basic output input system firmware; wherein, when the control unit sends an interrupt signal to the processing unit, the processing unit executes the basic output input system firmware, so that the basic output input system firmware sends a Inquiring instructions to the substrate management control unit, the substrate management control unit returns a substrate management control firmware information to the basic output input system firmware, and the basic output input system firmware determines whether the firmware information is based on the substrate management control firmware information A program to update the basic output input system firmware. 如申請專利範圍第6項所述之系統,其中當不進行更新該基本輸出輸入系統韌體之程序時,該基本輸出輸入系統進一步用以提供一錯誤訊息並終止更新程序。 The system of claim 6, wherein the basic output input system is further configured to provide an error message and terminate the update procedure when the program for updating the basic output input system firmware is not performed. 如申請專利範圍第7項所述之系統,其中該基板管理控制單元進一步用以根據一基本輸出輸入系統韌體資訊 判斷是否進行更新該基板管理控制韌體之程序,並且若不進行更新該基板管理控制韌體之程序時,提供一警告訊息。 The system of claim 7, wherein the substrate management control unit is further configured to input system firmware information according to a basic output. It is judged whether or not the program for updating the substrate management control firmware is performed, and if the program for updating the substrate management control firmware is not performed, a warning message is provided. 如申請專利範圍第6或8項所述之系統,其中該中斷訊號為一軟體系統管理中斷(Software System Management Interrupt,SW SMI)。 The system of claim 6 or 8, wherein the interrupt signal is a Software System Management Interrupt (SW SMI). 如申請專利範圍第6或8項所述之系統,其中該基板管理控制韌體資訊包含一製造商資訊及一機種/版本資訊。 The system of claim 6 or 8, wherein the substrate management control firmware information includes a manufacturer information and a model/version information.
TW102101706A 2013-01-16 2013-01-16 Method and system for updating firmware TW201430702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102101706A TW201430702A (en) 2013-01-16 2013-01-16 Method and system for updating firmware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102101706A TW201430702A (en) 2013-01-16 2013-01-16 Method and system for updating firmware

Publications (1)

Publication Number Publication Date
TW201430702A true TW201430702A (en) 2014-08-01

Family

ID=51796922

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102101706A TW201430702A (en) 2013-01-16 2013-01-16 Method and system for updating firmware

Country Status (1)

Country Link
TW (1) TW201430702A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117250A (en) * 2015-08-24 2015-12-02 联想(北京)有限公司 Compatibility processing method and electronic device
TWI733213B (en) * 2019-10-08 2021-07-11 神雲科技股份有限公司 Server device
CN113687842A (en) * 2020-05-18 2021-11-23 佛山市顺德区顺达电脑厂有限公司 Server and mainboard module capable of updating firmware without power failure

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117250A (en) * 2015-08-24 2015-12-02 联想(北京)有限公司 Compatibility processing method and electronic device
CN105117250B (en) * 2015-08-24 2019-03-29 联想(北京)有限公司 A kind of compatibility processing method and electronic equipment
TWI733213B (en) * 2019-10-08 2021-07-11 神雲科技股份有限公司 Server device
CN113687842A (en) * 2020-05-18 2021-11-23 佛山市顺德区顺达电脑厂有限公司 Server and mainboard module capable of updating firmware without power failure
CN113687842B (en) * 2020-05-18 2023-07-18 佛山市顺德区顺达电脑厂有限公司 Server and main board module without power off for updating firmware

Similar Documents

Publication Publication Date Title
CN107122321B (en) Hardware repair method, hardware repair system, and computer-readable storage device
TWI534708B (en) Method, managing apparatus, and computer-readable medium for managing basic input/output system configurations of a computer system
TWI710952B (en) Firmware update method and computer system
TWI335536B (en) Information handling system (ihs) method and for updating a non-volatile memory (nvm) included in an information handling system
TWI537748B (en) Apparatus, method and non-transitory computer-readable medium for network basic input/output system management
US9240924B2 (en) Out-of band replicating bios setting data across computers
US9298470B2 (en) Method and apparatus for selecting bios program for a processor
TW201802694A (en) Graceful shutdown with asynchronous DRAM refresh of non-volatile dual in-line memory module
TW201401098A (en) System and method for verificating firmware
TW201944239A (en) Server and method for restoring a baseboard management controller automatically
TW201818263A (en) Server data port learning at data switch
US8250354B2 (en) Method and apparatus for making a processor sideband interface adhere to secure mode restrictions
CN111949332A (en) Method, system and device for modifying options of basic input and output system
US11314578B2 (en) Information handling system and method to detect and recover from spurious resets of PCIe devices
TW201430702A (en) Method and system for updating firmware
US10198270B2 (en) Dynamic hardware configuration via firmware interface at computing device boot
JP5561791B2 (en) Information processing apparatus, information processing method, and information processing program
US11106457B1 (en) Updating firmware runtime components
TWI812521B (en) Boot method based on hard disk type
TWI659295B (en) Server and initialization method in a booting server process
TW201506795A (en) System and method for booting a computer using a virtual BIOS
US20240012651A1 (en) Enhanced service operating system capabilities through embedded controller system health state tracking
TW201800895A (en) Computer and controlling method thereof
TWM626618U (en) Computer system
TWI382345B (en) Computer apparatus with auto-rebooting function and method for auto-rebooting