CN107145455B - Method for updating SMBIOS static information of whole system - Google Patents

Method for updating SMBIOS static information of whole system Download PDF

Info

Publication number
CN107145455B
CN107145455B CN201710258148.9A CN201710258148A CN107145455B CN 107145455 B CN107145455 B CN 107145455B CN 201710258148 A CN201710258148 A CN 201710258148A CN 107145455 B CN107145455 B CN 107145455B
Authority
CN
China
Prior art keywords
smbios
data structure
structure table
updating
static information
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.)
Expired - Fee Related
Application number
CN201710258148.9A
Other languages
Chinese (zh)
Other versions
CN107145455A (en
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.)
Shenzhen Guo Xinheng Space Science And Technology Ltd
Original Assignee
Shenzhen Guo Xinheng Space Science And Technology 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 Shenzhen Guo Xinheng Space Science And Technology Ltd filed Critical Shenzhen Guo Xinheng Space Science And Technology Ltd
Priority to CN201710258148.9A priority Critical patent/CN107145455B/en
Publication of CN107145455A publication Critical patent/CN107145455A/en
Application granted granted Critical
Publication of CN107145455B publication Critical patent/CN107145455B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor

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

The invention provides a method for updating SMBIOS static information of a whole machine system, wherein an EEPROM is arranged on a back plate of a case of the whole machine system, and the EEPROM is connected to an SMBUS bus of a PCH chip of a mainboard through the back plate; the SMBUS controller in the PCH acquires the type identification data in the EEPROM so as to identify the corresponding complete machine system; and then updating the SMBIOS data structure table according to the special attribute of the whole system. By adopting the technical scheme of the invention, the static information can be automatically modified and updated, so that the whole SMBIOS data structure table is in a modifiable state; only one BIOS software is needed, the system is suitable for all the whole system corresponding to the same mainboard, and accurate SMBIOS information is provided for the system.

Description

Method for updating SMBIOS static information of whole system
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a method for updating SMBIOS static information of a whole computer system.
Background
The SMBIOS information of the server mainboard is divided into static information and dynamic information, the static information is predetermined when the BIOS file is manufactured, and developers are required to determine the content of the static information. And in the running process of the BIOS, the dynamic information is updated into the SMBIOS data table by collecting the hardware equipment information on the mainboard. In the same mainboard, no matter how the processor, the memory and other external devices on the mainboard change, the static information does not change, but the dynamic information changes with different hardware devices.
The SMBIOS static information needs developers to determine in advance that the SMBIOS static information cannot be modified according to the change of hardware, when the same server mainboard is used for matching with different server cases, different complete machine systems are combined, different SMBIOS static information can be constructed by different complete machine systems, and one mainboard can correspond to more than ten complete machine systems. Because the BIOS cannot identify which kind of complete machine system, the SMBIOS static information cannot be automatically updated. At present, different BIOS are manufactured according to different whole machine systems, different SMBIOS static information is built in each BIOS, and therefore although the requirements can be met, a plurality of software versions bring great troubles to software management and production and errors are easy to generate.
Disclosure of Invention
Aiming at the technical problems, the invention discloses a method for updating SMBIOS static information of a whole system, which does not need to manufacture corresponding BIOS for the same mainboard, different chassis and different configured whole systems, and the mainboard and the BIOS are in one-to-one correspondence, thereby solving the problems of complicated and disordered management of numerous software versions and easy error in the production process.
In contrast, the technical scheme adopted by the invention is as follows:
a method for updating SMBIOS static information of a whole machine system is characterized in that an EEPROM is arranged on a back plate of a case of the whole machine system and connected to an SMBUS bus of a PCH chip of a mainboard through the back plate; the SMBUS controller in the PCH acquires the type identification data in the EEPROM so as to identify the corresponding complete machine system; and then updating the SMBIOS data structure table according to the special attribute of the whole system.
By adopting the technical scheme, the EEPROM is arranged on the back plate, the case is connected with the main board, communication is established, the whole machine system is identified, the identification mark of the whole machine system is added, the BIOS acquires the mark, the whole machine system is identified according to the mark, and the special SMBIOS static information of the whole machine system is updated. Through the design, the corresponding BIOS does not need to be manufactured for the same mainboard, different chassis and different configured complete machine systems, the mainboard corresponds to the BIOS one by one, the problem of complicated and disordered management of numerous software versions is solved, and the problem of easy error in the production process is solved.
As a further improvement of the invention, the method for updating SMBIOS static information of the whole system comprises the following steps:
step S1, starting BIOS, initializing SMBUS controller;
and S2, the SMBUS controller communicates with the EEPROM, acquires the type identifier of the whole machine system in the EEPROM, judges the current model of the whole machine system according to the type identifier, establishes special SMBIOS static information according to the special attribute of the whole machine system, and then starts to update the SMBIOS data structure table.
As a further improvement of the present invention, the proprietary attributes of the whole system include a system name, a chassis name, a PCIE device split type, and a PCIE slot number.
As a further improvement of the present invention, the updating the SMBIOS data structure table includes the following steps:
step S201, searching the memory address position of the SMBIOS data structure table;
step S202, the memory address space of the SMBIOS data structure table is unlocked, and the data structure table can be modified;
step S203, searching in the data structure table according to the Type of the SMBIOS data structure table to be updated, finding out the position of the Type structure table, and updating the static information which is just established into the data table of the Type;
and step S204, searching a next Type data structure table to be updated, and continuing to update until all the Type data structure tables needing to be updated.
As a further improvement of the present invention, step S205 is further included, after the update is completed, the memory address space of the data structure table is locked, so as to prevent from being modified by mistake.
As a further improvement of the present invention, in step S2, the SMBUS controller establishes communication based on the SMBUS address of the EEPROM device, and ends the operation if the EEPROM device is not found in the feedback, or if the result that the complete machine identifier does not match the actual complete machine identifier is obtained although the device is found.
Compared with the prior art, the invention has the beneficial effects that:
by adopting the technical scheme of the invention, the EEPROM is arranged on the back plate, the case is connected with the mainboard, communication is established, the whole system is identified, and the static information can be automatically modified and updated, so that the whole SMBIOS data structure table is in a modifiable state; only one BIOS software is needed, the system is suitable for all the whole system corresponding to the same mainboard, and accurate SMBIOS information is provided for the system; the problem that the BIOS in the prior art can only collect hardware information and then update SMBIOS dynamic information in the boot process originally, and static information cannot be modified is solved.
Drawings
Fig. 1 is a schematic view of a connection structure between a motherboard and a backplane of a chassis according to an embodiment of the present invention.
Fig. 2 is a flowchart of a method for updating SMBIOS static information in a complete system according to the present invention.
Detailed Description
Preferred embodiments of the present invention are described in further detail below.
As shown in figure 1 of the drawings, in which,
a method for updating SMBIOS static information of a whole machine system is disclosed, as shown in figure 1, an EEPROM of an SMBUS interface is arranged on a back plate of a case of the whole machine system, and the EEPROM is connected to an SMBUS bus of a PCH chip of a mainboard through the back plate; the SMBUS controller in the PCH acquires the type identification data in the EEPROM so as to identify the corresponding whole machine system; and then updating the SMBIOS data structure table according to the special attribute of the whole system.
As shown in fig. 2, the updating SMBIOS data structure table specifically includes the following steps:
step S1: after the BIOS is started, initializing the SMBUS controller to ensure that the SMBUS controller can normally work;
step S2: and the SMBUS controller establishes communication according to the SMBUS address of the EEPROM equipment, and ends the operation and uses default SMBIOS information if the EEPROM equipment is not found by feedback or the result that the complete machine identification is not matched with the actual complete machine identification is obtained although the equipment is found.
If the complete machine identification is normally acquired, judging the current complete machine system model according to the complete machine identification, then establishing special SMBIOS static information according to the special attribute of the complete machine system, and then starting to update the SMBIOS data structure table. The proprietary attributes of the whole system comprise a system name, a case name, a PCIE equipment split type, the number of PCIE slots and the like.
The updating of the SMBIOS data structure table comprises the following steps:
firstly searching the memory address position of the SMBIOS data structure table, after finding, unlocking the memory address space of the SMBIOS data structure table, enabling the data structure table to be modifiable, then searching in the data structure table according to the Type of the SMBIOS data structure table to be updated, finding the position of the Type structure table, updating the static information just established into the data table of the Type, then finding the next Type data structure table to be updated, and after finding, continuing to update until all the Type data structure tables to be updated. After the updating is finished, the memory address space of the data structure table is locked, and the error modification is prevented.
The english abbreviations referred to in the present invention are explained as follows:
BIOS (basic Input Output System): the basic input and output system is mainly used for initializing and detecting various hardware devices in the starting process of a computer.
PCIE (PCI-Express): a high-speed serial bus interface technology standard.
SMBIOS (System Management BIOS): the motherboard or system manufacturer displays the uniform specifications to which the product management information needs to conform in a standard format.
PCH (Platform Controller Hub): intel corporation integrated south bridge.
SMBUS (System Management bus): a system management bus.
EEPROM (Electrically Erasable Programmable Read-Only Memory): electrically erasable programmable read only memory-a kind of memory chip whose data is not lost after power failure.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (4)

1. A method for updating SMBIOS static information of a whole system is characterized in that: the back plate of the case of the whole machine system is provided with an EEPROM which is connected to an SMBUS bus of a PCH chip of the mainboard through the back plate; the SMBUS controller in the PCH acquires the type identification data in the EEPROM so as to identify the corresponding complete machine system; then updating an SMBIOS data structure table according to the special attribute of the whole system;
which comprises the following steps:
step S1, starting BIOS, initializing SMBUS controller;
s2, the SMBUS controller communicates with the EEPROM, obtains the type identification of the whole machine system in the EEPROM, judges the current model of the whole machine system according to the type identification, then establishes special SMBIOS static information according to the special attribute of the whole machine system, and then updates the SMBIOS data structure table;
the proprietary attributes of the whole system comprise a system name, a case name, a PCIE equipment split type and the number of PCIE slots.
2. The complete machine system SMBIOS static information updating method according to claim 1, wherein the SMBIOS data structure table updating method comprises the following steps:
step S201, searching the memory address position of the SMBIOS data structure table;
step S202, the memory address space of the SMBIOS data structure table is unlocked, and the data structure table can be modified;
step S203, searching in the data structure table according to the Type of the SMBIOS data structure table to be updated, finding out the position of the Type structure table, and updating the established special static information into the data table of the Type;
and step S204, searching a next Type data structure table to be updated, and continuing to update until all the Type data structure tables needing to be updated.
3. The whole machine system updating SMBIOS static information method according to claim 2, characterized in that: step S205 is further included, and after the update is completed, the memory address space of the data structure table is locked to prevent from being modified by mistake.
4. The method for updating the SMBIOS static information of the whole machine system according to any one of claims 1-3, is characterized in that: in step S2, the SMBUS controller establishes communication according to the SMBUS address of the EEPROM device, and ends the operation if the EEPROM device is not found in the feedback, or if the device is found but the result that the complete machine identifier does not match the actual complete machine identifier is obtained.
CN201710258148.9A 2017-04-19 2017-04-19 Method for updating SMBIOS static information of whole system Expired - Fee Related CN107145455B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710258148.9A CN107145455B (en) 2017-04-19 2017-04-19 Method for updating SMBIOS static information of whole system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710258148.9A CN107145455B (en) 2017-04-19 2017-04-19 Method for updating SMBIOS static information of whole system

Publications (2)

Publication Number Publication Date
CN107145455A CN107145455A (en) 2017-09-08
CN107145455B true CN107145455B (en) 2020-02-14

Family

ID=59774837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710258148.9A Expired - Fee Related CN107145455B (en) 2017-04-19 2017-04-19 Method for updating SMBIOS static information of whole system

Country Status (1)

Country Link
CN (1) CN107145455B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656620A (en) * 2018-12-24 2019-04-19 联想(北京)有限公司 Firmware parameters setting method, device and electronic equipment
CN111143256B (en) * 2019-11-29 2023-01-10 苏州浪潮智能科技有限公司 Method and device for reading field replaceable unit information
CN111857847A (en) * 2020-06-29 2020-10-30 苏州浪潮智能科技有限公司 Method, device, equipment and storage medium for dynamically configuring BIOS character string
CN112394963B (en) * 2020-11-27 2023-06-09 昆仑太科(北京)技术股份有限公司 Method for updating domestic platform SMBIOS and BIOS device
CN118093276B (en) * 2024-04-29 2024-08-09 苏州元脑智能科技有限公司 Method, device, equipment and medium for updating type information of SMBIOS (System management information service) table

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192168A (en) * 2006-11-30 2008-06-04 英业达股份有限公司 Universal computer products hardware configuration management control program setting method and system
CN102308280A (en) * 2011-07-27 2012-01-04 华为技术有限公司 Basic input/output system BIOS configuration data management method and system
CN106557340A (en) * 2015-09-29 2017-04-05 中兴通讯股份有限公司 A kind of collocation method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9298524B2 (en) * 2013-03-22 2016-03-29 Insyde Software Corp. Virtual baseboard management controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192168A (en) * 2006-11-30 2008-06-04 英业达股份有限公司 Universal computer products hardware configuration management control program setting method and system
CN102308280A (en) * 2011-07-27 2012-01-04 华为技术有限公司 Basic input/output system BIOS configuration data management method and system
CN106557340A (en) * 2015-09-29 2017-04-05 中兴通讯股份有限公司 A kind of collocation method and device

Also Published As

Publication number Publication date
CN107145455A (en) 2017-09-08

Similar Documents

Publication Publication Date Title
CN107145455B (en) Method for updating SMBIOS static information of whole system
US7685322B2 (en) Port number emulation for wireless USB connections
CN106557340B (en) Configuration method and device
US7797696B1 (en) Dynamically updating a computer system and firmware image utilizing an option read only memory (OPROM) data structure
CN108388599B (en) Electronic device, data migration and calling method and storage medium
US8214541B2 (en) Method and system for uniquely identifying peripheral component devices
CN103412769A (en) External card parameter configuration method, equipment and system
US8762695B2 (en) Computing device and method for registering identification information of network interface card in operating system
CN115204423A (en) Equipment management method and management server
CN111158968B (en) BIOS configuration information self-checking method, device and storage medium
CN109828774B (en) Server system and starting method thereof
CN111831345A (en) Management method and device for server hard disk backboard, storage medium and equipment
US10146551B2 (en) Initializing and reconfiguring replacement motherboards
CN114003538A (en) Intelligent network card and identification method thereof
CN112685117A (en) System language internationalization maintenance method, device and computer readable storage medium
CN108932134B (en) Remote updating method for server BIOS
CN107193599A (en) A kind of method that dynamic updates system slot information in SMBIOS
CN106484442B (en) Server system and method for updating startup mapping file
US20180032351A1 (en) Information processing method and storage device
CN106919407A (en) The method of the embedded product information synchronized update of computer
CN103164357B (en) The remove strategies establishing method of electronic installation and USB device
CN114510259A (en) Method and device for importing and exporting BIOS configuration based on BMC
US20200252280A1 (en) Systems and methods for validated configuration compliance assurance
CN113760058A (en) System and method for adapting to mainboards with different requirements through independent board cards
CN112445534A (en) Software compatibility method, device and 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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200214

CF01 Termination of patent right due to non-payment of annual fee