CN101739315A - System and method for automatically starting backup firmware - Google Patents

System and method for automatically starting backup firmware Download PDF

Info

Publication number
CN101739315A
CN101739315A CN200810177683A CN200810177683A CN101739315A CN 101739315 A CN101739315 A CN 101739315A CN 200810177683 A CN200810177683 A CN 200810177683A CN 200810177683 A CN200810177683 A CN 200810177683A CN 101739315 A CN101739315 A CN 101739315A
Authority
CN
China
Prior art keywords
internal memory
management controller
baseboard management
bios
signal
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
CN200810177683A
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.)
Inventec Corp
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to CN200810177683A priority Critical patent/CN101739315A/en
Publication of CN101739315A publication Critical patent/CN101739315A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a system for automatically starting backup firmware, which comprises a baseboard management controller, a first BIOS memory, a reverser, and a second BIOS memory. The first BIOS memory is electrically connected with an input/output pin of the baseboard management controller; the reverser is electrically connected with the input/output pin of the baseboard management controller; and the second BIOS memory is electrically connected with the reverser. Meanwhile, the invention also discloses a method for automatically starting the backup firmware applying the system.

Description

The System and method for of automatically starting backup firmware
Technical field
The invention relates to a kind of System and method for of enabling backup firmware automatically, and particularly relevant for the System and method for of a kind of automatically starting backup BIOS.
Background technology
In computer system, basic input/output (Basic Input-Output System; BIOS) be most basic software in the computer elementary operation, mainly formed, and main storage basic input/output procedure, system information equipment, start oneself relevant and important with computing machine detects (Power-On Self Test in it by the instruction set of low order; POST) and system boot program etc.When computer booting, BIOS promptly calls stored relative program computer system is carried out start oneself detection.After detection was all finished, BIOS satisfied the bootstrap module of system that system's control is transferred to, with the loading procedure by bootstrap module complete operation system.Therefore, initial running during computing machine one start all is to carry out running according to the content of basic input/output, if basic input/output goes wrong, computing machine can't be carried out the test as internal memory, hard disk, central processing unit etc. once starting shooting, computing machine can't be started shooting smoothly.
In general computer system, all with the program instruction set burning of BIOS in non-voltile memory (Non-Volatile Memory), as Flash ROM, PROM, EPROM, EEPROM etc., and will be built in the motherboard of computing machine in the BIOS internal memory or put into the chipset of computer system, make it not influenced by the power supply supply, and can preserve its content for a long time.But the content of BIOS internal memory is not mistake can not occur fully, when the circuit structure of BIOS internal memory produces degeneration in time, or when BIOS upgrades misoperation and cause data damages, or other operation that can not expect makes its content produce mistake or data run off, produce mistake in the time of will causing computer booting to carry out bios program, and cause the system can't normal boot-strap, so that the backup of BIOS becomes be extremely important.
In the prior art, two BIOS memory storages are set in a computer system, also or in a BIOS internal memory two parts of bios programs are arranged, but because be that the mode that sees through software program is done the BIOS switching, its prerequisite must be that the data of promoter region are entirely true among the BIOS, the switching that just can finish BIOS is with smooth start, otherwise if the data of promoter region are also destroyed among the BIOS, that system still can crash in start process and can't start smoothly.
Summary of the invention
Technical matters to be solved by this invention is to provide the System and method for of a kind of automatically starting backup BIOS, behind system boot failure, automatically switches to the back-up BIOS start.
To achieve these goals, the present invention proposes a kind of system of automatically starting backup firmware, comprise a baseboard management controller, one the one BIOS internal memory, a reverser, with one the 2nd BIOS internal memory.Save as I/O pin position electric connection in the one BIOS with baseboard management controller.This I/O pin position of reverser and baseboard management controller electrically connects, and the 2nd BIOS internal memory electrically connects with reverser again.
Also include a timer in the system of automatically starting backup firmware, electrically connect with baseboard management controller.This timer also electrically connects with a BIOS internal memory and the 2nd BIOS internal memory.Timer can be a watchdog timer (watchdog timer).Also include a CPU (central processing unit) in the system, electrically connect with a BIOS internal memory and the 2nd BIOS internal memory respectively.
To achieve these goals, propose a kind of method of automatically starting backup firmware in another embodiment of the present invention, comprise baseboard management controller and send an activation signal to a BIOS internal memory; Confirm baseboard management controller whether after a schedule time, receive the signal that exceeds the time limit that is sent by a timer; After baseboard management controller received the signal that exceeds the time limit, an output of change baseboard management controller was set; Again start; Baseboard management controller is exported a decapacitation signal; And conversion decapacitation signal is that enable signal is sent to one the 2nd BIOS internal memory.
Wherein also comprise through the 2nd BIOS internal memory and finish the start timer, electrically connect with baseboard management controller.This timer also electrically connects with a BIOS internal memory and the 2nd BIOS internal memory.And after finishing start, remove timer.Wherein also comprise and utilize a reverser that the decapacitation conversion of signals is enable signal.
To achieve these goals, propose a kind of method of automatically starting backup firmware in further embodiment of this invention, comprise: baseboard management controller sends a decapacitation signal; Conversion decapacitation signal is an activation signal and is sent to one the 2nd BIOS internal memory; Confirm baseboard management controller whether after a schedule time, receive the signal that exceeds the time limit that is sent by a timer; After baseboard management controller received the signal that exceeds the time limit, an output of change baseboard management controller was set; Again start; And baseboard management controller output enable signal to a BIOS internal memory.
The System and method for of automatically starting backup firmware of the present invention is to utilize baseboard management controller to cooperate reverser to select the BIOS internal memory of start, and can utilize the success of whether starting shooting of timer decision-making system, with behind boot failure, when starting shooting again, automatically switch to the BIOS internal memory start of backup next time.
Description of drawings
For above and other objects of the present invention, feature, advantage and embodiment can be become apparent, being described in detail as follows of appended accompanying drawing:
Fig. 1 is the Organization Chart of system's one preferred embodiment of automatically starting backup firmware of the present invention;
Fig. 2 is the Organization Chart of another preferred embodiment of system of automatically starting backup firmware of the present invention;
Fig. 3 is the process flow diagram of a preferred embodiment of the method for automatically starting backup firmware of the present invention;
Fig. 4 is the process flow diagram of another preferred embodiment of the method for automatically starting backup firmware of the present invention.
[primary clustering symbol description]
100: 110: the one BIOS internal memories of system
120: the two BIOS internal memories 130: CPU (central processing unit)
140: baseboard management controller 150: reverser
160: timer 210~270: step
310~370: step
Embodiment
Below will clearly demonstrate spirit of the present invention with accompanying drawing and detailed description, any the technical staff in the technical field is after understanding preferred embodiment of the present invention, when can be by the technology of teachings of the present invention, change and modification, it does not break away from spirit of the present invention and scope.
The present invention is a kind of system and method thereof of the backup firmware that automaticallyes switch, a kind of BIOS ROM of main proposition with two backups of can automaticallying switch and provide mutually, even damage fully to reach one of them BIOSROM, system still can see through the bios program that reverser automatically switches to another backup, so that system starts smoothly.
With reference to Fig. 1, it shows the Organization Chart of system's one preferred embodiment of automatically starting backup firmware of the present invention.Include one first basic input/output ROM (read-only memory) 110 (BasicInput-Output System Read Only Memory in the system 100; BIOS ROM is designated hereinafter simply as the BIOS internal memory), one the 2nd BIOS internal memory 120, a CPU (central processing unit) 130, baseboard management controller a 140 (baseboardmanagement controller; And a reverser 150 BMC).
Wherein a BIOS internal memory 110 and the 2nd BIOS internal memory 120 are two physical memories.CPU (central processing unit) 130 electrically connects with a BIOS internal memory 110, the 2nd BIOS internal memory 120 respectively.
Wherein, a BIOS internal memory 110 and the 2nd BIOS internal memory 120 can be mutually as backup firmwares.In the present embodiment, a BIOS internal memory 110 is default start BIOS internal memory, and the 2nd BIOS internal memory 120 then is decided to be backup start BIOS internal memory.The one BIOS internal memory 110, the 2nd BIOS internal memory 120 are connected with the I/O pin position (I/O pin) of baseboard management controller 140, and reverser 150 then is between the second BIOS internal memory 120 and baseboard management controller 140.
When normal start-up system 100, a high potential signal is exported in the I/O pin position of baseboard management controller 140, be equivalent to activation (enable) signal, this high potential signal can be sent to a BIOS internal memory 110, makes a BIOS internal memory 110 be in enabled status.CPU (central processing unit) 130 can be carried out start work from a BIOS internal memory 110.
Owing to be provided with reverser 150 between baseboard management controller 140 and the 2nd BIOS internal memory 120, therefore, the I/O pin position of baseboard management controller 140 is to the high potential signal of the 2nd BIOS internal memory 120 outputs, it is reverse to be reversed device 150, and become low-potential signal, be equivalent to decapacitation (disable) signal, make the 2nd BIOS internal memory 120 be in the decapacitation state and not start.
Opposite; when system 100 can't be normally or the oneself detects (POST) when unusual; the one BIOS internal memory 110 may be damaged to some extent; therefore; when system 100 restarted next time, the I/O pin position of baseboard management controller 140 can change output one low-potential signal into, is equivalent to the decapacitation signal; this low-potential signal can be sent to a BIOS internal memory 110, makes a BIOS internal memory 110 be in the decapacitation state.
And the low-potential signal that baseboard management controller 140 is sent is when the 2nd BIOS internal memory 120 transmits, can be reverse via reverser 150, and be converted to high potential signal, and be equivalent to enable signal, make the 2nd BIOS internal memory 120 be in enabled status.At this moment, CPU (central processing unit) 130 can change into by the start of the 2nd BIOS internal memory 120, and promptly system 100 the 2nd BIOS internal memory 120 that can switch to backup behind boot failure is started shooting.
With reference to Fig. 2, it shows the Organization Chart of another preferred embodiment of system of automatically starting backup firmware of the present invention.Also include a timer 160 in the system 100, timer 160 can be watchdog timer intrinsic in the system 100 (watchdog timer).Timer 160 electrically connects with baseboard management controller 140.Timer 160 can also electrically connect with a BIOS internal memory 110 and the 2nd BIOS internal memory 120.
When system's 100 normal operations, after promptly a BIOS internal memory 110 or the 2nd BIOS internal memory 120 are started shooting successfully, the one BIOS internal memory 110 or the 2nd BIOS internal memory 120 can regularly be done removing to timer 160, represent a BIOS internal memory 110 or the 2nd BIOS internal memory 120 normally to carry out.
And when system's 100 boot failures, the numeration in the timer 160 can't be eliminated, and when counting greater than preset value, timer 160 can send one and exceed the time limit (expiration) signal to baseboard management controller 140, with expression system 100 boot failures.When exceeding the time limit during signal that baseboard management controller 140 receives that timer 160 sent, connection can be done reverse setting to the value of the I/O pin position of a BIOS internal memory 110 and the 2nd BIOS internal memory 120, with after starting shooting again next time, change the output valve of I/O pin position, and then switch to another BIOS internal memory start of use.
Wherein baseboard management controller 140 can write down whole switching state, the user can enter BIOS and read current open state or handoff procedure in start process, perhaps, send prompting by baseboard management controller 140, remind the user that the damage of BIOS internal memory is arranged, need change.
Simultaneously with reference to Fig. 2 and Fig. 3, Fig. 3 shows the process flow diagram of a preferred embodiment of the method for automatically starting backup firmware of the present invention.Step 210 is sent an activation signal to a BIOS internal memory 110 for baseboard management controller 140, and then, step 220 is for confirming that baseboard management controller 140 whether after a schedule time, receives the signal that exceeds the time limit that is sent by timer 160.If baseboard management controller 140 does not receive the signal that exceeds the time limit that timer 160 is sent, then the representative start is smooth, and a BIOS internal memory 110 has regularly removes timer 160.
If in the step 220, baseboard management controller 140 receives this signal that exceeds the time limit, and then represents this boot failure, and then, step 230 is set for the output of the I/O pin position of change baseboard management controller 140, makes output signal be set at the decapacitation signal.
In the step 240, be start again, then, in the step 250, the output signal of baseboard management controller 140 is switched, makes baseboard management controller 140 output decapacitation signals, in the step 260, this decapacitation signal is converted to an activation signal and is sent to the 2nd BIOS internal memory 120 via reverser 150, and is last, and step 270 is finished system boot for seeing through the 2nd BIOS internal memory 120.
With reference to Fig. 4, it shows the process flow diagram of another preferred embodiment of method of automatically starting backup firmware of the present invention.In the present embodiment, also can 120 conducts of the 2nd BIOS internal memory preset the start internal memory, and make a BIOS internal memory 110 as backing up the internal memories of starting shooting.
In the step 310, the start signal that baseboard management controller 140 exports a BIOS internal memory 110 and the 2nd BIOS internal memory 120 to is the decapacitation signal, then, in the step 320, this decapacitation signal is converted to enable signal via reverser 150, and be sent to the 2nd BIOS internal memory 120, and then activation the 2nd BIOS internal memory 120.
Step 330 for confirm baseboard management controller 140 whether at the fixed time after, receive the signal that exceeds the time limit that is sent by timer 160.If baseboard management controller 140 does not receive the signal that exceeds the time limit that timer 160 is sent, then the representative start is smooth, and the 2nd BIOS internal memory 120 has regularly removes timer 160.
If in the step 330, baseboard management controller 140 receives this signal that exceeds the time limit, and then represents this boot failure, and then, step 340 is set for the output of the I/O pin position of change baseboard management controller 140, makes output signal be set at enable signal.
Then, step 350 is start again, in the step 360, the output signal of baseboard management controller 140 is switched, make baseboard management controller 140 output enable signals, and this enable signal is sent to a BIOS internal memory 110, last, step 370 is finished system boot for seeing through a BIOS internal memory 110.
By the invention described above preferred embodiment as can be known, use the present invention and have following advantage.The System and method for of automatically starting backup firmware of the present invention is to utilize baseboard management controller to cooperate reverser to select the BIOS internal memory of start, and can utilize the success of whether starting shooting of timer decision-making system, with behind boot failure, when starting shooting again, automatically switch to the BIOS internal memory start of backup next time.
Though the present invention discloses as above with a preferred embodiment; right its is not in order to limit the present invention; any those of ordinary skill in the art; without departing from the spirit and scope of the present invention; when can being used for a variety of modifications and variations, so protection scope of the present invention is as the criterion when looking the accompanying Claim person of defining.

Claims (9)

1. the system of an automatically starting backup firmware is characterized in that, comprises:
One baseboard management controller has an I/O pin position;
One the one BIOS internal memory is with this I/O pin position electric connection of this baseboard management controller;
One reverser is with this I/O pin position electric connection of this baseboard management controller; And
One the 2nd BIOS internal memory electrically connects with this reverser.
2. the system of automatically starting backup firmware according to claim 1 is characterized in that, also comprises a timer, electrically connects with this baseboard management controller.
3. the system of automatically starting backup firmware according to claim 2 is characterized in that, this timer also electrically connects with a BIOS internal memory and the 2nd BIOS internal memory.
4. the method for an automatically starting backup firmware is characterized in that, comprises:
One baseboard management controller sends an activation signal to a BIOS internal memory;
Confirm this baseboard management controller whether after a schedule time, receive the signal that exceeds the time limit that is sent by a timer;
After this baseboard management controller receives this signal that exceeds the time limit, change an output of this baseboard management controller and set;
Again start;
This baseboard management controller is exported a decapacitation signal; And
Change this decapacitation signal and be sent to one the 2nd BIOS internal memory for this enable signal.
5. the method for automatically starting backup firmware according to claim 4 is characterized in that, also be included in finish start after, remove this timer.
6. the method for automatically starting backup firmware according to claim 4 is characterized in that, comprises to utilize a reverser that this decapacitation conversion of signals is this enable signal.
7. the method for an automatically starting backup firmware is characterized in that, comprises:
One baseboard management controller sends a decapacitation signal;
To change this decapacitation signal be an activation signal and be sent to one the 2nd BIOS internal memory;
Confirm this baseboard management controller whether after a schedule time, receive the signal that exceeds the time limit that is sent by a timer;
After this baseboard management controller receives this signal that exceeds the time limit, change an output of this baseboard management controller and set;
Again start; And
This baseboard management controller is exported this enable signal to one BIOS internal memory.
8. the method for automatically starting backup firmware according to claim 7 is characterized in that, also be included in finish start after, remove this timer.
9. the method for automatically starting backup firmware according to claim 7 is characterized in that, comprises to utilize a reverser that this decapacitation conversion of signals is this enable signal.
CN200810177683A 2008-11-24 2008-11-24 System and method for automatically starting backup firmware Pending CN101739315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810177683A CN101739315A (en) 2008-11-24 2008-11-24 System and method for automatically starting backup firmware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810177683A CN101739315A (en) 2008-11-24 2008-11-24 System and method for automatically starting backup firmware

Publications (1)

Publication Number Publication Date
CN101739315A true CN101739315A (en) 2010-06-16

Family

ID=42462830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810177683A Pending CN101739315A (en) 2008-11-24 2008-11-24 System and method for automatically starting backup firmware

Country Status (1)

Country Link
CN (1) CN101739315A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455950A (en) * 2010-10-28 2012-05-16 鸿富锦精密工业(深圳)有限公司 Firmware recovery system and method of base board management controller
CN102591728A (en) * 2011-01-11 2012-07-18 研祥智能科技股份有限公司 Method for starting up computer and basic input output system (BIOS) automatic restoring circuit
CN105700970A (en) * 2014-11-25 2016-06-22 英业达科技有限公司 Server system
CN102591728B (en) * 2011-01-11 2016-12-14 研祥智能科技股份有限公司 Start computer method, BIOS automatic restoring circuit
CN107480011A (en) * 2017-08-23 2017-12-15 英业达科技有限公司 BIOS switching devices
CN108897646A (en) * 2018-06-27 2018-11-27 郑州云海信息技术有限公司 A kind of switching method and baseboard management controller of BIOS chip
CN110308935A (en) * 2018-03-27 2019-10-08 纬创资通股份有限公司 Electronic device and its operating method
US10749858B2 (en) 2015-09-04 2020-08-18 Hewlett Packard Enterprise Development Lp Secure login information

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455950A (en) * 2010-10-28 2012-05-16 鸿富锦精密工业(深圳)有限公司 Firmware recovery system and method of base board management controller
CN102591728A (en) * 2011-01-11 2012-07-18 研祥智能科技股份有限公司 Method for starting up computer and basic input output system (BIOS) automatic restoring circuit
CN102591728B (en) * 2011-01-11 2016-12-14 研祥智能科技股份有限公司 Start computer method, BIOS automatic restoring circuit
CN105700970A (en) * 2014-11-25 2016-06-22 英业达科技有限公司 Server system
US10749858B2 (en) 2015-09-04 2020-08-18 Hewlett Packard Enterprise Development Lp Secure login information
CN107480011A (en) * 2017-08-23 2017-12-15 英业达科技有限公司 BIOS switching devices
CN107480011B (en) * 2017-08-23 2020-11-06 英业达科技有限公司 BIOS switching device
CN110308935A (en) * 2018-03-27 2019-10-08 纬创资通股份有限公司 Electronic device and its operating method
CN110308935B (en) * 2018-03-27 2022-06-14 纬创资通股份有限公司 Electronic device and operation method thereof
CN108897646A (en) * 2018-06-27 2018-11-27 郑州云海信息技术有限公司 A kind of switching method and baseboard management controller of BIOS chip
CN108897646B (en) * 2018-06-27 2021-10-15 郑州云海信息技术有限公司 Switching method of BIOS (basic input output System) chips and substrate management controller

Similar Documents

Publication Publication Date Title
US8046575B2 (en) Method for automatically restoring system configuration with a single key
CN102722394B (en) Start upgrading method of embedded equipment
CN101221508B (en) Equipment starting method and device
CN101739315A (en) System and method for automatically starting backup firmware
CN102439565B (en) Method and device for starting recovery
CN101373451B (en) Computer system for protecting double-basic input /output system program and control method thereof
JP2003280914A (en) Information equipment, storage medium, and method for restoring initial condition
CN111143132B (en) BIOS recovery method, device, equipment and readable storage medium
CN102455950A (en) Firmware recovery system and method of base board management controller
US10223217B2 (en) Information processing device, method for booting information processing device, and non-transitory recording medium
TW201020779A (en) System for auto-operating backup firmware and method thereof
CN102200933A (en) System BIOS (Basic Input/Output System) automatic restoring method based on dual SPI (Serial Peripheral interface) Flashes
CN108345464A (en) A kind of the startup method and Android vehicle device of Android system
CN114116280A (en) Interactive BMC self-recovery method, system, terminal and storage medium
CN105653405A (en) Fault processing method and system of U-boot
CN109063488A (en) A kind of PowerPC standby system secure bootstrapping method and system
US9547567B2 (en) Information processing system and processing method for information processing system
CN110968457A (en) Backup restoration method, system and medium for Linux operating system
CN101515236B (en) Restoring method and update module for basic input/output system and computer system
CN101799778A (en) Automatic resetting computer device and automatic resetting method
CN215769715U (en) Recovery device for abnormal starting
CN101477484A (en) Method and equipment for recovering destroyed main bootstrap program
CN101354654A (en) System and method for automatically switching basic input / output procedure
CN104102505A (en) Computer power-on method
CN103034511B (en) Changing method between a kind of Basic Input or Output System (BIOS) and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20100616