CN113741921A - Method and device for automatically upgrading double BIOS firmware - Google Patents

Method and device for automatically upgrading double BIOS firmware Download PDF

Info

Publication number
CN113741921A
CN113741921A CN202111131486.9A CN202111131486A CN113741921A CN 113741921 A CN113741921 A CN 113741921A CN 202111131486 A CN202111131486 A CN 202111131486A CN 113741921 A CN113741921 A CN 113741921A
Authority
CN
China
Prior art keywords
bios
upgrading
switch
firmware
automatically
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
CN202111131486.9A
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.)
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
Publication of CN113741921A publication Critical patent/CN113741921A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

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

Abstract

The invention discloses a method and a device for automatically upgrading double BIOS firmware, wherein the method is applied to a device for automatically upgrading the double BIOS firmware and comprises the following steps: the SPI starts an upgrading state; upgrading the first BIOS according to a preset mode, and starting self-checking the first BIOS after upgrading is completed; after the first BIOS is qualified through self-inspection, upgrading a second BIOS according to a preset mode, wherein the first BIOS and the second BIOS are different BIOS; and the BMC is subjected to self-checking and restarting to finish the upgrading of the BIOS firmware. Through the technical scheme, the complexity of the BMC control platform and the FPGA which are additionally provided with the BIOS firmware in association and cooperative upgrading is eliminated, the response time is shortened, the burning risk is reduced, and the BIOS upgrading efficiency is improved. In addition, the BMC controller automatically finishes upgrading, and improves the control reliability and the success rate.

Description

Method and device for automatically upgrading double BIOS firmware
Technical Field
The invention relates to the field of servers, in particular to a method and a device for automatically upgrading double BIOS firmware.
Background
The current server system test gradually moves towards large-scale, centralized management and centralized debugging optimization. For the convenience of simple maintenance operation, it is very important to update the BIOS (Basic Input Output System) and the FPGA (Field Programmable Gate Array) control programs based on the BMC (Baseboard Management Controller) Management. At present, aiming at a centralized machine room group server, the maintenance and the upgrade of BIOS software versions and the scheme of double BIOS of a domestic Feiteng S2500 platform, the existing design operation mode needs a BMC control platform and an additional FPGA (field programmable gate array) to realize the related cooperation.
According to the existing domestic Feiteng S2500 platform dual-BIOS upgrading method, upgrading is performed based on BMC and FPGA combined control, in the application process, each BIOS is upgraded, a switch is switched and controlled by the FPGA, the switching response time is long, the waiting time of the whole system is also very long, meanwhile, if the FPGA fails, the process cannot be completed smoothly, BIOS upgrading fails, and the risk of upgrading failure is increased.
Disclosure of Invention
The invention mainly aims to provide a method for automatically upgrading double BIOS firmware, aiming at solving the technical problem of improving the upgrading efficiency of BIOS.
The invention provides a method for automatically upgrading double BIOS firmware, which is applied to a device for automatically upgrading double BIOS firmware and comprises the following steps:
the SPI starts an upgrading state;
upgrading the first BIOS according to a preset mode, and starting self-checking the first BIOS after upgrading is completed;
after the first BIOS is qualified through self-inspection, upgrading a second BIOS according to a preset mode, wherein the first BIOS and the second BIOS are different BIOS;
and the BMC is subjected to self-checking and restarting to finish the upgrading of the BIOS firmware.
Preferably, the preset mode includes:
and selecting to upgrade the first BIOS or the second BIOS according to the level states of the first Switch and the second Switch.
Preferably, the step of selecting to upgrade the first BIOS or the second BIOS according to the level status of the first Switch and the second Switch includes:
when the first Switch is in high level state and the second Switch is in low level state, the first BIOS is selected to be upgraded, and the second BIOS is closed.
Preferably, the step of selecting to upgrade the first BIOS or the second BIOS according to the level status of the first Switch and the second Switch includes
The first Switch is in low level state, the second Switch is in high level state, the second BIOS is selected to be upgraded, and the first BIOS is closed.
Preferably, the preset mode includes:
when the first Switch and the second Switch are both in a low state, neither the first BIOS nor the second BIOS is upgraded.
The invention also provides a device for automatically upgrading double BIOS firmware, comprising:
a first BIOS;
a second BIOS;
the BMC controller is used for completing uploading and loading of BIOS data and upgrading BIOS firmware;
the first Switch is in communication connection with the first BIOS and is used for selecting the BIOS firmware needing to be upgraded;
the second Switch is in communication connection with the second BIOS and is used for selecting the BIOS firmware needing to be upgraded;
the first BIOS ROM is used for loading the first CPU on-off configuration information;
and the second BIOS ROM is used for loading the second CPU on-off configuration information.
The invention has the beneficial effects that: through the technical scheme, the complexity of the BMC control platform and the FPGA which are additionally provided with the BIOS firmware in association and cooperative upgrading is eliminated, the response time is shortened, the burning risk is reduced, and the BIOS upgrading efficiency is improved. In addition, the BMC controller automatically finishes upgrading, and improves the control reliability and the success rate.
Drawings
FIG. 1 is a flowchart illustrating a first embodiment of a method for automatically upgrading dual BIOS firmware according to the present invention;
FIG. 2 is a schematic structural diagram of a first embodiment of an apparatus for automatically upgrading dual BIOS firmware according to the present invention.
Description of reference numerals:
1. a BMC controller; 2. a first Switch; 3. a second Switch; 4. a first BIOS; 5. a second BIOS; 6. a first BIOS ROM; 7. a second BIOS ROM.
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.
Referring to fig. 1 and 2, the present invention provides a method for automatically upgrading dual BIOS firmware, which is applied to a device for automatically upgrading dual BIOS firmware, and includes:
s1: the SPI starts an upgrading state;
s2: upgrading the first BIOS4 according to a preset mode, and starting self-checking of the first BIOS4 after upgrading is completed;
s3: after the first BIOS4 is qualified through self-inspection, upgrading a second BIOS5 according to a preset mode, wherein the first BIOS4 and the second BIOS5 are different BIOS;
s4: and the BMC is subjected to self-checking and restarting to finish the upgrading of the BIOS firmware.
In the embodiment of the present invention, the SPI starts the upgrade state, specifically, completes the upload of the BIOS data of the domestic S2500 FT platform, and continues the next action after the data load is completed. The first BIOS4 is upgraded in a preset manner, specifically, the process is to burn the first BIOS ROM6 of the domestic S2500 femto platform, and the first BIOS ROM6 and the first BIOS4 are both included in the first CPU of the S2500 femto platform. The first BIOS4 turns on a self test after completing the upgrade. After the automatic inspection is qualified, the second BIOS5 is upgraded according to a preset mode, and the specific process is to complete the burning of the second BIOS ROM7 of the domestic S2500 Feiteng platform, wherein the second BIOS ROM7 and the second BIOS5 are both contained in a second CPU of the S2500 Feiteng platform. The BMC self-check is restarted, the specific process is that the second BIOS5 starts the self-check, the BMC is restarted after the self-check is qualified, the BMC is successfully reset, and the upgrading of the dual BIOS firmware is finished. Through the arrangement, the trouble of related and collaborative upgrading of BIOS firmware by the aid of the FPGA additionally arranged on the BMC control platform is eliminated, response time is shortened, burning risks are reduced, and BIOS upgrading efficiency is improved. In addition, the BMC controller 1 automatically finishes upgrading, and improves the control reliability and the success rate.
Further, the preset mode includes: the first BIOS4 or the second BIOS5 is selected to be upgraded according to the level status of the first Switch2 and the second Switch 3.
Further, the step of selecting to upgrade the first BIOS4 or the second BIOS5 according to the level status of the first Switch2 and the second Switch3 includes:
the first Switch2 is in high state and the second Switch3 is in low state, then the first BIOS4 is selected to be upgraded and the second BIOS5 is turned off.
Further, the step of selectively upgrading the first BIOS4 or the second BIOS5 according to the level status of the first Switch2 and the second Switch3 includes
The first Switch2 is in low state and the second Switch3 is in high state, then the second BIOS5 is selected to be upgraded and the first BIOS4 is turned off.
Further, the preset mode includes:
when both the first Switch2 and the second Switch3 are in a low state, neither the first BIOS4 nor the second BIOS5 are upgraded.
Referring to fig. 2, the present invention further provides an apparatus for automatically upgrading dual BIOS firmware, including:
a first BIOS 4;
a second BIOS 5;
the BMC controller 1 is used for completing uploading and loading of BIOS data and upgrading BIOS firmware;
the first Switch2 is in communication connection with the first BIOS4 and is used for selecting the BIOS firmware needing to be upgraded;
the second Switch3 is in communication connection with the second BIOS5 and is used for selecting the BIOS firmware needing to be upgraded;
a first BIOS ROM6 for loading first CPU power on and off configuration information;
and a second BIOS ROM7 for loading second CPU power on/off configuration information.
In the embodiment of the invention, aiming at the automatic upgrading of the dual BIOS of the domestic S2500 Feiteng platform, the device area is required to complete. First, the BMC controller 1 completes initialization and can work normally, and an external administrator can control and access through a Web page. Secondly, the S2500 platform server with the upgrade must be powered on normally, so that the device can work normally. Then, a Web page is logged in for loading, after the loading of the burning document related to the BIOS is successful, a burning start button is started, and the process of automatically upgrading the BIOS by a hacker automatically takes effect at the background, so that the double-BIOS upgrading is automatically completed. Specifically, the dual-BIOS upgrading process is an SPI boot upgrading state, specifically, the domestic S2500 FT platform BIOS data upload and loading are completed, and the next action is continued after the data load is completed. The first BIOS4 is upgraded in a preset manner, specifically, the process is to burn the first BIOS ROM6 of the domestic S2500 femto platform, and the first BIOS ROM6 and the first BIOS4 are both included in the first CPU of the S2500 femto platform. The first BIOS4 turns on a self test after completing the upgrade. After the automatic inspection is qualified, the second BIOS5 is upgraded according to a preset mode, and the specific process is to complete the burning of the second BIOS ROM7 of the domestic S2500 Feiteng platform, wherein the second BIOS ROM7 and the second BIOS5 are both contained in a second CPU of the S2500 Feiteng platform. The BMC self-check is restarted, the specific process is that the second BIOS5 starts the self-check, the BMC is restarted after the self-check is qualified, the BMC is successfully reset, and the upgrading of the dual BIOS firmware is finished. And finally, the process of completing the upgrade is convenient to check, and the process of normally powering on and starting the S2500 platform server is automatically started after the BIOS upgrade is automatically completed. Through the arrangement, the trouble of related and collaborative upgrading of BIOS firmware by the aid of the FPGA additionally arranged on the BMC control platform is eliminated, response time is shortened, burning risks are reduced, and BIOS upgrading efficiency is improved. In addition, the BMC controller 1 automatically finishes upgrading, and improves the control reliability and the success rate.
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 (6)

1. A method for automatically upgrading dual BIOS firmware is applied to a device for automatically upgrading dual BIOS firmware, and comprises the following steps:
the SPI starts an upgrading state;
upgrading a first BIOS according to a preset mode, and starting self-checking the first BIOS after upgrading is completed;
after the first BIOS is qualified through self-inspection, upgrading a second BIOS according to the preset mode, wherein the first BIOS and the second BIOS are different BIOS;
and the BMC is subjected to self-checking and restarting to finish the upgrading of the BIOS firmware.
2. The method of automatically upgrading dual BIOS firmware of claim 1, wherein the predetermined manner comprises:
and selecting to upgrade the first BIOS or the second BIOS according to the level states of the first Switch and the second Switch.
3. The method of automatically upgrading dual BIOS firmware of claim 2, wherein the step of selecting whether to upgrade the first BIOS or the second BIOS according to the level status of the first Switch and the second Switch comprises:
and if the first Switch is in a high level state and the second Switch is in a low level state, upgrading the first BIOS and closing the second BIOS.
4. The method of automatically upgrading dual BIOS firmware as claimed in claim 2 or 3, wherein the step of selecting the first BIOS or the second BIOS to be upgraded according to the level status of the first Switch and the second Switch comprises
And if the first Switch is in a low level state and the second Switch is in a high level state, upgrading the second BIOS and closing the first BIOS.
5. The method for automatically upgrading dual BIOS firmware of claim 1, the predetermined manner comprising:
when the first Switch and the second Switch are both in a low state, neither the first BIOS nor the second BIOS is upgraded.
6. An apparatus for automatically upgrading dual BIOS firmware, comprising:
a first BIOS;
a second BIOS;
the BMC controller is used for completing uploading and loading of BIOS data and upgrading BIOS firmware;
the first Switch is in communication connection with the first BIOS and is used for selecting the BIOS firmware needing to be upgraded;
the second Switch is in communication connection with the second BIOS and is used for selecting the BIOS firmware needing to be upgraded;
the first BIOS ROM is used for loading the first CPU on-off configuration information;
and the second BIOS ROM is used for loading the second CPU on-off configuration information.
CN202111131486.9A 2021-06-11 2021-09-26 Method and device for automatically upgrading double BIOS firmware Pending CN113741921A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110652906.1A CN113391822A (en) 2021-06-11 2021-06-11 Method and device for automatically upgrading double BIOS firmware
CN2021106529061 2021-06-11

Publications (1)

Publication Number Publication Date
CN113741921A true CN113741921A (en) 2021-12-03

Family

ID=77620556

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110652906.1A Withdrawn CN113391822A (en) 2021-06-11 2021-06-11 Method and device for automatically upgrading double BIOS firmware
CN202111131486.9A Pending CN113741921A (en) 2021-06-11 2021-09-26 Method and device for automatically upgrading double BIOS firmware

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202110652906.1A Withdrawn CN113391822A (en) 2021-06-11 2021-06-11 Method and device for automatically upgrading double BIOS firmware

Country Status (1)

Country Link
CN (2) CN113391822A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI528287B (en) * 2014-12-05 2016-04-01 英業達股份有限公司 Server system
TWI528286B (en) * 2014-12-04 2016-04-01 英業達股份有限公司 Server system
CN105700969A (en) * 2014-11-25 2016-06-22 英业达科技有限公司 Server system
CN105867949A (en) * 2016-04-29 2016-08-17 中国人民解放军国防科学技术大学 Online BIOS (basic input/output system) refreshing method for multi-node server
CN108196858A (en) * 2017-12-22 2018-06-22 天津麒麟信息技术有限公司 A kind of double BIOS systems and its implementation based on platform of soaring
CN208141370U (en) * 2018-05-23 2018-11-23 郑州云海信息技术有限公司 A kind of system for realizing double BIOS startings and upgrading
CN110908847A (en) * 2019-11-22 2020-03-24 苏州浪潮智能科技有限公司 Abnormity recovery method, system, electronic equipment and storage medium
CN112860298A (en) * 2021-02-22 2021-05-28 西安超越申泰信息科技有限公司 Remote BIOS (basic input output System) upgrading implementation method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700969A (en) * 2014-11-25 2016-06-22 英业达科技有限公司 Server system
TWI528286B (en) * 2014-12-04 2016-04-01 英業達股份有限公司 Server system
TWI528287B (en) * 2014-12-05 2016-04-01 英業達股份有限公司 Server system
CN105867949A (en) * 2016-04-29 2016-08-17 中国人民解放军国防科学技术大学 Online BIOS (basic input/output system) refreshing method for multi-node server
CN108196858A (en) * 2017-12-22 2018-06-22 天津麒麟信息技术有限公司 A kind of double BIOS systems and its implementation based on platform of soaring
CN208141370U (en) * 2018-05-23 2018-11-23 郑州云海信息技术有限公司 A kind of system for realizing double BIOS startings and upgrading
CN110908847A (en) * 2019-11-22 2020-03-24 苏州浪潮智能科技有限公司 Abnormity recovery method, system, electronic equipment and storage medium
CN112860298A (en) * 2021-02-22 2021-05-28 西安超越申泰信息科技有限公司 Remote BIOS (basic input output System) upgrading implementation method and system

Also Published As

Publication number Publication date
CN113391822A (en) 2021-09-14

Similar Documents

Publication Publication Date Title
TWI633487B (en) Method and computer system for automatically recovering the bios image file
US8136108B2 (en) Updating firmware with multiple processors
CN109587005B (en) Connection detection method and device, computer equipment and readable storage medium
WO2021136200A1 (en) Bootloader loading method, storage medium, and embedded terminal
CN109614125B (en) Firmware programming method, device and medium for solid state disk
RU2602378C1 (en) Rack with plurality of rack control modules and method of updating firmware used for rack
WO2017219861A1 (en) Method and device for controlling system start-up mode
CN106980493B (en) Firmware management method and device
CN108345464A (en) A kind of the startup method and Android vehicle device of Android system
CN111562932B (en) High-reliability embedded software upgrading method and system
CN103336701B (en) Intelligent guiding upgrade method
CN112822654A (en) Remote measuring terminal machine based on FTP remote firmware upgrading function and control method thereof
TWI786871B (en) Computer and system bootup method
CN111414184A (en) BIOS firmware updating method under domestic server
CN103970626A (en) Redundant design of FLASH for FPGA configuration in server system
CN108427885B (en) Basic input output system updating method and device
CN108234172B (en) Physical resource automatic deployment system for cloud computing
WO2016110000A1 (en) Adjustment method, device and system for power-down reboot of single plate
US11604635B2 (en) Online program updating method
CN113391822A (en) Method and device for automatically upgrading double BIOS firmware
CN108874410B (en) Patch management method and device
CN110459260B (en) Automatic test switching device, method and system
CN116560678A (en) Firmware updating method and device, storage medium and electronic device
CN108418707B (en) Method for upgrading mutual online backup of double CPLDs in communication system and service veneer
US9529581B2 (en) Circuit and method for writing program codes of basic input/output 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