[go: up one dir, main page]

CN110413320B - Server device and method for changing firmware setting in real time - Google Patents

Server device and method for changing firmware setting in real time Download PDF

Info

Publication number
CN110413320B
CN110413320B CN201810376000.XA CN201810376000A CN110413320B CN 110413320 B CN110413320 B CN 110413320B CN 201810376000 A CN201810376000 A CN 201810376000A CN 110413320 B CN110413320 B CN 110413320B
Authority
CN
China
Prior art keywords
firmware
firmware setting
control unit
management control
baseboard management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201810376000.XA
Other languages
Chinese (zh)
Other versions
CN110413320A (en
Inventor
林宽万
李棋安
陈民峰
黄博文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huanda Computer Shanghai Co Ltd
Mitac Computing Technology Corp
Original Assignee
Huanda Computer Shanghai Co Ltd
Mitac Computing Technology Corp
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 Huanda Computer Shanghai Co Ltd, Mitac Computing Technology Corp filed Critical Huanda Computer Shanghai Co Ltd
Priority to CN201810376000.XA priority Critical patent/CN110413320B/en
Publication of CN110413320A publication Critical patent/CN110413320A/en
Application granted granted Critical
Publication of CN110413320B publication Critical patent/CN110413320B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

本发明提供一种服务器装置及其实时变更韧体设定的方法,所述方法包含:经由一基板管理控制单元在前述的服务器装置进行一开机初始化程序中根据一第一韧体设定参数配置服务器装置的一韧体设定、经由一中央处理单元于基板管理控制单元配置韧体设定之后在开机初始化程序中发送不同于第一韧体设定参数的一第二韧体设定参数给基板管理控制单元、中央处理单元于发送第二韧体设定参数给基板管理控制单元之后控制基板管理控制单元于开机初始化程序中重置、以及基板管理控制单元于重置之后在开机初始化程序中根据第二韧体设定参数重新配置韧体设定。

Figure 201810376000

The present invention provides a server device and a method for changing firmware settings in real time. The method includes: performing a boot-up initialization procedure of the server device through a baseboard management control unit according to a first firmware setting parameter configuration A firmware setting of the server device, after configuring the firmware setting in the baseboard management control unit via a central processing unit, sends a second firmware setting parameter different from the first firmware setting parameter to the power-on initialization procedure. The baseboard management control unit and the central processing unit control the baseboard management control unit to reset in the power-on initialization process after sending the second firmware setting parameters to the baseboard management control unit, and the baseboard management control unit in the power-on initialization process after the reset Reconfigure the firmware settings according to the second firmware setting parameters.

Figure 201810376000

Description

服务器装置及其实时变更韧体设定的方法Server device and method for changing firmware settings in real time

【技术领域】【Technical field】

本发明是一种服务器装置,且特别是具有实时变更其韧体设定功能的服务器装置。The present invention is a server device, especially a server device having the function of changing its firmware settings in real time.

【背景技术】【Background technique】

一般来说,一台服务器一般包含基板控制器(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 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, the BMC first executes the BMC firmware. The server starts to operate according to the firmware settings of the BMC and provides and controls the functions of the server corresponding to the settings of the BMC firmware until the mainboard of the server receives the power on command, and the central processing unit ( CPU) will start the boot process by executing the BIOS program, that is, the power-on self-test (POST) process. Similarly, the CPU also provides and controls the server response by executing the BIOS program and matching the BIOS firmware settings. Regarding the functions set by the BIOS firmware, 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 respectively and matching the corresponding firmware settings respectively. However, since the BMC and CPU are configured with different firmware settings of the BMC and BIOS firmware respectively to provide and control the same functions of the server, the BMC and BIOS firmware settings are stored in different components, and the BMC and BIOS firmware settings are stored in different components. The CPU provides and controls the same function on the server and the control time is different. Furthermore, the firmware settings of the BMC and BIOS can be changed at different times respectively. The problem of inconsistency in the control of the firmware that controls the same function is set at different control times.

【发明内容】[Content of the invention]

本发明要解决的技术问题是在于提供一种能够控制相同功能的韧体设定在不同的控制时间的控制一致的服务器装置及其实时变更韧体设定的方法。The technical problem to be solved by the present invention is to provide a server device capable of controlling the firmware settings of the same function at different control times with consistent control and a method for changing the firmware settings in real time.

为解决上述技术问题,一种服务器装置包含基板管理控制单元及中央处理单元。基板管理控制单元用以于前述的服务器装置进行一开机初始化程序中根据第一韧体设定参数配置服务器装置的一第一韧体设定。中央处理单元用以于基板管理控制单元配置第一韧体设定之后在前述的同一开机初始化程序中发送不同于第一韧体设定参数的一第二韧体设定参数给基板管理控制单元,且中央处理单元控制基板管理控制单元于同一开机初始化程序中重置,以致使基板管理控制单元于重置之后在同一开机初始化程序中根据第二韧体设定参数重新配置第一韧体设定。To solve the above technical problems, a server device includes a baseboard management control unit and a central processing unit. The baseboard management control unit is used for configuring a first firmware setting of the server device according to the first firmware setting parameters during a boot-up initialization procedure of the aforementioned server device. The central processing unit is used for sending a second firmware setting parameter different from the first firmware setting parameter to the baseboard management control unit in the same boot initialization procedure after the baseboard management control unit configures the first firmware setting , and the central processing unit controls the baseboard management control unit to reset in the same boot initialization process, so that the baseboard management control unit reconfigures the first firmware device according to the second firmware setting parameters in the same boot initialization process after the reset Certainly.

为解决上述技术问题,一种适于一服务器装置的实时变更韧体设定的方法包含:经由一基板管理控制单元在前述的服务器装置进行一开机初始化程序中根据一第一韧体设定参数配置服务器装置的一第一韧体设定、经由一中央处理单元于基板管理控制单元配置第一韧体设定之后在前述的同一开机初始化程序中发送不同于第一韧体设定参数的一第二韧体设定参数给基板管理控制单元、中央处理单元于发送第二韧体设定参数给基板管理控制单元之后控制基板管理控制单元于同一开机初始化程序中重置、以及基板管理控制单元于重置之后在同一开机初始化程序中根据第二韧体设定参数重新配置第一韧体设定。In order to solve the above-mentioned technical problem, a method for real-time changing firmware settings suitable for a server device includes: setting parameters according to a first firmware during a boot-up initialization procedure of the aforementioned server device via a baseboard management control unit Configuring a first firmware setting of the server device, sending a parameter different from the first firmware setting parameter in the same boot initialization procedure after configuring the first firmware setting in the baseboard management control unit via a central processing unit The second firmware setting parameters are sent to the baseboard management control unit, the central processing unit controls the baseboard management control unit to reset in the same boot initialization procedure after sending the second firmware setting parameters to the baseboard management control unit, and the baseboard management control unit The first firmware settings are reconfigured according to the second firmware setting parameters in the same boot initialization procedure after the reset.

相较于现有技术,本发明服务器装置及其实时变更韧体设定的方法,根据本发明的服务器装置及其实时变更韧体设定的方法的一实施例,中央处理单元能在服务器装置进行开机初始化程序中变更韧体设定所搭配的韧体参数并控制基板管理控制单元在服务器装置进行同一开机初始化程序中重置,使受控于基板管理控制单元的韧体设定所搭配的韧体参数的变更能立即地生效,不需要等到服务器装置进行冷重置或是进行多次的暖重置而在服务器装置进行另一开机初始化程序之后才让变更后的韧体设定生效,如此可减少为了变更韧体设定而对服务器装置进行重置的等待时间。Compared with the prior art, the server device and the method for changing firmware settings in real time of the present invention, according to an embodiment of the server device and the method for changing firmware settings in real time of the present invention, the central processing unit can Change the firmware parameters matched with the firmware settings in the boot initialization procedure and control the baseboard management control unit to reset in the same boot initialization procedure of the server device, so that the firmware settings controlled by the baseboard management control unit are matched. Changes to firmware parameters can take effect immediately. There is no need to wait for the server device to perform a cold reset or perform multiple warm resets, and the changed firmware settings take effect after the server device performs another boot initialization process. This reduces the waiting time for resetting the server device to change firmware settings.

【附图说明】【Description of drawings】

图1为根据本发明的服务器装置的一实施例的一方块示意图。FIG. 1 is a schematic block diagram of an embodiment of a server device according to the present invention.

图2为根据本发明的实时变更韧体设定的方法的一实施例的流程图。FIG. 2 is a flowchart of an embodiment of a method for changing firmware settings in real time according to the present invention.

图3为根据本发明的实时变更韧体设定的方法的另一实施例的流程图。FIG. 3 is a flowchart of another embodiment of a method for changing firmware settings in real time according to the present invention.

图4为图3所示例的实时变更韧体设定的方法的一实施态样的流程图。FIG. 4 is a flowchart of an embodiment of the method for changing firmware settings in real time as illustrated in FIG. 3 .

【具体实施方式】【Detailed ways】

请参阅图1所示,服务器装置1包含基板管理控制单元11及中央处理单元12,基板管理控制单元11耦接于中央处理单元12。基板管理控制单元11用以在服务器装置1的一开机初始化程序中配置服务器装置1的一韧体设定(以下称为第一韧体设定),中央处理单元12能实时地控制基板管理控制单元11在同一开机初始化程序中重新配置前述的第一韧体设定。Referring to FIG. 1 , the server device 1 includes a baseboard management control unit 11 and a central processing unit 12 , and the baseboard management control unit 11 is coupled to the central processing unit 12 . The baseboard management control unit 11 is used to configure a firmware setting (hereinafter referred to as the first firmware setting) of the server apparatus 1 in a boot-up initialization procedure of the server apparatus 1 , and the central processing unit 12 can control the baseboard management control in real time The unit 11 reconfigures the aforementioned first firmware settings 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 boot-up initialization process, the baseboard management control unit 11 is started, and the baseboard management control unit 11 first performs a boot-up initialization process according to a The firmware setting parameter (hereinafter referred to as the first firmware setting parameter for convenience of description) configures the first firmware setting (step S01 ). Next, the central processing unit 12 is activated, and the central processing unit 12 sends another firmware setting parameter different from the first firmware setting parameter in the same boot initialization procedure after the baseboard management control unit 11 configures the first firmware setting (hereinafter referred to as the second firmware setting parameter) to the baseboard management control unit 11 (step S02 ). Next, the central processing unit 12 controls the baseboard management control unit 11 to reset in the same power-on initialization process (step S03 ). After the reset, the baseboard management control unit 11 performs the same power-on initialization process on the server device 1 according to the second firmware configuration. Reconfigure the configured first firmware settings by setting parameters (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-up initialization process, and the baseboard management control unit 11 does not need to wait until the server device 1 completes the initialization process Then perform a cold reset or multiple warm resets before the changed first firmware setting takes effect, which can reduce the need to wait for changing the firmware setting parameters corresponding to the first firmware setting The waiting time for resetting the server device 1 after the initialization process is completed, 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 during the boot initialization process Change and match different firmware setting parameters.

于本实施例中,前述的第一韧体设定参数至少包含一参数值,也就是第一韧体设定参数可包含单一参数值或是复数参数值,且第二韧体设定参数亦至少包含一参数值,也就是第二韧体设定参数亦可包含单一参数值或是复数参数值。在中央处理单元12将包含单一参数值或是复数参数值的第二韧体设定参数发送给基板管理控制单元11之后,基板管理控制单元11即与中央处理单元12具有相同的韧体设定参数。In this 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 parameter value is included, that is, the second firmware setting parameter can 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 baseboard management control unit 11 , the baseboard management control unit 11 and the central processing unit 12 have the same firmware setting parameter.

于本实施例中,中央处理单元12在步骤S02中可藉由一智慧平台管理界面(Intelligent Platform Management Interface;IPMI)发送第二韧体设定参数给基板管理控制单元11,并在步骤S03中亦可藉由前述的智慧平台管理界面控制基板管理控制单元11重置。并且,基板管理控制单元11具有属于低脚位数(Low Pin Count;LPC)总线的一重置脚位,中央处理单元12可藉由属于低脚位数总线的重置脚位控制基板管理控制单元11进行软重置(soft reset)。In this embodiment, the central processing unit 12 can send the second firmware setting parameters to the baseboard management control unit 11 through an intelligent platform management interface (Intelligent Platform Management Interface; IPMI) in step S02, and in step S03 The reset of the baseboard management control unit 11 can also be controlled through the aforementioned smart platform management interface. Moreover, the baseboard management control unit 11 has a reset pin belonging to the low pin count (LPC) bus, and the central processing unit 12 can control the baseboard management control through the reset pin belonging to the low pin count bus The 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 this embodiment, the server device 1 further includes a BIOS memory 14. The BIOS memory 14 is coupled to the central processing unit 12. The BIOS memory 14 stores data including parameters that have been changed from the first firmware to the aforementioned second firmware. The BIOS code of the setting parameters, the central processing unit 12 executes the aforementioned BIOS code, so as to configure the second firmware setting corresponding to the first firmware setting according to the second firmware setting parameter in the boot-up initialization procedure, wherein, by The first firmware setting parameter is changed to the above-mentioned second firmware setting parameter. 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 in step S02 to obtain the The second firmware sets the 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 flow chart of another embodiment of the method for changing firmware settings in real time according to the present invention, since the startup time of the central processing unit 12 in the boot initialization procedure is later than The startup time of the baseboard management control unit 11. After the baseboard management control unit 11 configures the first firmware setting according to the first firmware setting parameters, the central processing unit 12 will first determine the second firmware corresponding to the first firmware setting Whether the first firmware setting parameter corresponding to the firmware setting is changed (step S05 ). If the first firmware setting parameters corresponding to the second firmware setting have 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 other hand, if the parameter of the first firmware setting corresponding to the second firmware setting is changed (determined as "Yes"), and the second firmware setting is matched with the corresponding first firmware setting When the parameters are changed to the aforementioned second firmware setting parameters, the central processing unit 12 starts to execute steps S02 and S03 to send the changed second firmware setting parameters to the baseboard management control unit 11, and the server device 1. Only control the baseboard management control unit 11 to reset in the case of no reset or shutdown and restart, that is, control the baseboard management control unit 11 to reset in the same boot initialization process, and the reset baseboard management control unit 11 will be The first firmware setting of the server device 1 is configured according to the latest second firmware setting parameters after the change in the same boot-up initialization process, so that in the boot-up initialization process of the server device 1, when the central processing unit 12 is used to configure The first firmware setting parameter corresponding to the second firmware setting of the first firmware setting is changed to the second firmware setting parameter, and the baseboard management control unit 11 is triggered to also use it to configure the first firmware The first firmware setting parameter of the firmware setting is changed to the second firmware setting parameter, so that the baseboard 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 the second firmware setting parameter to the baseboard management control unit 11 for changing the second firmware setting parameter corresponding to the firmware setting of the baseboard management control unit 11 under the condition that the server device 1 does not reset or shut down and restart , that is, it can take effect in the same boot initialization procedure.

举例来说,若BIOS存储器14中原先储存有与第二韧体设定所搭配对应的第一韧体设定参数,若服务器装置1的使用者藉由前述的BIOS设定将第二韧体设定所搭配的第一韧体设定参数修改为第二韧体设定参数,中央处理单元12在步骤S05中会判断出储存在BIOS存储器中与第二韧体设定所搭配对应的第一韧体设定参数改变为第二韧体设定参数,此时中央处理单元12将改变后的第二韧体设定参数发送给基板管理控制单元11并控制基板管理控制单元11重置。For example, if the first firmware setting parameters corresponding to the second firmware setting are stored in the BIOS memory 14, if the user of the server device 1 uses the aforementioned BIOS setting to configure the second firmware The first firmware setting parameter matched with the setting is modified to the second firmware setting parameter, and the central processing unit 12 determines in step S05 the first firmware setting parameter stored in the BIOS memory and corresponding to the second firmware setting. A firmware setting parameter is changed to a second firmware setting parameter. At this time, the central processing unit 12 sends the changed second firmware setting parameter to the baseboard management control unit 11 and controls the baseboard 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 this embodiment, the aforementioned first firmware setting and second firmware setting are the BMC firmware setting and the firmware setting of the BIOS code executed by the CPU, respectively, and the first firmware setting and the first firmware setting are The second firmware setting is a display function corresponding to the manufacturer information of the server device 1, so the aforementioned first firmware setting parameters and second firmware setting parameters are executed for the BMC firmware setting parameters and the CPU respectively. The firmware setting parameter of the BIOS code is the display setting parameter corresponding to the display setting of the aforementioned manufacturer information. 1, the server device 1 further includes a display unit 13, the display unit 13 is coupled to the baseboard management control unit 11, and the baseboard management control unit 11 can control the display unit 13 to display a manufacturer information. In step S01 , the baseboard management control unit 11 can control the display unit 13 to display a manufacturer information (hereinafter referred to as the first manufacturer information) corresponding to the first firmware setting parameters according to the first firmware setting parameters, and reset the Then in step S04, the display unit 1 is controlled according to the second firmware setting parameter sent by the central processing unit 12 to display another manufacturer information (hereinafter referred to as the second firmware setting parameter, which is different from the first manufacturer information) corresponding to the second firmware setting parameter. information for the second manufacturer). 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, so as to change the control unit 11 by the baseboard management 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 baseboard management control unit 11 can control the display unit 13 to display the changed second manufacturer information after it is warmly 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, please refer to 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 in combination. FIG. 4 is a flowchart of an embodiment of the method for changing firmware settings in real time as illustrated in FIG. 3 . After the server device 1 is started, the server device 1 Entering the boot initialization procedure, since the startup time of the central processing unit 12 is later than the startup time of the baseboard management control unit 11, the central processing unit 12 controls the display unit 13 to display the first manufacturer information in the baseboard management control unit 11 in step S011 (step S011). S011) and then control the display unit 13 to display the second manufacturer information corresponding to the setting parameters of the second firmware (step S07), and the second manufacturer information is different from the first manufacturer information, so the central processing unit 12 controls the display unit 13 After displaying the second manufacturer information, 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 The baseboard management control unit 11 enables the baseboard management control unit 11 to control the display unit 13 to display the second manufacturer information (step S041 ) immediately after the server device 1 is reset in the same power-on initialization procedure, so that the display unit 13 displays consistent manufacturer information.

于本实施例中,显示单元13的显示界面可为VGA界面、DVI界面或HDMI界面。并且,显示单元13所显示的厂商信息可为服务器装置1的品牌信息,或是服务器装置1的制造商的品牌信息,例如其品牌标志(logo)。In this 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 by 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 (logo).

于本实施例中,前述的第一韧体设定及第二韧体设定是为相应连线于基板管理控制单元11的一静态网际网络协定位址的(Static Internet Protocol Address)设定功能,而第一韧体设定参数及第二韧体设定参数是为相应于静态网际网络协定位址设定的两静态网际网络协定位址。基此,在服务器装置1的开机初始化程序中,基板管理控制单元11在步骤S01中先根据第一韧体设定参数设定其静态网际网络协定位址设定具有第一静态网际网络协定位址,接着,中央处理单元12在步骤S02中再将第二韧体设定参数发送给基板管理控制单元11,使基板管理控制单元11在服务器装置1进行同一开机初始化程序中进行重置之后再将其静态网际网络协定位址设定为具有第二静态网际网络协定位址。最后,基板管理控制单元11可再将第二静态网际网络协定位址以广播的形式发送给服务器装置1中的其他单元,使变更后的第二静态网际网络协定位址生效。基此,使用者亦可藉由中央处理单元12在服务器装置1的开机初始化程序中实时地变更基板管理控制单元11的静态网际网络协定位址设定。In this embodiment, the aforementioned first firmware setting and second firmware setting are functions for setting a static Internet Protocol Address (Static Internet Protocol Address) correspondingly connected to the baseboard management control unit 11. , and the first firmware setting parameter and the second firmware setting parameter are two static IP addresses set corresponding to the static IP addresses. Based on this, in the boot-up initialization procedure of the server device 1, the baseboard management control unit 11 firstly configures its static IP address setting to have the first static IP address according to the first firmware setting parameter in step S01. address, and then the central processing unit 12 sends the second firmware setting parameters 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 can then send the second static Internet protocol address to other units in the server device 1 in the form of broadcast, so that the changed second static Internet protocol address takes effect. Based on this, the user can also use the central processing unit 12 to change the static IP address setting of the baseboard management control unit 11 in real time during the boot-up initialization procedure of the server device 1 .

综上所述,根据本发明的服务器装置及其实时变更韧体设定的方法的一实施例,中央处理单元能在服务器装置进行开机初始化程序中变更韧体设定所搭配的韧体参数并控制基板管理控制单元在服务器装置进行同一开机初始化程序中重置,使受控于基板管理控制单元的韧体设定所搭配的韧体参数的变更能立即地生效,不需要等到服务器装置进行冷重置或是进行多次的暖重置而在服务器装置进行另一开机初始化程序之后才让变更后的韧体设定生效,如此可减少为了变更韧体设定而对服务器装置进行重置的等待时间。To sum up, according to an embodiment of the server device and the method for changing firmware settings in real time of the present invention, the central processing unit can change the firmware parameters matched with the firmware settings when the server device performs the boot-up initialization procedure, and The control baseboard management control unit is reset during the same boot initialization procedure of the server device, so that the change of the firmware parameters controlled by the firmware setting of the baseboard management control unit can take effect immediately, without waiting for the server device to cool down. Reset or perform multiple warm resets to make the changed firmware settings take effect after the server device performs another boot initialization process, which can reduce the need to reset the server device to change the firmware settings. waiting time.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (6)

1. A server apparatus, comprising:
a baseboard management control unit, which is used for configuring a first firmware setting of the server device according to a first firmware setting parameter in a starting initialization program of the server device;
a central processing unit, for sending a second firmware setting parameter different from the first firmware setting parameter to the baseboard management control unit in the startup initialization program after the baseboard management control unit configures the first firmware setting, and the central processing unit controls the baseboard management control unit to perform soft reset in the startup initialization program, so that the baseboard management control unit reconfigures the first firmware setting according to the second firmware setting parameter in the startup initialization program after reset, wherein after the server device is powered on, the starting time of the central processing unit is later than that of the baseboard management control unit; and
a display unit, which is used for displaying a first manufacturer information corresponding to the first firmware setting parameter under the control of the baseboard management control unit when the baseboard management control unit configures the first firmware setting according to the first firmware setting parameter, and for displaying a second manufacturer information corresponding to the second firmware setting parameter and different from the first manufacturer information under the control of the baseboard management control unit when the baseboard management control unit reconfigures the first firmware setting according to the second firmware setting parameter;
and the central processing unit controls the display unit to display the second manufacturer information according to the second firmware setting parameter after the baseboard management control unit controls the display unit to display the first manufacturer information, and sends the second firmware setting parameter to the baseboard management control unit after the display unit displays the second manufacturer information.
2. The server apparatus according to claim 1, further comprising:
a BIOS memory storing one of the first firmware setting parameter and the second firmware setting parameter collocated with a second firmware setting corresponding to the first firmware setting;
the CPU judges whether the first firmware setting parameter collocated with the second firmware setting is changed into the second firmware setting parameter different from the first firmware setting parameter in the starting-up initialization program, and when the first firmware setting parameter collocated with the second firmware setting is changed into the second firmware setting parameter different from the first firmware setting parameter, the CPU sends the second firmware setting parameter to the substrate management control unit.
3. The server apparatus of claim 2, wherein the first firmware configuration and the second firmware configuration are static IP address configurations for connecting to the BMC, and the first firmware configuration parameter and the second firmware configuration parameter are two different static IP addresses.
4. A method for changing firmware setting in real time is suitable for a server device, and is characterized in that the method comprises the following steps:
configuring a first firmware setting of the server device according to a first firmware setting parameter in a boot initialization procedure of the server device through a baseboard management control unit to control a display unit to display a first manufacturer information corresponding to the first firmware setting parameter;
after the first manufacturer information is displayed on the display unit through a central processing unit, the display unit is controlled to display second manufacturer information corresponding to second firmware setting parameters according to the second firmware setting parameters different from the first firmware setting parameters, the second manufacturer information is different from the first manufacturer information, and after the server device is powered on, the starting time of the central processing unit is later than that of the substrate management control unit;
the central processing unit sends the second firmware setting parameter to the baseboard management control unit in the starting initialization program after the baseboard management control unit configures the first firmware setting;
the central processing unit controls the baseboard management control unit to perform soft reset in the starting initialization program after sending the second firmware setting parameter to the baseboard 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 program after soft reset so as to control the display unit to display the second manufacturer information corresponding to the second firmware setting parameter.
5. The method of claim 4, wherein before the CPU sends the second firmware configuration parameter to the BMC, the method further comprises:
the CPU determines whether a first firmware configuration parameter associated with a second firmware configuration corresponding to the first firmware configuration stored in a BIOS code has been changed to a second firmware configuration parameter different from the first firmware configuration parameter in the boot initialization program; and
when the first firmware setting parameter collocated with the second firmware setting is changed into the second firmware setting parameter different from the first firmware setting parameter, the central processing unit starts to send the second firmware setting parameter to the baseboard management control unit.
6. The method of claim 5, wherein the first firmware setting and the second firmware setting are static IP address settings for connecting to the BMC, and the first firmware setting parameter and the second firmware setting parameter are different two static IP addresses.
CN201810376000.XA 2018-04-25 2018-04-25 Server device and method for changing firmware setting in real time Expired - Fee Related CN110413320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810376000.XA CN110413320B (en) 2018-04-25 2018-04-25 Server device and method for changing firmware setting in real time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810376000.XA CN110413320B (en) 2018-04-25 2018-04-25 Server device and method for changing firmware setting in real time

Publications (2)

Publication Number Publication Date
CN110413320A CN110413320A (en) 2019-11-05
CN110413320B true CN110413320B (en) 2022-08-26

Family

ID=68345667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810376000.XA Expired - Fee Related CN110413320B (en) 2018-04-25 2018-04-25 Server device and method for changing firmware setting in real time

Country Status (1)

Country Link
CN (1) CN110413320B (en)

Families Citing this family (1)

* 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

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480395A (en) * 2010-11-24 2012-05-30 英业达股份有限公司 Method for measuring set time of network address information
TW201223194A (en) * 2010-11-22 2012-06-01 Inventec Corp Method for measuring time period of setting internet address information
CN104375925A (en) * 2014-11-25 2015-02-25 杭州华三通信技术有限公司 Method and device for controlling fan of server and server
CN104601373A (en) * 2015-01-05 2015-05-06 浪潮电子信息产业股份有限公司 Method for setting and synchronizing BIOS configuration parameters in out-of-band mode
CN105005471A (en) * 2015-06-24 2015-10-28 北京百度网讯科技有限公司 Method, device, server and system for modifying configuration parameters of BIOS
CN105589712A (en) * 2015-08-24 2016-05-18 杭州昆海信息技术有限公司 BMC module updating method and apparatus
CN106201563A (en) * 2015-04-29 2016-12-07 杭州昆海信息技术有限公司 The method and apparatus that the collocation method of start-up parameter and device, mainboard start
TW201704929A (en) * 2015-07-30 2017-02-01 神雲科技股份有限公司 Server and method for detecting power reset
CN106528143A (en) * 2016-10-27 2017-03-22 杭州昆海信息技术有限公司 Configuration management method and device
CN106548311A (en) * 2015-09-22 2017-03-29 佛山市顺德区顺达电脑厂有限公司 Stock control initialization system
CN107621961A (en) * 2017-09-11 2018-01-23 联想(北京)有限公司 Information processing method and electronic equipment
CN107861760A (en) * 2017-11-24 2018-03-30 联想(北京)有限公司 BIOS collocation method, terminal and server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7809836B2 (en) * 2004-04-07 2010-10-05 Intel Corporation System and method for automating bios firmware image recovery using a non-host processor and platform policy to select a donor system
US7552217B2 (en) * 2004-04-07 2009-06-23 Intel Corporation System and method for Automatic firmware image recovery for server management operational code
US7849454B2 (en) * 2006-01-13 2010-12-07 Dell Products L.P. Automatic firmware corruption recovery and update
US9311486B2 (en) * 2013-08-13 2016-04-12 American Megatrends, Inc. Network based firmware feature configuration and firmware image generation

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201223194A (en) * 2010-11-22 2012-06-01 Inventec Corp Method for measuring time period of setting internet address information
CN102480395A (en) * 2010-11-24 2012-05-30 英业达股份有限公司 Method for measuring set time of network address information
CN104375925A (en) * 2014-11-25 2015-02-25 杭州华三通信技术有限公司 Method and device for controlling fan of server and server
CN104601373A (en) * 2015-01-05 2015-05-06 浪潮电子信息产业股份有限公司 Method for setting and synchronizing BIOS configuration parameters in out-of-band mode
CN106201563A (en) * 2015-04-29 2016-12-07 杭州昆海信息技术有限公司 The method and apparatus that the collocation method of start-up parameter and device, mainboard start
CN105005471A (en) * 2015-06-24 2015-10-28 北京百度网讯科技有限公司 Method, device, server and system for modifying configuration parameters of BIOS
TW201704929A (en) * 2015-07-30 2017-02-01 神雲科技股份有限公司 Server and method for detecting power reset
CN105589712A (en) * 2015-08-24 2016-05-18 杭州昆海信息技术有限公司 BMC module updating method and apparatus
CN106548311A (en) * 2015-09-22 2017-03-29 佛山市顺德区顺达电脑厂有限公司 Stock control initialization system
CN106528143A (en) * 2016-10-27 2017-03-22 杭州昆海信息技术有限公司 Configuration management method and device
CN107621961A (en) * 2017-09-11 2018-01-23 联想(北京)有限公司 Information processing method and electronic equipment
CN107861760A (en) * 2017-11-24 2018-03-30 联想(北京)有限公司 BIOS collocation method, terminal and server

Also Published As

Publication number Publication date
CN110413320A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
CN106445728B (en) computer system
CN104503783B (en) A kind of method and server of presence server hardware initialization degree
TWI655582B (en) Server with dual firmware storage space and firmware update method thereof
US20170286123A1 (en) System for programmably configuring a motherboard
WO2019129022A1 (en) Error processing method, apparatus and system for device
TWI526824B (en) Method and system for managing network interface card information
TW200813837A (en) A chipset-independent method for locally and remotely updating and configuring system BIOS
CN109976816B (en) Computer system configuration method and server
CN108206842B (en) Cloud desktop remote access method and system
CN102033761A (en) Electronic device and multi-boot method thereof
CN111124508A (en) Method and device for adjusting PXE (PCI extensions for instrumentation) starting sequence of network card
WO2016062146A1 (en) Serial number information update method, device and terminal
EP2354956B1 (en) Method for controlling network controller, program, and information processing apparatus
TWI685790B (en) Server device and method for instantly changing firmware configuration thereof
CN110413320B (en) Server device and method for changing firmware setting in real time
US10198270B2 (en) Dynamic hardware configuration via firmware interface at computing device boot
US20190163595A1 (en) System and method for providing network access in the event of a computer system failure
US20210311747A1 (en) Server with system setting data synchronization function
CN106484442B (en) Server system and method for updating startup mapping file
TWI534609B (en) Automatic scanning and repair method for electronic devices
CN109684153B (en) Server with double firmware storage spaces and firmware updating method thereof
CN113868128B (en) Method and device for testing PXE (PCI express) guide function and storage medium
CN108595193B (en) Firmware updating method of baseboard management controller for fan rotating speed control
TWI862323B (en) Method for adjusting a server and its associated external network card
TWI862185B (en) Memory clock control method and control device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220826

CF01 Termination of patent right due to non-payment of annual fee