[go: up one dir, main page]

TW201939274A - Server device and method for instantly changing firmware configuration thereof - Google Patents

Server device and method for instantly changing firmware configuration thereof Download PDF

Info

Publication number
TW201939274A
TW201939274A TW107109182A TW107109182A TW201939274A TW 201939274 A TW201939274 A TW 201939274A TW 107109182 A TW107109182 A TW 107109182A TW 107109182 A TW107109182 A TW 107109182A TW 201939274 A TW201939274 A TW 201939274A
Authority
TW
Taiwan
Prior art keywords
firmware
firmware setting
control unit
management control
setting parameter
Prior art date
Application number
TW107109182A
Other languages
Chinese (zh)
Other versions
TWI685790B (en
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 TW107109182A priority Critical patent/TWI685790B/en
Publication of TW201939274A publication Critical patent/TW201939274A/en
Application granted granted Critical
Publication of TWI685790B publication Critical patent/TWI685790B/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

本案提出一種伺服器裝置及其即時變更韌體設定的方法,所述方法包含:經由一基板管理控制單元在前述之伺服器裝置進行一開機初始化程序中根據一第一韌體設定參數配置伺服器裝置之一韌體設定、經由一中央處理單元於基板管理控制單元配置韌體設定之後在開機初始化程序中發送不同於第一韌體設定參數之一第二韌體設定參數給基板管理控制單元、中央處理單元於發送第二韌體設定參數給基板管理控制單元之後控制基板管理控制單元於開機初始化程序中重置、以及基板管理控制單元於重置之後在開機初始化程序中根據第二韌體設定參數重新配置韌體設定。This case proposes a server device and a method for real-time changing the firmware setting thereof. The method includes: configuring a server according to a first firmware setting parameter in a boot initialization procedure of the aforementioned server device through a substrate management control unit. One of the device's firmware settings, after configuring the firmware settings on the substrate management control unit via a central processing unit, sends a second firmware setting parameter different from the first firmware setting parameter to the substrate management control unit in the boot initialization procedure, The central processing unit controls the board management control unit to reset in the boot initialization procedure after sending the second firmware setting parameter to the board management control unit, and the board management control unit resets according to the second firmware setting in the boot initialization procedure after resetting. Parameter reconfiguration firmware settings.

Description

伺服器裝置及其即時變更韌體設定的方法Server device and method for changing firmware setting in real time

本案是關於一種伺服器裝置,且特別是具有即時變更其韌體設定功能之伺服器裝置。This case relates to a server device, and particularly to a server device having the function of changing its firmware settings in real time.

一般來說,一台伺服器一般包含基板控制器(BMC)及基本輸入輸出系統(BIOS)等多個不同的控制元件,而通常在伺服器收到AC電源後,是先由BMC藉由執行BMC韌體並根據BMC的韌體設定開始運作並提供並控制伺服器相應於該些BMC韌體設定的功能,一直到伺服器的主機板接收到上電啟動(power on)指令後,中央處理器(CPU)才會開始藉由執行BIOS程式而進行開機程序也就是上電開機自檢(POST)程序,雷同的,CPU也是藉由執行BIOS程式並搭配BIOS的韌體設定以提供並控制伺服器相應於BIOS韌體設定的功能,通常,BMC與CPU可分別藉由執行BMC韌體及BIOS韌體且分別搭配相應的韌體設定而提供並控制伺服器相同的功能。然而,由於BMC及CPU是分別搭配BMC及BIOS韌體設定不同的韌體設定來提供並控制伺服器相同的功能,而BMC及BIOS韌體設定是被分別儲存於不同元件,且BMC與CPU在伺服器上提供及控制相同功能的控制時間並不相同,再者,BMC及BIOS的韌體設定是可以被分別在不同的時間分別被變更的,而容易造成於伺服器上電後,產生控制相同功能的韌體設定在不同的控制時間之控制不一致的問題。Generally speaking, a server usually includes a number of different control components such as a baseboard controller (BMC) and a basic input output system (BIOS). Usually, after the server receives AC power, it is first executed by the BMC. The BMC firmware starts to operate according to the BMC firmware settings and provides and controls the server's functions corresponding to the BMC firmware settings. Until the server's motherboard receives the power on command, the central processing The CPU (CPU) will start the boot process by executing the BIOS program, which is the power-on self-test (POST) process. Similarly, the CPU also provides and controls the servo by executing the BIOS program and the BIOS firmware settings. The function of the firmware corresponding to the BIOS firmware setting. Generally, the BMC and the CPU can provide and control the same functions of the server by executing the BMC firmware and the BIOS firmware and matching the corresponding firmware settings. However, because the BMC and CPU are configured with different firmware settings of the BMC and BIOS respectively to provide and control the same functions of the server, the BMC and BIOS firmware settings are stored in different components respectively, and the BMC and CPU are in The control time for providing and controlling the same function on the server is not the same. In addition, the firmware settings of the BMC and BIOS can be changed at different times respectively, and it is easy to cause control after the server is powered on. The problem of inconsistent control of firmware with the same function set at different control times.

有鑑於此,本案提出一種伺服器裝置及其即時變更韌體設定的方法。In view of this, this case proposes a server device and a method for changing firmware settings in real time.

在一實施例中,一種伺服器裝置包含基板管理控制單元及中央處理單元。基板管理控制單元用以於前述之伺服器裝置進行一開機初始化程序中根據第一韌體設定參數配置伺服器裝置之一第一韌體設定。中央處理單元用以於基板管理控制單元配置第一韌體設定之後在前述之同一開機初始化程序中發送不同於第一韌體設定參數之一第二韌體設定參數給基板管理控制單元,且中央處理單元控制基板管理控制單元於同一開機初始化程序中重置,以致使基板管理控制單元於重置之後在同一開機初始化程序中根據第二韌體設定參數重新配置第一韌體設定。In one embodiment, a server device includes a substrate management control unit and a central processing unit. The baseboard management control unit is configured to configure a first firmware setting of one of the server devices according to the first firmware setting parameter during a boot initialization procedure of the aforementioned server device. The central processing unit is configured to send a second firmware setting parameter different from the first firmware setting parameter to the substrate management control unit in the same boot initialization procedure as described above after the first management setting is configured by the substrate management control unit. The processing unit controls the board management control unit to reset in the same boot initialization procedure, so that the board management control unit reconfigures the first firmware setting according to the second firmware setting parameter in the same boot initialization procedure after resetting.

在一實施例中,一種適於一伺服器裝置之即時變更韌體設定的方法包含:經由一基板管理控制單元在前述之伺服器裝置進行一開機初始化程序中根據一第一韌體設定參數配置伺服器裝置之一第一韌體設定、經由一中央處理單元於基板管理控制單元配置第一韌體設定之後在前述之同一開機初始化程序中發送不同於第一韌體設定參數之一第二韌體設定參數給基板管理控制單元、中央處理單元於發送第二韌體設定參數給基板管理控制單元之後控制基板管理控制單元於同一開機初始化程序中重置、以及基板管理控制單元於重置之後在同一開機初始化程序中根據第二韌體設定參數重新配置第一韌體設定。In an embodiment, a method suitable for real-time firmware setting change of a server device includes: configuring a first firmware setting parameter during a boot initialization procedure of the server device through a baseboard management control unit. One of the first firmware settings of the server device, after the first firmware setting is configured on the substrate management control unit via a central processing unit, a second firmware different from the first firmware setting parameter is sent in the same boot initialization procedure as described above. After setting the parameters to the baseboard management control unit, the central processing unit sends the second firmware setting parameter to the baseboard management control unit to control the baseboard management control unit to reset in the same boot initialization procedure, and the baseboard management control unit resets the Reconfigure the first firmware setting according to the second firmware setting parameter in the same boot initialization procedure.

圖1為根據本發明之伺服器裝置之一實施例之方塊示意圖。圖2為根據本發明之即時變更韌體設定的方法之一實施例之流程圖。請先參照圖1,伺服器裝置1包含基板管理控制單元11及中央處理單元12,基板管理控制單元11耦接於中央處理單元12。基板管理控制單元11用以在伺服器裝置1的一開機初始化程序中配置伺服器裝置1之一韌體設定(以下稱為第一韌體設定),中央處理單元12能即時地控制基板管理控制單元11在同一開機初始化程序中重新配置前述之第一韌體設定。FIG. 1 is a block diagram of an embodiment of a server device according to the present invention. FIG. 2 is a flowchart of an embodiment of a method for instantly changing firmware settings according to the present invention. Please refer to FIG. 1 first. The server device 1 includes a substrate management control unit 11 and a central processing unit 12. The substrate management control unit 11 is coupled to the central processing unit 12. The substrate management control unit 11 is used to configure a firmware setting (hereinafter referred to as a first firmware setting) of the server device 1 in a boot initialization procedure of the server device 1, and the central processing unit 12 can control the substrate management control in real time The unit 11 reconfigures the aforementioned first firmware setting in the same boot initialization procedure.

詳細而言,請合併參照圖1及圖2,在伺服器裝置1啟動之後,伺服器裝置1進入開機初始化程序,基板管理控制單元11啟動,基板管理控制單元11在開機初始化程序中先根據一韌體設定參數(為方便描述,以下稱為第一韌體設定參數)配置第一韌體設定(步驟S01)。接著,中央處理單元12啟動,中央處理單元12在基板管理控制單元11配置第一韌體設定之後在同一開機初始化程序中發送不同於第一韌體設定參數之另一韌體設定參數(以下稱為第二韌體設定參數)給基板管理控制單元11(步驟S02)。接著,中央處理單元12於同一開機初始化程序中控制基板管理控制單元11重置(步驟S03),基板管理控制單元11在重置之後在伺服器裝置1進行同一開機初始化程序中根據第二韌體設定參數重新配置已配置過之第一韌體設定(步驟S04)。於是,基板管理控制單元11在同一開機初始化程序中就能根據不同的韌體設定參數來變更第一韌體設定,基板管理控制單元11並不需要等到伺服器裝置1完成初使化程序後再進行冷重置或是進行多次之暖重置之後才讓變更後的第一韌體設定生效,如此可減少為了變更第一韌體設定所對應的韌體設定參數而需等待初使化程序完成後再對伺服器裝置1進行重置之等待時間,且伺服器裝置1之使用者可在開機初始化程序中藉由中央處理單元12快速地控制基板管理控制單元11的韌體設定變更搭配不同的韌體設定參數。For details, please refer to FIG. 1 and FIG. 2 together. After the server device 1 is started, the server device 1 enters a boot initialization procedure, the substrate management control unit 11 is started, and the substrate management control unit 11 firstly The firmware setting parameter (for convenience of description, hereinafter referred to as the first firmware setting parameter) configures the first firmware setting (step S01). Next, the central processing unit 12 is started. After the central management unit 12 configures the first firmware setting in the baseboard management control unit 11, it sends another firmware setting parameter (hereinafter referred to as a firmware setting parameter) different from the first firmware setting parameter in the same boot initialization procedure. Set parameters for the second firmware) to the board management control unit 11 (step S02). Next, the central processing unit 12 controls the reset of the baseboard management control unit 11 in the same boot initialization process (step S03). After the reset, the baseboard management control unit 11 performs the same boot initialization process on the server device 1 according to the second firmware Set the parameters to reconfigure the configured first firmware settings (step S04). Therefore, the baseboard management control unit 11 can change the first firmware setting according to different firmware setting parameters in the same boot initialization procedure. The baseboard management control unit 11 does not need to wait until the server device 1 completes the initialization process. Only after the cold reset or multiple warm resets can the changed first firmware settings take effect. This can reduce the need to wait for the initialization process in order to change the firmware setting parameters corresponding to the first firmware settings. The waiting time for resetting the server device 1 after completion, and the user of the server device 1 can quickly control the firmware setting change of the board management control unit 11 through the central processing unit 12 during the startup initialization process. Firmware setting parameters.

在一實施例中,前述之第一韌體設定參數至少包含一參數值,也就是第一韌體設定參數可包含單一參數值或是複數參數值,且第二韌體設定參數亦至少包含一參數值,也就是第二韌體設定參數亦可包含單一參數值或是複數參數值。在中央處理單元12將包含單一參數值或是複數參數值之第二韌體設定參數發送給基板管理控制單元11之後,基板管理控制單元11即與中央處理單元12具有相同的韌體設定參數。In an embodiment, the aforementioned first firmware setting parameter includes at least one parameter value, that is, the first firmware setting parameter may include a single parameter value or a plurality of parameter values, and the second firmware setting parameter also includes at least one The parameter value, that is, the second firmware setting parameter may also include a single parameter value or a plurality of parameter values. After the central processing unit 12 sends the second firmware setting parameter including a single parameter value or a plurality of parameter values to the substrate management control unit 11, the substrate management control unit 11 has the same firmware setting parameters as the central processing unit 12.

在一實施例中,中央處理單元12在步驟S02中可藉由一智慧平台管理介面(Intelligent Platform Management Interface;IPMI)發送第二韌體設定參數給基板管理控制單元11,並在步驟S03中亦可藉由前述之智慧平台管理介面控制基板管理控制單元11重置。並且,基板管理控制單元11具有屬於低腳位數(Low Pin Count;LPC)匯流排之一重置腳位,中央處理單元12可藉由屬於低腳位數匯流排之重置腳位控制基板管理控制單元11進行軟重置(soft reset)。In an embodiment, the central processing unit 12 may send a second firmware setting parameter to the baseboard management control unit 11 through an Intelligent Platform Management Interface (IPMI) in step S02, and also in step S03 The baseboard management control unit 11 can be reset through the aforementioned smart platform management interface. In addition, the substrate management control unit 11 has a reset pin belonging to one of the Low Pin Count (LPC) buses, and the central processing unit 12 can control the substrate by resetting the pin belonging to the Low Pin Count bus. The management control unit 11 performs a soft reset.

在一實施例中,伺服器裝置1更包含BIOS記憶體14,BIOS記憶體14耦接於中央處理單元12,BIOS記憶體14儲存有包含已由第一韌體設定參數變更為前述之第二韌體設定參數之BIOS碼,中央處理單元12執行前述之BIOS碼,以於開機初始化程序中根據第二韌體設定參數配置相應於第一韌體設定之第二韌體設定,其中,由第一韌體設定參數變更為前述之第二韌體設定參數的變更方式為伺服器裝置1藉由一輸入介面接收使用者對伺服器裝置1之BIOS設定所進行的修改指令,進而使使用者將所述BIOS記憶體14原儲存的第一韌體設定參數變更為第二韌體設定參數並儲存於BIOS記憶體14,中央處理單元12在步驟S02中再讀取BIOS記憶體14,以取得第二韌體設定參數。In an embodiment, the server device 1 further includes a BIOS memory 14, the BIOS memory 14 is coupled to the central processing unit 12, and the BIOS memory 14 stores information including the parameters that have been changed from the first firmware setting parameters to the aforementioned second The BIOS code of the firmware setting parameters. The central processing unit 12 executes the aforementioned BIOS code to configure the second firmware setting corresponding to the first firmware setting according to the second firmware setting parameter during the boot initialization procedure. A method for changing a firmware setting parameter to the aforementioned second firmware setting parameter is that the server device 1 receives a user's modification instruction for the BIOS setting of the server device 1 through an input interface, so that the user will The first firmware setting parameter originally stored in the BIOS memory 14 is changed to the second firmware setting parameter and stored in the BIOS memory 14. The central processing unit 12 reads the BIOS memory 14 again in step S02 to obtain the first firmware setting parameter. Second firmware setting parameters.

進一步,請參照圖3,圖3係為根據本發明之即時變更韌體設定的方法之另一實施例之流程圖,由於中央處理單元12在開機初始化程序中的啟動時間係晚於基板管理控制單元11的啟動時間,中央處理單元12在基板管理控制單元11根據第一韌體設定參數配置第一韌體設定之後會先判斷相應於第一韌體設定之第二韌體設定所搭配對應的第一韌體設定參數是否被改變(步驟S05)。若第二韌體設定所搭配對應的第一韌體設定參數未改變(判斷為「否」),中央處理單元12則繼續執行其他開機初始化程序(步驟S06)而不執行步驟S02、S03;另一方面,若第二韌體設定所搭配對應的第一韌體設定參數被改變(判斷為「是」),且第二韌體設定所搭配對應的第一韌體設定參數改變為前述之第二韌體設定參數時,中央處理單元12始執行步驟S02、步驟S03,以將改變後之第二韌體設定參數發送給基板管理控制單元11,並在伺服器裝置1不進行重置或關機重啟的狀況下僅控制基板管理控制單元11重置,也就是同一開機初始化程序中控制基板管理控制單元11重置,而重置後的基板管理控制單元11,即會在同一開機初始化程序中根據變更後最新的第二韌體設定參數配置伺服器裝置1之第一韌體設定,進而達到在伺服器裝置1進行開機初始化程序中,當中央處理單元12用以配置相應於第一韌體設定之第二韌體設定的第一韌體設定參數被改變為第二韌體設定參數,則觸發基板管理控制單元11亦將其用以配置第一韌體設定的第一韌體設定參數更改為第二韌體設定參數,以使基板管理控制單元11也同樣的以第二韌體設定參數配置伺服器裝置1之第一韌體設定,且中央處理單元12傳送給基板管理控制單元11用以變更基板管理控制單元11的韌體設定所對應的第二韌體設定參數在伺服器裝置1不進行重置或關機重啟的狀況下,也就是在同一開機初始化程序中即可生效。Further, please refer to FIG. 3. FIG. 3 is a flowchart of another embodiment of a method for real-time changing firmware settings according to the present invention. Since the startup time of the central processing unit 12 in the boot initialization procedure is later than the board management control When the unit 11 is started, the central processing unit 12 first determines the corresponding one of the second firmware settings corresponding to the first firmware settings after the baseboard management control unit 11 configures the first firmware settings according to the first firmware setting parameters. Whether the first firmware setting parameter is changed (step S05). If the first firmware setting parameter corresponding to the second firmware setting is not changed (determined as "No"), the central processing unit 12 continues to execute other boot initialization procedures (step S06) without executing steps S02 and S03; On the one hand, if the first firmware setting parameter corresponding to the second firmware setting is changed (determined as "Yes"), and the first firmware setting parameter corresponding to the second firmware setting is changed to the aforementioned first When the second firmware sets the parameters, the central processing unit 12 executes steps S02 and S03 to send the changed second firmware setting parameters to the baseboard management control unit 11 without resetting or shutting down the server device 1 In the restart situation, only the control board management control unit 11 is reset, that is, the control board management control unit 11 is reset in the same boot initialization procedure, and the reset board management control unit 11 is reset according to the same boot initialization procedure. After the change, the latest second firmware setting parameter configures the first firmware setting of the server device 1, and further reaches the server device 1 during the boot initialization process, among which The processing unit 12 is used to configure the first firmware setting parameter corresponding to the first firmware setting and the second firmware setting is changed to the second firmware setting parameter, and then the substrate management control unit 11 is triggered to use it to configure the first firmware setting parameter. The first firmware setting parameter of a firmware setting is changed to the second firmware setting parameter, so that the board management control unit 11 also configures the first firmware setting of the server device 1 with the second firmware setting parameter, and The central processing unit 12 transmits to the substrate management control unit 11 to change the second firmware setting parameter corresponding to the firmware setting of the substrate management control unit 11 when the server device 1 is not reset or shut down and restarted, that is, It takes effect in the same boot initialization procedure.

舉例來說,若BIOS記憶體14中原先儲存有與第二韌體設定所搭配對應的第一韌體設定參數,若伺服器裝置1之使用者藉由前述之BIOS設定將第二韌體設定所搭配的第一韌體設定參數修改為第二韌體設定參數,中央處理單元12在步驟S05中會判斷出儲存在BIOS記憶體中與第二韌體設定所搭配對應的第一韌體設定參數改變為第二韌體設定參數,此時中央處理單元12將改變後之第二韌體設定參數發送給基板管理控制單元11並控制基板管理控制單元11重置。For example, if the first firmware setting parameter corresponding to the second firmware setting is originally stored in the BIOS memory 14, if the user of the server device 1 sets the second firmware setting through the aforementioned BIOS setting The matched first firmware setting parameter is changed to the second firmware setting parameter. In step S05, the central processing unit 12 determines that the first firmware setting corresponding to the second firmware setting stored in the BIOS memory is matched. The parameter is changed to the second firmware setting parameter. At this time, the central processing unit 12 sends the changed second firmware setting parameter to the substrate management control unit 11 and controls the substrate management control unit 11 to reset.

在一實施例中,前述之第一韌體設定及第二韌體設定分別為BMC韌體設定及CPU所執行之BIOS碼的韌體設定,且第一韌體設定及第二韌體設定係對應於伺服器裝置1之廠商資訊之顯示功能,故前述之第一韌體設定參數及第二韌體設定參數係分別為BMC韌體設定參數及CPU所執行之BIOS碼的韌體設定參數且係相應於前述廠商資訊之顯示設定之顯示設定參數。基此,如圖1所示,伺服器裝置1更包含一顯示單元13,顯示單元13耦接於基板管理控制單元11,基板管理控制單元11可控制顯示單元13顯示一廠商資訊。基板管理控制單元11在步驟S01中可根據第一韌體設定參數控制顯示單元13顯示相應於第一韌體設定參數之一廠商資訊(以下稱為第一廠商資訊),並在重置之後在步驟S04中根據中央處理單元12所發送之第二韌體設定參數控制顯示單元1顯示相應於第二韌體設定參數而與第一廠商資訊不相同之另一廠商資訊(以下稱為第二廠商資訊)。於是,伺服器裝置1之使用者能藉由修改伺服器裝置1之BIOS碼的韌體設定參數也就是BIOS設定以藉由中央處理單元12在開機初始化程序中即時地改變由基板管理控制單元11控制之廠商資訊的顯示,基板管理控制單元11在自身暖重置之後即能控制顯示單元13顯示變更後之第二廠商資訊。In one embodiment, the aforementioned first firmware setting and second firmware setting are respectively the BMC firmware setting and the firmware setting of the BIOS code executed by the CPU, and the first firmware setting and the second firmware setting are Corresponds to the display function of the manufacturer information of the server device 1, so the aforementioned first firmware setting parameter and second firmware setting parameter are respectively the BMC firmware setting parameter and the firmware setting parameter of the BIOS code executed by the CPU, and It is a display setting parameter corresponding to the display setting of the aforementioned manufacturer information. Accordingly, as shown in FIG. 1, the server device 1 further includes a display unit 13, which is coupled to the substrate management control unit 11. The substrate management control unit 11 can control the display unit 13 to display a manufacturer information. The substrate management control unit 11 may control the display unit 13 according to the first firmware setting parameter to display the manufacturer information (hereinafter referred to as the first manufacturer information) corresponding to the first firmware setting parameter in step S01, and after resetting, In step S04, according to the second firmware setting parameter sent by the central processing unit 12, the control display unit 1 displays another manufacturer information (hereinafter referred to as the second manufacturer) corresponding to the second firmware setting parameter and different from the first manufacturer information. Information). Therefore, the user of the server device 1 can modify the firmware setting parameters of the BIOS code of the server device 1, that is, the BIOS settings, to change the baseboard management control unit 11 in real time during the boot initialization process by the central processing unit 12. For the display of the controlled manufacturer information, the substrate management control unit 11 can control the display unit 13 to display the changed second manufacturer information after its warm reset.

進一步,如圖1所示,顯示單元13更耦接於中央處理單元12,中央處理單元12亦能控制顯示單元13所顯示之廠商資訊。於此,請合併參照圖1及圖4,圖4係為圖3所示例之即時變更韌體設定的方法之一實施態樣之流程圖,在伺服器裝置1啟動之後,伺服器裝置1進入開機初始化程序,由於中央處理單元12的啟動時間晚於基板管理控制單元11的啟動時間,中央處理單元12係在基板管理控制單元11在步驟S011中控制顯示單元13顯示第一廠商資訊(步驟S011)之後控制顯示單元13顯示相應於第二韌體設定參數之第二廠商資訊(步驟S07),而第二廠商資訊不相同於第一廠商資訊,故中央處理單元12在控制顯示單元13顯示第二廠商資訊之後會判斷出第一韌體設定參數已被改變為第二韌體設定參數而將第二韌體設定參數發送給基板管理控制單元11(步驟S02),並於基板管理控制單元11在伺服器裝置1進行同一開機初始化程序中重置之後立即使基板管理控制單元11控制顯示單元13顯示第二廠商資訊(步驟S041)生效,致使顯示單元13顯示一致之廠商資訊。Further, as shown in FIG. 1, the display unit 13 is further coupled to the central processing unit 12, and the central processing unit 12 can also control the manufacturer information displayed by the display unit 13. Here, please refer to FIG. 1 and FIG. 4 together. FIG. 4 is a flowchart of one embodiment of the method for real-time changing the firmware setting shown in FIG. 3. After the server device 1 is started, the server device 1 enters During the startup initialization procedure, since the startup time of the central processing unit 12 is later than the startup time of the substrate management control unit 11, the central processing unit 12 controls the display unit 13 to display the first manufacturer information in the substrate management control unit 11 in step S011 (step S011 ) After that, the control display unit 13 displays the second manufacturer information corresponding to the second firmware setting parameter (step S07), and the second manufacturer information is different from the first manufacturer information, so the central processing unit 12 displays the first manufacturer information on the control display unit 13. After the information of the two manufacturers, it is determined that the first firmware setting parameter has been changed to the second firmware setting parameter, and the second firmware setting parameter is sent to the baseboard management control unit 11 (step S02), and the baseboard management control unit 11 Cause the substrate management control unit 11 to control the display unit 13 to display the second manufacturer information immediately after the server device 1 is reset in the same boot initialization procedure Step S041) entered into force, causes the display unit 13 displays a consistent vendor information.

在一實施例中,顯示單元13之顯示介面可為VGA介面、DVI介面或HDMI介面。並且,顯示單元13所顯示之廠商資訊可為伺服器裝置1之品牌資訊,或是伺服器裝置1之製造商之品牌資訊,例如其品牌標誌(logo)。In one embodiment, the display interface of the display unit 13 may be a VGA interface, a DVI interface, or an HDMI interface. In addition, the manufacturer information displayed on the display unit 13 may be the brand information of the server device 1 or the brand information of the manufacturer of the server device 1, such as its brand logo.

在一實施例中,前述之第一韌體設定及第二韌體設定係為相應連線於基板管理控制單元11之一靜態網際網路協定位址之(Static Internet Protocol Address)設定功能,而第一韌體設定參數及第二韌體設定參數係為相應於靜態網際網路協定位址設定之兩靜態網際網路協定位址。基此,在伺服器裝置1的開機初始化程序中,基板管理控制單元11在步驟S01中先根據第一韌體設定參數設定其靜態網際網路協定位址設定具有第一靜態網際網路協定位址,接著,中央處理單元12在步驟S02中再將第二韌體設定參數發送給基板管理控制單元11,使基板管理控制單元11在伺服器裝置1進行同一開機初始化程序中進行重置之後再將其靜態網際網路協定位址設定為具有第二靜態網際網路協定位址。最後,基板管理控制單元11可再將第二靜態網際網路協定位址以廣播之形式發送給伺服器裝置1中之其他單元,使變更後之第二靜態網際網路協定位址生效。基此,使用者亦可藉由中央處理單元12在伺服器裝置1的開機初始化程序中即時地變更基板管理控制單元11之靜態網際網路協定位址設定。In one embodiment, the aforementioned first firmware setting and second firmware setting are corresponding to a static Internet Protocol Address setting function connected to a static Internet Protocol Address of the baseboard management control unit 11, and The first firmware setting parameter and the second firmware setting parameter are two static Internet protocol addresses set corresponding to the static Internet protocol address settings. Based on this, in the startup initialization procedure of the server device 1, the baseboard management control unit 11 first sets its static Internet protocol address according to the first firmware setting parameter in step S01. The setting has a first static Internet protocol bit. Then, the central processing unit 12 sends the second firmware setting parameter to the baseboard management control unit 11 in step S02, so that the baseboard management control unit 11 resets the server device 1 in the same boot initialization procedure. Set its static Internet protocol address to have a second static Internet protocol address. Finally, the baseboard management control unit 11 may send the second static Internet protocol address to other units in the server device 1 by broadcasting, so that the changed second static Internet protocol address becomes effective. Based on this, the user can also change the static Internet Protocol address setting of the baseboard management control unit 11 in real time by the central processing unit 12 in the startup initialization procedure of the server device 1.

綜上所述,根據本發明之伺服器裝置及其即時變更韌體設定的方法之一實施例,中央處理單元能在伺服器裝置進行開機初始化程序中變更韌體設定所搭配的韌體參數並控制基板管理控制單元在伺服器裝置進行同一開機初始化程序中重置,使受控於基板管理控制單元的韌體設定所搭配的韌體參數之變更能立即地生效,不需要等到伺服器裝置進行冷重置或是進行多次之暖重置而在伺服器裝置進行另一開機初始化程序之後才讓變更後的韌體設定生效,如此可減少為了變更韌體設定而對伺服器裝置進行重置之等待時間。To sum up, according to an embodiment of the server device and the method for real-time changing the firmware setting of the present invention, the central processing unit can change the firmware parameters associated with the firmware setting during the server device's boot initialization process and The control board management control unit is reset in the server device during the same boot initialization procedure, so that the firmware parameter changes associated with the firmware settings controlled by the board management control unit can take effect immediately, without waiting for the server device to perform Cold reset or multiple warm resets and the changed firmware settings will not take effect until the server device has another boot initialization procedure. This can reduce the need to reset the server device to change the firmware settings Waiting time.

雖然本案已以實施例揭露如上然其並非用以限定本案,任何所屬技術領域中具有通常知識者,在不脫離本案之精神和範圍內,當可作些許之更動與潤飾,故本案之保護範圍當視後附之專利申請範圍所界定者為準。Although this case has been disclosed with examples as above, it is not intended to limit this case. Any person with ordinary knowledge in the technical field can make some changes and retouching without departing from the spirit and scope of this case. Therefore, the scope of protection of this case Subject to the scope of the attached patent application.

1‧‧‧伺服器裝置1‧‧‧ server device

11‧‧‧基板管理控制單元11‧‧‧ substrate management control unit

12‧‧‧中央處理單元12‧‧‧ Central Processing Unit

13‧‧‧顯示單元13‧‧‧Display unit

14‧‧‧BIOS記憶體14‧‧‧BIOS memory

S01-S07‧‧‧步驟S01-S07‧‧‧step

S011‧‧‧步驟S011‧‧‧step

S041‧‧‧步驟S041‧‧‧step

[圖1]為根據本發明之伺服器裝置之一實施例之一方塊示意圖。 [圖2]為根據本發明之即時變更韌體設定的方法之一實施例之流程圖。 [圖3]為根據本發明之即時變更韌體設定的方法之另一實施例之流程圖。 [圖4]為圖3所示例之即時變更韌體設定的方法之一實施態樣之流程圖。[Figure 1] A block diagram of an embodiment of a server device according to the present invention. [FIG. 2] A flowchart of an embodiment of a method for instantly changing firmware settings according to the present invention. [FIG. 3] A flowchart of another embodiment of a method for instantly changing firmware settings according to the present invention. [Fig. 4] A flowchart of an implementation aspect of a method for real-time changing firmware settings illustrated in Fig. 3. [Fig.

Claims (10)

一種伺服器裝置,包含: 一基板管理控制單元,用以於該伺服器裝置進行一開機初始化程序中根據一第一韌體設定參數配置該伺服器裝置之一第一韌體設定;及 一中央處理單元,用以於該基板管理控制單元配置該第一韌體設定之後在該開機初始化程序中發送不同於該第一韌體設定參數之一第二韌體設定參數給該基板管理控制單元,且該中央處理單元控制該基板管理控制單元於該開機初始化程序中重置,以致使該基板管理控制單元於重置之後在該開機初始化程序中根據該第二韌體設定參數重新配置該第一韌體設定。A server device includes: a substrate management control unit configured to configure a first firmware setting of the server device according to a first firmware setting parameter during a boot initialization procedure of the server device; and a central A processing unit, configured to send the second firmware setting parameter different from the first firmware setting parameter to the substrate management control unit in the boot initialization program after the substrate management control unit configures the first firmware setting, And the central processing unit controls the substrate management control unit to reset in the boot initialization procedure, so that the substrate management control unit reconfigures the first in the boot initialization procedure according to the second firmware setting parameter after the reset. Firmware settings. 如請求項1所述之伺服器裝置,更包含: 一BIOS記憶體,儲存有相應該第一韌體設定之一第二韌體設定所搭配之該第一韌體設定參數與該第二韌體設定參數其中一者; 其中,該中央處理單元係於該開機初始化程序中判斷該第二韌體設定所搭配之該第一韌體設定參數是否已被改變為不同於該第一韌體設定參數之該第二韌體設定參數,當該第二韌體設定所搭配的該第一韌體設定參數改變為不同於該第一韌體設定參數之該第二韌體設定參數時,該中央處理單元發送該第二韌體設定參數給該基板管理控制單元。The server device according to claim 1, further comprising: a BIOS memory storing the first firmware setting parameters and the second firmware matched with one of the second firmware settings corresponding to the first firmware setting One of the body setting parameters; wherein, the central processing unit determines in the boot initialization procedure whether the first firmware setting parameter matched with the second firmware setting has been changed to be different from the first firmware setting The second firmware setting parameter of the parameter, when the first firmware setting parameter matched with the second firmware setting is changed to the second firmware setting parameter different from the first firmware setting parameter, the center The processing unit sends the second firmware setting parameter to the substrate management control unit. 如請求項1或2所述之伺服器裝置,其中該伺服器裝置更包含: 一顯示單元,用以於該基板管理控制單元根據該第一韌體設定參數配置該第一韌體設定時受控於該基板管理控制單元而顯示相應於該第一韌體設定參數之一第一廠商資訊,且該顯示單元於該基板管理控制單元根據該第二韌體設定參數重新配置該第一韌體設定時受控於該基板管理控制單元而顯示相應於該第二韌體設定參數而不同於該第一廠商資訊之一第二廠商資訊。The server device according to claim 1 or 2, wherein the server device further comprises: a display unit, which is used when the substrate management control unit configures the first firmware setting according to the first firmware setting parameter. Controlled by the substrate management control unit to display first manufacturer information corresponding to one of the first firmware setting parameters, and the display unit reconfigures the first firmware on the substrate management control unit according to the second firmware setting parameter The setting is controlled by the baseboard management control unit and displays a second manufacturer information corresponding to the second firmware setting parameter and different from one of the first manufacturer information. 如請求項3所述之伺服器裝置,其中該中央處理單元於該基板管理控制單元控制該顯示單元顯示該第一廠商資訊之後更根據該第二韌體設定參數控制該顯示單元顯示該第二廠商資訊,並於該顯示單元顯示該第二廠商資訊之後發送該第二韌體設定參數給該基板管理控制單元。The server device according to claim 3, wherein the central processing unit controls the display unit to display the second display unit according to the second firmware setting parameter after the substrate management control unit controls the display unit to display the first manufacturer information. Manufacturer information, and after the display unit displays the second manufacturer information, the second firmware setting parameter is sent to the substrate management control unit. 如請求項2所述之伺服器裝置,其中該第一韌體設定及該第二韌體設定係為用以連線於該基板管理控制單元之靜態網際網路協定位址設定,該第一韌體設定參數及該第二韌體設定參數係為不相同之兩靜態網際網路協定位址。The server device according to claim 2, wherein the first firmware setting and the second firmware setting are static Internet Protocol address settings used to connect to the baseboard management control unit, and the first The firmware setting parameter and the second firmware setting parameter are two different static Internet protocol addresses. 一種即時變更韌體設定的方法,適於一伺服器裝置,該方法包含: 經由一基板管理控制單元在該伺服器裝置進行一開機初始化程序中根據一第一韌體設定參數配置該伺服器裝置之一第一韌體設定; 經由一中央處理單元於該基板管理控制單元配置該第一韌體設定之後在該開機初始化程序中發送不同於該第一韌體設定參數之一第二韌體設定參數給該基板管理控制單元; 該中央處理單元於發送該第二韌體設定參數給該基板管理控制單元之後控制該基板管理控制單元於該開機初始化程序中重置;及 該基板管理控制單元於重置之後在該開機初始化程序中根據該第二韌體設定參數重新配置該第一韌體設定。A method for changing firmware settings in real time, which is suitable for a server device, the method includes: configuring a server device according to a first firmware setting parameter in a boot initialization procedure of the server device through a substrate management control unit One of the first firmware settings; a second firmware setting different from the first firmware setting parameter is sent in the boot initialization procedure after the first firmware setting is configured in the substrate management control unit via a central processing unit Parameters to the substrate management control unit; the central processing unit controls the substrate management control unit to reset in the boot initialization procedure after sending the second firmware setting parameter to the substrate management control unit; and the substrate management control unit is at After the reset, the first firmware setting is reconfigured according to the second firmware setting parameter in the boot initialization procedure. 如請求項6所述之即時變更韌體設定的方法,於該中央處理單元發送該第二韌體設定參數給該基板管理控制單元之前,該即時變更韌體設定的方法更包含: 該中央處理單元於該開機初始化程序中判斷儲存於一BIOS碼之相應於該第一韌體設定之一第二韌體設定所搭配之該第一韌體設定參數是否已被改變為不同於該第一韌體設定參數之該第二韌體設定參數;及 當該第二韌體設定所搭配的該第一韌體設定參數改變為不同於該第一韌體設定參數之該第二韌體設定參數時,該中央處理單元始發送該第二韌體設定參數給該基板管理控制單元。The method for real-time firmware setting change as described in claim 6, before the central processing unit sends the second firmware setting parameter to the substrate management control unit, the method for real-time firmware setting further includes: the central processing The unit determines whether the first firmware setting parameter stored in a BIOS code corresponding to one of the first firmware settings and the second firmware setting has been changed in the boot initialization procedure to be different from the first firmware setting. The second firmware setting parameter of the body setting parameter; and when the first firmware setting parameter of the second firmware setting is changed to the second firmware setting parameter different from the first firmware setting parameter , The central processing unit sends the second firmware setting parameter to the substrate management control unit. 如請求項7所述之即時變更韌體設定的方法,其中該第一韌體設定及該第二韌體設定係為廠商資訊顯示設定,在該基板管理控制單元根據該第一韌體設定參數配置該第一韌體設定之步驟中,該基板管理控制單元根據該第一韌體設定參數控制一顯示單元顯示相應於該第一韌體設定參數之一第一廠商資訊;其中在該基板管理控制單元根據該第二韌體設定參數重新配置該第一韌體設定之步驟中,該基板管理控制單元根據該第二韌體設定參數控制該顯示單元顯示相應於該第二韌體設定參數而不相同於該第一廠商資訊之一第一廠商資訊。The method for changing firmware settings in real time as described in claim 7, wherein the first firmware setting and the second firmware setting are manufacturer information display settings, and the board management control unit sets parameters according to the first firmware In the step of configuring the first firmware setting, the substrate management control unit controls a display unit to display a first manufacturer information corresponding to the first firmware setting parameter according to the first firmware setting parameter; wherein in the substrate management In the step of the control unit reconfiguring the first firmware setting according to the second firmware setting parameter, the substrate management control unit controls the display unit to display a display corresponding to the second firmware setting parameter according to the second firmware setting parameter. Not the same as one of the first manufacturer information. 如請求項8所述之即時變更韌體設定的方法,其中在該基板管理控制單元控制該顯示單元顯示該第一廠商資訊之後且在該中央處理單元將該第二韌體設定參數發送給該基板管理控制單元之前,該即時變更韌體設定的方法更包含: 該中央處理單元根據該第二韌體設定參數控制該顯示單元顯示相應於該第二韌體設定參數而不同於該第一廠商資訊之一第二廠商資訊。The method for instantly changing the firmware setting as described in claim 8, wherein after the substrate management control unit controls the display unit to display the first manufacturer information and the central processing unit sends the second firmware setting parameter to the Before the board management control unit, the method for real-time changing the firmware setting further includes: the central processing unit controls the display unit to display a display corresponding to the second firmware setting parameter different from the first manufacturer according to the second firmware setting parameter One of the information is the second manufacturer information. 如請求項7所述之即時變更韌體設定的方法,其中該第一韌體設定及該第二韌體設定係為用以連線於該基板管理控制單元之靜態網際網路協定位址設定,該第一韌體設定參數及該第二韌體設定參數係為不相同之兩靜態網際網路協定位址。The method for real-time changing the firmware setting as described in claim 7, wherein the first firmware setting and the second firmware setting are static Internet Protocol address settings for connecting to the baseboard management control unit The first firmware setting parameter and the second firmware setting parameter are two different static Internet protocol addresses.
TW107109182A 2018-03-16 2018-03-16 Server device and method for instantly changing firmware configuration thereof TWI685790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107109182A TWI685790B (en) 2018-03-16 2018-03-16 Server device and method for instantly changing firmware configuration thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107109182A TWI685790B (en) 2018-03-16 2018-03-16 Server device and method for instantly changing firmware configuration thereof

Publications (2)

Publication Number Publication Date
TW201939274A true TW201939274A (en) 2019-10-01
TWI685790B TWI685790B (en) 2020-02-21

Family

ID=69023294

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107109182A TWI685790B (en) 2018-03-16 2018-03-16 Server device and method for instantly changing firmware configuration thereof

Country Status (1)

Country Link
TW (1) TWI685790B (en)

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
TWI758013B (en) * 2020-12-15 2022-03-11 技嘉科技股份有限公司 Baseboard management control system, electronic device and baseboard management control method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7849454B2 (en) * 2006-01-13 2010-12-07 Dell Products L.P. Automatic firmware corruption recovery and update
DE112008004177T5 (en) * 2008-12-18 2012-09-13 Hewlett-Packard Development Co., L.P. System and method for booting a computer system using preboot data
US9311486B2 (en) * 2013-08-13 2016-04-12 American Megatrends, Inc. Network based firmware feature configuration and firmware image generation
CN104375925B (en) * 2014-11-25 2017-08-08 新华三技术有限公司 Control method for fan, control device and the server of server
US9965270B2 (en) * 2015-07-01 2018-05-08 Quanta Computer Inc. Updating computer firmware
TWI602121B (en) * 2015-07-30 2017-10-11 神雲科技股份有限公司 Technology for updating a server image file
CN105589712B (en) * 2015-08-24 2019-09-06 新华三信息技术有限公司 BMC module update method and device
US10127032B2 (en) * 2015-11-05 2018-11-13 Quanta Computer Inc. System and method for unified firmware management
US10331434B2 (en) * 2016-12-21 2019-06-25 Quanta Computer Inc. System and method for remotely updating firmware

Cited By (3)

* 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
TWI758013B (en) * 2020-12-15 2022-03-11 技嘉科技股份有限公司 Baseboard management control system, electronic device and baseboard management control method

Also Published As

Publication number Publication date
TWI685790B (en) 2020-02-21

Similar Documents

Publication Publication Date Title
TWI655582B (en) Server with dual firmware storage space and firmware update method thereof
TWI602124B (en) Substrate management controller firmware update method for fan speed control
CN106445728B (en) computer system
US20170228228A1 (en) Remote launch of deploy utility
US11194588B2 (en) Information handling systems and method to provide secure shared memory access at OS runtime
CN106557344A (en) Computer readable medium, server and method for automatically installing system software
WO2023147748A1 (en) Method and apparatus for initializing smart network interface card by server, device, and medium
TW200813837A (en) A chipset-independent method for locally and remotely updating and configuring system BIOS
JP6387581B2 (en) Server data port to learn with data switch
TWI602121B (en) Technology for updating a server image file
TWI505078B (en) System management controller, computer system and method of system management
CN119861985B (en) Server startup method, device, storage medium and program product
TW201546714A (en) Computer system and method for setting BIOS
TW201015437A (en) Mother board system, storage device for booting up thereof and connector
TW201944239A (en) Server and method for restoring a baseboard management controller automatically
TWI685790B (en) Server device and method for instantly changing firmware configuration thereof
JP5316432B2 (en) Network controller control method, program, and information processing apparatus
US10198270B2 (en) Dynamic hardware configuration via firmware interface at computing device boot
CN110413320B (en) Server device and method for changing firmware setting in real time
TW201445446A (en) System and method of boot configuration of cabinet server
TW201514720A (en) A server system
CN109684153B (en) Server with double firmware storage spaces and firmware updating method thereof
TWI839136B (en) Firmware update method for downstream devices of bmc
CN115658106B (en) BIOS updating method and device, electronic equipment and storage medium
CN113778474A (en) Upgrading method, device, equipment and storage medium

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees