CN105955822A - Method for improving space utilization rate of BIOS Legacy Option ROM - Google Patents

Method for improving space utilization rate of BIOS Legacy Option ROM Download PDF

Info

Publication number
CN105955822A
CN105955822A CN201610253060.3A CN201610253060A CN105955822A CN 105955822 A CN105955822 A CN 105955822A CN 201610253060 A CN201610253060 A CN 201610253060A CN 105955822 A CN105955822 A CN 105955822A
Authority
CN
China
Prior art keywords
bios
option rom
legacy
utilization rate
space utilization
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
CN201610253060.3A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201610253060.3A priority Critical patent/CN105955822A/en
Publication of CN105955822A publication Critical patent/CN105955822A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method for improving space utilization rate of a BIOS Legacy Option ROM, which comprises the following steps: setting a control module on a server system BIOS; powering on the server, starting up the server, starting the BIOS to execute and starting a control module of the BIOS; the BIOS initializes the extrapolation device, and the initialization process is that first, the Legacy ROM of all network cards is initialized, and then other cards invoke execution according to the PCI scanning sequence, namely, the execution is invoked according to the scanned device's Option ROM space size. Compared with the prior art, the method for improving the space utilization rate of the BIOS Legacy Option ROM greatly improves the space utilization rate by setting different sequential calling modes, improves the expansibility of a server system, and can support more devices; the method has the advantages that hardware cost is not increased, the method is completely realized by the script module, all servers can be realized, and the method has universality, strong practicability, easy realization and easy popularization.

Description

A kind of method improving BIOS Legacy Option ROM Space utilization rate
Technical field
The present invention relates to computer communication technology field, a kind of practical, method of raising BIOS Legacy Option ROM Space utilization rate.
Background technology
Along with the fast development of server technology, ease for use, performance and function are all constantly strengthening.The most functional, server miscellaneous emerges in an endless stream, and server configures becomes increasingly complex.BIOS(Basic Input Output System) basic input output system, as the hardware setting server master board bottom, the most direct and the manager of control, more function expansibility is provided for server, increasing PCIE slot is one feature of most important of which, client can freely arrange in pairs or groups multiple outer plug-in card, such as Raid card, SAS card, network interface card, HBA card, HCA card, GPU card etc..
PCI Option ROM is again PCI Expansion ROM.It is to initialize for equipment and the code of system boot.Some PCI Option ROM are stored on board, such as Raid, SAS card, inside the binary being then saved in BIOS having, and such as major part network interface card.
Option ROM is divided the Option ROM of the Option ROM and 3.0 having 2.1 by version.3.0 can perform Anywhere at below 1M, 2.0 can only perform after C0000, Oprom first has to when performing Oprom copies to execution region, and the Runtime Code performed meeting Copy to 0xC0000 is later somewhere.
Divide by Class Type and have Legacy Option ROM and EFI Option ROM.Currently in order to improve compatibility, major part outer plug-in card needs for performing Legacy Option ROM, owing to Option ROM performs in the space of below 1M, when the increasing outer plug-in card of collocation, this has resulted in Option ROM Space deficiency problem, the Option ROM performed after causing cannot may perform because of insufficient space, causes dysfunction.
Owing to the size of Option ROM is different with the size of RuntimeCode, in order to effectively utilize Option ROM Space, set forth herein a kind of method adjusting OPROM execution sequence, in limited space, call the more Option ROM of execution.
Summary of the invention
The technical assignment of the present invention is for above weak point, it is provided that a kind of practical, method of raising BIOS Legacy Option ROM Space utilization rate.
A kind of method improving BIOS Legacy Option ROM Space utilization rate, it implements process and is: arrange control module on server system BIOS;
Server powers on, and after starting up, BIOS starts execution and its control module is started working;
BIOS initialization extrapolation equipment, its initialization procedure is, first initializes the Legacy Option ROM of all network interface cards, and then other card calls execution according to PCI scanning sequency, i.e. according to the Option ROM Space size of the equipment scanned to call execution.
When running into the situation of Oprom ROM Space deficiency in performing, according to the equipment scanned and its Legacy Option ROM size, optimize and revise execution sequence, and flag bit is set, after system reboot, perform according to the order after adjusting.
Described execution sequence of optimizing and revising refers to preferentially perform the big equipment of Option Rom, when Option Rom space size is identical, and the limited enforcement Option Rom size equipment much larger than RuntimeCode.
A kind of method improving BIOS Legacy Option ROM Space utilization rate of the present invention, has the advantage that
The method of a kind of BIOS of raising Legacy Option ROM Space utilization rate of this invention, by arranging the method for calling of different order, is greatly improved space availability ratio, improves the autgmentability of server system, can support more equipment;Not increasing hardware costs, realized by script module completely, Servers-all all can realize, and has versatility, practical, it is easy to accomplish, it is easy to promote.
Accompanying drawing explanation
Accompanying drawing 1 is the flowchart of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings and specific embodiment the invention will be further described.
As shown in Figure 1, a kind of method improving BIOS Legacy Option ROM Space utilization rate, by improving the execution sequence of existing Option ROM, it is effectively improved the space availability ratio of Option ROM.
It realizes process:
Server powers on start, and after BIOS initialization completes CPU, internal memory etc., when initializing extrapolation equipment, the preferential Legacy Option ROM performing all network interface cards, other cards call execution according to PCI scanning sequency.
When running into the situation because Oprom ROM Space is not enough in execution, according to the equipment arrived and its Legacy Option ROM size of scanning, optimizing and revising execution sequence, put flag bit, system is Reset.
Particularly as follows:
Server system BIOS arranges control module;
Server powers on, and after starting up, BIOS starts execution and its control module is started working;
BIOS initialization extrapolation equipment, its initialization procedure is, first initializes the Legacy Option ROM of all network interface cards, and then other card calls execution according to PCI scanning sequency, i.e. according to the Option ROM Space size of the equipment scanned to call execution.
When running into the situation of Oprom ROM Space deficiency in performing, according to the equipment scanned and its Legacy Option ROM size, optimize and revise execution sequence, and flag bit is set, after system reboot, perform according to the order after adjusting.
Described execution sequence of optimizing and revising refers to preferentially perform the big equipment of Option Rom, when Option Rom space size is identical, and the limited enforcement Option Rom size equipment much larger than RuntimeCode.
Instantiation:
Due to Option ROM size with the size of RuntimeCode be different, the Option ROM size of such as Raid card 2108 is 0xA000 byte, and Runtime Code size is 0x6800 byte;The Option ROM size of ten thousand Broadcom 82599ES is 0x11E00 byte, and RuntimeCode is 0x1000 byte;When remaining space is 0x12000, execution sequence divides the following two kinds situation:
(1) first carrying out 2108,0x12000 > 0xA000, can perform, after execution, remaining space is 0x12000-0x6800=0xB800, and remaining space cannot perform less than the network interface card Option ROM of 0x11E00,82599ES, causes the functional faults such as network interface card PXE.
(2) 82599ES is first carried out, 0x12000 > 0x11E00, can perform, after execution, remaining space is 0x12000-0x1000=0x11000, and remaining space can perform more than 0xA000, the Option ROM of 2108.
The situation that execution sequence is (1) above of BIOS acquiescence, i.e. the Option ROM of network interface card finally performs, and this will result in the functional fault of system, and this fault is avoidable, i.e. performs according to the order of (2).Single channel server product is commonly equipped with 2-5 PCIE slot at present, and two-way is exactly more than 6, it is easy to the situation that Option ROM Space is not enough occur.By adjusting execution sequence, preferential execution Option Rom is big, and especially its Option Rom size equipment much larger than RuntimeCode, can be greatly improved space availability ratio.
Above-mentioned detailed description of the invention is only the concrete case of the present invention; the scope of patent protection of the present invention includes but not limited to above-mentioned detailed description of the invention; suitably change that it is done by claims of the method for a kind of BIOS of raising Legacy Option ROM Space utilization rate of any present invention of meeting and any described technical field those of ordinary skill or replace, all should fall into the scope of patent protection of the present invention.

Claims (3)

1. the method improving BIOS Legacy Option ROM Space utilization rate, it is characterised in that the process of realization is: arrange control module on server system BIOS;
Server powers on, and after starting up, BIOS starts execution and its control module is started working;
BIOS initialization extrapolation equipment, its initialization procedure is, first initializes the Legacy Option ROM of all network interface cards, and then other card calls execution according to PCI scanning sequency, i.e. according to the Option ROM Space size of the equipment scanned to call execution.
A kind of raising BIOS Legacy the most according to claim 1 The method of Option ROM Space utilization rate, it is characterized in that, when running into the situation of Oprom ROM Space deficiency in performing, according to the equipment scanned and its Legacy Option ROM size, optimize and revise execution sequence, and flag bit is set, after system reboot, perform according to the order after adjusting.
A kind of raising BIOS the most according to claim 2 The method of Legacy Option ROM Space utilization rate, it is characterized in that, described execution sequence of optimizing and revising refers to preferentially perform the big equipment of Option Rom, when Option Rom space size is identical, and the limited enforcement Option Rom size equipment much larger than RuntimeCode.
CN201610253060.3A 2016-04-22 2016-04-22 Method for improving space utilization rate of BIOS Legacy Option ROM Pending CN105955822A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610253060.3A CN105955822A (en) 2016-04-22 2016-04-22 Method for improving space utilization rate of BIOS Legacy Option ROM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610253060.3A CN105955822A (en) 2016-04-22 2016-04-22 Method for improving space utilization rate of BIOS Legacy Option ROM

Publications (1)

Publication Number Publication Date
CN105955822A true CN105955822A (en) 2016-09-21

Family

ID=56915156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610253060.3A Pending CN105955822A (en) 2016-04-22 2016-04-22 Method for improving space utilization rate of BIOS Legacy Option ROM

Country Status (1)

Country Link
CN (1) CN105955822A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632860A (en) * 2017-09-14 2018-01-26 南京百敖软件有限公司 A kind of UEFI BIOS loading PCIE Option Rom method
CN107885684A (en) * 2017-11-24 2018-04-06 联想(北京)有限公司 Information processing method and electronic equipment
CN111352663A (en) * 2020-02-21 2020-06-30 苏州浪潮智能科技有限公司 Method and system for controlling execution of Option Rom of PCIE (peripheral component interface express) equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101000547A (en) * 2006-01-10 2007-07-18 英业达股份有限公司 Method and system configuring data optimal sequential processing on auxiliary equipment of computer
CN101000586A (en) * 2006-01-13 2007-07-18 英业达股份有限公司 On-line processing method and system for peripheral equipment of computer operated by person
CN101114230A (en) * 2006-07-26 2008-01-30 英业达股份有限公司 Method for reading and electing read only memory program code on self-storing mechanism
CN101739267A (en) * 2008-11-27 2010-06-16 英业达股份有限公司 Method for initializing peripheral device and computer system
CN102169446A (en) * 2011-05-16 2011-08-31 北京北大众志微系统科技有限责任公司 BIOS (basic input/output system) system and method based on basic input/output system of open source system
US20130311761A1 (en) * 2012-05-21 2013-11-21 International Business Machines Corporation Intelligently Loading Legacy Option ROMs In A Computing System

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101000547A (en) * 2006-01-10 2007-07-18 英业达股份有限公司 Method and system configuring data optimal sequential processing on auxiliary equipment of computer
CN101000586A (en) * 2006-01-13 2007-07-18 英业达股份有限公司 On-line processing method and system for peripheral equipment of computer operated by person
CN101114230A (en) * 2006-07-26 2008-01-30 英业达股份有限公司 Method for reading and electing read only memory program code on self-storing mechanism
CN101739267A (en) * 2008-11-27 2010-06-16 英业达股份有限公司 Method for initializing peripheral device and computer system
CN102169446A (en) * 2011-05-16 2011-08-31 北京北大众志微系统科技有限责任公司 BIOS (basic input/output system) system and method based on basic input/output system of open source system
US20130311761A1 (en) * 2012-05-21 2013-11-21 International Business Machines Corporation Intelligently Loading Legacy Option ROMs In A Computing System

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632860A (en) * 2017-09-14 2018-01-26 南京百敖软件有限公司 A kind of UEFI BIOS loading PCIE Option Rom method
CN107885684A (en) * 2017-11-24 2018-04-06 联想(北京)有限公司 Information processing method and electronic equipment
CN111352663A (en) * 2020-02-21 2020-06-30 苏州浪潮智能科技有限公司 Method and system for controlling execution of Option Rom of PCIE (peripheral component interface express) equipment

Similar Documents

Publication Publication Date Title
US8645605B2 (en) Sharing multiple virtual functions to a host using a pseudo physical function
US8521929B2 (en) Virtual serial port management system and method
CN107567629B (en) Dynamic firmware module loader in trusted execution environment container
US8930684B2 (en) Adding a runtime service for firmware-based images for a device not known to an operating system
WO2012050719A2 (en) Virtual desktop configuration and operation techniques
US20200379930A1 (en) System and method for transforming legacy sr-iov devices to appear as siov queue pairs using a management controller
CN108885572B (en) Secure driver platform
US10452419B2 (en) Device virtualization for containers
US8973019B1 (en) Method and system for emulation of super speed devices in virtual machines
US20120005321A1 (en) Router and remote boot method using the router
US20140208089A1 (en) System and Method for Dynamically Changing System Behavior by Modifying Boot Configuration Data and Registry Entries
CN105955822A (en) Method for improving space utilization rate of BIOS Legacy Option ROM
WO2021120960A1 (en) Usb serial port realization method for linux system console, and related product
WO2023151287A1 (en) Startup control method, apparatus and device for pci devices in arm server
CN110688235B (en) System and method for sharing wireless connection information between UEFI firmware and OS
US20160196147A1 (en) Systems And Methods Of Providing Multiple Video Outputs During A Pre-boot Environment
CN111163167A (en) System installation method and device
KR102176298B1 (en) Method and device for use to access the container
US20180046467A1 (en) Microvisor run time environment offload processor
CN109165037A (en) A kind of program online updating method and system based on serial ports processor
CN105279011A (en) Method for performing system restoring on virtual machine according to mirror image
US20240220235A1 (en) Virtual machine hot-upgrading method and apparatus, device, and storage medium
US9778936B1 (en) Booting a computing system into a manufacturing mode
US9529740B1 (en) Method for creation of a device driver for a peripheral device
US12032969B2 (en) Management controller as bios

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160921