CN101425028B - Computer system and method for repairing firmware of the computer system - Google Patents

Computer system and method for repairing firmware of the computer system Download PDF

Info

Publication number
CN101425028B
CN101425028B CN2007101680040A CN200710168004A CN101425028B CN 101425028 B CN101425028 B CN 101425028B CN 2007101680040 A CN2007101680040 A CN 2007101680040A CN 200710168004 A CN200710168004 A CN 200710168004A CN 101425028 B CN101425028 B CN 101425028B
Authority
CN
China
Prior art keywords
firmware
mentioned
display unit
computer system
nonvolatile memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2007101680040A
Other languages
Chinese (zh)
Other versions
CN101425028A (en
Inventor
罗楠焜
彭启峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Asustek Computer Inc
Original Assignee
Asustek Computer Inc
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 Asustek Computer Inc filed Critical Asustek Computer Inc
Priority to CN2007101680040A priority Critical patent/CN101425028B/en
Publication of CN101425028A publication Critical patent/CN101425028A/en
Application granted granted Critical
Publication of CN101425028B publication Critical patent/CN101425028B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a firmware repairing method of a computer system, comprising the following steps: entering a firmware repairing mode, checking that whether a nonvolatile memory stores a display unit initialized firmware, reading the display unit initialized firmware from a storage device when the nonvolatile memory does not store the display unit initialized firmware completely and initializing a display unit, displaying a firmware repairing prompt by the display unit, reading complete and initialized firmware by the storage device and storing the firmware in the nonvolatile memory, and finally restarting the system.

Description

The method for repairing firmware of computer system and computer system
Technical field
The invention relates to the method for repairing firmware of a kind of computer system and computer system.
Background technology
Present computer system manufacturer can constantly provide the firmware of user's new edition along with development of technology, upgrades firmware voluntarily for the user and promotes the usefulness of computer system or support more how new peripheral equipment.When the user upgrades in the process of firmware voluntarily, the action that the firmware on the motherboard must be read and write the flash memory on the motherboard, but in case when upgrading failure, then need carry out the firmware reparation earlier because of external factors such as misoperation or outages.
Owing to carry out the firmware reparation, still need use flash memory, but impaired when upgrading failure in the flash memory; May lose most of data; Have only the data in the part ROM (read-only memory) (ROM) in the flash memory unaffected, this occupies display unit (card) the initialization firmware of big storage space for being stored in the flash memory; Often can't be placed on ROM (read-only memory); Therefore in the time of will carrying out the firmware reparation,, and can not find display unit initialization firmware or do not have complete display card initialization firmware but because of impaired when upgrading failure in the flash memory.Therefore, computer system will can't be with the display unit initialization because lacking display unit initialization firmware when repairing firmware, and the user more can't see that the firmware reparation points out to do from the display device that display unit is controlled and repair or upgrade.At this moment, the user can only select to send The whole calculations machine system back to the manufacturer maintenance, and then produces inconvenience greatly.
Summary of the invention
The present invention provides a kind of method for repairing firmware of computer system, lets the user can accomplish the work that firmware is repaired voluntarily, to exempt the inconvenience that must computer system be sent back to manufacturer's maintenance.
The present invention provides a kind of computer system in addition, lets the user can repair firmware voluntarily, and does not need to send computer system back to the manufacturer maintenance.
The method for repairing firmware of computer system of the present invention comprises the following steps: to get into a firmware and repairs pattern.Check and whether store a display unit initialization firmware in the Nonvolatile memory.When not storing above-mentioned display unit initialization firmware in the Nonvolatile memory fully, from a storage device, read above-mentioned display unit initialization firmware, and initialization one display unit.Show firmware reparation prompting with display unit.Read a complete initialization firmware by storage device, and be stored in the Nonvolatile memory.Again start shooting at last.
In the method for repairing firmware of computer system of the present invention, more comprise when storing display unit initialization firmware in the Nonvolatile memory reading displayed unit initialization firmware from Nonvolatile memory, and initialization display unit.
In the method for repairing firmware of this computer system, from storage device, before the reading displayed unit initialization firmware, be for the Storage Media in the storage device is read.
In the method for repairing firmware of this computer system, the step of reading displayed unit initialization firmware from storage device is that (universal serial bus USB) reads in the device from a hard disk drive, a floppy drive, a CD-ROM drive or a USB.
In the method for repairing firmware of this computer system, read complete initialization firmware and the method that is stored in the Nonvolatile memory comprises the following steps.Read complete initialization firmware and be stored in the volatile ram by storage device.Then complete initialization firmware stored in the volatile ram is stored in the Nonvolatile memory.
In the method for repairing firmware of this computer system, get into firmware and repair pattern, for not having the complete initialization firmware of storage in the inspection Nonvolatile memory, just get into firmware and repair pattern.
In the method for repairing firmware of this computer system, wherein read complete initialization firmware by storage device, to be a user according to above-mentioned firmware reparation point out carries out setting memory devices and reads above-mentioned complete initialization firmware.
Computer system of the present invention comprises a chipset and the display unit, a Nonvolatile memory, a volatile ram, a storage device and the CPU that are couple to chipset respectively.Do not store a complete initialization firmware of computer system in the CPU inspection Nonvolatile memory; Then get into a firmware and repair pattern, if not when not storing display unit initialization firmware fully in the volatile ram, from storage device reading displayed unit initialization firmware; And initialization display unit; Display unit shows firmware reparation prompting, and the complete initialization firmware of storage device is stored in the Nonvolatile memory, then start again.
In this computer system, chipset comprises: a north bridge chips and a South Bridge chip.North bridge chips couples CPU and display unit.South Bridge chip couples north bridge chips, Nonvolatile memory and storage device.
In this computer system, display unit is Video Graphics Array (video graph array, a VGA) display unit.
In this computer system, Nonvolatile memory is a flash memory.
In this computer system, Nonvolatile memory is that can erase internal memory and a ROM (read-only memory) of an electronics constitutes.
In this computer system, storage device is any or its combination in any of a hard disk drive, a floppy drive, a CD-ROM drive and a universal serial bus device.
In this computer system, Nonvolatile memory is via low pin-count (low pin count, LPC) interface or a serial perimeter interface (serial peripheral interface, SPI) a coupling chip group.
In sum; In the method for repairing firmware of computer system of the present invention and computer system; Can be from storage device reading displayed unit initialization firmware and initialization display unit; The firmware reparation that display device the showed prompting of controlling according to display unit for the user and repair firmware voluntarily, and then the convenience when increasing the user and using this computer system.
For let above and other objects of the present invention, feature and advantage can be more obviously understandable, hereinafter is special lifts preferred embodiment, and cooperates appended graphicly, elaborates as follows.
Description of drawings
Fig. 1 is the framework calcspar of the computer system of one embodiment of the invention.
Fig. 2 is the process flow diagram of method for repairing firmware of the computer system of one embodiment of the invention.
Embodiment
Fig. 1 is the framework calcspar of the computer system of one embodiment of the invention.Please with reference to Fig. 1; The computer system 100 of present embodiment comprises a chipset 110 and a display unit 120 that couples with chipset 110, a Nonvolatile memory 130, a volatile ram 140 (being commonly referred to as primary memory), a storage device 150 and a CPU 160, and this volatile ram 140 can be integrated in CPU 160 inside in the different size system.After computer system 100 was opened, CPU 160 can be checked the complete initialization firmware that whether stores computer system 100 in the Nonvolatile memory 130.If no, then computer system 100 can get into a firmware and repair pattern.
Said chip group 110 is for example with a north bridge chips 112 and 114 formations of a South Bridge chip.North bridge chips 112 couples CPU 160, display unit 120 and volatile ram 140 respectively.South Bridge chip 114 couples north bridge chips 112, Nonvolatile memory 130 and storage device 150.Display unit 120 can comprise video and graphic array display unit (VGA), is integrated in the motherboard of computer system 100, or the combination of a display card and a display, in order to show that computer related information is in display unit 120.
Nonvolatile memory 130 can be a flash memory; For example can constitute by can erase internal memory, ROM (read-only memory) or other non-voltile memory of electronics; Its characteristic still can store the data in the Nonvolatile memory 130 after the power supply supply of cutting off Nonvolatile memory 130, is different from volatile ram 140 data behind power-off and loses fully.Therefore, Nonvolatile memory 130 can be than the initialization firmware of safe storage The whole calculations machine system 100.Said firmware generally comprise Basic Input or Output System (BIOS) (basic input output system, BIOS).Nonvolatile memory 130 can be coupling chip group 110 via a connecting interface 170, and this connecting interface 170 for example is the connecting interface of low pin-count interface, serial circumference interface or other form.
But Nonvolatile memory 130 comprises the ROM (read-only memory) part (figure shows) that stores master data and the electronics of bigger display unit (card) the initialization firmware in the storing memory space interior nonresident portion (figure is demonstration) of can erasing for example.Wherein, nonresident portion can provide the action of read-write in electronics can be erased, and was generally used in to connect under the different peripheral assemblies; Institute carries out tough body renewal and sets; But if carrying out tough body renewal, when upgrading failure because of external factors such as misoperation or outages, will directly cause electronics can erase in nonresident portion lose most of data; For example display unit (card) initialization firmware does not have complete or can not find situation, and can't inform the state that the user is present with display unit.Therefore the present invention is at indoor design one control program; When the initialization firmware that is checked through Nonvolatile memory 130 is imperfect, then carry out a firmware and repair pattern, at first obtain display unit initialization firmware; Its source can be Nonvolatile memory 130 or storage device 150; Unit to be shown can provide firmware reparation prompting, just can further select to read a complete initialization firmware by storage device 150, and be stored in the above-mentioned Nonvolatile memory.
The storage device 150 of present embodiment comprise any of CD-ROM drive 151, Winchester disk drive 152, floppy drive 153 and universal serial bus device 154 or the storage device of combination in any, storage device 150 also can also comprise the storage device of other kind certainly.
Fig. 2 is the process flow diagram of method for repairing firmware of the computer system of one embodiment of the invention.Please with reference to Fig. 1 and Fig. 2, at first, after opening computer system 100, CPU 160 can be checked the complete initialization firmware that whether stores computer system 100 in the Nonvolatile memory 130.Upgrade failure, the then partially or completely damage usually of the initialization firmware in the Nonvolatile memory 130 if make a mistake in the computer system 100 tough body renewal process formerly.At this moment, the work that just needs firmware to repair.Therefore, computer system 100 can get into a firmware and repair pattern, like step S110.
Then, whether store the display unit initialization firmware of display unit 120 in the Nonvolatile memory 130 of CPU 160 meetings inspection computer system 100, like step S120 via chipset 110.When storing the display unit initialization firmware of display unit 120 in the Nonvolatile memory 130, the display unit initialization firmware of reading displayed unit 120 from Nonvolatile memory 130, and be used for initialization display unit 120, like step S132.When not storing the display unit initialization firmware of display unit 120 in the Nonvolatile memory 130 fully; Then in storage device 150, seek the display unit initialization firmware that whether has display unit 120; And at the display unit initialization firmware that finds reading displayed unit, back 120; With initialization display unit 120, like step S134.Wherein, the display unit initialization firmware of display unit 120 possibly be in the storage device 150 that before had been stored in like Winchester disk drive.Perhaps; Also can be when knowing that will carry out firmware repairs by the user; Before just will in all storage devices 150, seeking the display unit initialization firmware that whether has display unit 120; The Storage Media that will have the display unit initialization firmware of display unit 120 is put into like storage devices such as floppy drive or CD-ROM drive 150, or the storage device that will have the display unit initialization firmware of display unit 120 sees through the interface coupling chip group 110 like USB.
Afterwards, to show firmware reparation prompting, like step S140 through initialized display unit 120.By this; The user could point out according to the firmware reparation that display unit 120 is shown; Come to provide step by step instruction to CPU 160 as a reference, perhaps automatically perform and do not need the user to import any instruction, and from storage device 150, read the complete initialization firmware of computer system 100; And this complete initialization firmware is stored in the Nonvolatile memory 130, like step S150.
Wherein, The complete initialization firmware of computer system 100 possibly be stored in the display unit initialization firmware of employed display unit 120 among the step S132 in the identical or different assembly in the storage device 150; For example be to have CD-ROM drive or have CD-ROM drive and universal serial bus device respectively equally, do not do any qualification.The initialization firmware of required all component when but the complete initialization firmware of computer system 100 is meant 100 normal operations of initializing computer system.Complete initialization firmware stored in the storage device 150 can be reflection shelves by compiling (compile) earlier usually.In addition; At the complete initialization firmware that reads computer system 100 and when being stored to Nonvolatile memory 130; Can read the complete initialization firmware of computer system 100 earlier and be stored in the volatile ram 140, then the more complete initialization firmware of computer system 100 is stored in the Nonvolatile memory 130 from volatile ram 140.
Behind completing steps S150, will start shooting again, like step S160.So far, promptly accomplish the firmware reparation of computer system 100.
In sum, in the method for repairing firmware of the present invention's computer system and computer system, even there has not been display unit initialization firmware in Nonvolatile memory, still can be from storage device reading displayed unit initialization firmware and initialization display unit.Therefore; The user still can accomplish the work that firmware is repaired according to firmware reparation that the display device of being controlled by display unit showed prompting voluntarily; Do not need to send computer system back to manufacturer maintenance, and then the convenience when increasing the user and using this computer system.
Though the present invention discloses as above with preferred embodiment; Right its is not in order to limit the present invention; Has common knowledge the knowledgeable in the technical field under any; In spirit that does not break away from the present invention and scope, when can doing a little change and retouching, so the claim person of defining that the present invention's protection domain attaches after looking is as the criterion.

Claims (13)

1. the method for repairing firmware of a computer system is characterized in that, comprises the following steps:
Get into a firmware and repair pattern;
Check and whether store a display unit initialization firmware in the Nonvolatile memory;
When not storing above-mentioned display unit initialization firmware in the above-mentioned Nonvolatile memory fully, from a storage device, read above-mentioned display unit initialization firmware, and initialization one display unit;
Show firmware reparation prompting with above-mentioned display unit;
Read a complete initialization firmware by said storage unit, and be stored in the above-mentioned Nonvolatile memory; And
Again start shooting.
2. the method for repairing firmware of computer system according to claim 1; It is characterized in that; More comprise when storing above-mentioned display unit initialization firmware in the above-mentioned Nonvolatile memory, from Nonvolatile memory, read above-mentioned display unit initialization firmware and the above-mentioned display unit of initialization.
3. the method for repairing firmware of computer system according to claim 1; It is characterized in that; Wherein from said storage unit, reading the step of above-mentioned display unit initialization firmware, is from a hard disk drive, a floppy drive, a CD-ROM drive or a universal serial bus device, to read.
4. the method for repairing firmware of computer system according to claim 1 is characterized in that, wherein reads above-mentioned complete initialization firmware and is stored to above-mentioned Nonvolatile memory, comprising:
Read above-mentioned complete initialization firmware and be stored in the volatile ram by said storage unit; And
Above-mentioned complete initialization firmware in the above-mentioned volatile ram is stored in the above-mentioned Nonvolatile memory.
5. the method for repairing firmware of computer system according to claim 1 is characterized in that, wherein gets into above-mentioned firmware and repairs pattern, does not have the above-mentioned complete initialization firmware of storage in the above-mentioned Nonvolatile memory for checking, just gets into above-mentioned firmware and repairs pattern.
6. the method for repairing firmware of computer system according to claim 1 wherein reads above-mentioned complete initialization firmware by said storage unit, and to be a user according to above-mentioned firmware reparation point out carries out setting memory devices and read above-mentioned complete initialization firmware.
7. the method for repairing firmware of computer system according to claim 1 is characterized in that, wherein from said storage unit, is reading above-mentioned display unit initialization firmware, is for the Storage Media in the storage device is read.
8. a computer system is characterized in that, comprising:
Be used to get into the device that a firmware is repaired pattern;
Be used for checking whether a Nonvolatile memory stores the device of a display unit initialization firmware;
Be used for when above-mentioned Nonvolatile memory does not store above-mentioned display unit initialization firmware fully, from a storage device, reading above-mentioned display unit initialization firmware, and the device of initialization one display unit;
Be used for showing the device of firmware reparation prompting with above-mentioned display unit;
Be used for reading a complete initialization firmware, and be stored to the device in the above-mentioned Nonvolatile memory by said storage unit; And
The device that is used to start shooting again.
9. computer system according to claim 8; It is characterized in that; Also comprise and be used for when above-mentioned Nonvolatile memory stores above-mentioned display unit initialization firmware, from Nonvolatile memory, reading the device of above-mentioned display unit initialization firmware and the above-mentioned display unit of initialization.
10. computer system according to claim 8 is characterized in that, also comprises the device that is used for reading from a hard disk drive, a floppy drive, a CD-ROM drive or a universal serial bus device above-mentioned display unit initialization firmware.
11. computer system according to claim 8 is characterized in that, also comprises:
Be used for reading above-mentioned complete initialization firmware and being stored to the device of a volatile ram by said storage unit; And
Be used for the above-mentioned complete initialization firmware of above-mentioned volatile ram is stored to the device in the above-mentioned Nonvolatile memory.
12. computer system according to claim 8 is characterized in that, also comprises being used for checking that above-mentioned Nonvolatile memory does not have the above-mentioned complete initialization firmware of storage, gets into the device that above-mentioned firmware is repaired pattern.
13. computer system according to claim 8 is characterized in that, also comprises the device that is used for a Storage Media of storage device is read above-mentioned display unit initialization firmware.
CN2007101680040A 2007-10-31 2007-10-31 Computer system and method for repairing firmware of the computer system Active CN101425028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101680040A CN101425028B (en) 2007-10-31 2007-10-31 Computer system and method for repairing firmware of the computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101680040A CN101425028B (en) 2007-10-31 2007-10-31 Computer system and method for repairing firmware of the computer system

Publications (2)

Publication Number Publication Date
CN101425028A CN101425028A (en) 2009-05-06
CN101425028B true CN101425028B (en) 2012-01-25

Family

ID=40615660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101680040A Active CN101425028B (en) 2007-10-31 2007-10-31 Computer system and method for repairing firmware of the computer system

Country Status (1)

Country Link
CN (1) CN101425028B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023906B (en) * 2010-11-22 2013-02-13 杭州海康威视数字技术股份有限公司 Microprocessor of portable terminal as well as portable terminal and repair method thereof
CN104239163B (en) * 2013-06-19 2016-04-13 腾讯科技(深圳)有限公司 Software repair and device
CN107943608A (en) * 2017-12-15 2018-04-20 徐州领路人教育咨询有限公司 A kind of computer repair system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1461997A (en) * 2002-04-23 2003-12-17 华硕电脑股份有限公司 Method of automatic repairing basic input output system element and module
CN1955926A (en) * 2005-10-26 2007-05-02 华硕电脑股份有限公司 Initialization method and system of display chip

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1461997A (en) * 2002-04-23 2003-12-17 华硕电脑股份有限公司 Method of automatic repairing basic input output system element and module
CN1955926A (en) * 2005-10-26 2007-05-02 华硕电脑股份有限公司 Initialization method and system of display chip

Also Published As

Publication number Publication date
CN101425028A (en) 2009-05-06

Similar Documents

Publication Publication Date Title
TWI382346B (en) Computer system with dual bios protection mechanism and control method of the same
CN100474260C (en) Information processing apparatus, storage medium, and data rescue method
CN101373451B (en) Computer system for protecting double-basic input /output system program and control method thereof
CN104123153A (en) Apparatus and method for firmware upgrade using USB
US20150154033A1 (en) Computer system and boot method thereof
US20150143098A1 (en) Method for updating firmware of an electronic device within a computer
CN101634960A (en) Method for revising BIOS parameter and regenerating checksum
US20100049961A1 (en) Update method for basic input/output system and update system thereof
CN102479121A (en) Method for realizing and testing redundant array of independent disks (RAID)
TWI534707B (en) Computer system, shutdown and boot method thereof
CN102841802A (en) Software upgrading method for mobile terminal
CN101425028B (en) Computer system and method for repairing firmware of the computer system
CN103425549A (en) Firmware managing method and system of embedded controller
TWI515557B (en) Computer system and control method
CN102043638A (en) Computer system and computer startup setting method
US20080052427A1 (en) Computer backup system at BIOS level
TWI229793B (en) Method and apparatus for identifying hardware compatibility and enabling stable software revision selection
CN100410893C (en) Method and apparatus for master-controlled applied programm of self-repairing built-in equipment
CN100498710C (en) Method for reading and electing read only memory program code on self-storing mechanism
CN104239245A (en) Electronic system and operating method
US20090112941A1 (en) Computer system and firmware recovery method for computer system
CN103136010A (en) Firmware update method and firmware update device capable of being used by firmware update method
CN101620540A (en) Method for installing computer system
CN102681859A (en) Method for starting Windows operation systems from USB (universal serial bus) mass storage device
TW201801093A (en) Data storage device and operating method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant