CN108932134B - Remote updating method for server BIOS - Google Patents

Remote updating method for server BIOS Download PDF

Info

Publication number
CN108932134B
CN108932134B CN201810746069.7A CN201810746069A CN108932134B CN 108932134 B CN108932134 B CN 108932134B CN 201810746069 A CN201810746069 A CN 201810746069A CN 108932134 B CN108932134 B CN 108932134B
Authority
CN
China
Prior art keywords
bmc
bios
version information
server
bios firmware
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.)
Active
Application number
CN201810746069.7A
Other languages
Chinese (zh)
Other versions
CN108932134A (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.)
Shenzhen Tong Tai Yi Information Technology Co ltd
Original Assignee
Shenzhen Tong Tai Yi Information 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 Shenzhen Tong Tai Yi Information Technology Co ltd filed Critical Shenzhen Tong Tai Yi Information Technology Co ltd
Priority to CN201810746069.7A priority Critical patent/CN108932134B/en
Publication of CN108932134A publication Critical patent/CN108932134A/en
Application granted granted Critical
Publication of CN108932134B publication Critical patent/CN108932134B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running

Landscapes

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

Abstract

The invention discloses a remote updating method of a server BIOS, which is applied to a BISO remote updating system of a server, wherein a BMC is installed in the server, and the method comprises the following steps: initializing the BMC after the server is powered on; after the server is started, the BMC acquires the version information of the current BIOS firmware through an LPC bus; when receiving a BIOS updating instruction input by a user through a user terminal BMC webpage interface, the BMC acquires version information of the uploaded BIOS firmware according to the instruction; the BMC analyzes the version information of the uploaded BIOS firmware to obtain analyzed BIOS firmware version information of the version of the uploaded BIOS firmware; and carrying out remote updating operation on the current BIOS version according to the analyzed BIOS firmware version information. The invention improves the maintenance efficiency of the server and enhances the stability of the server.

Description

Remote updating method for server BIOS
Technical Field
The invention relates to the technical field of computers, in particular to a server BIOS remote updating method.
Background
At present, a BMC is used for remote monitoring and management on a mainstream server, when the server is powered on, the BMC starts initialization work, can remotely access a machine through a webpage, and can also remotely update the BIOS, but in the existing scheme, the BIOS firmware is completely updated according to byte, and after the update is completed, the update success is returned. Under the condition, the version information before upgrading and the version information under updating are difficult to visually see, so that research and development personnel are not facilitated to identify whether the version under updating is the version needing upgrading or not, and the condition of updating errors is easy to generate.
Disclosure of Invention
The invention mainly aims to provide a server BIOS remote updating method, aiming at improving the server maintenance efficiency and enhancing the stability of a server.
In order to achieve the above object, the present invention provides a remote update method for a server BIOS, which is applied to a server BIOS remote update system, wherein a BMC is installed in the server, and the method includes the following steps:
initializing the BMC after the server is powered on;
after the server is started, the BMC acquires the version information of the current BIOS firmware through an LPC bus;
when receiving a BIOS updating instruction input by a user through a user terminal BMC webpage interface, the BMC acquires version information of the uploaded BIOS firmware according to the instruction;
the BMC analyzes the version information of the uploaded BIOS firmware to obtain analyzed BIOS firmware version information of the version of the uploaded BIOS firmware;
and carrying out remote updating operation on the current BIOS version according to the analyzed BIOS firmware version information.
A further technical solution of the present invention is that the step of performing a remote update operation on the current BIOS version according to the parsed BIOS firmware version information includes:
the BMC presents the current BIOS firmware version information and the analyzed BIOS firmware version information to a user on a user terminal BMC webpage interface;
the BMC receives an update confirmation instruction input by a user at a user terminal BMC webpage interface;
the step of performing remote update operation on the current BIOS version according to the parsed BIOS firmware version information includes:
and carrying out remote updating operation on the current BIOS version according to the updating confirmation instruction.
The further technical scheme of the present invention is that the step of presenting the current BIOS firmware version information and the resolved BIOS firmware version information to the user at the web interface of the user terminal BMC by the BMC further includes:
the BMC receives an update cancelling instruction input by a user on a user terminal BMC webpage interface;
and canceling the updating operation according to the updating canceling instruction.
The further technical scheme of the invention is that the step that after the server is started, the BMC acquires the version information of the current BIOS firmware through the LPC bus comprises the following steps:
after the server is started, the BMC acquires the version information of the current BIOS firmware in a mode of programming a bottom layer drive code;
when the BMC receives a BIOS updating instruction input by a user through a user terminal BMC webpage interface, the step of acquiring the version information of the uploaded BIOS firmware according to the instruction comprises the following steps:
when a BIOS updating instruction input by a user through a user terminal BMC webpage interface is received, the BMC acquires the version information of the uploaded BIOS firmware through a bottom layer drive code programming mode according to the instruction.
According to the remote updating method of the server BIOS, after the server is powered on, the BMC is initialized; after the server is started, the BMC acquires the version information of the current BIOS firmware through an LPC bus; when receiving a BIOS updating instruction input by a user through a user terminal BMC webpage interface, the BMC acquires version information of the uploaded BIOS firmware according to the instruction; the BMC analyzes the version information of the uploaded BIOS firmware to obtain analyzed BIOS firmware version information of the version of the uploaded BIOS firmware; and carrying out remote updating operation on the current BIOS version according to the analyzed BIOS firmware version information, so that the maintenance efficiency of the server is improved, and the stability of the server is enhanced.
Drawings
FIG. 1 is a block diagram of the hardware architecture of the operating environment of the BIOS remote update method of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a server BIOS remote update method according to the present invention;
FIG. 3 is a flowchart illustrating a server BIOS remote updating method according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The terms involved in the embodiments of the present invention include:
BMC: a board Management Controller (Baseboard Management Controller). The IPMI standard is built in a mainboard and supports the IPMI standard of the industry standard. The functions provided by the BMC include: local and remote diagnostics, console support, configuration management, hardware management, and troubleshooting.
SPI: SPI is an abbreviation for Serial Peripheral Interface (Serial Peripheral Interface). SPI is a high-speed, full-duplex, synchronous communication bus, and only occupies four lines on the pin of chip, has saved the pin of chip, saves space on the overall arrangement of PCB simultaneously, provides convenience, and is exactly because of this simple easy-to-use characteristic, more and more chips have integrated this kind of communication protocol now, for example AT91RM 9200.
In consideration of the fact that when the BIOS of the existing server is updated remotely, research personnel cannot accurately and intuitively see the current version information and the version information being updated, BIOS updating errors are easily caused, and the development process is influenced, the invention provides a solution.
Specifically, in order to solve the technical problem, the invention provides a remote update method for a server BIOS, which is applied to a BISO remote update system of the server, wherein a BMC is installed in the server. Referring to fig. 1, fig. 1 is a hardware structure diagram of an operating environment of a remote BIOS update method according to the present invention.
Wherein, the BMC and the south bridge (PCH) are connected through LPC. The BMC is connected with the BIOS Flash through an SPI protocol.
Referring to fig. 2, fig. 2 is a flowchart illustrating a server BIOS remote updating method according to a first embodiment of the present invention.
As shown in fig. 2, the method for remotely updating the server BIOS according to the embodiment includes the following steps:
step S100, after a server is powered on, initializing the BMC;
step S200, after the server is started, the BMC acquires the version information of the current BIOS firmware through an LPC bus;
step S300, when receiving a BIOS updating command input by a user through a user terminal BMC webpage interface, the BMC acquires the version information of the uploaded BIOS firmware according to the command;
step S400, the BMC analyzes the version information of the uploaded BIOS firmware to obtain the analyzed BIOS firmware version information of the version of the uploaded BIOS firmware;
and S500, performing remote updating operation on the current BIOS version according to the analyzed BIOS firmware version information.
It should be noted that, in this embodiment, after the BMC is powered on and operated, the current BIOS firmware version information and the parsed BIOS firmware version information may be embodied in the BMC web interface of the user terminal, which depends on a function module of the BMC program, and are stored in the BMC Flash, and are called after the server motherboard is powered on.
According to the technical scheme, after the server is powered on, the BMC is initialized; after the server is started, the BMC acquires the version information of the current BIOS firmware through an LPC bus; when receiving a BIOS updating instruction input by a user through a user terminal BMC webpage interface, the BMC acquires version information of the uploaded BIOS firmware according to the instruction; the BMC analyzes the version information of the uploaded BIOS firmware to obtain analyzed BIOS firmware version information of the version of the uploaded BIOS firmware; and carrying out remote updating operation on the current BIOS version according to the analyzed BIOS firmware version information, so that the maintenance efficiency of the server is improved, and the stability of the server is enhanced.
Referring to fig. 3, fig. 3 is a flowchart illustrating a server BIOS remote updating method according to a second embodiment of the present invention.
The difference between this embodiment and the first embodiment shown in fig. 2 is that, in the step S500, before the step of performing the remote update operation on the current BIOS version according to the parsed BIOS firmware version information, the step includes:
step S501, the BMC presents the current BIOS firmware version information and the analyzed BIOS firmware version information to a user on a user terminal BMC web interface.
Therefore, the current BIOS firmware version information and the analyzed BIOS firmware version information are presented to a user on the user terminal BMC webpage interface, so that the user can conveniently and accurately identify whether the version being updated is the version needing to be updated, and the accuracy of BIOS updating is improved.
Step S502, the BMC receives an update confirmation instruction input by a user on the user terminal BMC web interface.
In the step S500, the step of performing the remote update operation on the current BIOS version according to the analyzed BIOS firmware version information includes:
step S503, the current BIOS version is remotely updated according to the update confirmation instruction.
By receiving an update confirmation instruction input by a user on the user terminal BMC webpage interface and performing remote update operation on the current BIOS version according to the analyzed BIOS firmware version information, the problem that the BIOS update is wrong can be solved for the user.
In addition, in this embodiment, in the step S501, after the step of presenting the current BIOS firmware version information and the parsed BIOS firmware version information to the user on the web interface of the BMC of the user terminal, the BMC further includes the following steps:
and the BMC receives an update cancelling instruction input by a user on a user terminal BMC webpage interface.
And canceling the updating operation according to the updating canceling instruction.
In this embodiment, after the server is powered on, the step of acquiring, by the BMC, the version information of the current BIOS firmware via the LPC bus may include:
and after the server is started, the BMC acquires the version information of the current BIOS firmware in a mode of programming the bottom layer drive code.
When the BMC receives a BIOS update instruction input by a user through a user terminal BMC web interface, the step of acquiring version information of the uploaded BIOS firmware according to the instruction may include:
when a BIOS updating instruction input by a user through a user terminal BMC webpage interface is received, the BMC acquires the version information of the uploaded BIOS firmware through a bottom layer drive code programming mode according to the instruction.
In summary, according to the remote update method for the server BIOS of the present invention, by using the above technical solution, after the server is powered on, the BMC is initialized; after the server is started, the BMC acquires the version information of the current BIOS firmware through an LPC bus; when receiving a BIOS updating instruction input by a user through a user terminal BMC webpage interface, the BMC acquires version information of the uploaded BIOS firmware according to the instruction; the BMC analyzes the version information of the uploaded BIOS firmware to obtain analyzed BIOS firmware version information of the version of the uploaded BIOS firmware; and carrying out remote updating operation on the current BIOS version according to the analyzed BIOS firmware version information, so that the maintenance efficiency of the server is improved, and the stability of the server is enhanced.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (1)

1. A remote updating method for a server BIOS is applied to a BISO remote updating system of a server, wherein a BMC is installed in the server, and the method comprises the following steps:
initializing the BMC after the server is powered on;
after the server is started, the BMC acquires the version information of the current BIOS firmware through an LPC bus;
when receiving a BIOS updating instruction input by a user through a user terminal BMC webpage interface, the BMC acquires version information of the uploaded BIOS firmware according to the BIOS updating instruction;
the BMC analyzes the version information of the uploaded BIOS firmware to obtain analyzed BIOS firmware version information of the version of the uploaded BIOS firmware;
performing remote updating operation on the current BIOS version according to the analyzed BIOS firmware version information;
the step of performing remote update operation on the current BIOS version according to the parsed BIOS firmware version information comprises:
the BMC presents the current BIOS firmware version information and the analyzed BIOS firmware version information to a user on a user terminal BMC webpage interface;
the BMC receives an update confirmation instruction input by a user at a user terminal BMC webpage interface;
the step of performing remote update operation on the current BIOS version according to the analyzed BIOS firmware version information comprises the following steps:
performing remote updating operation on the current BIOS version according to the updating confirmation instruction;
the step of presenting the current BIOS firmware version information and the analyzed BIOS firmware version information to a user on the user terminal BMC web interface by the BMC further comprises:
the BMC receives an update cancelling instruction input by a user on a user terminal BMC webpage interface;
canceling the updating operation according to the updating canceling instruction;
after the server is started, the step that the BMC acquires the version information of the current BIOS firmware through the LPC bus comprises the following steps:
after the server is started, the BMC acquires the version information of the current BIOS firmware in a mode of programming a bottom layer drive code;
when the BMC receives a BIOS updating instruction input by a user through a user terminal BMC webpage interface, the step of acquiring the version information of the uploaded BIOS firmware according to the BIOS updating instruction comprises the following steps:
when a BIOS updating instruction input by a user through a user terminal BMC webpage interface is received, the BMC acquires the version information of the uploaded BIOS firmware through a bottom layer drive code programming mode according to the BIOS updating instruction.
CN201810746069.7A 2018-07-09 2018-07-09 Remote updating method for server BIOS Active CN108932134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810746069.7A CN108932134B (en) 2018-07-09 2018-07-09 Remote updating method for server BIOS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810746069.7A CN108932134B (en) 2018-07-09 2018-07-09 Remote updating method for server BIOS

Publications (2)

Publication Number Publication Date
CN108932134A CN108932134A (en) 2018-12-04
CN108932134B true CN108932134B (en) 2021-11-16

Family

ID=64447618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810746069.7A Active CN108932134B (en) 2018-07-09 2018-07-09 Remote updating method for server BIOS

Country Status (1)

Country Link
CN (1) CN108932134B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857440A (en) * 2019-02-14 2019-06-07 西安易朴通讯技术有限公司 Firmware update, server and client
CN111414184A (en) * 2020-04-14 2020-07-14 山东超越数控电子股份有限公司 BIOS firmware updating method under domestic server
CN112799743A (en) * 2021-04-13 2021-05-14 浙江华创视讯科技有限公司 Method and device for loading system file of slave processor unit and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101400799B1 (en) * 2012-03-09 2014-05-29 (주)티아이스퀘어 Method and system for stroring and managing device control information to user terminal and method and user terminal for executing application using the same
CN104850422B (en) * 2014-05-21 2019-07-23 北京宝沃汽车有限公司 A kind of method and system of long-range update terminal device program
CN104850485A (en) * 2015-05-25 2015-08-19 深圳国鑫恒宇技术有限公司 BMC based method and system for remote diagnosis of server startup failure
KR101589928B1 (en) * 2015-11-09 2016-02-01 (주)대지이엔지 System for updating numerical map by confirmation changed landforms and landmarks
CN107832069A (en) * 2017-10-30 2018-03-23 江西博瑞彤芸科技有限公司 The update method of application program
CN107992315A (en) * 2017-11-21 2018-05-04 上海斐讯数据通信技术有限公司 A kind of application program automatically updating method and storage medium

Also Published As

Publication number Publication date
CN108932134A (en) 2018-12-04

Similar Documents

Publication Publication Date Title
US9563442B2 (en) Baseboard management controller and method of loading firmware
CN107171833B (en) Method for realizing batch upgrading of BMC and BIOS of server through BMC
CN108932134B (en) Remote updating method for server BIOS
CN104899055B (en) A kind of ME more new systems and its update method based on BIOS controls
US7937698B2 (en) Extensible mechanism for automatically migrating resource adapter components in a development environment
CN106055361B (en) Integrated firmware implementation method and system for multiple different types based on BMC (baseboard management controller)
CN101853173A (en) Software upgrading method and device of programmable logic device of distributed system
CN102880488A (en) Method, equipment and system for restoring drive program
CN107145455B (en) Method for updating SMBIOS static information of whole system
CN105653306A (en) Method and device for displaying start Setup interface
CN113760332A (en) Software upgrading method and electronic equipment
CN114138644A (en) BMC (baseboard management controller) debugging method, monitoring method, system, device, equipment and medium
US6904484B1 (en) Low pin count (LPC) firmware hub recovery
CN102253845A (en) Server system
CN109375941A (en) A kind of novel master-slave mode flash boot loader method for upgrading software applied to combination instrument
CN106484442B (en) Server system and method for updating startup mapping file
CN110737444A (en) Remote self-adaptive dynamic deployment method and system for operating system based on firmware
CN110647343B (en) OpenPower server and system deployment method thereof
CN114510259A (en) Method and device for importing and exporting BIOS configuration based on BMC
CN111694608B (en) System upgrading method and device of terminal equipment, electronic equipment and terminal equipment
TWI660267B (en) Boot testing apparatus, system and method thereof
JP5757167B2 (en) Judgment work support system, judgment work support method, and program
US10191875B2 (en) Techniques of providing serial port in non-legacy system via embedded-system device
CN112711306A (en) Network card with embedded intelligent module
CN113220507B (en) Version consistency checking method and device for double-master control system

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