CN106598564A - Method for implementing BIOS capable of self-adapting to different main boards, BIOS, and main board - Google Patents

Method for implementing BIOS capable of self-adapting to different main boards, BIOS, and main board Download PDF

Info

Publication number
CN106598564A
CN106598564A CN201610924451.3A CN201610924451A CN106598564A CN 106598564 A CN106598564 A CN 106598564A CN 201610924451 A CN201610924451 A CN 201610924451A CN 106598564 A CN106598564 A CN 106598564A
Authority
CN
China
Prior art keywords
bios
system configuration
configuration data
type information
motherboard type
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
CN201610924451.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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201610924451.3A priority Critical patent/CN106598564A/en
Publication of CN106598564A publication Critical patent/CN106598564A/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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4403Processor initialisation

Abstract

The invention discloses a method for implementing a BIOS capable of self-adapting to different main boards, which is used for designing a BIOS capable of self-adapting to different main boards. The method includes the following steps: a GPIO group stores main board type information; a BIOS stores a plurality of groups of system configuration data; the BIOS reads the main board type information stored in the GPIO group; the BIOS invokes a certain group of system configuration data according to the main board type information; and the BIOS executes the invoked system configuration data. The invention also discloses a BIOS capable of self-adapting different main boards. The BIOS includes a system configuration data module for storing the plurality of groups of system configuration data; a main board type information reading module for reading the main board type information stored in the GPIO group; a recognition module for invoking the system configuration data according to the main board type information; and an execution module for executing the system configuration data invoked by the recognition module.

Description

A kind of BIOS implementation methods of self adaptation difference mainboard, BIOS and mainboard
Technical field
The present invention relates to computer communication technology field, more particularly to one kind realizes BIOS to the adaptive side of different mainboards Method, further relate to it is a kind of can be with the BIOS of self adaptation difference mainboard and mainboard with above-mentioned BIOS.
Background technology
It is well known that server is the core of whole network system and calculating platform, many important data are all stored in On server, and server has polytype, such as calculation type server, storage-type server, database server.With Socio-economic development and server industry development, increasing onserver-class occurs.In general on different mainboards Hardware design is mostly that identical only has part difference, then the difference of the BIOS on different mainboards is also just only from different hard Part designs difference.If the special edition BIOS of exploitation and if being safeguarded of a mainboard, work for BIOS engineer Amount is very big, it can be considered to the BIOS of different mainboards is incorporated in an Image so that same BIOS Image can To be adaptively applied on different mainboards.In prior art, Chinese patent CN102023875A discloses a technology, its Major programme is that the burned non-volatile RAM for having mainboard to identify is installed on mainboard, and many term systems are stored in BIOS System configuration data, performs corresponding system configuration data, so as to realize that different mainboards share same BIOS by mainboard mark. For above-mentioned technical proposal, burned must the completing in process of production of its mainboard mark, meanwhile, mainboard is identified and system The matching relationship of configuration data has very strong curability, and modification property is poor, and art technology is swift and violent with the development speed of hardware, So as to affect the compatibility of above-mentioned technology.
Therefore, to those skilled in the art, how to provide a set of versatility it is good, can self adaptation difference mainboard BIOS methods for designing are the technical problem of urgent need to resolve.
The content of the invention
In order to make it easy to understand, to the partial words occurred in present specification, clarifying as follows:
GPIO:General Purpose Input Output, general I/O port, or bus extender;
BIOS:Basic Input Output System, basic input output system;
PCIE:PCI-Express, bus and interface standard.
HW:HardWare, hardware refers to mainboard in present specification.
Based on the technical problem that background technology is present, the present invention proposes a kind of BIOS realization sides of self adaptation difference mainboard Method, for designing the BIOS of self adaptation difference mainboard, comprises the following steps:
Motherboard type information is stored in GPIO groups;
Be stored with multigroup system configuration data in BIOS;
BIOS reads the motherboard type information stored in GPIO groups;
BIOS calls specific one group of system configuration data according to motherboard type information;
BIOS performs called system configuration data.
Preferably, it is in the step of BIOS calls specific one group of system configuration data according to motherboard type information including following Step:
The marking variable of correspondence motherboard type information is set in BIOS;
BIOS carries out assignment according to motherboard type information to above-mentioned marking variable;
BIOS reads the value that above-mentioned marking variable is endowed, and calls one group of system configuration data according to above-mentioned value.
Preferably, setting identification value group, the mapping relations set up between ident value group and motherboard type set up ident value group Mapping relations between system configuration data, wherein, unique mark value in arbitrary motherboard type correspondence ident value group, ident value The corresponding unique one group of system configuration data of arbitrary ident value in group;BIOS is closed according to the mapping between ident value group and motherboard type System, by motherboard type correspondence ident value marking variable is given, and is closed according to the mapping between ident value group and system configuration data System, calls the corresponding one group of system configuration data of ident value.
Preferably, BIOS reads the motherboard type information stored in GPIO groups in starting up's stage.
Preferably, comprise the following steps:
Distribute some GPIO and form GPIO groups, and by motherboard type information Store in GPIO groups;
Multigroup system configuration data is stored in BIOS;
The marking variable of correspondence motherboard type information is set in BIOS;
Setting identification value group, the mapping relations set up between ident value group and motherboard type set up ident value group and system Mapping relations between configuration data, wherein, unique mark value in arbitrary motherboard type correspondence ident value group is appointed in ident value group The unique one group of system configuration data of one ident value correspondence;
BIOS reads the motherboard type information stored in GPIO groups in starting up's stage;
Motherboard type correspondence ident value is given mark by BIOS according to the mapping relations between ident value group and motherboard type Variable, and according to the mapping relations between ident value group and system configuration data, call the corresponding one group of system configuration of ident value Data;
BIOS performs called system configuration data.
A kind of BIOS implementation methods of self adaptation difference mainboard provided in the present invention, by GPIO groups motherboard type is stored Information, each GPIO has high level and low level two states, according to motherboard type quantity, can distribute n GPIO and be formed GPIO groups, such that it is able to realize that stored information at most distinguishes 2 in GPIO groupsnPlant motherboard type information to meet demand;Enter one Step, multigroup system configuration data is stored with BIOS to match different motherboard types, BIOS is by reading institute in GPIO groups The motherboard type information of storage, and then specific one group of system configuration data is called, and performed, so as to realize to BIOS to not With the self adaptation of mainboard;In the above-mentioned methods, motherboard type information is stored by GPIO groups, without entering in mainboard production process Row information it is burned, the motherboard type information and BIOS that need to only store GIPO groups be arranged, so that above-mentioned side Method has good versatility;In further improved technology design, marking variable and ident value group, and root are provided with BIOS Ident value is given to marking variable according to motherboard type information, and then by reading the ident value system that marking variable is endowed Calling for system configuration data, carries out the regulation and control between motherboard type and system configuration data, further such that it is able to marking variable The versatility of lift technique scheme.
The invention allows for a kind of BIOS of self adaptation difference mainboard, including:
System configuration data module, for storing multigroup system configuration data;
Motherboard type information reading module, for reading the motherboard type information stored in GPIO groups;
Identification module, for according to motherboard type information, calling system configuration data;
Performing module, for performing identification module institute calling system configuration data.
Preferably, identification module includes:
Mark arranges submodule, identifies for arranging marking variable, and marking variable is given according to motherboard type information Value, and, give ident value, calling system configuration data according to marking variable.
Preferably, identification module also includes:
Identification information submodule, for storage mark Value Data, reflects between storage mark Value Data and system configuration data Penetrate relation, mark Value Data and motherboard type information MAP relation;
Mark arranges submodule according to motherboard type information, mark Value Data and motherboard type information MAP relation, to mark Know variable and give ident value, and, being given according to marking variable and reflected between ident value, mark Value Data and system configuration data Penetrate relation, calling system configuration data.
The invention allows for a kind of GPIO groups and the mainboard of above-mentioned BIOS including the motherboard type information that is stored with.
Technology disclosed in the BIOS implementation methods of the technique effect of above-mentioned BIOS and mainboard mainboard different from self adaptation Effect is substantially similar, and here is omitted.
In sum, the BIOS implementation methods of the self adaptation difference mainboard that the present invention is provided, can be with self adaptation difference mainboard BIOS and the mainboard with above-mentioned BIOS there is advantages below:
1st, self adaptations of the BIOS to different mainboards is realized;
2nd, by storing to motherboard type information using GPIO groups, the convenient of motherboard type information setting is improved Property, and calling for system configuration information is carried out in the form of marking variable is as intermediary, improve the versatility of technology.
Description of the drawings
Fig. 1 is a kind of schematic flow sheet of the BIOS implementation methods of self adaptation difference mainboard proposed by the present invention.
Specific embodiment
As shown in figure 1, Fig. 1 is a kind of flow process of the BIOS implementation methods of self adaptation difference mainboard proposed by the present invention illustrating Figure.
The present invention is described in detail with reference to the accompanying drawings and examples.
With reference to Fig. 1, based on Intel server platform frameworks as a example by, a kind of self adaptation difference mainboard disclosed in this invention BIOS implementation methods, comprise the following steps:
S1:Distribute some GPIO by HW and form GPIO groups, and by motherboard type information Store in GPIO groups;
S2:Board_ID variables are set in bios code and represent motherboard type;
S3:Bios code reads information in GPIO groups in starting up's stage, and Board_ID variables are set to into correspondence The value of motherboard type information;
S4:The value that bios code passes through reading Board_ID, calling system configuration data, and perform said system configuration number According to.
In the above-described embodiments, in S1, there is high level and low level two states using GPIO, GPIO can be passed through Each GPIO is in high level state or low level state according to stipulated form in group, so as to show motherboard type;In S3, can The motherboard type information of GPIO group memory storages is matched with setting identification value, wherein, the simple mode of comparison is according to each GPIO State, high level state and low level state are represented with 1 and 0 and form binary numeral;It is pointed out that can also adopt A series of special values are matched with motherboard type, need ensure, arbitrary motherboard type should existence anduniquess characterize it Special value as ident value, meanwhile, arbitrary ident value should point to unique one group of system configuration data, so as to ensure appoint One motherboard type finally matches unique one group of system configuration data;Meanwhile, it should be noted that different motherboard types allow to point to Same ident value, different identification value also allows to point to same group of system configuration data, so as to allow motherboard type and system configuration Strict one-to-one relationship need not be followed between data;In S4, the value that bios code passes through reading Board_ID, according to about Determine mode to call the system configuration data for matching and perform, the system configuration data include but is not limited to PCIE, GPIO, The information such as Onboard device.
A kind of BIOS for adapting to different mainboards disclosed in this invention, including:
System configuration data module, for storing multigroup system configuration data;
Motherboard type information reading module, for reading the motherboard type information stored in GPIO groups;
Identification module, for according to motherboard type information, calling system configuration data;
Performing module, for performing identification module institute calling system configuration data;
Wherein, identification module includes:
Identification information submodule, for storage mark Value Data, reflects between storage mark Value Data and system configuration data Penetrate relation, mark Value Data and motherboard type information MAP relation;
Mark arranges submodule, for arranging marking variable, and according to motherboard type information, mark Value Data and mainboard class Type information MAP relation, ident value is given to marking variable, and, give ident value, mark Value Data according to marking variable The mapping relations between system configuration data, calling system configuration data.
A kind of mainboard disclosed in this invention, including the GPIO groups and above-mentioned BIOS of the motherboard type information that is stored with.
The above, the only present invention preferably specific embodiment, but protection scope of the present invention is not limited thereto, Any those familiar with the art the invention discloses technical scope in, technology according to the present invention scheme and its Inventive concept equivalent or change in addition, all should be included within the scope of the present invention.

Claims (9)

1. BIOS implementation methods of a kind of self adaptation difference mainboard, for designing the BIOS of self adaptation difference mainboard, its feature exists In comprising the following steps:
Motherboard type information is stored in GPIO groups;
Be stored with multigroup system configuration data in BIOS;
BIOS reads the motherboard type information stored in GPIO groups;
BIOS calls specific one group of system configuration data according to motherboard type information;
BIOS performs called system configuration data.
2. BIOS implementation methods of self adaptation according to claim 1 difference mainboard, it is characterised in that BIOS is according to mainboard In the step of type information calls specific one group of system configuration data, comprise the following steps:
The marking variable of correspondence motherboard type information is set in BIOS;
BIOS carries out assignment according to motherboard type information to above-mentioned marking variable;
BIOS reads the value that above-mentioned marking variable is endowed, and calls one group of system configuration data according to above-mentioned value.
3. BIOS implementation methods of self adaptation according to claim 2 difference mainboard, it is characterised in that setting identification value Group, the mapping relations set up between ident value group and motherboard type, the mapping set up between ident value group and system configuration data Relation, wherein, unique mark value in arbitrary motherboard type correspondence ident value group, arbitrary ident value correspondence unique in ident value group Group system configuration data;Motherboard type is corresponded to ident value by BIOS according to the mapping relations between ident value group and motherboard type Marking variable is given, and according to the mapping relations between ident value group and system configuration data, calls ident value corresponding one group System configuration data.
4. BIOS implementation methods of self adaptation according to claim 1 difference mainboard, it is characterised in that BIOS is opened in start The dynamic stage reads the motherboard type information stored in GPIO groups.
5. BIOS implementation methods of self adaptation according to claim 1 difference mainboard, it is characterised in that including following step Suddenly:
Distribute some GPIO and form GPIO groups, and by motherboard type information Store in GPIO groups;
Multigroup system configuration data is stored in BIOS;
The marking variable of correspondence motherboard type information is set in BIOS;
Setting identification value group, the mapping relations set up between ident value group and motherboard type set up ident value group and system configuration Mapping relations between data, wherein, unique mark value in arbitrary motherboard type correspondence ident value group, arbitrary mark in ident value group The unique one group of system configuration data of knowledge value correspondence;
BIOS reads the motherboard type information stored in GPIO groups in starting up's stage;
Motherboard type correspondence ident value is given mark and is become by BIOS according to the mapping relations between ident value group and motherboard type Amount, and according to the mapping relations between ident value group and system configuration data, call the corresponding one group of system configuration number of ident value According to;
BIOS performs called system configuration data.
6. the BIOS of a kind of self adaptation difference mainboard, it is characterised in that include:
System configuration data module, for storing multigroup system configuration data;
Motherboard type information reading module, for reading the motherboard type information stored in GPIO groups;
Identification module, for according to motherboard type information, calling system configuration data;
Performing module, for performing identification module institute calling system configuration data.
7. the BIOS of self adaptation according to claim 6 difference mainboard, it is characterised in that identification module includes:
Mark arranges submodule, for arranging marking variable, and gives ident value to marking variable according to motherboard type information, with And, give ident value, calling system configuration data according to marking variable.
8. the BIOS of self adaptation according to claim 6 difference mainboard, it is characterised in that identification module also includes:
Identification information submodule, for storage mark Value Data, mapping between storage mark Value Data and system configuration data is closed System, mark Value Data and motherboard type information MAP relation;
Mark arranges submodule according to motherboard type information, mark Value Data and motherboard type information MAP relation, and mark is become Amount gives ident value, and, give mapping between ident value, mark Value Data and system configuration data according to marking variable and close System, calling system configuration data.
9. a kind of mainboard, it is characterised in that GPIO groups including the motherboard type information that is stored with and such as any one of claim 6-8 Described BIOS.
CN201610924451.3A 2016-10-24 2016-10-24 Method for implementing BIOS capable of self-adapting to different main boards, BIOS, and main board Pending CN106598564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610924451.3A CN106598564A (en) 2016-10-24 2016-10-24 Method for implementing BIOS capable of self-adapting to different main boards, BIOS, and main board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610924451.3A CN106598564A (en) 2016-10-24 2016-10-24 Method for implementing BIOS capable of self-adapting to different main boards, BIOS, and main board

Publications (1)

Publication Number Publication Date
CN106598564A true CN106598564A (en) 2017-04-26

Family

ID=58556155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610924451.3A Pending CN106598564A (en) 2016-10-24 2016-10-24 Method for implementing BIOS capable of self-adapting to different main boards, BIOS, and main board

Country Status (1)

Country Link
CN (1) CN106598564A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220056A (en) * 2017-05-26 2017-09-29 郑州云海信息技术有限公司 A kind of method of automatic load server BIOS parameters
CN108108198A (en) * 2017-12-15 2018-06-01 联想(北京)有限公司 For the method and system of computer system
CN108170474A (en) * 2017-12-05 2018-06-15 山东超越数控电子股份有限公司 A kind of method for identifying particular server mainboard
CN108874425A (en) * 2018-06-26 2018-11-23 郑州云海信息技术有限公司 Configuration file update method, device, baseboard management controller and storage medium
CN110472420A (en) * 2019-07-19 2019-11-19 深圳中电长城信息安全系统有限公司 A kind of binding recognition methods, system, terminal device and storage medium
WO2020000957A1 (en) * 2018-06-26 2020-01-02 郑州云海信息技术有限公司 Single mainboard multi-version program adaptation method, system, and device, and storage medium
CN111158968A (en) * 2019-12-31 2020-05-15 中科可控信息产业有限公司 BIOS configuration information self-checking method, device and storage medium
CN112559336A (en) * 2020-12-09 2021-03-26 成都海光集成电路设计有限公司 Method, device and system for adaptively debugging heterogeneous computing chip and mainboard chip
CN113220358A (en) * 2021-04-25 2021-08-06 山东英信计算机技术有限公司 Multi-platform BIOS information storage method, system and medium
CN117519836A (en) * 2023-12-28 2024-02-06 苏州元脑智能科技有限公司 Method and device for controlling starting of server and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023875A (en) * 2009-09-11 2011-04-20 鸿富锦精密工业(深圳)有限公司 System and method for sharing same BIOS (Basic Input Output System) for different mainboards
CN202551158U (en) * 2012-03-20 2012-11-21 惠州Tcl移动通信有限公司 Mobile terminal capable of detecting hardware types conveniently
CN103136485A (en) * 2011-11-28 2013-06-05 联想(北京)有限公司 Method of realizing computer safety and computer
CN103593272A (en) * 2012-08-16 2014-02-19 鸿富锦精密工业(深圳)有限公司 System and method for controlling motherboard function test

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023875A (en) * 2009-09-11 2011-04-20 鸿富锦精密工业(深圳)有限公司 System and method for sharing same BIOS (Basic Input Output System) for different mainboards
CN103136485A (en) * 2011-11-28 2013-06-05 联想(北京)有限公司 Method of realizing computer safety and computer
CN202551158U (en) * 2012-03-20 2012-11-21 惠州Tcl移动通信有限公司 Mobile terminal capable of detecting hardware types conveniently
CN103593272A (en) * 2012-08-16 2014-02-19 鸿富锦精密工业(深圳)有限公司 System and method for controlling motherboard function test

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220056A (en) * 2017-05-26 2017-09-29 郑州云海信息技术有限公司 A kind of method of automatic load server BIOS parameters
CN108170474A (en) * 2017-12-05 2018-06-15 山东超越数控电子股份有限公司 A kind of method for identifying particular server mainboard
CN108108198B (en) * 2017-12-15 2021-05-18 联想(北京)有限公司 Method and system for computer system
CN108108198A (en) * 2017-12-15 2018-06-01 联想(北京)有限公司 For the method and system of computer system
CN108874425A (en) * 2018-06-26 2018-11-23 郑州云海信息技术有限公司 Configuration file update method, device, baseboard management controller and storage medium
WO2020000957A1 (en) * 2018-06-26 2020-01-02 郑州云海信息技术有限公司 Single mainboard multi-version program adaptation method, system, and device, and storage medium
CN110472420B (en) * 2019-07-19 2021-05-11 深圳中电长城信息安全系统有限公司 Binding identification method, system, terminal equipment and storage medium
CN110472420A (en) * 2019-07-19 2019-11-19 深圳中电长城信息安全系统有限公司 A kind of binding recognition methods, system, terminal device and storage medium
CN111158968A (en) * 2019-12-31 2020-05-15 中科可控信息产业有限公司 BIOS configuration information self-checking method, device and storage medium
CN112559336A (en) * 2020-12-09 2021-03-26 成都海光集成电路设计有限公司 Method, device and system for adaptively debugging heterogeneous computing chip and mainboard chip
CN112559336B (en) * 2020-12-09 2023-05-19 成都海光集成电路设计有限公司 Method, device and system for self-adaptively debugging heterogeneous computing chip and main board chip
CN113220358A (en) * 2021-04-25 2021-08-06 山东英信计算机技术有限公司 Multi-platform BIOS information storage method, system and medium
CN113220358B (en) * 2021-04-25 2023-08-08 山东英信计算机技术有限公司 Multi-platform BIOS information storage method, system and medium
CN117519836A (en) * 2023-12-28 2024-02-06 苏州元脑智能科技有限公司 Method and device for controlling starting of server and server
CN117519836B (en) * 2023-12-28 2024-03-29 苏州元脑智能科技有限公司 Method and device for controlling starting of server and server

Similar Documents

Publication Publication Date Title
CN106598564A (en) Method for implementing BIOS capable of self-adapting to different main boards, BIOS, and main board
CN105095287A (en) LSM (Log Structured Merge) data compact method and device
CN110515641A (en) The update method of server firmware, apparatus and system
CN109783346A (en) Keyword-driven automatic testing method and device and terminal equipment
CN102915344B (en) SQL (structured query language) statement processing method and device
CN102201022A (en) Method and device for checking field programmable gate array (FPGA)
CN105550029A (en) Process scheduling method and device
CN109213429B (en) Storage management method and device
CN106201605A (en) FPGA start-up loading FLASH upgrade-system based on FPGA and PowerPC and method
CN112306473B (en) Program interface parameter transmission method, system and related equipment
CN113407565A (en) Cross-database data query method, device and equipment
CN107844321A (en) A kind of MCU processing systems
CN100346308C (en) Automatic test method based on database operation
CN108334335A (en) A kind of software source code version determines method and device
CN117033249A (en) Test case generation method and device, computer equipment and storage medium
CN109324838B (en) Execution method and execution device of single chip microcomputer program and terminal
CN103389893A (en) Read-write method and device for configuration register
KR20210014561A (en) Method and apparatus for extracting image data in parallel from multiple convolution windows, device, and computer-readable storage medium
CN114780154B (en) Method compatible with hardware states of master control boards of different manufacturers
US10162913B2 (en) Simulation device and simulation method therefor
CN104572482A (en) Process variable storage method and device
CN115470900A (en) Pruning method, device and equipment of neural network model
CN111880803B (en) Software construction method and device applied to multiple platforms
CN113360416A (en) Test data batch generation method and device
CN105700899A (en) Update method and device of man-machine command script

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170426

RJ01 Rejection of invention patent application after publication