CN107220056A - A kind of method of automatic load server BIOS parameters - Google Patents
A kind of method of automatic load server BIOS parameters Download PDFInfo
- Publication number
- CN107220056A CN107220056A CN201710385548.6A CN201710385548A CN107220056A CN 107220056 A CN107220056 A CN 107220056A CN 201710385548 A CN201710385548 A CN 201710385548A CN 107220056 A CN107220056 A CN 107220056A
- Authority
- CN
- China
- Prior art keywords
- pin
- bios
- configuration parameter
- sequence
- gpio
- 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
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
Abstract
The invention discloses a kind of method of automatic load server BIOS parameters, comprise the following steps, S1, mainboard is reserved multiple Pin pin;S2, sequence is defined as by the combination of multiple Pin pin GPIO values, and the GPIO values for changing each Pin pin obtain multiple sequences;S3, makes each sequence pair answer a BIOS configuration parameter, and arrange respective code for the BIOS configuration parameter;S4, when server is started shooting, system reads the sequence of Pin pin GPIO values;S5, the BIOS parameter configuration situations needed according to the machine trigger respective code, load BIOS configuration parameter.Compared with prior art, the compatible a variety of BIOS configuration parameters of a bios version of the invention, meet demand of the different type of machines to BIOS differentiation, realize that server loads BIOS parameters automatically, greatly provide production efficiency, while mitigating staff's burden.
Description
Technical field
The present invention relates to server firmware technical field, specifically a kind of method of automatic loading BIOS parameters.
Background technology
With developing rapidly for computer technology, various application scenarios are derived, the configuration of server also demand
Also have nothing in common with each other, in order to meet the setting of some differentiation, BIOS needs to make phase according to different configurations or customization set meal
The customization answered.
But in order to meet such demand, BIOS engineer generally requires according to different server configurations or customized
Demand carries out the customization of differentiation respectively, and the differentiation customization just refers to according to different configurations or customize set meal customization
Corresponding BIOS parameters, like this will expend substantial amounts of man power and material, efficiency also can be very low, is unfavorable for cost
Control.
The content of the invention
To overcome the shortcomings of that above-mentioned prior art is present, it is an object of the invention to provide a kind of practical, flexibility
The method of high automatic load server BIOS parameters, the use of this method is in extensive range, it is easy to promote.
The technical solution adopted for the present invention to solve the technical problems is:A kind of side of automatic load server BIOS parameters
Method, it is characterized in that:Comprise the following steps,
S1, makes mainboard reserve multiple Pin pin;
S2, sequence is defined as by the combination of multiple Pin pin GPIO values, and the GPIO values for changing each Pin pin obtain multiple sequences
Row;
S3, makes each sequence pair answer a BIOS configuration parameter, and arrange respective code for the BIOS configuration parameter;
S4, when server is started shooting, system reads the sequence of Pin pin GPIO values;
S5, the BIOS parameter configuration situations needed according to the machine trigger respective code, load BIOS configuration parameter.
Further, change Pin pin GPIO values in step S2 using jump cap to Pin pin, obtain multiple sequences.
Further, described to change Pin pin GPIO values using jump cap to Pin pin, obtaining multiple sequences includes following step
Suddenly,
S201, by jump cap by the 1 of each Pin pin linear array point, 2 points or 2,3 short circuits, make GPIO values take 1 or
0;
S203, by put in order combination of the GPIO values according to Pin pin, a sequence is defined as by the combination,
S203, converts the value of each Pin pin GPIO values, produces multiple sequences.
Further, the respective code arranged in step S3 is the command code for loading corresponding BIOS configuration parameter.
Further, respective code is triggered described in step S5, the step of loading BIOS configuration parameter is:
S501, judges whether the sequence read corresponds to the BIOS configuration parameter needed for the machine, if it does correspond, then going to step
S402, otherwise repeats this step and continues to judge.
S502, performs the code of sequence agreement, loads the corresponding BIOS configuration parameter of the agreed code;
S503, by the BIOS configuration parameter of loading, writes NVRAM storage region.
Further, the mainboard reserves n Pin pin, and Pin pin GPIO values produce 2nIndividual sequence.
The beneficial effects of the invention are as follows:The present invention makes server by reading Pin pin GPIO sequence, finds and is adapted to the machine
BIOS configuration parameter, and complete automatic loading, save manpower, improve production efficiency;
The present invention cleverly uses jump cap to Pin pin, and making GPIO, it produces multiple sequences, and each sequence pair is answered into one
BIOS configuration parameter, obtains multiple BIOS configuration parameters on same bios version, adapts to different types of machines, the different BIOS of needs
The product of configuration, compatibility is strong;
Corresponding agreed code is set to each BIOS configuration parameter, the BIOS configuration parameter needed for server identification
Afterwards, respective code is directly performed, BIOS configuration parameter needed for loading realizes automatic loading, without engineer for server
Demand is customized, and mitigates engineer's burden, and automatic loading error rate is low, reliable results.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of automatic loading BIOS parameters of the present invention.
Embodiment
For the technical characterstic for illustrating this programme can be understood, below by embodiment, and its accompanying drawing is combined, to this hair
It is bright to be described in detail.Present invention omits the description to common knowledge to avoid being unnecessarily limiting the present invention.
A kind of method of automatic load server BIOS parameters of the present invention, by the multiple Pin pin of reserved mainboard, makes multiple
The GPIO values of Pin pin arrange out a variety of sequences, and each sequence pair answers 1 BIOS configuration parameter, so that on a bios version
Compatible various configurations parameter, realizes and adapts to different type of machines, configuration or other differentiated demands pair by a bios version
The requirement of BIOS configuration parameter, machine is in start, and Automatic-searching simultaneously loads required BIOS configuration parameter.
As shown in figure 1, the described method comprises the following steps:
S1, makes mainboard reserve multiple Pin pin;
S2, sequence is defined as by the combination of multiple Pin pin GPIO values, and the GPIO values for changing each Pin pin obtain multiple sequences
Row;
S3, makes each sequence pair answer a BIOS configuration parameter, and arrange respective code for the BIOS configuration parameter;
S4, when server is started shooting, system reads the sequence of Pin pin GPIO values;
S5, the BIOS parameter configuration situations needed according to the machine trigger respective code, load BIOS configuration parameter.
Wherein described Pin pin are pin, pin, and the GPIO (General Purpose Input Output) is general
Input/output, therefore Pin pin GPIO values are the input/output value of pin, the low and high level for having 1 or 0.
Further, it is that server will be pre- on mainboard in production and assembly mainboard is reserved multiple Pin pin described in step S1
Reserve the several Pin pin come.
The combination of multiple Pin pin GPIO values is defined as sequence described in step S2, the GPIO values for changing each Pin pin are obtained
Multiple sequences are obtained to concretely comprise the following steps:
S201, by jump cap to the linear array point 1 of each Pin pin, or 2,3 short circuits, makes GPIO values produce 1 at 2 points
Or 0 low and high level value;
S203, by put in order combination of the GPIO values according to Pin pin, a sequence is defined as by the combination,
S203, converts the value of each Pin pin GPIO values, produces multiple sequences.
Further, each Pin pins can produce 0 or 1 two GPIO value, if mainboard has n reserved Pin pin,
2 can be producednPlant different sequences.For example, mainboard has 2 reserved Pin pin, can produce 00,01,10,11 this 4 kinds it is different
Sequence, then can correspond to 4 kinds of BIOS configuration parameters, can adapt to the requirement of 4 kinds of BIOS configuration parameters.
In step S3, the respective code of agreement is the command code for loading corresponding BIOS configuration parameter.The BIOS configurations
The parameter parameter such as including BIOS option.
It is automatic to read GPIO sequences, the sequence and sequence definition side described in step S1 when server is started shooting in step S4
Formula is consistent.
Respective code is triggered described in step S5, the step of loading BIOS configuration parameter is:
S501, judges whether the sequence read corresponds to the BIOS configuration parameter needed for the machine, if it does correspond, then going to step
S402, otherwise repeats this step and continues to judge.
S502, performs the code of sequence agreement, loads the corresponding BIOS configuration parameter of the agreed code;
S503, by the BIOS configuration parameter of loading, write-in nonvolatile random access memory NVRAM (Non-
Volatile Random Access Memory) storage region.Reach that server loads the effect of BIOS parameters automatically.
Simply the preferred embodiment of the present invention described above, for those skilled in the art,
Without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also regarded as this hair
Bright protection domain.
Claims (6)
1. a kind of method of automatic load server BIOS parameters, it is characterized in that:Comprise the following steps,
S1, makes mainboard reserve multiple Pin pin;
S2, sequence is defined as by the combination of multiple Pin pin GPIO values, and the GPIO values for changing each Pin pin obtain multiple sequences;
S3, makes each sequence pair answer a BIOS configuration parameter, and arrange respective code for the BIOS configuration parameter;
S4, when server is started shooting, system reads the sequence of Pin pin GPIO values;
S5, the BIOS parameter configuration situations needed according to the machine trigger respective code, load BIOS configuration parameter.
2. a kind of method of automatic load server BIOS parameters according to claim 1, it is characterized in that:It is right in step S2
Pin pin change Pin pin GPIO values using jump cap, obtain multiple sequences.
3. a kind of method of automatic load server BIOS parameters according to claim 2, it is characterized in that:It is described to Pin
Pin changes Pin pin GPIO values using jump cap, obtains multiple sequences and comprises the following steps,
S201, by jump cap by the 1 of each Pin pin linear array point, 2 points or 2,3 short circuits, GPIO values is taken 1 or 0;
S203, by put in order combination of the GPIO values according to Pin pin, a sequence is defined as by the combination,
S203, converts the value of each Pin pin GPIO values, produces multiple sequences.
4. a kind of method of automatic load server BIOS parameters according to claim 1, it is characterized in that:In step S3 about
Fixed respective code is the command code for loading corresponding BIOS configuration parameter.
5. a kind of method of automatic load server BIOS parameters according to claim 4, it is characterized in that:Described in step S5
Respective code is triggered, the step of loading BIOS configuration parameter is:
S501, judges whether the sequence read corresponds to the BIOS configuration parameter needed for the machine, if it does correspond, then going to step
S402, otherwise repeats this step and continues to judge.
S502, performs the code of sequence agreement, loads the corresponding BIOS configuration parameter of the agreed code;
S503, by the BIOS configuration parameter of loading, writes NVRAM storage region.
6. a kind of method of automatic load server BIOS parameters according to claim 1-5, it is characterized in that:The mainboard
N Pin pin is reserved, Pin pin GPIO values produce 2nIndividual sequence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710385548.6A CN107220056A (en) | 2017-05-26 | 2017-05-26 | A kind of method of automatic load server BIOS parameters |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710385548.6A CN107220056A (en) | 2017-05-26 | 2017-05-26 | A kind of method of automatic load server BIOS parameters |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107220056A true CN107220056A (en) | 2017-09-29 |
Family
ID=59946708
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710385548.6A Pending CN107220056A (en) | 2017-05-26 | 2017-05-26 | A kind of method of automatic load server BIOS parameters |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107220056A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107818032A (en) * | 2017-10-24 | 2018-03-20 | 郑州云海信息技术有限公司 | A kind of mainboard, information Method of printing, system, device and storage medium |
CN108920198A (en) * | 2018-06-29 | 2018-11-30 | 郑州云海信息技术有限公司 | Method, system and the server of system energy efficiency mode are changed in a kind of BIOS |
CN108959169A (en) * | 2018-06-26 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of list mainboard multi version program adaptation method, system, device and storage medium |
CN109254798A (en) * | 2018-08-29 | 2019-01-22 | 郑州云海信息技术有限公司 | Server starts method, apparatus, server and computer readable storage medium |
Citations (2)
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 |
CN106598564A (en) * | 2016-10-24 | 2017-04-26 | 郑州云海信息技术有限公司 | Method for implementing BIOS capable of self-adapting to different main boards, BIOS, and main board |
-
2017
- 2017-05-26 CN CN201710385548.6A patent/CN107220056A/en active Pending
Patent Citations (2)
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 |
CN106598564A (en) * | 2016-10-24 | 2017-04-26 | 郑州云海信息技术有限公司 | Method for implementing BIOS capable of self-adapting to different main boards, BIOS, and main board |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107818032A (en) * | 2017-10-24 | 2018-03-20 | 郑州云海信息技术有限公司 | A kind of mainboard, information Method of printing, system, device and storage medium |
CN108959169A (en) * | 2018-06-26 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of list mainboard multi version program adaptation method, system, 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 |
CN108920198A (en) * | 2018-06-29 | 2018-11-30 | 郑州云海信息技术有限公司 | Method, system and the server of system energy efficiency mode are changed in a kind of BIOS |
CN109254798A (en) * | 2018-08-29 | 2019-01-22 | 郑州云海信息技术有限公司 | Server starts method, apparatus, server and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107220056A (en) | A kind of method of automatic load server BIOS parameters | |
CN102945173B (en) | User program online upgrade system and upgrade method | |
US11415627B2 (en) | Method for automatically testing processor | |
CN109426625A (en) | A kind of control device and implementation method that more drivings are compatible | |
CN114003538B (en) | Identification method of intelligent network card and intelligent network card | |
CN103345434B (en) | The data back up method of a kind of display device and device | |
CN104123167A (en) | MCU electrification starting method with configuration word self-inspection function and self-inspection method | |
US20160092201A1 (en) | Method and Device for Updating Program Data | |
CN101604248B (en) | Embedded system for correcting programs in read only memory and realization method thereof | |
CN103780813A (en) | Method for making multiple camera modules compatible on terminal, terminal and camera modules | |
CN104965729A (en) | Method of server for automatically setting BIOS default values | |
CN109284209A (en) | The automated testing method of different type Vdisk under a kind of Mcs system | |
CN109002331A (en) | Starting method, apparatus, computer equipment and the storage medium of touch screen | |
CN109766113B (en) | Firmware updating method and device of solid state hard disk controller | |
US8656089B2 (en) | Electronic device, memory controlling method thereof and associated computer-readable storage medium | |
CN106183423A (en) | Imaging cartridge and use storage chip on imaging cartridge | |
CN103793231A (en) | Processing method and system for mobile terminal parameters | |
CN102750167B (en) | Application program launching method, device and computer system | |
CN109408124A (en) | Store equipment and preparation method thereof, operating system double mode bootstrap technique and device | |
CN108984297A (en) | Task executing method and device | |
CN103345456B (en) | Regulate circuit and the method for BootLoader enabling address | |
CN112365917A (en) | Nonvolatile memory instruction combination verification method and device, storage medium and terminal | |
CN112667444A (en) | System upgrading method, storage medium and terminal equipment | |
CN110333828A (en) | EEPROM date storage method, controller and system | |
CN111857785A (en) | MCU starting method and device and terminal equipment |
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: 20170929 |
|
RJ01 | Rejection of invention patent application after publication |