CN113849214A - BIOS online updating method and system suitable for domestic processor server - Google Patents
BIOS online updating method and system suitable for domestic processor server Download PDFInfo
- Publication number
- CN113849214A CN113849214A CN202111025814.7A CN202111025814A CN113849214A CN 113849214 A CN113849214 A CN 113849214A CN 202111025814 A CN202111025814 A CN 202111025814A CN 113849214 A CN113849214 A CN 113849214A
- Authority
- CN
- China
- Prior art keywords
- bios
- bmc
- server
- firmware
- spi flash
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000006243 chemical reaction Methods 0.000 claims description 36
- 238000011084 recovery Methods 0.000 claims description 6
- 238000012423 maintenance Methods 0.000 abstract description 5
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/654—Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/24—Resetting means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a BIOS online updating method and a system suitable for a domestic processor server, relating to the technical field of computers, wherein the method updates BIOS stored in a plurality of SPI FLASH chips through a BMC, and updates BIOS firmware through the BMC when the server normally operates or fails to be normally started; through the analog quantity switch, a plurality of SPI FLASH chips for storing BIOS firmware are automatically switched, and automatic FLASH of a plurality of BIOS firmware is realized. The invention realizes the online update of the BIOS of the domestic processor server, and can update the BIOS firmware through the BMC when the server normally operates or fails to normally start, thereby reducing the maintenance difficulty of the domestic processor server.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a BIOS online updating method and system suitable for a domestic processor server.
Background
Compared with the traditional x86 server, the design of the SPI FLASH part for storing BIOS firmware is greatly different, and the server of the x86 platform only needs to design one SPI FLASH no matter how many CPUs are in a single server. The servers of the Feiteng and Shenwei processors need SPI FLASH chips with the same number as CPUs for storing BIOS firmware, for example, a four-way server has 4 CPUs, each CPU needs to design a BIOS SPI FLASH chip, and the firmware needs to be respectively written. The eight-path server is provided with 8 CPUs and 8 SPI FLASH chips. This difference has created a special need for BIOS firmware updates in servers based on the FT, Shenwei processors.
Disclosure of Invention
The technical task of the invention is to provide a BIOS online updating method and system suitable for a domestic processor server, aiming at the defects, so as to realize online updating of the BIOS of the domestic processor server and reduce the maintenance difficulty of the domestic processor server.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a BIOS online updating method suitable for a domestic processor server updates BIOS stored in a plurality of SPI FLASH chips through a BMC, and updates BIOS firmware through the BMC when the server normally operates or fails to normally start;
through the analog quantity switch, a plurality of SPI FLASH chips for storing BIOS firmware are automatically switched, and automatic FLASH of a plurality of BIOS firmware is realized.
The method realizes the online update of the BIOS of the domestic processor server, and can update the BIOS firmware through the BMC when the server normally operates or fails to normally start, thereby reducing the maintenance difficulty of the domestic processor server.
Preferably, the SPI FLASH is GD25LQ128 or other compatible model.
Preferably, the analog switch adopts SGM 44602.
Preferably, the number of the analog switches is determined corresponding to the number of the CPUs in the server, that is, taking the application of a four-way server as an example, 4 analog switches are designed, each analog switch has two states, and can control the SPI FLASH to connect with the CPUs or connect with the level-changing chip, and the control is performed by software operated by the BMC.
Further, if the number of the server paths is n, and n analog switches are designed, when fixed updating is required, the method is performed according to the following software flow:
the BMC controls the analog switch 0, connects the corresponding SPI FLASH 0 and the level conversion chip,
accessing and accessing a corresponding SPI FLASH 0 by the BMC through a level conversion chip, and writing in new firmware;
the BMC controls the analog switch 1 to connect the corresponding SPI FLASH 1 and the level conversion chip,
accessing and accessing a corresponding SPI FLASH 1 by the BMC through a level conversion chip, and writing in new firmware;
the BMC controls the analog switch 2, connects the corresponding SPI FLASH 2 and the level conversion chip,
accessing and accessing the corresponding SPI FLASH 2 by the BMC through the level conversion chip, and writing in new firmware;
……
the BMC controls the analog switch n to connect the corresponding SPI FLASH n and the level conversion chip,
accessing and accessing a corresponding SPI FLASH n by the BMC through a level conversion chip, and writing in new firmware;
and resetting the CPU 0-n by the BMC to complete the restart.
Preferably, the number of the server paths is 4 or 8.
Preferably, the application of the method comprises remote firmware update, recovery operation after firmware damage and initial firmware flash of a newly produced mainboard.
Preferably, the method is suitable for a domestic processor server which needs more SPI FLASH chips to store BIOS firmware, and the server is a four-way or eight-way server based on a Feiteng or Shenwei processor.
The invention also claims a BIOS online updating system suitable for a domestic processor server, which updates the BIOS stored in a plurality of SPI FLASH chips through the BMC, and updates the BIOS firmware through the BMC when the server normally operates or fails and cannot be normally started;
automatically switching a plurality of SPI FLASH chips for storing BIOS firmware through an analog switch to realize the automatic FLASH of a plurality of BIOS firmware;
the BIOS online updating method comprises a hardware configuration module and a software configuration module, wherein the configuration mode is configured according to the BIOS online updating method suitable for the domestic processor server.
Further, the server is a four-way server or an eight-way server based on Feiteng and Shenwei processors.
Compared with the prior art, the BIOS online updating method and system applicable to the domestic processor server have the following beneficial effects:
the method and the system realize online updating of the BIOS of the domestic processor server, and can update the BIOS firmware through the BMC when the server normally operates or fails to normally start, thereby reducing the maintenance difficulty of the domestic processor server.
Through additional hardware design and software design, multiple BIOS chips are flashed through the BMC, the BIOS SPI FLASH is updated through the SPI interface of the BMC, and the method is suitable for remote firmware updating, recovery operation after firmware damage and initial firmware flashing of a newly-produced mainboard.
Drawings
FIG. 1 is a schematic block diagram of a BIOS online update method suitable for a home-made processor server according to an embodiment of the present invention.
Detailed Description
The invention is further described with reference to the following figures and specific examples.
The existing firmware updating technology of the multi-channel server based on the Feiteng and Shenwei processors is as follows:
after the BIOS SPI FLASH chip is detached, a general programmer is used for writing, and a BIOS socket needs to be designed on hardware. For 8-path servers, 8 pieces of servers are required to be dismounted for writing, the whole process needs about 40 minutes, the operation is very complicated and time-consuming, and therefore the method is only suitable for being used in the initial debugging stage.
The online updating function realized under the BIOS firmware is operated under a BIOS interface through storage media such as a USB flash disk and the like for updating, and the function does not need additional hardware design. However, the firmware can only be updated when the server can be normally started, and if the firmware cannot be started due to an abnormal condition, the firmware cannot be updated in this way. And the method is not suitable for the first power-on debugging of a newly produced server mainboard.
The BIOS is flashed by the BMC. The mode updates the BIOS SPI FLASH through the SPI interface of the BMC, is suitable for remote firmware updating and recovery operation after firmware damage, and can also be used for initial firmware FLASH of a newly produced mainboard. However, the number of SPI interfaces of the BMC is small, and the conventional design only supports updating the firmware stored in one piece of SPI FLASH.
The embodiment of the invention provides a BIOS online updating method suitable for a domestic processor server, which updates the BIOS stored in a plurality of SPI FLASH chips through a BMC, and updates the BIOS firmware through the BMC when the server normally operates or fails to be started normally;
through the analog quantity switch, a plurality of SPI FLASH chips for storing BIOS firmware are automatically switched, and automatic FLASH of a plurality of BIOS firmware is realized.
The SPI FLASH adopts GD25LQ128 or other compatible models;
the analog switch employs SGM 44602.
According to the method, through additional hardware design and software design, a plurality of BIOS chips are FLASH-written through the BMC, the BIOS SPI FLASH is updated through the SPI interface of the BMC, the method is suitable for remote firmware updating and recovery operation after firmware damage, and the method can also be used for initial firmware FLASH of a newly produced mainboard.
The hardware part is composed of a level conversion chip and a plurality of analog quantity switches, the number of the analog switches is determined corresponding to the number of CPUs in the server, namely 4 analog switches are designed by taking the application of four-path servers as an example, each analog switch has two states and can control an SPI FLASH to be connected with the CPU or be connected with the level conversion chip and be controlled by software operated by a BMC.
When fixed updating is needed, the method is carried out according to the following software flow:
the BMC controls the analog switch 0, connects the corresponding SPI FLASH 0 and the level conversion chip,
accessing and accessing a corresponding SPI FLASH 0 by the BMC through a level conversion chip, and writing in new firmware;
the BMC controls the analog switch 1 to connect the corresponding SPI FLASH 1 and the level conversion chip,
accessing and accessing a corresponding SPI FLASH 1 by the BMC through a level conversion chip, and writing in new firmware;
the BMC controls the analog switch 2, connects the corresponding SPI FLASH 2 and the level conversion chip,
accessing and accessing the corresponding SPI FLASH 2 by the BMC through the level conversion chip, and writing in new firmware;
the BMC controls the analog switch 3, connects the corresponding SPI FLASH 3 and the level conversion chip,
accessing and accessing the corresponding SPI FLASH 3 by the BMC through the level conversion chip, and writing in new firmware;
and resetting the CPU 0-3 by the BMC to complete the restart.
The method is suitable for a domestic processor server which needs more SPI FLASH chips to store BIOS firmware, and the server is a four-way or eight-way server based on a Feiteng or Shenwei processor.
The method realizes the online update of the BIOS of the domestic processor server, and can update the BIOS firmware through the BMC when the server normally operates or fails to normally start, thereby reducing the maintenance difficulty of the domestic processor server.
The embodiment of the invention also provides a BIOS online updating system suitable for the domestic processor server, which updates the BIOS stored in the SPI FLASH chips through the BMC, and updates the BIOS firmware through the BMC when the server runs normally or fails to start normally;
the server is a four-way or eight-way server based on Feiteng and Shenwei processors,
the SPI FLASH adopts GD25LQ128 or other compatible models; the analog switch adopts SGM 44602;
automatically switching a plurality of SPI FLASH chips for storing BIOS firmware through an analog switch to realize the automatic FLASH of a plurality of BIOS firmware;
the system comprises a hardware configuration module and a software configuration module, wherein,
the hardware configuration module is composed of a level conversion chip and a plurality of analog quantity switches, the number of the analog switches is determined corresponding to the number of CPUs in the server, 4 analog switches are designed by taking the application of four-path servers as an example, each analog switch has two states and can control the SPI FLASH to be connected with the CPU or be connected with the level conversion chip and be controlled by software operated by the BMC.
When fixed updating is needed, the method is carried out according to the following software flow:
the BMC controls the analog switch 0, connects the corresponding SPI FLASH 0 and the level conversion chip,
accessing and accessing a corresponding SPI FLASH 0 by the BMC through a level conversion chip, and writing in new firmware;
the BMC controls the analog switch 1 to connect the corresponding SPI FLASH 1 and the level conversion chip,
accessing and accessing a corresponding SPI FLASH 1 by the BMC through a level conversion chip, and writing in new firmware;
the BMC controls the analog switch 2, connects the corresponding SPI FLASH 2 and the level conversion chip,
accessing and accessing the corresponding SPI FLASH 2 by the BMC through the level conversion chip, and writing in new firmware;
the BMC controls the analog switch 3, connects the corresponding SPI FLASH 3 and the level conversion chip,
accessing and accessing the corresponding SPI FLASH 3 by the BMC through the level conversion chip, and writing in new firmware;
and resetting the CPU 0-3 by the BMC to complete the restart.
The system realizes the FLASH of a plurality of BIOS chips through BMC through additional hardware design and software design, updates BIOS SPI FLASH through the SPI interface of BMC, is suitable for remote firmware update and recovery operation after firmware damage, and can also be used for initial firmware FLASH of a newly produced mainboard.
While the invention has been shown and described in detail in the drawings and in the preferred embodiments, it is not intended to limit the invention to the embodiments disclosed, and it will be apparent to those skilled in the art that various combinations of the code auditing means in the various embodiments described above may be used to obtain further embodiments of the invention, which are also within the scope of the invention.
Claims (10)
1. A BIOS online updating method suitable for a domestic processor server is characterized in that a BMC is used for updating BIOS stored in a plurality of SPI FLASH chips, and when the server runs normally or fails and cannot be started normally, a BMC is used for updating BIOS firmware;
through the analog quantity switch, a plurality of SPI FLASH chips for storing BIOS firmware are automatically switched, and automatic FLASH of a plurality of BIOS firmware is realized.
2. The method as claimed in claim 1, wherein the SPI FLASH is GD25LQ128 or other compatible type.
3. The BIOS online updating method for domestic processor server of claim 1, wherein the analog switch adopts SGM 44602.
4. The BIOS online updating method for the domestic processor server as claimed in claim 1, 2 or 3, wherein the number of the analog switches is determined corresponding to the number of CPUs in the server, each analog switch has two states, and can control the SPI FLASH to connect with the CPU or connect with the level-changing chip, and is controlled by the software running on the BMC.
5. The BIOS online updating method for the domestic processor server as claimed in claim 4, wherein if the number of the server paths is n, and n analog switches are designed, when the fixed update is required, the update is performed according to the following software flow:
the BMC controls the analog switch 0, connects the corresponding SPI FLASH 0 and the level conversion chip,
accessing and accessing a corresponding SPI FLASH 0 by the BMC through a level conversion chip, and writing in new firmware;
the BMC controls the analog switch 1 to connect the corresponding SPI FLASH 1 and the level conversion chip,
accessing and accessing a corresponding SPI FLASH 1 by the BMC through a level conversion chip, and writing in new firmware;
the BMC controls the analog switch 2, connects the corresponding SPI FLASH 2 and the level conversion chip,
accessing and accessing the corresponding SPI FLASH 2 by the BMC through the level conversion chip, and writing in new firmware;
……
the BMC controls the analog switch n to connect the corresponding SPI FLASH n and the level conversion chip,
accessing and accessing a corresponding SPI FLASH n by the BMC through a level conversion chip, and writing in new firmware;
and resetting the CPU 0-n by the BMC to complete the restart.
6. The BIOS online updating method for the domestic processor server as claimed in claim 5, wherein the number of server ways is 4 or 8.
7. The BIOS online updating method for the domestic processor server as claimed in claim 1, wherein the application of the method comprises remote firmware update, recovery operation after firmware damage and initial firmware flash of a newly produced mainboard.
8. The BIOS online updating method for domestic processor server according to claim 1, wherein the server is a four-way or eight-way server based on Feiteng or Shenwei processor.
9. A BIOS online updating system suitable for a domestic processor server is characterized in that the system updates BIOS stored in a plurality of SPI FLASH chips through a BMC, and updates BIOS firmware through the BMC when the server normally operates or fails and cannot be normally started;
automatically switching a plurality of SPI FLASH chips for storing BIOS firmware through an analog switch to realize the automatic FLASH of a plurality of BIOS firmware;
the BIOS online updating method comprises a hardware configuration module and a software configuration module, wherein the configuration mode is configured according to the BIOS online updating method suitable for the domestic processor server, and the BIOS online updating method is as claimed in any one of claims 1 to 7.
10. The BIOS online update system for domestic processor server of claim 9 wherein the server is a four-way or eight-way server based on Feiteng or Shenwei processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111025814.7A CN113849214A (en) | 2021-09-02 | 2021-09-02 | BIOS online updating method and system suitable for domestic processor server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111025814.7A CN113849214A (en) | 2021-09-02 | 2021-09-02 | BIOS online updating method and system suitable for domestic processor server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113849214A true CN113849214A (en) | 2021-12-28 |
Family
ID=78976809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111025814.7A Pending CN113849214A (en) | 2021-09-02 | 2021-09-02 | BIOS online updating method and system suitable for domestic processor server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113849214A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1703380A2 (en) * | 2005-03-16 | 2006-09-20 | Fujitsu Limited | Method of updating firmware in computer server systems |
CN105867949A (en) * | 2016-04-29 | 2016-08-17 | 中国人民解放军国防科学技术大学 | Online BIOS (basic input/output system) refreshing method for multi-node server |
CN111414184A (en) * | 2020-04-14 | 2020-07-14 | 山东超越数控电子股份有限公司 | BIOS firmware updating method under domestic server |
CN112162771A (en) * | 2020-09-29 | 2021-01-01 | 山东超越数控电子股份有限公司 | Online updating system and method for server firmware based on domestic processor |
-
2021
- 2021-09-02 CN CN202111025814.7A patent/CN113849214A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1703380A2 (en) * | 2005-03-16 | 2006-09-20 | Fujitsu Limited | Method of updating firmware in computer server systems |
CN105867949A (en) * | 2016-04-29 | 2016-08-17 | 中国人民解放军国防科学技术大学 | Online BIOS (basic input/output system) refreshing method for multi-node server |
CN111414184A (en) * | 2020-04-14 | 2020-07-14 | 山东超越数控电子股份有限公司 | BIOS firmware updating method under domestic server |
CN112162771A (en) * | 2020-09-29 | 2021-01-01 | 山东超越数控电子股份有限公司 | Online updating system and method for server firmware based on domestic processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7143275B2 (en) | System firmware back-up using a BIOS-accessible pre-boot partition | |
US7711989B2 (en) | Storage system with automatic redundant code component failure detection, notification, and repair | |
US7797526B2 (en) | Service processor host flash update over LPC | |
US20030037282A1 (en) | Method and system for version control in a fault tolerant system | |
CN102388366B (en) | Method and device for realizing compatibility of different processors | |
WO2011000279A1 (en) | Patch generation method for dynamic software updating and control and apparatus thereof | |
US20210286692A1 (en) | Method and system for optimal boot path for a network device | |
CN101593120A (en) | Be with outer upgrade method and system | |
US7962736B1 (en) | Interactive pre-OS firmware update with repeated disabling of interrupts | |
CN101437106B (en) | Set-top box system and self-repairing method thereof | |
US20220214945A1 (en) | System Booting Method and Apparatus, Node Device, and Computer-Readable Storage Medium | |
US20190065210A1 (en) | Bios switching device | |
JPH07311753A (en) | Method and apparatus for updating of control code at inside of plurality of nodes | |
CN109408097A (en) | A kind of firmware upgrade method, device, system and a kind of electronic equipment | |
CN106990985A (en) | Apparatus and method based on BMC renewals and standby system UEFI firmwares | |
CN102929665A (en) | System for mounting drive | |
CN106775928A (en) | A kind of virtual machine Autonomic Migration Framework system and method between isomery cloud platform | |
US9411605B2 (en) | Device-less and system agnostic unified extensible firmware interface (UEFI) driver | |
US20100037042A1 (en) | System for switching bios set-values | |
US7818622B2 (en) | Method for recovering data processing system failures | |
CN104572061A (en) | UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson server | |
WO2016033941A1 (en) | Boot on-line upgrading apparatus and method | |
CN113849214A (en) | BIOS online updating method and system suitable for domestic processor server | |
TWI496086B (en) | Updating method for automatically updating bios of server | |
CN101944072A (en) | Method and equipment for configuring starting mode of terminal equipment |
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 |