CN111767174A - BIOS (basic input output System) refreshing control method, server and storage medium - Google Patents

BIOS (basic input output System) refreshing control method, server and storage medium Download PDF

Info

Publication number
CN111767174A
CN111767174A CN202010614345.1A CN202010614345A CN111767174A CN 111767174 A CN111767174 A CN 111767174A CN 202010614345 A CN202010614345 A CN 202010614345A CN 111767174 A CN111767174 A CN 111767174A
Authority
CN
China
Prior art keywords
power
server
bios
instruction
module
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.)
Pending
Application number
CN202010614345.1A
Other languages
Chinese (zh)
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.)
Xian Yep Telecommunication Technology Co Ltd
Original Assignee
Xian Yep Telecommunication Technology Co Ltd
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 Xian Yep Telecommunication Technology Co Ltd filed Critical Xian Yep Telecommunication Technology Co Ltd
Priority to CN202010614345.1A priority Critical patent/CN111767174A/en
Publication of CN111767174A publication Critical patent/CN111767174A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention relates to the technical field of servers, and discloses a BIOS (basic input output System) refresh control method, a server and a storage medium. The BIOS refreshing control method comprises the following steps: in the shutdown state of the server, after receiving a refresh instruction, the BMC module performs online update operation on the BIOS file; after the online updating operation is finished, the BMC module sends a power-off instruction to the CPLD module; and after receiving the power-off instruction, the CPLD module controls the PCH to be powered off completely. The embodiment of the invention reduces the step of setting the ME into the recovery mode before the updating operation, thereby completely eradicating the interference of various unpredictable interference factors, removing the limitation of a hardware platform and ensuring the smooth operation of the online updating operation; according to the embodiment of the invention, when the updating operation is finished, the BMC module controls all PCHs to be powered off through the CPLD module, so that the complete power failure can be effectively ensured, and the smooth execution of the restarting operation of the server can be ensured.

Description

BIOS (basic input output System) refreshing control method, server and storage medium
Technical Field
The present invention relates to the technical field of servers, and in particular, to a BIOS (Basic Input Output System) refresh control method, a server, and a storage medium.
Background
The refresh of the BIOS is a frequently used operation during the use of the server, for example, when the BIOS fails or has a version update, the refresh is required.
In the refresh method in the prior art, on one hand, refresh is performed only when an ME (Management Engine/innovation Engine) enters a recovery mode, and some unpredictable interference factors or limitations of a hardware platform often make the ME unable to enter the recovery mode, which finally results in refresh failure and system crash; on the other hand, after the refresh is completed, the PCH (Platform Controller Hub) needs to be controlled to be powered off, but the power cannot be completely shut down in many cases, and the server cannot be restarted.
Disclosure of Invention
The invention aims to provide a BIOS (basic input output System) refresh control method, a server and a storage medium, which are used for solving the problems that refresh failure is easy to occur and restarting cannot be realized due to complete outage in the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
a BIOS refresh control method includes the following steps:
in the shutdown state of the server, after receiving a refresh instruction, the BMC module of the baseboard management controller performs online update operation on a basic input/output system (BIOS) file;
after the online updating operation is finished, the BMC module sends a power-off instruction to the complex programmable logic device CPLD module;
and after the CPLD module receives the power-off instruction, the PCH is controlled to be powered off completely.
Optionally, the method further includes: and after the CPLD module controls the PCH to be completely powered off, waiting for a preset time length, and then controlling the server to be started.
Optionally, the power-off instruction uses a serial general input/output SGPIO signal.
Optionally, the power-down command is a high-level signal or a low-level signal.
A server comprises a BMC module and a CPLD module;
the BMC module is used for carrying out online updating operation on the BIOS file after receiving the refreshing instruction in the shutdown state of the server; the power-off instruction is also used for sending a power-off instruction to the CPLD module after the online updating operation is finished;
and the CPLD module is used for controlling the PCH to be powered off completely after the power-off instruction is received.
Optionally, the CPLD module is further configured to wait for a preset time period after controlling all power-off of the PCH, and then control the server to start.
Optionally, the BMC module and the CPLD module are connected by an SGPIO bus, and the power-off command is an SGPIO signal.
Optionally, the power-down command is a high-level signal or a low-level signal.
A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the BIOS refresh control method as claimed in any one of the above.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
the embodiment of the invention adopts a mode that the BMC directly carries out online updating operation on the BIOS file when the server is in a shutdown state, and reduces the step of setting the ME into a recovery mode before the updating operation, thereby completely avoiding the interference of various unpredictable interference factors on the step of setting the recovery mode, simultaneously removing the limitation of a hardware platform and ensuring the smooth operation of the online updating operation; in addition, the BMC module controls the PCH to be completely powered off through the CPLD module when the updating operation is finished, and compared with the existing mode, the method and the device can effectively ensure complete power failure and guarantee the smooth execution of the restarting operation of the server.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a flow chart of a BIOS refresh control method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problems that the existing BIOS refreshing mode is easily affected by various unpredictable interference factors and hardware platform limitation, so that the BIOS refreshing mode fails in refreshing and cannot be restarted after refreshing operation, the invention provides a BIOS refreshing control solution which is not affected by the interference factors, is not limited by the hardware platform, has strong transportability and is low in cost.
Example one
Referring to fig. 1, the present embodiment provides a BIOS refresh control method, including the steps of:
step 101, in the shutdown state of the server, after receiving a refresh instruction, the BMC module performs online update operation on the BIOS file.
In the step, the BIOS program is refreshed and controlled in an out-of-band management mode. Out-of-band management, i.e. management control information and data information are transmitted through different physical channels, and the control plane and the data plane are completely independent and do not affect each other. By adopting the out-of-band management mode, the BIOS program can be controlled through the control plane channel when running, namely, business processing is carried out through the data plane channel.
The BMC module, i.e. out-of-band management software, may manage the service system, such as managing a service power supply (power on or power off, etc.), providing a remote KVM (Keyboard, display, Mouse) function, and providing a mirror image mount function to facilitate a user to manage the service system; the BMC module may also manage hardware of the device, for example, monitor operating states of a CPU (Central Processing Unit), a memory, a hard disk, and a network card, so as to discover an abnormality in time; in addition, the BMC module may also provide various user interfaces for a user to manage the device through out-of-band management software, such as WEB, SSH, and FTP based interfaces.
Currently, the BMC module can manage power up and down, temperature, speed regulation, alarms, fault diagnosis, and the like. When the BMC module manages the BIOS, the BMC module may communicate with the BIOS through a Low Pin Count (LPC) interface to monitor states of the BIOS and a service system in a power-on process; or, the firmware can also be communicated with the BIOS solidified in the SPI Flash chip through an SPI (Serial peripheral interface), and the firmware of the BIOS solidified in the SPI Flash can be upgraded after the read-write permission is acquired.
The online update operation in this step may be performed in a conventional manner, and this embodiment is not limited.
And 102, after the online updating operation is finished, the BMC module sends a power-off instruction to the CPLD module.
The power-off instruction is used for instructing the CPLD module to perform power-off operation on the PCH. Illustratively, the power-down instruction may be an SGPIO signal, specifically, a high-level signal or a low-level signal.
And 103, after the CPLD module receives the power-off instruction, controlling all PCHs to be powered off.
And 104, after controlling all power-off of the PCH, the CPLD module waits for a preset time length and then controls the server to start.
Because the whole power-off of the PCH needs a certain time, in order to ensure that the PCH can be completely powered off to ensure that a subsequent server can be normally started, the step adopts time delay control on the starting operation. For example, the preset time period may be 1-5 seconds.
In summary, the embodiment of the present invention adopts a way that the BMC module directly performs online update operation on the BIOS file when the server is in a shutdown state, thereby reducing the step of setting the ME to recovery mode before update operation, completely eliminating interference of various unpredictable interference factors on the step of setting the recovery mode, removing the limitation of a hardware platform, improving portability, and ensuring smooth online update operation.
In addition, when the updating operation is finished, the BMC module sends the SGPIO protocol signal to the CPLD module to inform the CPLD to control the PCH to be completely powered off, so that the complete power failure of the PCH can be effectively ensured, and the smooth execution of the server restarting operation is ensured.
Example two
Correspondingly, referring to fig. 2, the second embodiment provides a server, including: a BMC module and a CPLD module.
The BMC module is used for carrying out online updating operation on the BIOS file after receiving the refreshing instruction in the shutdown state of the server; the power-off instruction is also used for sending a power-off instruction to the CPLD module after the online updating operation is finished;
the CPLD module is used for controlling the PCH to be powered off completely after receiving the power-off instruction; and the system is also used for waiting for a preset time length and then controlling the server to start after the PCH is controlled to be completely powered off.
The BMC module and the CPLD module can be connected by adopting an SGPIO bus, and the power-down command is an SGPIO signal and can be selected as a high-level signal or a low-level signal. Of course, other signals may be used for the power-down command, and the invention is not limited.
In summary, the BMC module in the embodiment of the present invention performs refresh control on the BIOS program in an out-of-band management manner, and on this basis, the BMC module in the embodiment of the present invention automatically triggers the CPLD to power off the PCH after the online update operation is completed, which can effectively ensure complete power off of the PCH and ensure smooth execution of the server restart operation.
EXAMPLE III
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present invention provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in the BIOS refresh control method provided in the embodiment of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. A BIOS refresh control method is characterized by comprising the following steps:
in the shutdown state of the server, after receiving a refresh instruction, the BMC module of the baseboard management controller performs online update operation on a basic input/output system (BIOS) file;
after the online updating operation is finished, the BMC module sends a power-off instruction to the complex programmable logic device CPLD module;
and after the CPLD module receives the power-off instruction, the control platform controls the hub PCH to be powered off completely.
2. The BIOS refresh control method of claim 1, further comprising: and after the CPLD module controls the PCH to be completely powered off, waiting for a preset time length, and then controlling the server to be started.
3. The BIOS refresh control method of claim 1 wherein the power down command uses a Serial General Purpose Input Output (SGPIO) signal.
4. The BIOS refresh control method of claim 3 wherein the power down command is a high signal or a low signal.
5. A server is characterized by comprising a BMC module and a CPLD module;
the BMC module is used for carrying out online updating operation on the BIOS file after receiving the refreshing instruction in the shutdown state of the server; the power-off instruction is also used for sending a power-off instruction to the CPLD module after the online updating operation is finished;
and the CPLD module is used for controlling the PCH to be powered off completely after the power-off instruction is received.
6. The server according to claim 5, wherein the CPLD module is further configured to wait for a preset time period after controlling all power-off of the PCH, and then control the server to start up.
7. The server according to claim 5, wherein the BMC module and the CPLD module are connected by an SGPIO bus, and the power-down command is an SGPIO signal.
8. The server according to claim 5, wherein the power-down command is a high-level signal or a low-level signal.
9. A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the BIOS refresh control method of any one of claims 1 to 4.
CN202010614345.1A 2020-06-30 2020-06-30 BIOS (basic input output System) refreshing control method, server and storage medium Pending CN111767174A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010614345.1A CN111767174A (en) 2020-06-30 2020-06-30 BIOS (basic input output System) refreshing control method, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010614345.1A CN111767174A (en) 2020-06-30 2020-06-30 BIOS (basic input output System) refreshing control method, server and storage medium

Publications (1)

Publication Number Publication Date
CN111767174A true CN111767174A (en) 2020-10-13

Family

ID=72723074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010614345.1A Pending CN111767174A (en) 2020-06-30 2020-06-30 BIOS (basic input output System) refreshing control method, server and storage medium

Country Status (1)

Country Link
CN (1) CN111767174A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114168393A (en) * 2021-10-31 2022-03-11 苏州浪潮智能科技有限公司 Server testing method, system, equipment and medium
CN114779883A (en) * 2022-05-17 2022-07-22 西安易朴通讯技术有限公司 System clock synchronization method, device, system and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114168393A (en) * 2021-10-31 2022-03-11 苏州浪潮智能科技有限公司 Server testing method, system, equipment and medium
CN114168393B (en) * 2021-10-31 2023-11-21 苏州浪潮智能科技有限公司 Server testing method, system, equipment and medium
CN114779883A (en) * 2022-05-17 2022-07-22 西安易朴通讯技术有限公司 System clock synchronization method, device, system and storage medium
CN114779883B (en) * 2022-05-17 2024-03-19 西安易朴通讯技术有限公司 System clock synchronization method, device, system and storage medium

Similar Documents

Publication Publication Date Title
US10514930B2 (en) Setting a startup parameter and controlling startup of a mainboard
US10031736B2 (en) Automatic system software installation on boot
TWI303383B (en) Method and apparatus for remote modification of system configuration
US8543164B2 (en) Sleep method, wake method and mobile terminal device
US20070271404A1 (en) Realtime multithreaded hot-plug control
CN107085459B (en) Power supply management method and system
CN108170451B (en) Method and system for controlling BIOS version upgrading by server BMC
CN111767174A (en) BIOS (basic input output System) refreshing control method, server and storage medium
CN107122316B (en) SOC power supply method and SOC
WO2017124799A1 (en) Firmware management method and device
CN114661368B (en) Chip and starting method thereof
CN111142644A (en) Hard disk operation control method and device and related components
JPH11288334A (en) Method and device for power down for computer system
CN111782283A (en) Automatic management method, device and medium for bare metal server
CN109669728B (en) Software shutdown method and device for VxWorks operating system
CN117289963A (en) Method and equipment for online updating target area of server platform service firmware
CN116501343A (en) Program upgrading method, power supply and computing device
CN108804150B (en) Terminal standby process processing method and terminal
CN114461286B (en) Server starting method and device, electronic equipment and readable storage medium
CN114117562B (en) Intelligent network card management method and device, electronic equipment and computer storage medium
US11455211B2 (en) Power control system and power control method
US20140019740A1 (en) Computer Startup Method, Startup Apparatus, State Transition Method And State Transition Apparatus
CN107632917B (en) Server system and temperature monitoring method thereof
EP2691853B1 (en) Supervisor system resuming control
CN104142832A (en) Computer and rebooting method thereof

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