TWI685790B - 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
TWI685790B
TWI685790B TW107109182A TW107109182A TWI685790B TW I685790 B TWI685790 B TW I685790B TW 107109182 A TW107109182 A TW 107109182A TW 107109182 A TW107109182 A TW 107109182A TW I685790 B TWI685790 B TW I685790B
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
TW201939274A (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

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

A server device and a method for instantly changing firmware configurations thereof are provided. The method includes configuring a first firmware configuration by a BMC in a boot up process of the server device according to a first firmware configuration parameter, transmitting a second firmware configuration parameter different from the first firmware configuration parameter to the BMC by a central process unit in the boot up process after the BMC configuring the first firmware configuration by the first firmware configuration parameter, controlling the BMC reset by the central process unit after transmitting the second firmware configuration parameter to the BMC, and after being reset, the BMC configuring the first firmware configuration in the boot up process again according to the second firmware configuration parameter.

Description

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

本案是關於一種伺服器裝置,且特別是具有即時變更其韌體設定功能之伺服器裝置。This case relates to a server device, and in particular a server device with a 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 generally includes multiple different control elements such as a baseboard controller (BMC) and a basic input output system (BIOS), and 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 power-on self-test (POST) process. Similarly, the CPU also provides and controls the servo by executing the BIOS program and configuring the BIOS firmware The device corresponds to the BIOS firmware setting function. Generally, the BMC and the CPU can provide and control the same function of the server by executing the BMC firmware and the BIOS firmware and respectively matching the corresponding firmware settings. However, because the BMC and CPU are configured with different firmware settings of the BMC and BIOS firmware to provide and control the same function of the server, and the BMC and BIOS firmware settings are stored in different components, and the BMC and CPU are The control time for providing and controlling the same function on the server is not the same. Furthermore, the firmware settings of the BMC and BIOS can be changed at different times, which may easily cause control after the server is powered on. The problem that the firmware of the same function is set in different control time is inconsistent.

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

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

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

圖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 board management control unit 11 is used to configure a firmware setting of the server device 1 (hereinafter referred to as the first firmware setting) in a boot initialization procedure of the server device 1, and the central processing unit 12 can control the board 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的韌體設定變更搭配不同的韌體設定參數。In detail, please refer to FIG. 1 and FIG. 2 together. After the server device 1 is started, the server device 1 enters the power-on initialization procedure, the baseboard management control unit 11 starts, and the baseboard management control unit 11 first performs a The firmware setting parameters (for convenience of description, hereinafter referred to as first firmware setting parameters) configure the first firmware setting (step S01). Then, the central processing unit 12 is started, and the central processing unit 12 sends another firmware setting parameter (hereinafter referred to as the following firmware setting parameter) in the same boot initialization procedure after the substrate management control unit 11 configures the first firmware setting Set parameters for the second firmware) to the substrate management control unit 11 (step S02). Then, the central processing unit 12 controls the substrate management control unit 11 to reset in the same boot initialization procedure (step S03), and the substrate management control unit 11 performs the same boot initialization procedure in the server device 1 after the reset according to the second firmware Set the parameters to reconfigure the configured first firmware settings (step S04). Therefore, the board management control unit 11 can change the first firmware setting according to different firmware setting parameters in the same boot initialization procedure. The board management control unit 11 does not need to wait until the server device 1 completes the initial enabling process Perform the cold reset or multiple warm resets before the changed first firmware settings take effect, which can reduce the need to wait for the initial initialization process 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 settings of the baseboard management control unit 11 through the central processing unit 12 in the boot initialization process. The firmware setting parameters.

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

在一實施例中,中央處理單元12在步驟S02中可藉由一智慧平台管理介面(Intelligent Platform Management Interface;IPMI)發送第二韌體設定參數給基板管理控制單元11,並在步驟S03中亦可藉由前述之智慧平台管理介面控制基板管理控制單元11重置。並且,基板管理控制單元11具有屬於低腳位數(Low Pin Count;LPC)匯流排之一重置腳位,中央處理單元12可藉由屬於低腳位數匯流排之重置腳位控制基板管理控制單元11進行軟重置(soft reset)。In one embodiment, the central processing unit 12 can send the second firmware setting parameter to the substrate management control unit 11 through an Intelligent Platform Management Interface (IPMI) in step S02, and also in step S03 The substrate management control unit 11 can be reset by the aforementioned smart platform management interface. Moreover, the board management control unit 11 has a reset pin belonging to one of Low Pin Count (LPC) buses, and the central processing unit 12 can control the board through the reset pin belonging to a low pin number 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 one embodiment, the server device 1 further includes a BIOS memory 14, which is coupled to the central processing unit 12, and the BIOS memory 14 stores the second parameter that has been changed from the first firmware setting parameter to the foregoing For 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 in the boot initialization process. One firmware setting parameter is changed to the aforementioned second firmware setting parameter. The server device 1 receives a modification command of the BIOS setting of the server device 1 through an input interface, and then the user 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, and the central processing unit 12 reads the BIOS memory 14 again in step S02 to obtain the first 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, which is a flowchart of another embodiment of the method for instantaneously changing firmware settings according to the present invention, because the startup time of the central processing unit 12 in the boot initialization process is later than the substrate management control After the startup time of the unit 11, the central processing unit 12 determines that the second firmware setting corresponding to the first firmware setting matches the corresponding firmware configuration after the substrate management control unit 11 configures the first firmware setting according to the first firmware setting parameter Whether the first firmware setting parameter is changed (step S05). If the corresponding first firmware setting parameter matched with the second firmware setting has not been changed (determined as "No"), the central processing unit 12 continues to perform other boot initialization procedures (step S06) without performing 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 setting the parameters of the second firmware, the central processing unit 12 executes steps S02 and S03 to send the changed second firmware setting parameters to the board management control unit 11 without resetting or shutting down the server device 1 In the restarting state, only the baseboard management control unit 11 is controlled to be reset, that is, the baseboard management control unit 11 is reset in the same power-on initialization procedure, and the reset baseboard management control unit 11 will be based on the same power-on initialization procedure. After the change, the latest second firmware configuration parameter configures the first firmware setting of the server device 1, and then reaches the initial initialization process of the server device 1, when the central processing unit 12 is used to configure the first firmware setting The first firmware setting parameter set by the second firmware is changed to the second firmware setting parameter, and then triggers the substrate management control unit 11 to also change the first firmware setting parameter used to configure the first firmware setting to The second firmware setting parameters, so that the board management control unit 11 also configures the first firmware settings of the server device 1 with the second firmware setting parameters, and the central processing unit 12 sends the board management control unit 11 for The second firmware setting parameter corresponding to the firmware setting of the baseboard management control unit 11 is changed 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 by the aforementioned BIOS setting The matched first firmware setting parameter is modified to the second firmware setting parameter. In step S05, the central processing unit 12 determines the first firmware setting stored in the BIOS memory corresponding to the second firmware setting. 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 Corresponding to the display function of the manufacturer information of the server device 1, the aforementioned first firmware setting parameters and second firmware setting parameters are the BMC firmware setting parameters and the firmware setting parameters 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. Based on this, as shown in FIG. 1, the server device 1 further includes a display unit 13 coupled to the substrate management control unit 11. The substrate management control unit 11 can control the display unit 13 to display a manufacturer's information. In step S01, the board management control unit 11 can control the display unit 13 to display the manufacturer information corresponding to the first firmware setting parameter (hereinafter referred to as the first manufacturer information) according to the first firmware setting parameter, and after resetting In step S04, the display unit 1 is controlled according to the second firmware setting parameters sent by the central processing unit 12 to display another manufacturer's information corresponding to the second firmware setting parameters and different from the first manufacturer's information (hereinafter referred to as the second manufacturer's information) News). Therefore, the user of the server device 1 can change the firmware setting parameter of the BIOS code of the server device 1, that is, the BIOS setting, to change in real time by the central processing unit 12 in the power-on initialization procedure by the baseboard management control unit 11 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 own 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 an implementation aspect of one of the methods for real-time changing firmware settings shown in FIG. 3. After the server device 1 is started, the server device 1 enters In the power-on 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 parameters (step S07), and the second manufacturer information is not the same as the first manufacturer information, so the central processing unit 12 displays the first After the information of the two manufacturers, it will be judged 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 board management control unit 11 (step S02), and the board management control unit 11 Immediately after the server device 1 resets in the same boot initialization procedure, the substrate management control unit 11 controls the display unit 13 to display the second manufacturer information (step S041), causing the display unit 13 to display consistent manufacturer information.

在一實施例中,顯示單元13之顯示介面可為VGA介面、DVI介面或HDMI介面。並且,顯示單元13所顯示之廠商資訊可為伺服器裝置1之品牌資訊,或是伺服器裝置1之製造商之品牌資訊,例如其品牌標誌(logo)。In an embodiment, the display interface of the display unit 13 may be a VGA interface, a DVI interface or an HDMI interface. Moreover, 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 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 static Internet Protocol Address setting functions that are correspondingly 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 corresponding to the static internet protocol address settings. Based on this, in the boot-up initialization process of the server device 1, the board management control unit 11 first sets its static internet protocol address according to the first firmware setting parameter with the first static internet protocol bit in step S01 Address, the central processing unit 12 then sends the second firmware setting parameters to the board management control unit 11 in step S02, so that the board management control unit 11 is reset after the server device 1 performs the same boot initialization procedure Set its static internet protocol address to have the second static internet protocol address. Finally, the baseboard management and control unit 11 can send the second static Internet protocol address to other units in the server device 1 by broadcast, 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 through the central processing unit 12 in the startup initialization process of the server device 1.

綜上所述,根據本發明之伺服器裝置及其即時變更韌體設定的方法之一實施例,中央處理單元能在伺服器裝置進行開機初始化程序中變更韌體設定所搭配的韌體參數並控制基板管理控制單元在伺服器裝置進行同一開機初始化程序中重置,使受控於基板管理控制單元的韌體設定所搭配的韌體參數之變更能立即地生效,不需要等到伺服器裝置進行冷重置或是進行多次之暖重置而在伺服器裝置進行另一開機初始化程序之後才讓變更後的韌體設定生效,如此可減少為了變更韌體設定而對伺服器裝置進行重置之等待時間。To sum up, according to an embodiment of the server device and the method for real-time changing firmware settings of the present invention, the central processing unit can change the firmware parameters matched with the firmware settings during the boot initialization process of the server device and The control board management control unit is reset in the same startup initialization process of the server device, so that the firmware parameter matching of 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 are performed after the server device performs another boot initialization process before the changed firmware settings take effect, which can reduce the need to reset the server device in order to change the firmware settings Waiting time.

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

1‧‧‧伺服器裝置11‧‧‧基板管理控制單元12‧‧‧中央處理單元13‧‧‧顯示單元14‧‧‧BIOS記憶體S01-S07‧‧‧步驟S011‧‧‧步驟S041‧‧‧步驟1‧‧‧Server device 11‧‧‧Baseboard management control unit 12‧‧‧Central processing unit 13‧‧‧Display unit 14‧‧‧ BIOS memory S01-S07‧‧‧step S011‧‧‧step S041‧‧ ‧step

[圖1]為根據本發明之伺服器裝置之一實施例之一方塊示意圖。 [圖2]為根據本發明之即時變更韌體設定的方法之一實施例之流程圖。 [圖3]為根據本發明之即時變更韌體設定的方法之另一實施例之流程圖。 [圖4]為圖3所示例之即時變更韌體設定的方法之一實施態樣之流程圖。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. [FIG. 3] It is a flowchart of another embodiment of a method for instantly changing firmware settings according to the present invention. [FIG. 4] It is a flowchart of an implementation aspect of the method for instantaneously changing firmware settings shown in FIG. 3.

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

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

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

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

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

Claims (7)

一種伺服器裝置,包含:一基板管理控制單元,用以於該伺服器裝置進行一開機初始化程序中根據一第一韌體設定參數配置該伺服器裝置之一第一韌體設定;一中央處理單元,用以於該基板管理控制單元配置該第一韌體設定之後在該開機初始化程序中發送不同於該第一韌體設定參數之一第二韌體設定參數給該基板管理控制單元,且該中央處理單元控制該基板管理控制單元於該開機初始化程序中進行軟重置,以致使該基板管理控制單元於軟重置之後在該開機初始化程序中根據該第二韌體設定參數重新配置該第一韌體設定;及一顯示單元,用以於該基板管理控制單元根據該第一韌體設定參數配置該第一韌體設定時受控於該基板管理控制單元而顯示相應於該第一韌體設定參數之一第一廠商資訊,且該顯示單元於該基板管理控制單元根據該第二韌體設定參數重新配置該第一韌體設定時受控於該基板管理控制單元而顯示相應於該第二韌體設定參數而不同於該第一廠商資訊之一第二廠商資訊;其中,該中央處理單元於該基板管理控制單元控制該顯示單元顯示該第一廠商資訊之後更根據該第二韌體設定參數控制該顯示單元顯示該第二廠商資訊,並於該顯示單元顯示該第二廠商資訊之後發送該第二韌體設定參數給該基板管理控制單元。 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 startup initialization process of the server device; a central processing A unit for sending a second firmware setting parameter different from the first firmware setting parameter to the substrate management control unit in the boot initialization process after the substrate management control unit configures the first firmware setting, and The central processing unit controls the baseboard management control unit to perform a soft reset in the boot initialization procedure, so that the baseboard management control unit reconfigures the second firmware setting parameter in the boot initialization procedure after the soft reset A first firmware setting; and a display unit for controlling the substrate management control unit to display corresponding to the first when the substrate management control unit configures the first firmware setting according to the first firmware setting parameters One of the first manufacturer information of the firmware setting parameter, and the display unit is controlled by the substrate management control unit when the substrate management control unit reconfigures the first firmware setting according to the second firmware setting parameter and displays the corresponding The second firmware setting parameter is different from the second manufacturer information of the first manufacturer information; wherein, the central processing unit controls the display unit to display the first manufacturer information after the substrate management control unit displays the second manufacturer information The firmware setting parameters control the display unit to display the second manufacturer information, and send the second firmware setting parameters to the substrate management control unit after the display unit displays the second manufacturer information. 如請求項1所述之伺服器裝置,更包含: 一BIOS記憶體,儲存有相應該第一韌體設定之一第二韌體設定所搭配之該第一韌體設定參數與該第二韌體設定參數其中一者;其中,該中央處理單元係於該開機初始化程序中判斷該第二韌體設定所搭配之該第一韌體設定參數是否已被改變為不同於該第一韌體設定參數之該第二韌體設定參數,當該第二韌體設定所搭配的該第一韌體設定參數改變為不同於該第一韌體設定參數之該第二韌體設定參數時,該中央處理單元發送該第二韌體設定參數給該基板管理控制單元。 The server device as described in claim 1 further includes: A BIOS memory storing one of the first firmware setting parameter and the second firmware setting parameter matched with a second firmware setting corresponding to the first firmware setting; wherein, the central processing unit is In the boot initialization process, it is determined whether the first firmware setting parameter matched with the second firmware setting has been changed to the second firmware setting parameter different from the first firmware setting parameter, when the second When the first firmware setting parameter matched with the 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. 如請求項2所述之伺服器裝置,其中該第一韌體設定及該第二韌體設定係為用以連線於該基板管理控制單元之靜態網際網路協定位址設定,該第一韌體設定參數及該第二韌體設定參數係為不相同之兩靜態網際網路協定位址。 The server device according to claim 2, 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 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 is suitable for a server device. The method includes: configuring the server device according to a first firmware setting parameter in a boot initialization process of the server device through a substrate management control unit A first firmware setting to control a display unit to display first manufacturer information corresponding to the first firmware setting parameters; after displaying the first manufacturer information on the display unit through a central processing unit One of the firmware setting parameters, the second firmware setting parameter controls the display unit to display second manufacturer information corresponding to the second firmware setting parameter, the second manufacturer information is different from the first manufacturer information; the central processing The unit sends the second firmware setting parameter to the substrate management control unit in the boot initialization procedure after the substrate management control unit configures the first firmware setting; The central processing unit controls the substrate management control unit to perform a soft reset in the boot initialization process after sending the second firmware setting parameter to the substrate management control unit; and the substrate management control unit is in the During the power-on initialization process, the first firmware setting is reconfigured according to the second firmware setting parameter to control the display unit to display the second manufacturer information corresponding to the second firmware setting parameter. 如請求項4所述之即時變更韌體設定的方法,於該中央處理單元發送該第二韌體設定參數給該基板管理控制單元之前,該即時變更韌體設定的方法更包含:該中央處理單元於該開機初始化程序中判斷儲存於一BIOS碼之相應於該第一韌體設定之一第二韌體設定所搭配之該第一韌體設定參數是否已被改變為不同於該第一韌體設定參數之該第二韌體設定參數;及當該第二韌體設定所搭配的該第一韌體設定參數改變為不同於該第一韌體設定參數之該第二韌體設定參數時,該中央處理單元始發送該第二韌體設定參數給該基板管理控制單元。 As described in claim 4, the method for changing the firmware setting in real time before the central processing unit sends the second firmware setting parameter to the substrate management control unit, the method for changing the firmware setting in real time further includes: the central processing The unit determines whether the first firmware setting parameter matched with a second firmware setting corresponding to the first firmware setting stored in a BIOS code has been changed from the first firmware during the boot initialization procedure The second firmware configuration parameter of the firmware configuration parameter; and when the first firmware configuration parameter matched with the second firmware configuration changes to the second firmware configuration parameter different from the first firmware configuration parameter , The central processing unit initially sends the second firmware setting parameter to the substrate management control unit. 如請求項5所述之即時變更韌體設定的方法,其中該第一韌體設定及該第二韌體設定係為用以連線於該基板管理控制單元之靜態網際網路協定位址設定,該第一韌體設定參數及該第二韌體設定參數係為不相同之兩靜態網際網路協定位址。 The method for changing firmware settings in real time as described in claim 5, 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. 一種即時變更韌體設定的方法,適於一伺服器裝置,該方法包含: 經由一基板管理控制單元在該伺服器裝置進行一開機初始化程序中根據一第一韌體設定參數配置該伺服器裝置之一第一韌體設定而控制一硬體單元執行相應於該第一韌體設定參數之一第一功能;經由一中央處理單元於該硬體單元執行該第一功能之後根據不同於該第一韌體設定參數之一第二韌體設定參數控制該硬體單元執行相應於該第二韌體設定參數之一第二功能,該第二功能不同於該第一功能;該中央處理單元於該基板管理控制單元配置該第一韌體設定之後在該開機初始化程序中發送該第二韌體設定參數給該基板管理控制單元;該中央處理單元於發送該第二韌體設定參數給該基板管理控制單元之後控制該基板管理控制單元於該開機初始化程序中進行軟重置;及該基板管理控制單元於軟重置之後在該開機初始化程序中根據該第二韌體設定參數重新配置該第一韌體設定以控制該硬體單元執行相應於該第二韌體設定參數之該第二功能。 A method for changing firmware settings in real time is suitable for a server device. The method includes: A first firmware setting of the server device is configured according to a first firmware setting parameter in a boot initialization process of the server device through a baseboard management control unit to control a hardware unit to execute the corresponding first firmware One of the first functions of the firmware setting parameter; after the first function is executed by the hardware unit through a central processing unit, the hardware unit is controlled to execute the corresponding function according to a second firmware setting parameter different from the first firmware setting parameter Set a second function of the parameter in the second firmware, the second function is different from the first function; the central processing unit sends the first firmware setting after the baseboard management control unit configures the first firmware setting in the boot initialization procedure The second firmware setting parameter is sent to the substrate management control unit; the central processing unit controls the substrate management control unit to perform a soft reset in the boot initialization process after sending the second firmware setting parameter to the substrate management control unit ; And the baseboard management control unit reconfigures the first firmware setting according to the second firmware setting parameter in the boot initialization procedure after the soft reset to control the hardware unit to execute the setting parameter corresponding to the second firmware The second function.
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 TW201939274A (en) 2019-10-01
TWI685790B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070169088A1 (en) * 2006-01-13 2007-07-19 Dell Products, L.P. Automatic firmware corruption recovery and update
TW201032134A (en) * 2008-12-18 2010-09-01 Hewlett Packard Development Co System and method for booting a computer system using preboot data
US20150052596A1 (en) * 2013-08-13 2015-02-19 American Megatrends, Inc. Network based firmware feature configuration and firmware image generation
CN104375925A (en) * 2014-11-25 2015-02-25 杭州华三通信技术有限公司 Method and device for controlling fan of server and server
CN105589712A (en) * 2015-08-24 2016-05-18 杭州昆海信息技术有限公司 BMC module updating method and apparatus
TW201702929A (en) * 2015-07-01 2017-01-16 廣達電腦股份有限公司 System, method and computer readable storage medium for updating computer firmware
TW201704994A (en) * 2015-07-30 2017-02-01 神雲科技股份有限公司 Technology for updating a server image file
TW201717001A (en) * 2015-11-05 2017-05-16 廣達電腦股份有限公司 Unified firmware managment system, non-transitory computer-readable storage medium and method for unified firmware managment
TWI612474B (en) * 2016-12-21 2018-01-21 廣達電腦股份有限公司 Computer-implemented methods, systems for automatically updating firmware of components of a server system in a datacenter and non-transitory computer-readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070169088A1 (en) * 2006-01-13 2007-07-19 Dell Products, L.P. Automatic firmware corruption recovery and update
TW201032134A (en) * 2008-12-18 2010-09-01 Hewlett Packard Development Co System and method for booting a computer system using preboot data
US20150052596A1 (en) * 2013-08-13 2015-02-19 American Megatrends, Inc. Network based firmware feature configuration and firmware image generation
CN104375925A (en) * 2014-11-25 2015-02-25 杭州华三通信技术有限公司 Method and device for controlling fan of server and server
TW201702929A (en) * 2015-07-01 2017-01-16 廣達電腦股份有限公司 System, method and computer readable storage medium for updating computer firmware
TW201704994A (en) * 2015-07-30 2017-02-01 神雲科技股份有限公司 Technology for updating a server image file
CN105589712A (en) * 2015-08-24 2016-05-18 杭州昆海信息技术有限公司 BMC module updating method and apparatus
TW201717001A (en) * 2015-11-05 2017-05-16 廣達電腦股份有限公司 Unified firmware managment system, non-transitory computer-readable storage medium and method for unified firmware managment
TWI612474B (en) * 2016-12-21 2018-01-21 廣達電腦股份有限公司 Computer-implemented methods, systems for automatically updating firmware of components of a server system in a datacenter and non-transitory computer-readable storage medium

Also Published As

Publication number Publication date
TW201939274A (en) 2019-10-01

Similar Documents

Publication Publication Date Title
US10162646B2 (en) System for programmably configuring a motherboard
TWI602124B (en) Baseboard Management Controller Firmware Updating Method For Fan Speed Control
TWI655582B (en) Server with dual firmware storage space and firmware update method thereof
US20170228228A1 (en) Remote launch of deploy utility
WO2016091033A1 (en) Method and server for presenting initialization degree of hardware in server
TWI633487B (en) Method and computer system for automatically recovering the bios image file
US9632806B1 (en) Remote platform configuration
TWI602121B (en) Technology for updating a server image file
TW200813837A (en) A chipset-independent method for locally and remotely updating and configuring system BIOS
EP2750034B1 (en) Electronic device having updatable bios and bios updating method thereof
TWI685790B (en) Server device and method for instantly changing firmware configuration thereof
TW201546714A (en) Computer system and method for setting BIOS
WO2023147748A1 (en) Method and apparatus for initializing smart network interface card by server, device, and medium
WO2014101514A1 (en) Method for obtaining resource information of server, resource pool management system and server
TWI505078B (en) System management controller, computer system and method of system management
TW201944239A (en) Server and method for restoring a baseboard management controller automatically
JP2011150431A (en) Method for controlling network controller, program and information processing apparatus
CN110413320B (en) Server device and method for changing firmware setting in real time
CN106775590B (en) Method for updating BIOS (basic input/output system) firmware of mainboard by BMC (baseboard management controller)
US10198270B2 (en) Dynamic hardware configuration via firmware interface at computing device boot
US20230133270A1 (en) Bios updates
CN106484442B (en) Server system and method for updating startup mapping file
TW201445446A (en) System and method of boot configuration of cabinet server
CN109684153B (en) Server with double firmware storage spaces and firmware updating method thereof
TWI534609B (en) Automatic scanning and repair method for electronic devices