CN101571817A - Mainboard and recovery method and starting method of basic input and output system thereof - Google Patents
Mainboard and recovery method and starting method of basic input and output system thereof Download PDFInfo
- Publication number
- CN101571817A CN101571817A CNA2008100943359A CN200810094335A CN101571817A CN 101571817 A CN101571817 A CN 101571817A CN A2008100943359 A CNA2008100943359 A CN A2008100943359A CN 200810094335 A CN200810094335 A CN 200810094335A CN 101571817 A CN101571817 A CN 101571817A
- Authority
- CN
- China
- Prior art keywords
- bios
- program code
- unit
- mentioned
- basic input
- 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 43
- 238000011084 recovery Methods 0.000 title claims abstract description 10
- 230000008569 process Effects 0.000 claims description 12
- 230000002159 abnormal effect Effects 0.000 claims 6
- 230000005856 abnormality Effects 0.000 claims 3
- 239000003990 capacitor Substances 0.000 claims 1
- 230000007246 mechanism Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 7
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000008034 disappearance Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
A motherboard, a BIOS recovery method thereof and a booting method of a computer device are provided. In the boot method of the computer device, a first boot block of a first basic input/output system unit is executed first, and then a second boot block of a second basic input/output system unit is executed. Then, the BIOS main program code of the second BIOS unit is executed. When the second BIOS unit crashes, the backup file is rewritten to the second BIOS unit through the recovery mechanism of the first boot block.
Description
Technical field
The present invention relates to a kind of Basic Input or Output System (BIOS) (Basic Input OutputSystem, BIOS) correlative technology field, and be particularly related to the restoration methods of a kind of motherboard and BIOS thereof and the starting-up method of computer apparatus of computer apparatus.
Background technology
The program code of Basic Input or Output System (BIOS) (BIOS) generally is to be stored in the flash memory (FlashMemory), and this store bios program code interior existence this be called the BIOS unit, wherein this BIOS unit group is located on the motherboard, and electrically connects by the South Bridge chip of a bus and motherboard.In the use of reality, bios program code may just be damaged because of carelessness.For example, in the process of update BIOS program code, in case the accident of sudden outage takes place, then might cause the program code in the BIOS unit to be damaged, and then make computer apparatus to start shooting smoothly, the user must send whole computer apparatus back to the maintenance of former manufacturer, to recover the program code in the BIOS unit.Yet this will increase sending of former manufacturer and accomplish this.
Summary of the invention
In view of this, the invention provides the restoration methods of a kind of motherboard and BIOS thereof and the starting-up method of computer apparatus, to improve the disappearance of prior art.
The starting-up method that the present invention proposes a kind of computer apparatus comprises: the first sub-program code of carrying out the start of first in first basic input-output system unit block; Carry out the second sub-program code of the start of second in second basic input-output system unit block; And the Basic Input or Output System (BIOS) main program code of carrying out second basic input-output system unit.
The present invention proposes a kind of restoration methods of Basic Input or Output System (BIOS), is applicable to first basic input-output system unit and second basic input-output system unit.First basic input-output system unit comprises first start block and the backup file.Second basic input-output system unit comprises second start block and the Basic Input or Output System (BIOS) main program code.This restoration methods comprises: carry out the first start block; Carry out the second start block; Carry out the Basic Input or Output System (BIOS) main program code; And take place when unusual when the Basic Input or Output System (BIOS) main program code, rewrite the Basic Input or Output System (BIOS) main program code with backup file.
The present invention proposes a kind of motherboard, and group is located in the computer system.This motherboard comprises: chipset, first basic input-output system unit, and second basic input-output system unit.The above-mentioned first basic input-output system unit coupling chip group, and comprise the first start block.The above-mentioned second basic input-output system unit coupling chip group, and comprise second start block and the Basic Input or Output System (BIOS) main program code.When computer system boot-strap, carry out the first start block of first basic input-output system unit, carry out the second start block of second basic input-output system unit then again, carry out the Basic Input or Output System (BIOS) main program code afterwards again.
Beneficial effect of the present invention: the embodiment of the invention utilizes two storage elements to deposit the firmware of start, when if second basic input-output system unit is damaged because of certain improper operation, still can be by the mechanism of the start of first in first basic input-output system unit block, by the flash memory of circumscribed, second basic input-output system unit that the floppy drive recovery has been damaged, perhaps automatically the backup file in first basic input-output system unit is returned to second basic input-output system unit for the user.In view of the above, improvement system is damaged and the situation that can't start shooting produces.
For the above-mentioned feature and advantage of the present invention can be become apparent, preferred embodiment cited below particularly, and cooperate appended graphicly, be described in detail below.
Description of drawings
Shown in Figure 1 is calcspar according to the computer system of first embodiment of the invention.
It shown in Fig. 2 a functional block diagram according to two BIOS unit of first embodiment of the invention.
It shown in Fig. 2 b functional block diagram according to two BIOS unit of second embodiment of the invention.
Shown in Figure 3 is process flow diagram according to the starting-up method of the computer system of preferred embodiment of the present invention.
Shown in Figure 4 is process flow diagram according to the restoration methods of the BIOS of preferred embodiment of the present invention.
Shown in Figure 5 is calcspar according to the motherboard of preferred embodiment of the present invention.
Shown in Figure 6 is calcspar according to the motherboard of third embodiment of the invention.
Shown in Figure 7 is process flow diagram according to the restoration methods of the BIOS of third embodiment of the invention.
Embodiment
Shown in Figure 1 is calcspar according to the computer system of first embodiment of the invention.The computer system 1 that present embodiment provided comprises motherboard 10, CPU (central processing unit) (CPU) 11, chipset 12, first Basic Input or Output System (BIOS) (BIOS) unit 13, reaches second Basic Input or Output System (BIOS) (BIOS) unit 14.
Above-mentioned CPU (central processing unit) 11, chipset 12, a BIOS unit 13, and the 2nd BIOS unit 14 be that group is located on the motherboard 10.In the present embodiment, chipset 12 comprises north bridge chips (figure does not show) and South Bridge chip (figure does not show).In other embodiments, chipset 12 also can be incorporated in the CPU (central processing unit) 11.
Said chip group 12 couples CPU (central processing unit) 11, a BIOS unit 13 respectively, reaches the 2nd BIOS unit 14.The 2nd BIOS unit 14 also couples a BIOS unit 13.
In the present embodiment, a BIOS unit 13, and the 2nd BIOS unit 14 respectively by 12 electric connections of a transfer bus and chipset.For example: (wherein first spi bus comprises first line of chip select (CS1#) for Serial Peripheral Interface, SPI) bus and chipset 12 electric connections by first serial peripheral interface in a BIOS unit 13; The 2nd BIOS unit 14 electrically connects by second serial peripheral interface (SPI) bus and chipset 12, and wherein second spi bus comprises second line of chip select (CS2#).In Fig. 1, for simplicity of illustration, first spi bus and second spi bus illustrate together, but first line of chip select and second line of chip select (CS2#) illustrate in addition.
Fig. 2 a is the functional block diagram of two BIOS unit illustrating according to first embodiment of the invention.The one BIOS unit 13 comprises the first start block 131.The 2nd BIOS unit 14 comprises the second start block 141 and BIOS main program code 142.
The part of at first carrying out when the program code of the above-mentioned first start block 131 and the second start block 141 is the computer system startup, it mainly is responsible for computer apparatus hardware is done basic, the simplest initialization.For example: the first start block 131 is to be used for starting fairly simple system, for example: support floppy drive (Floppy) to start and the video card demonstration.
In the present embodiment, the first start block 131 and the second start block 141 are to have a BIOS unit 13 and the 2nd BIOS unit 14 respectively.In the present embodiment, the start block 131 of first in the BIOS unit 13 is to be updated, and the start block 141 of second in the 2nd BIOS unit 14 is to be updated.In addition, in the present embodiment, a BIOS unit 13 and the 2nd BIOS unit 14 are to couple with series system.That is computer system executes after the start flow process of first start in the block 131 of a BIOS unit 13, can carry out the second start block 141 of the 2nd BIOS unit 14 then.
By this, when the second start block 141 was damaged, computer system still can be started shooting by the first start block 131, to recover the second start block 141.When BIOS main program code 142 was damaged, computer system still can be started shooting by the first start block 131, recovers BIOS main program code 142 to utilize floppy drive or other external connection type memory apparatus.
It shown in Fig. 2 b functional block diagram according to two BIOS unit of second embodiment of the invention.In this embodiment, a BIOS unit 13 comprises first a start block 131 and the BIOS main program code 132.The 2nd BIOS unit 14 comprises second start block 141 and the 2nd BIOS main program code 142 '.By this, when the 2nd BIOS main program code 142 ' was damaged, computer system still can utilize a BIOS main program code 132 to recover the 2nd BIOS main program code 142 '.
In preferred embodiment of the present invention, a BIOS unit 13 is that (Read OnlyMemory ROM), is rewritten or damages to avoid a start block 131 of first in the BIOS unit 13 or a BIOS main program code 132 ROM (read-only memory).In other embodiments, a BIOS unit 13 also can be Nonvolatile memory, for example: flash memory.In preferred embodiment of the present invention, the 2nd BIOS unit 14 is a Nonvolatile memory, and its stored content can be rewritten.
Shown in Figure 3 is process flow diagram according to the starting-up method of the computer system of preferred embodiment of the present invention.The explanation of relevant Fig. 3 please be in the lump with reference to figure 1 and Fig. 2 a.
During computer system 1 start, computer system 1 is carried out the first sub-program code (step S201) of the first start block 131 in the BIOS unit 13 earlier.
Then, computer system 1 is carried out the second sub-program code (step S203) of the second start block 141 in the 2nd BIOS unit 14.Computer system 1 does not take place unusually as if the second start block 141 in the process of implementation, and then computer system 1 is carried out BIOS main program code 142 (step S205) again, to finish boot action.
Above-mentioned computer system 1 is in the second start block 141 of carrying out the 2nd BIOS unit 14 or the process of BIOS main program code 142, if take place when machine or mistake, then computer system 1 is carried out (reset) instruction of resetting, and upgrades BIOS main program code 142 to start shooting again.
Shown in Figure 4 is process flow diagram according to the restoration methods of the BIOS of preferred embodiment of the present invention, its explanation computer system in start process because of the damage of bios program code takes place when machine or the mistake, each step of the BIOS restoration methods that present embodiment provided.
Please be simultaneously with reference to Fig. 1, Fig. 2 a and Fig. 4.When computer system 1 start, computer system 1 is carried out the first start block 131 (step S401) of a BIOS unit 13 earlier.Then, computer system 1 is just jumped (Jump) to the 2nd BIOS unit 14, to carry out the second start block 141 (step S403).
Then, computer system 1 judges whether the second start block 141 unusual (step S405) takes place, if then computer system 1 automatically performs reset indication (step S407), to recover the second start block 141 by floppy drive, CD-ROM drive or other external connection type memory apparatus; Otherwise if not, then computer system 1 continues to carry out BIOS main program code 142 (step S409).
In other embodiments, it is unusual that computer system 1 judges that the second start block 141 takes place, and then computer system 1 also can automatically perform reset indication, recovers the second start block 141 to utilize the first start block 131.
In step S405, computer system 1 can judge whether the second start block 141 takes place unusually by timing unit.In the present embodiment, timing unit realizes with software, for example: the program code that utilizes recycle design to write.
In other embodiments, timing unit realizes with hardware, as shown in Figure 5.Fig. 5 is the calcspar of the computer system that illustrates according to preferred embodiment of the present invention, please refer to Fig. 5, and timing unit 15 couples a BIOS unit 13 and the 2nd BIOS unit 14 respectively.The hard-wired timing unit 15 of this class can be resistance-capacitance delay circuit or timer reciprocal, for example: WatchDog Timer (watchdogtimer).
For instance, computer system 1 can judge whether the program code of the second start block 141 is complete in a schedule time by the timing unit of above-mentioned hardware means or software approach, with in second start block 141 disablers or during when machine, computer system 1 execution one reset indication.Preset Time for example is four seconds, arrives when four seconds one, and the not complete yet second start block 141 of computer system 1 just automatically performs reset indication.
Among step S411, computer system 1 judges whether BIOS main program code 142 takes place unusually.If but BIOS main program code 142 does not take place unusual and normal boot-strap, computer system 1 start the operating system (step S417) then.If it is unusual that BIOS main program code 142 takes place, then computer system 1 judges whether the frequency of operation of CPU (central processing unit) 11 surpasses preset value (step S413).
That is in step S413, computer system 1 judges whether to make that because of the overclocking of CPU (central processing unit) 11 generation is unusual when carrying out BIOS main program code 142.If overclocking is caused unusual, then computer system 1 is carried out first reset indication, and the initial value of frequency of operation is loaded, to allow computer system 1 be able to normal operation (step S415).
Certainly, caused by overclocking that then computer system 1 is carried out second reset indication (getting back to step S407), recovers BIOS main program code 142 to utilize floppy drive, CD-ROM drive or other external connection type memory apparatus if 142 generations of BIOS main program code are former unusually.
Also can deposit a backup file in the above-mentioned BIOS unit 13, and damage take place or during in the 2nd BIOS unit 14, by backup file recovery the 2nd BIOS unit 14 automatically when machine.Below for an embodiment it is described again.
Shown in Figure 6 is calcspar according to the motherboard of third embodiment of the invention.The motherboard 6 that this enforcement provided comprises a BIOS unit 610 and the 2nd BIOS unit 620.The one BIOS unit 610 comprises first start block 611 and the backup file 612, and the 2nd BIOS unit 620 comprises second start block 621 and the BIOS main program code 622.Motherboard 10 differences of the motherboard 6 of present embodiment and first embodiment are that a BIOS unit 610 of present embodiment has more comprised backup file 612.In view of the above, motherboard 6 just has restore funcitons.
In detail, a BIOS unit 610 also has backup file 612, for example the bios program code for backing up except having the first start block 611.By this, a BIOS unit 610 and the 2nd BIOS unit 620 all can be considered capable of starting up firmware.When 620 damages of the 2nd BIOS unit, 610 of BIOS unit return to backup file the 2nd BIOS unit 620 automatically.When treating to start shooting next time, the 2nd BIOS unit 620 has been repaired and has been finished, and the executive routine of BIOS main program code 622, be still carry out the first start block 611 after, then carry out second start block 621 and the BIOS main program code 622 of the 2nd BIOS unit 620.
Shown in Figure 7 is process flow diagram according to the restoration methods of the BIOS of third embodiment of the invention.Please be simultaneously with reference to Fig. 6 and Fig. 7.At first, when group was provided with the system boot of motherboard 6, system carried out the first start block 611 (step S701) earlier.Then, system carries out the second start block 621 (step S703).
In step S705, system judges whether the second start block 621 takes place unusually.If it is unusual that the second start block 621 takes place, then system automatically performs first reset indication (step S707).
Judging the second start block 621 when system takes place unusual and after carrying out reset indication, system just takes out backup file 612 from a BIOS unit 610 automatically, to rewrite the second start block 621 (step S709), so that the second start block 621 can normally be carried out.
If the second start block 621 does not take place unusually, then system continues to carry out BIOS main program code 622 (step S711).In step S713, system judges whether BIOS main program code 622 takes place unusually.If it is unusual that BIOS main program code 622 does not take place, then system start-up operation system (step S719).If it is unusual that BIOS main program code 622 takes place, then whether system's judgment task frequency surpasses preset value.
If overclocking is caused unusual, system carries out reset indication, and the initial value of the frequency of operation of CPU (central processing unit) is loaded (step S717), to allow system be able to normal operation.Yet, if this is caused that by overclocking system equally also carries out second reset indication (getting back to step S707).Judging the second start block 621 when system takes place unusual, and system carries out after the reset indication, system just takes out backup file 612 from a BIOS unit 610 automatically, to rewrite BIOS main program code 622 (step S709), makes BIOS main program code 622 be able to normal operation.
In sum, in embodiments of the present invention, when the 2nd BIOS unit is damaged because of certain improper operation, still can be by the start of first in BIOS unit block, recover the 2nd BIOS unit damaged for external devices such as the flash memory of user by circumscribed, floppy drives, perhaps automatically the stand-by program code in the BIOS unit is returned to the 2nd BIOS unit.In view of the above, the improvement system is damaged and the situation that can't start shooting produces, and further reduces maintenance cost.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; those of ordinary skill under any in the technical field; without departing from the spirit and scope of the present invention; should do some and change and retouching, thus protection scope of the present invention should with claims the person of being defined be as the criterion.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA2008100943359A CN101571817A (en) | 2008-04-28 | 2008-04-28 | Mainboard and recovery method and starting method of basic input and output system thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA2008100943359A CN101571817A (en) | 2008-04-28 | 2008-04-28 | Mainboard and recovery method and starting method of basic input and output system thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN101571817A true CN101571817A (en) | 2009-11-04 |
Family
ID=41231178
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNA2008100943359A Pending CN101571817A (en) | 2008-04-28 | 2008-04-28 | Mainboard and recovery method and starting method of basic input and output system thereof |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101571817A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101854428A (en) * | 2010-03-04 | 2010-10-06 | 宇龙计算机通信科技(深圳)有限公司 | Method for recovering files during mobile terminal startup |
| WO2012149716A1 (en) * | 2011-08-30 | 2012-11-08 | 华为技术有限公司 | Bootrom backup method and apparatus |
| CN103513996A (en) * | 2012-06-21 | 2014-01-15 | Tcl集团股份有限公司 | Android system recovery method of terminal equipment and terminal equipment |
| CN107944275A (en) * | 2016-10-13 | 2018-04-20 | 深圳中电长城信息安全系统有限公司 | The control method and system that a kind of firmware to computer is measured |
-
2008
- 2008-04-28 CN CNA2008100943359A patent/CN101571817A/en active Pending
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101854428A (en) * | 2010-03-04 | 2010-10-06 | 宇龙计算机通信科技(深圳)有限公司 | Method for recovering files during mobile terminal startup |
| WO2012149716A1 (en) * | 2011-08-30 | 2012-11-08 | 华为技术有限公司 | Bootrom backup method and apparatus |
| CN102906710A (en) * | 2011-08-30 | 2013-01-30 | 华为技术有限公司 | Bootrom backup method and apparatus |
| CN102906710B (en) * | 2011-08-30 | 2015-07-29 | 华为技术有限公司 | A kind of Bootrom backup method and device |
| CN103513996A (en) * | 2012-06-21 | 2014-01-15 | Tcl集团股份有限公司 | Android system recovery method of terminal equipment and terminal equipment |
| CN107944275A (en) * | 2016-10-13 | 2018-04-20 | 深圳中电长城信息安全系统有限公司 | The control method and system that a kind of firmware to computer is measured |
| CN107944275B (en) * | 2016-10-13 | 2021-06-04 | 深圳中电长城信息安全系统有限公司 | Control method and system for measuring firmware of computer |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101856284B1 (en) | Backing up firmware during initialization of device | |
| CN103299276B (en) | Software Update Process for Embedded Devices | |
| JP5575338B2 (en) | Information processing apparatus, information processing method, and computer program | |
| US8918778B2 (en) | Method of fail safe flashing management device and application of the same | |
| CN101329632B (en) | Method and apparatus for starting CPU by BOOT | |
| CN101221508B (en) | Method and device for starting equipment | |
| US20090271660A1 (en) | Motherboard, a method for recovering the bios thereof and a method for booting a computer | |
| US20040158702A1 (en) | Redundancy architecture of computer system using a plurality of BIOS programs | |
| US20120239920A1 (en) | Approaches for updating bios | |
| CN105808270A (en) | Firmware variable updating method | |
| CN105653405B (en) | A kind of fault handling method and system of Generic Bootstrap | |
| CN101571807A (en) | System with firmware and starting method thereof | |
| CN110865830A (en) | Firmware update method and computer system | |
| WO2016206514A1 (en) | Startup processing method and device | |
| TWI441081B (en) | Method for flashing firmware and booting method and electronic apparatus using the method thereof | |
| CN108345464A (en) | A kind of the startup method and Android vehicle device of Android system | |
| TWI764454B (en) | Firmware corruption recovery | |
| CN111045712A (en) | Single system upgrading method and system with backup function | |
| CN106775674B (en) | Equipment based on universal boot loader and starting method thereof | |
| CN106990985A (en) | Apparatus and method based on BMC renewals and standby system UEFI firmwares | |
| CN100454269C (en) | Automatic repair method and system for basic input and output system | |
| CN112000508A (en) | Starting repair method of ARM server and related device | |
| CN101571817A (en) | Mainboard and recovery method and starting method of basic input and output system thereof | |
| CN119336398A (en) | Basic input and output system monitoring system, method, device, equipment, and medium | |
| TW201435575A (en) | Boot fault tolerant device and method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication |
Open date: 20091104 |