CN107656885A - A kind of collocation method of the adaptive display interfaces of UEFI BIOS - Google Patents
A kind of collocation method of the adaptive display interfaces of UEFI BIOS Download PDFInfo
- Publication number
- CN107656885A CN107656885A CN201610596685.XA CN201610596685A CN107656885A CN 107656885 A CN107656885 A CN 107656885A CN 201610596685 A CN201610596685 A CN 201610596685A CN 107656885 A CN107656885 A CN 107656885A
- Authority
- CN
- China
- Prior art keywords
- uefi bios
- data value
- preset
- file
- guiding
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
A kind of collocation method of the adaptive display interfaces of UEFI BIOS, for realizing a kind of mainboard of the compatible two kinds of display interfaces configurations of UEFI BIOS ROM, including:S1, UEFI BIOS power-on self-tests, step S2 is jumped to if UEFI BIOS selections Windows 7 starts, step S3 is jumped to if UEFI BIOS selections Windows 8/10 starts;S2, UEFI BIOS read the data value for the preset byte index being burnt in advance in SPD chips, if the data value is the first preset value, load the first guiding file in UEFI BIOS ROM;If the data value is the second preset value, the second guiding file in UEFI BIOS ROM is loaded;S3, UEFI BIOS read the data value for the preset byte index being burnt in advance in SPD chips, if the data value is the first preset value, load the 3rd guiding file in UEFI BIOS ROM;If the data value is the second preset value, the 4th guiding file in UEFI BIOS ROM is loaded;The present invention loads different guiding files, to realize the adaptive of display interface for two kinds of common display interface configurations and system type.
Description
Technical field
The present invention relates to computer realm, more particularly to a kind of collocation method of the adaptive display interfaces of UEFI BIOS.
Background technology
Different mainboards is typically arranged with different display configuration interfaces, and in the prior art, UEFI BIOS ROM are typically special
The opposite sex matches with the mainboard of certain display interface, and this has resulted in the waste of ample resources, and configuration is dumb.
The content of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, there is provided a kind of UEFI BIOS are certainly
Adapt to the collocation method of display interface.
The technical solution adopted for the present invention to solve the technical problems is:Constructing a kind of UEFI BIOS, adaptively display connects
The collocation method of mouth, for realizing a kind of mainboard of the different display interfaces configurations of compatible two kinds of UEFI BIOS ROM, wherein,
The first display interface is configured to:In three display interface DDI0~DDI2 of SOC, DDI0 is used to realize
EDP turns LVDS, and DDI1 is used to realize that DP turns VGA, and DDI2 is used to realize HDMI;
Second of display interface is configured to:In three display interface DDI0~DDI2 of SOC, DDI0 is used to realize
DP, DDI1 are used to realize that eDP turns VGA, and DDI2 is used to realize HDMI.
Methods described includes:
S1, UEFI BIOS power-on self-tests, step S2 is jumped to if UEFI BIOS selections Windows 7 starts, such as
Fruit UEFI BIOS selections Windows 8/10 starts, and jumps to step S3;
S2, UEFI BIOS read the data value for the preset byte index being burnt in advance in SPD chips, if the data
It is worth for the first preset value, then first loaded in UEFI BIOS ROM guides file;If the data value is the second preset value,
Then load the second guiding file in UEFI BIOS ROM;
S3, UEFI BIOS read the data value for the preset byte index being burnt in advance in SPD chips, if the data
It is worth for the first preset value, then the 3rd loaded in UEFI BIOS ROM guides file;If the data value is the second preset value,
Then load the 4th guiding file in UEFI BIOS ROM;
Wherein, the first guiding file and the second guiding file belong to Legacy BIOS files, the 3rd guiding file and the
Four guiding files belong to UEFI BIOS Vbt files;First guiding file and the 3rd guiding File include the first
The related information of display interface configuration, the second guiding file and the 4th guiding file are related comprising second of display interface configuration
Information.
In the collocation method of the adaptive display interfaces of UEFI BIOS of the present invention, methods described also includes:Holding
Before row step S1, configured for the first display interface, the data value of burning preset byte index is the SPD of the first preset value
Binary file is in SPD chips;Configured for second of display interface, the data value of burning preset byte index is second pre-
If the SPD binary files of value are in SPD chips.
In the collocation method of the adaptive display interfaces of UEFI BIOS of the present invention, methods described also includes:Holding
Before row step S1, add and definition statement and compile in NB.SDL files, by first guide file, the second guiding file,
3rd guiding file and the 4th guiding integrating documents are into UEFI BIOS ROM.
In the collocation method of the adaptive display interfaces of UEFI BIOS of the present invention, step S2 includes:
Read during S21, UEFI BIOS power-on self-tests by the System Management Bus of SOC and be burnt to SPD in advance
The data value of preset byte index in chip;
If S22, the data value are the first preset value, the VID/DID of the display controller scanned is 8086/22B1
When, it is loaded directly into the VBIOS that VID/DID in OPROM tables is 8086/22B1;
If S23, the data value are the second preset value, the VID/DID of the display controller scanned is 8086/22B1
When, modification VID/DID is 8086/22B2, is then 8086/22B2 further according to VID/DID in VID/DID loading OPROM tables
VBIOS.
In the collocation method of the adaptive display interfaces of UEFI BIOS of the present invention, step S3 includes:
Read during S31, UEFI BIOS power-on self-tests by the System Management Bus of SOC and be burnt to SPD in advance
The data value of preset byte index in chip;
If S32, the data value are the first preset value, transmit GUID for 0xEE62C785,0x3CF3,0x4027,
{ 0x86,0x72,0x6D, 0xE4,0xE7,0xFF, 0x43,0x17 } } Vbt files;
If S33, the data value are the second preset value, transmit GUID for 0x878AC2CC, 0x5343,0x46F2,
{ 0xB5,0x63,0x51,0xF8,0x9D, 0xAF, 0x56,0xBA } } Vbt files.
Implement the collocation method of the adaptive display interfaces of UEFI BIOS of the present invention, have the advantages that:The present invention
Middle UEFI BIOS load different guiding files, shown with realizing for two kinds of common display interface configurations and system type
Show the adaptive of interface.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the flow chart of a specific embodiment of the collocation method of the adaptive display interfaces of UEFI BIOS of the present invention.
Embodiment
In order to which technical characteristic, purpose and the effect of the present invention is more clearly understood, now compares accompanying drawing and describe in detail
The embodiment of the present invention.
As shown in figure 1, it is a specific embodiment of the collocation method of the adaptive display interfaces of UEFI BIOS of the present invention
Flow chart.
The collocation method of the adaptive display interfaces of UEFI BIOS of the present invention, for realizing that a kind of UEFI BIOS ROM are simultaneous
Hold the mainboard of two kinds of different display interface configurations.
In one specific embodiment, based on Intel Braswell SOC low-power consumption PRA_EC_K01 mainboards, it is mainly directed towards
BoxPC solution, three display interface DDI0~DDI2 passages for making full use of Intel Braswell SOC to carry, if
Two kinds of display interface allocation plans of the above are counted out, it is specific as follows:
The first display interface is configured to:In three display interface DDI0~DDI2 of SOC, DDI0 is used to realize
EDP turns LVDS, and DDI1 is used to realize that DP turns VGA, and DDI2 is used to realize HDMI;
Second of display interface is configured to:In three display interface DDI0~DDI2 of SOC, DDI0 is used to realize
DP, DDI1 are used to realize that eDP turns VGA, and DDI2 is used to realize HDMI.
The method of the present invention mainly includes:
S1, UEFI BIOS power-on self-tests, step S2 is jumped to if UEFI BIOS selections Windows 7 starts, such as
Fruit UEFI BIOS selections Windows 8/10 starts, and jumps to step S3;
S2, UEFI BIOS read the data value for the preset byte index being burnt in advance in SPD chips, if the data
It is worth for the first preset value, then first loaded in UEFI BIOS ROM guides file;If the data value is the second preset value,
Then load the second guiding file in UEFI BIOS ROM;
S3, UEFI BIOS read the data value for the preset byte index being burnt in advance in SPD chips, if the data
It is worth for the first preset value, then the 3rd loaded in UEFI BIOS ROM guides file;If the data value is the second preset value,
Then load the 4th guiding file in UEFI BIOS ROM;
Wherein, the first guiding file and the second guiding file belong to Legacy BIOS files, the 3rd guiding file and the
Four guiding files belong to UEFI BIOS Vbt files;First guiding file and the 3rd guiding File include the first
The related information of display interface configuration, the second guiding file and the 4th guiding file are related comprising second of display interface configuration
Information.
In one specific embodiment, the first preset value is 0xAA, and the second preset value is 0x55.Wherein SPD chips have 256
The space of individual byte, its 176th byte starts to use to manufacturer's exploitation backward, so preset byte index can select
For the 176th byte.
Because UEFI BIOS are needed to read the number for the preset byte index 176 being burnt in advance in SPD chips in step S2
According to value, so, methods described also includes:Before step S1 is performed, configured for the first display interface, burning preset byte
The data value of index 176 is the first preset value 0xAA SPD binary files in SPD chips;For second of display interface
Configuration, the data value of burning preset byte index 176 are the second preset value 0x55 SPD binary files in SPD chips.
In addition, in order to load the guiding file of 4 above-mentioned types, methods described also includes:Before step S1 is performed,
Add and definition statement and compile in NB.SDL files, by first guide file, the second guiding file, the 3rd guiding file with
And the 4th guiding integrating documents into UEFI BIOS ROM.For example, the NB.SDL definition in AMI Veb development environments is added such as
Lower sentence:
After the completion of compiling, two Legacy VBIOS and UEFI BIOS Vbt file is integrated into UEFI respectively
In BIOS ROM.
Wherein, step S2 mainly loads Legacy VBIOS, specifically includes:
Read during S21, UEFI BIOS power-on self-tests by the System Management Bus of SOC and be burnt to SPD in advance
The data value of preset byte index 176 in chip;
If S22, the data value are the first preset value, the VID/DID of the display controller scanned is 8086/22B1
When, it is loaded directly into the VBIOS that VID/DID in OPROM tables is 8086/22B1;
If S23, the data value are the second preset value, the VID/DID of the display controller scanned is 8086/22B1
When, because VID/DID is changeless in device PCI, its VID/DID at this moment will be changed in code as 8086/
22B2, then it is 8086/22B2 VBIOS further according to VID/DID in VID/DID loading OPROM tables.
Wherein, step S3 mainly loads UEFI BIOS Vbt, specifically includes:
Read during S31, UEFI BIOS power-on self-tests by the System Management Bus of SOC and be burnt to SPD in advance
The data value of preset byte index 176 in chip;
If S32, the data value are the first preset value, transmit GUID for 0xEE62C785,0x3CF3,0x4027,
{ 0x86,0x72,0x6D, 0xE4,0xE7,0xFF, 0x43,0x17 } } Vbt files;
If S33, the data value are the second preset value, transmit GUID for 0x878AC2CC, 0x5343,0x46F2,
{ 0xB5,0x63,0x51,0xF8,0x9D, 0xAF, 0x56,0xBA } } Vbt files.
In summary, implement the collocation method of the adaptive display interfaces of UEFI BIOS of the present invention, have below beneficial to effect
Fruit:UEFI BIOS load different guiding texts for two kinds of common display interface configurations and system type in the present invention
Part, to realize the adaptive of display interface.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.
Claims (5)
- A kind of a kind of 1. collocation method of the adaptive display interfaces of UEFI BIOS, for realizing that UEFI BIOS ROM are compatible two kinds The mainboard of different display interface configurations, wherein,The first display interface is configured to:In three display interface DDI0~DDI2 of SOC, DDI0 is used to realize that eDP turns LVDS, DDI1 are used to realize that DP turns VGA, and DDI2 is used to realize HDMI;Second of display interface is configured to:In three display interface DDI0~DDI2 of SOC, DDI0 is used to realize DP, DDI1 is used to realize that eDP turns VGA, and DDI2 is used to realize HDMI.Characterized in that, methods described includes:S1, UEFI BIOS power-on self-tests, step S2 is jumped to if UEFI BIOS selections Windows 7 starts, if UEFI BIOS selections Windows 8/10 starts, and jumps to step S3;S2, UEFI BIOS read the data value for the preset byte index being burnt in advance in SPD chips, if the data value is First preset value, then load the first guiding file in UEFI BIOS ROM;If the data value is the second preset value, plus Carry the second guiding file in UEFI BIOS ROM;S3, UEFI BIOS read the data value for the preset byte index being burnt in advance in SPD chips, if the data value is First preset value, then load the 3rd guiding file in UEFI BIOS ROM;If the data value is the second preset value, plus Carry the 4th guiding file in UEFI BIOS ROM;Wherein, the first guiding file and the second guiding file belong to Legacy BIOS files, and the 3rd guiding file and the 4th draws Lead file and belong to UEFI BIOS Vbt files;First guiding file and the 3rd guiding File are comprising the first display The related information of interface configuration, the second guiding file and the 4th guiding file are comprising the related letter of second of display interface configuration Breath.
- 2. the collocation method of the adaptive display interfaces of UEFI BIOS according to claim 1, it is characterised in that the side Method also includes:Before step S1 is performed, configured for the first display interface, the data value of burning preset byte index is the The SPD binary files of one preset value are in SPD chips;Configured for second of display interface, burning preset byte index Data value is the SPD binary files of the second preset value in SPD chips.
- 3. the collocation method of the adaptive display interfaces of UEFI BIOS according to claim 1, it is characterised in that the side Method also includes:Before step S1 is performed, add and definition statement and compile in NB.SDL files, by first guide file, Second guiding file, the 3rd guiding file and the 4th guiding integrating documents are into UEFI BIOS ROM.
- 4. the collocation method of the adaptive display interfaces of UEFI BIOS according to claim 1, it is characterised in that step S2 Including:Read during S21, UEFI BIOS power-on self-tests by the System Management Bus of SOC and be burnt to SPD chips in advance The data value of interior preset byte index;If S22, the data value are the first preset value, when the VID/DID of the display controller scanned is 8086/22B1, directly Meet the VBIOS that VID/DID in loading OPROM tables is 8086/22B1;If S23, the data value are the second preset value, when the VID/DID of the display controller scanned is 8086/22B1, repair It is 8086/22B2 to change VID/DID, is then 8086/22B2 further according to VID/DID in VID/DID loading OPROM tables VBIOS。
- 5. the collocation method of the adaptive display interfaces of UEFI BIOS according to claim 1, it is characterised in that step S3 Including:Read during S31, UEFI BIOS power-on self-tests by the System Management Bus of SOC and be burnt to SPD chips in advance The data value of interior preset byte index;If S32, the data value are the first preset value, transmit GUID for 0xEE62C785,0x3CF3,0x4027,0x86, 0x72,0x6D, 0xE4,0xE7,0xFF, 0x43,0x17 } } Vbt files;If S33, the data value are the second preset value, transmit GUID for 0x878AC2CC, 0x5343,0x46F2,0xB5, 0x63,0x51,0xF8,0x9D, 0xAF, 0x56,0xBA } } Vbt files.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610596685.XA CN107656885A (en) | 2016-07-26 | 2016-07-26 | A kind of collocation method of the adaptive display interfaces of UEFI BIOS |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610596685.XA CN107656885A (en) | 2016-07-26 | 2016-07-26 | A kind of collocation method of the adaptive display interfaces of UEFI BIOS |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107656885A true CN107656885A (en) | 2018-02-02 |
Family
ID=61127494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610596685.XA Pending CN107656885A (en) | 2016-07-26 | 2016-07-26 | A kind of collocation method of the adaptive display interfaces of UEFI BIOS |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107656885A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109062526A (en) * | 2018-07-26 | 2018-12-21 | 深圳控道智能科技有限公司 | A kind of display configuration method and system suitable for UEFI |
CN111913680A (en) * | 2020-08-12 | 2020-11-10 | 中电科技(北京)有限公司 | Multi-screen display method and system based on UEFI firmware |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102541607A (en) * | 2011-12-31 | 2012-07-04 | 曙光信息产业股份有限公司 | BIOS collocation method and device based on UEFI framework |
CN103150188A (en) * | 2013-03-19 | 2013-06-12 | 中国人民解放军国防科学技术大学 | Quick initialization method for x86 compatible display card of non-x86 instruction set computer |
CN103294499A (en) * | 2012-03-05 | 2013-09-11 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN103810430A (en) * | 2012-11-13 | 2014-05-21 | 联想(北京)有限公司 | Method for controlling electronic equipment and electronic equipment |
-
2016
- 2016-07-26 CN CN201610596685.XA patent/CN107656885A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102541607A (en) * | 2011-12-31 | 2012-07-04 | 曙光信息产业股份有限公司 | BIOS collocation method and device based on UEFI framework |
CN103294499A (en) * | 2012-03-05 | 2013-09-11 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN103810430A (en) * | 2012-11-13 | 2014-05-21 | 联想(北京)有限公司 | Method for controlling electronic equipment and electronic equipment |
CN103150188A (en) * | 2013-03-19 | 2013-06-12 | 中国人民解放军国防科学技术大学 | Quick initialization method for x86 compatible display card of non-x86 instruction set computer |
Non-Patent Citations (1)
Title |
---|
丁俊,陈世保: "《计算机操作***安装与维护》", 30 October 2016 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109062526A (en) * | 2018-07-26 | 2018-12-21 | 深圳控道智能科技有限公司 | A kind of display configuration method and system suitable for UEFI |
CN109062526B (en) * | 2018-07-26 | 2021-08-27 | 深圳控道智能科技有限公司 | Display configuration method and system suitable for UEFI |
CN111913680A (en) * | 2020-08-12 | 2020-11-10 | 中电科技(北京)有限公司 | Multi-screen display method and system based on UEFI firmware |
CN111913680B (en) * | 2020-08-12 | 2024-04-26 | 昆仑太科(北京)技术股份有限公司 | Multi-screen display method and system based on UEFI firmware |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103186483B (en) | Terminal, for its OTG function and the executed in parallel method of charge function | |
CN102622044B (en) | Mainboard and dynamic configuration method of peripheral component interface express (PCIE) interface | |
CN104020994B (en) | Stream process definition device and stream process based on streaming system define method | |
CN107656885A (en) | A kind of collocation method of the adaptive display interfaces of UEFI BIOS | |
MXPA06001388A (en) | Simple styling. | |
CN106648753A (en) | Automatic criterion analysis method based on reverse Polish notation algorithm | |
US20120246551A1 (en) | Updating serialized objects | |
CN104216829B (en) | A kind of method and system of flush bonding module concurrent test | |
CN107544811A (en) | Ios platform hides method, storage medium, electronic equipment and the system of dylib files | |
CN103699453B (en) | Module identification method and terminal unit | |
CN104461574B (en) | A kind of order line processing unit and method based on XML | |
CN103389893A (en) | Read-write method and device for configuration register | |
WO2023115833A1 (en) | Streaming document generation method, computing device, and computer readable medium | |
CN105678509A (en) | Data processing method and system | |
CN109426702A (en) | IOS platform file reads guard method, storage medium, electronic equipment and system | |
CA2830868C (en) | A digital netlist partitioning system for faster circuit reverse-engineering | |
CN104102613A (en) | Electronic equipment and information processing method | |
CN102541903A (en) | Comma separated value (CSV) to microsoft excel (XLS) format conversion mode | |
US20160253556A1 (en) | Ink stroke grouping based on stroke attributes | |
CN205959196U (en) | Conversion box | |
CN110263310A (en) | Data drawing generating method, device and computer readable storage medium | |
Ferrara et al. | Transitional care: the evolution of an ever-green service to make integrated care happen | |
CN108416194A (en) | Symbol obscures method and device | |
CN102955828A (en) | Method and system for reforming large object of database | |
CN201503588U (en) | All-in-one card reader provided with USB HUB |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
AD01 | Patent right deemed abandoned | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20211001 |