CN103106161A - Display card basic input output system (BIOS) updating method based on input/output (IO) access mode - Google Patents

Display card basic input output system (BIOS) updating method based on input/output (IO) access mode Download PDF

Info

Publication number
CN103106161A
CN103106161A CN201210561699XA CN201210561699A CN103106161A CN 103106161 A CN103106161 A CN 103106161A CN 201210561699X A CN201210561699X A CN 201210561699XA CN 201210561699 A CN201210561699 A CN 201210561699A CN 103106161 A CN103106161 A CN 103106161A
Authority
CN
China
Prior art keywords
bios
display card
access mode
updated
video card
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
CN201210561699XA
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.)
709th Research Institute of CSIC
Original Assignee
709th Research Institute of CSIC
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 709th Research Institute of CSIC filed Critical 709th Research Institute of CSIC
Priority to CN201210561699XA priority Critical patent/CN103106161A/en
Publication of CN103106161A publication Critical patent/CN103106161A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

Provided is a display card basic input output system (BIOS) updating method based on an input/output (IO) access mode. The display card BIOS updating method based on the IO access mode comprises the following steps: starting a Microsoft Windows operating system and executing an updating program; selecting and positioning a to-be-updated display card according to a vendor identification number and a device identification number; judging whether a command register of peripheral component interconnect (PCI) configuration space of the to-be-updated display card enables IO access or not, reading an old BIOS in an expanded read only memory (ROM) of the to-be-updated display card through the IO access mode; writing a new BIOS into the expanded ROM of the to-be-updated display card through the IO access mode; reading the new BIOS in the expanded ROM of the to-be-updated display card through the access mode and completing calibration; and exiting the updating program and restarting the Microsoft Windows operating system. The display card BIOS updating method based on the IO access mode is capable of completing update of the display card BIOS conveniently, rapidly and reliably.

Description

A kind of display card BIOS update method based on the IO access mode
Technical field
The present invention relates to video card research and development fields, particularly a kind of can be simple in computer system, fast and the method for reliably updating display card BIOS (Basic Input Output System, Basic Input or Output System (BIOS)).
Background technology
Display card BIOS comprises traditional VGA (Video Graphics Array, Video Graphics Array) VBE of BIOS and expansion (VESA BIOS EXTENSION, the BIOS of VESA expansion), it has comprised the hardware controls program of video card, also deposit in addition the information such as video card model, specification, production firm, the time of making the product, and when start, video card has been carried out initialization.Display card BIOS plays an important role in computer system, and it affects the performance of video card capabilities.
The same with system bios, display card BIOS is stored in ROM (ROM (read-only memory)) equally.Power-on self-test (POST) is a large ingredient of system bios, its be responsible for powering on rear detection and initial work to computer system all hardware and register, this wherein comprises hints obliquely at being kept at display card BIOS in the video card expansion ROM zone that (Shadow) keeps for display card BIOS in the system hosts.With reference to figure 1, the invention provides the flow process that power-on self-test is hinted obliquely at the video card expansion ROM: enable expansion ROM, and expansion ROM is mapped to zone that is not occupied in system address space; Search reflection (Image) corresponding in expansion ROM and by the internal storage access mode, it copied to main memory reserved area (from 0C0000h to 0DFFFFh); Remove to enable (Disable) expansion ROM; Call the initialization function.After hinting obliquely at the video card expansion ROM, display card BIOS just is present in main memory, is equivalent to " shadow " of video card expansion ROM, and operating system and driver call relevant display card BIOS function by direct access main memory.
Along with the upgrading of the progress of technology and computer software and hardware system, in video card, some incomplete problems can come out, and the research staff need to constantly revise and improve display card BIOS, upgrades display card BIOS thereupon.Yet after completing the video card expansion ROM and hinting obliquely at, because expansion ROM is gone to enable, and initial allocation is operated system recoveries to the memory address space of expansion ROM, so application program can not be by conventional memory access mode access expansion ROM.In addition, traditional flow process of upgrading display card BIOS under DOS seems loaded down with trivial details tediously long, easily makes mistakes, and causes upgrading unsuccessfully, even causes the hardware damage of unrepairable.
Summary of the invention
The objective of the invention is to develop a kind of display card BIOS update method of simple and effective, make the renewal of display card BIOS easily and fast with reliable.
A kind of display card BIOS update method based on the IO access mode of the present invention, it comprises the following steps:
(1) start Microsoft's Window operating system with video card to be updated or third party's video card;
(2) select and locate video card to be updated according to vendor identification number (Vendor ID) and device identification number (Device ID);
(3) whether judgement video card PCI to be updated (Peripheral Component Interconnect, peripheral element extension interface) configuration space command register enables the IO access.If video card pci configuration space command register to be updated does not enable the IO access, enable the IO access;
(4) read old BIOS in video card expansion ROM to be updated by the IO access mode;
(5) by the IO access mode, new BIOS is write video card expansion ROM to be updated;
(6) read BIOS new in video card expansion ROM to be updated and complete verification by the IO access mode;
(7) restart Microsoft's Window operating system.
Video card of the present invention is based on PCI or PCI-E bus protocol, and applied for the IO address space of some.The computer system power-on self-test is initiated the memory access request to the video card expansion ROM, BIOS in the video card expansion ROM is mapped to the computer system main memory, and the memory address space of expansion ROM is recovered, and application program can't be by conventional memory access mode read-write expansion ROM; After entering operating system, the display card BIOS refresh routine is initiated IO read and write access request to expansion ROM according to the IO address space of video card application.In addition, the interface of video card expansion ROM adopts SPI (Serial Peripheral Interface, serial peripheral interface) agreement, and storage medium can be the FLASH(flash memory) or the EEPROM(electricallyerasable ROM (EEROM)).PCI or PCI-E IO request of access that video card is initiated the display card BIOS refresh routine convert SPI command sequence and the final SPI of formation serial signal to, thereby complete the read-write to expansion ROM.
After a kind of display card BIOS update method based on the IO access mode of the present invention is taked the IO access mode to solve video card to enter operating system, though the expansion ROM memory address space is invalid, but still can quickly and reliably complete renewal to display card BIOS, shortened the construction cycle of display card BIOS.In addition, the display card BIOS update method based on Microsoft's Window operating system that the present invention proposes, simple, convenient.
Description of drawings
Fig. 1 computer system power-on self-test of the present invention video card expansion ROM is hinted obliquely at process flow diagram;
Fig. 2 the present invention is based on the process flow diagram of the display card BIOS update method better embodiment of IO access mode.
Embodiment
With reference to Fig. 2, the display card BIOS update method better embodiment that the present invention is based on the IO access mode comprises the following steps:
201: after starting Microsoft's Window operating system, video card is selected and located to the display card BIOS refresh routine at first according to vendor identification number (Vendor ID) and device identification number (Device ID).Be provided with vendor identification number and the device identification number of acquiescence in the display card BIOS refresh routine, if the vendor identification of default setting and video card to be updated number and device identification number are consistent, need not to elect again; Otherwise need the vendor identification number of further input video card to be updated and device identification number to locate video card to be updated.
202: judge whether the pci configuration space command register has enabled the IO access.After entering operating system, conventional expansion ROM internal storage access mode lost efficacy, and the display card BIOS refresh routine is by IO access mode access expansion ROM.Operating system may go to enable (Disable) IO access, effectively whether the IO access enabled position (lowest order) of display card BIOS refresh routine viewing command register (side-play amount is 04h) (being 1), be 1 as IO access enabled position, need not to revise; Otherwise revising this position is 1.
203: back up the old BIOS of video card to be updated.Before preparing to upgrade display card BIOS, display card BIOS to be updated is backed up, in case display card BIOS upgrades unsuccessfully.During the backup display card BIOS, at first obtain the corresponding I address space of video card application to be updated, then read BIOS old in expansion ROM and be saved in file by the IO access mode.
204: read in new BIOS and write video card expansion ROM to be updated from new BIOS file.When writing expansion ROM, at first obtain the corresponding I address space of video card application to be updated, then by the IO access mode, new BIOS is write expansion ROM.
205: read the new BIOS of video card to be updated and complete verification.At first, read the BIOS that has upgraded in expansion ROM and it is saved in file by the IO access mode, again this file and the new BIOS file of video card to be updated are compared, represent that as the comparison result coupling display card BIOS is updated successfully, finish refresh routine, the reboot operation system can use new display card BIOS; Otherwise repeating step 204 and 205 is until be updated successfully.If (as outage) causes treating that display card BIOS upgrades unsuccessfully because unartificial factor, by the startup of third-party display card or integrated graphics card complete operation system; After entering operating system, still complete recovery or renewal to display card BIOS to be updated according to step shown in Figure 2.

Claims (4)

1. display card BIOS update method based on the IO access mode is characterized in that: comprise the following steps:
(1) start Microsoft's Window operating system with video card to be updated or third party's video card;
(2) select and locate video card to be updated according to vendor identification number and device identification number;
(3) judge whether video card pci configuration space command register to be updated enables the IO access; If video card pci configuration space command register to be updated does not enable the IO access, enable the IO access;
(4) read old BIOS in video card expansion ROM to be updated;
(5) new BIOS is write video card expansion ROM to be updated;
(6) read BIOS new in video card expansion ROM to be updated and complete verification;
(7) restart Microsoft's Window operating system.
2. the display card BIOS update method based on the IO access mode as claimed in claim 1, it is characterized in that: described read-write expansion ROM is completed by the IO access mode.
3. the display card BIOS update method based on the IO access mode as claimed in claim 1 is characterized in that: described video card is based on PCI or PCI-E bus protocol, and applied for the IO address space of some.
4. the display card BIOS update method based on the IO access mode as claimed in claim 1, it is characterized in that: the storage medium of described expansion ROM can be FLASH or EEPROM, and interface adopts the SPI agreement.
CN201210561699XA 2012-12-22 2012-12-22 Display card basic input output system (BIOS) updating method based on input/output (IO) access mode Pending CN103106161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210561699XA CN103106161A (en) 2012-12-22 2012-12-22 Display card basic input output system (BIOS) updating method based on input/output (IO) access mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210561699XA CN103106161A (en) 2012-12-22 2012-12-22 Display card basic input output system (BIOS) updating method based on input/output (IO) access mode

Publications (1)

Publication Number Publication Date
CN103106161A true CN103106161A (en) 2013-05-15

Family

ID=48314032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210561699XA Pending CN103106161A (en) 2012-12-22 2012-12-22 Display card basic input output system (BIOS) updating method based on input/output (IO) access mode

Country Status (1)

Country Link
CN (1) CN103106161A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224365A (en) * 2015-09-30 2016-01-06 浪潮电子信息产业股份有限公司 A kind of guarantee storage products customization bios version refresh correct control method
CN105607911A (en) * 2015-12-25 2016-05-25 浪潮电子信息产业股份有限公司 Method for automatically adjusting hard disk starting device according to different pieces of configuration information
CN109783407A (en) * 2019-01-14 2019-05-21 武汉精立电子技术有限公司 A kind of device and method for realizing PC and video card bridge joint based on FPGA
CN113467698A (en) * 2020-03-30 2021-10-01 珠海全志科技股份有限公司 Writing method and device based on file system, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584822A (en) * 2003-08-19 2005-02-23 联想(北京)有限公司 Method for upgrated computer fixing ware programm
CN201097372Y (en) * 2007-08-14 2008-08-06 旌宇企业股份有限公司 Display device for extensible basic input and output system
CN100498708C (en) * 2006-01-04 2009-06-10 中兴通讯股份有限公司 Firmware download method and device using personal computer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584822A (en) * 2003-08-19 2005-02-23 联想(北京)有限公司 Method for upgrated computer fixing ware programm
CN100498708C (en) * 2006-01-04 2009-06-10 中兴通讯股份有限公司 Firmware download method and device using personal computer
CN201097372Y (en) * 2007-08-14 2008-08-06 旌宇企业股份有限公司 Display device for extensible basic input and output system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224365A (en) * 2015-09-30 2016-01-06 浪潮电子信息产业股份有限公司 A kind of guarantee storage products customization bios version refresh correct control method
CN105607911A (en) * 2015-12-25 2016-05-25 浪潮电子信息产业股份有限公司 Method for automatically adjusting hard disk starting device according to different pieces of configuration information
CN105607911B (en) * 2015-12-25 2018-06-19 浪潮电子信息产业股份有限公司 A kind of method realized according to different configuration information adjust automatically hard disk startup equipment
CN109783407A (en) * 2019-01-14 2019-05-21 武汉精立电子技术有限公司 A kind of device and method for realizing PC and video card bridge joint based on FPGA
CN109783407B (en) * 2019-01-14 2021-01-12 武汉精立电子技术有限公司 Device and method for realizing PC and display card bridging based on FPGA
CN113467698A (en) * 2020-03-30 2021-10-01 珠海全志科技股份有限公司 Writing method and device based on file system, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US20110302572A1 (en) Embedded network device and firmware upgrading method
JP2002526828A (en) Protecting boot block code when allowing write access to the boot block
TW201624273A (en) Firmware variable update method
US20140325496A1 (en) Apparatus and method for firmware upgrade using usb
US9424022B2 (en) Method for updating firmware of an electronic device within a computer
CN104360877A (en) ECU (electronic control unit) firmware updating method based on Bootloader self update
CN109960523B (en) Firmware upgrading method and device for embedded equipment
US8281119B1 (en) Separate normal firmware and developer firmware
US20080270685A1 (en) Information processing apparatus and firmware updating method
JP2020535504A (en) How to upgrade system version and equipment
CN103106161A (en) Display card basic input output system (BIOS) updating method based on input/output (IO) access mode
CN105718281A (en) Touch screen firmware upgrading method and device
CN102609290B (en) The method for upgrading software of electronic product
US20100049961A1 (en) Update method for basic input/output system and update system thereof
US9411605B2 (en) Device-less and system agnostic unified extensible firmware interface (UEFI) driver
US20180095693A1 (en) Information processing apparatus, information processing system, and method for controlling information processing apparatus
CN112667265B (en) Method and device for updating bootstrap program
TWI515557B (en) Computer system and control method
TWI514281B (en) A sata storage device with spi interface, using this device for boot up and bios code update method thereof
CN109375953B (en) Operating system starting method and device
TWI743480B (en) Computer system and a booting method for the same
US20030177345A1 (en) Method for updating a BIOS in a notebook computer
TWI475487B (en) Booting method and electronic device
CN106611124B (en) Computer installation and its starting-up method
JP6775651B1 (en) Information processing equipment, control methods, and programs

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Huang Liang

Inventor after: Zhang Yiwei

Inventor after: Qin Xingang

Inventor after: Gao Qi

Inventor before: Gao Qihuangliang

Inventor before: Zhang Yiwei

Inventor before: Qin Xingang

Inventor before: Gao Qi

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: GAOQI HUANGLIANG ZHANG YIWEI QIN XINGANG GAO QI TO: HUANG LIANG ZHANG YIWEI QIN XINGANG GAO QI

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130515