CN107357602B - Data loading method and mainboard - Google Patents
Data loading method and mainboard Download PDFInfo
- Publication number
- CN107357602B CN107357602B CN201610308999.5A CN201610308999A CN107357602B CN 107357602 B CN107357602 B CN 107357602B CN 201610308999 A CN201610308999 A CN 201610308999A CN 107357602 B CN107357602 B CN 107357602B
- Authority
- CN
- China
- Prior art keywords
- management controller
- baseboard management
- image data
- product identification
- identification code
- 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.)
- Active
Links
Images
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/445—Program loading or initiating
- G06F9/44536—Selecting among different versions
-
- 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/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
A data loading method is executed by a server, the server at least comprises a mainboard, the mainboard comprises a baseboard management controller suitable for monitoring the operation condition of the server and a field replaceable unit recording a first product identification code related to the mainboard, the baseboard management controller stores a plurality of system mapping data, the system mapping data are respectively related to the first product identification codes of different mainboards, the baseboard management controller respectively executes different system monitoring functions according to the system mapping data, and the baseboard management controller determines to load one of the system mapping data according to the first product identification code recorded by the field replaceable unit so as to execute the corresponding system monitoring function.
Description
Technical Field
The present invention relates to a data processing method and a component, and more particularly, to a data loading method and a motherboard.
Background
A server currently includes a plurality of components, such as a chassis, a motherboard, a memory, a display adapter, a fan, a power supply, and the like. The motherboard design further includes various chips, such as South Bridge (South Bridge), north Bridge (north Bridge), Baseboard Management Controller (Baseboard Management Controller), etc., wherein the Baseboard Management Controller can be used to monitor the health status of each component in the server, such as the chassis temperature, the fan speed, the power supply status, the motherboard temperature, etc., and record the occurrence of events.
When the motherboard hardware design is different and the motherboard hardware design is applied to a server, the data items to be monitored by the baseboard management controller are different, and the recorded events are different. In the aspect of manufacturing, when factory personnel want to deliver goods, different firmware mapping files must be recorded on the baseboard management controller according to different motherboards, so that the baseboard management controller can realize corresponding monitoring functions, but this may increase the probability of recording wrong mapping files in the factory. In design and development, when developing different firmware image files, research and development personnel need different source codes (source codes), but when the baseboard management controllers of different mainboards execute the firmware image files with errors, the research and development personnel need to modify the different source codes, so that the difficulty of the research and development personnel in correcting the errors and maintaining the source codes is often increased.
Disclosure of Invention
The invention mainly aims to provide a data loading method capable of supporting various mainboards.
To achieve the above object, the data loading method of the present invention is executed by a server, the server at least includes a motherboard, the motherboard includes a baseboard management controller adapted to monitor an operating status of the server, and a field replaceable unit electrically connected to the baseboard management controller, the field replaceable unit records a first product identifier associated with the motherboard, and the data loading method includes a step (a) and a step (B).
The step (A) is that the baseboard management controller stores a plurality of system mapping data, the system mapping data are respectively related to first product identification codes of different mainboards, and the baseboard management controller respectively executes different system monitoring functions according to the system mapping data.
The step (B) is that the baseboard management controller determines to load one of the system image data according to the first product identification code recorded by the field replaceable unit so as to execute the corresponding system monitoring function.
Another object of the present invention is to provide a motherboard.
Therefore, the mainboard is suitable for a server and comprises a field replaceable unit and a baseboard management controller.
The field replaceable unit records a first product identification code associated with the motherboard.
The baseboard management controller is suitable for monitoring the operation condition of the server and comprises a storage module for storing a plurality of system mapping data, wherein the system mapping data are respectively related to first product identification codes of different mainboards, the baseboard management controller respectively executes different system monitoring functions according to the system mapping data, and the baseboard management controller determines to load one of the system mapping data according to the first product identification codes recorded by the field replaceable unit so as to execute the corresponding system monitoring function.
Compared with the prior art, the baseboard management controller stores the system mapping data related to different mainboards and determines to load the system mapping data according to the first product identification code, so that recording is not required to be executed according to different mainboards when a factory is shipped, the probability of recording errors can be effectively reduced, the system mapping data can share the original code, and research and development personnel can conveniently correct the errors and maintain the system mapping data.
[ description of the drawings ]
Fig. 1 is a block diagram illustrating an embodiment of a motherboard according to the present invention.
FIG. 2 is a flowchart illustrating an embodiment of the data loading method of the present invention.
[ detailed description ] embodiments
Referring to fig. 1, an embodiment of the motherboard of the present invention is suitable for a server, and includes a Field Replaceable Unit (FRU) 2 and a Baseboard Management Controller (BMC) 1.
The field replaceable unit 2 records a first product identifier 21 and a second product identifier 22 associated with the motherboard, where the first product identifier 21 is, for example, a product name (product name), and the second product identifier 22 is, for example, a motherboard identifier (board ID). The field replaceable unit 2 may be a non-volatile storage device such as a flash memory (flash memory) or other types of electrically erasable programmable read-only memory (EEPROM), and is electrically connected to the baseboard management controller 1 by a bus such as I2C (Inter-Integrated Circuit) or spi (serial Peripheral interface).
The baseboard management controller 1 supports the industry standard of Intelligent Platform Management Interface (IPMI), and is suitable for monitoring the operation status of the server, such as monitoring the temperature of the chassis, the rotation speed of the fan, the voltage status of the power supply, the temperature … of the motherboard, and so on. The baseboard management controller 1 includes a storage module 10, such as a Flash memory (Flash ROM), for storing a plurality of system image (image) data 11, 12 and a plurality of candidate image data 13, 14, and the baseboard management controller 1 determines which monitoring functions are enabled by loading one of the system image data 11, 12 and the candidate image data 13, 14 of the storage module 10. The multiple system image data 11, 12 are respectively related to the first product identifiers 21 of different motherboards, and the baseboard management controller 1 respectively executes different system monitoring functions according to the multiple system image data 11, 12, such as the system image data 11 is applied to the operation of the A motherboard and records monitoring items (sensor list) corresponding to the hardware design of the A motherboard, such as motherboard temperature, fan speed, CPU temperature, voltage supply status, the number of CPUs of the A motherboard, the number of dual in-line memory modules (dimm), the number of fans, etc., and the system image data 12 is applied to the operation of the B motherboard and corresponds to the monitoring items of the hardware design of the B motherboard, such as motherboard temperature, fan speed, CPU temperature, voltage supply status, etc., the number of CPUs of the B motherboard, The number of dual inline memory modules, the number of fans, etc. The multiple candidate image data 13, 14 may be different versions of at least one system image data 11, 12, for example, the candidate image data 13 is an updated version of the system image data 11, that is, for example, when a developer updates hardware of a motherboard to be an a 'motherboard, the candidate image data 13 can be used by the updated a' motherboard.
Referring to fig. 2, the data loading method of the present invention, executed on the motherboard of the server shown in fig. 1, includes the following steps.
In step a, the storage module 10 of the bmc 1 stores the system image data 11, 12 and the candidate image data 13, 14.
In step B, the bmc 1 determines to load one of the system image data 11 and 12 of the storage module 10 according to the first product identifier 21 recorded by the field replaceable unit 2, so as to perform a corresponding system monitoring function. In detail, the step B includes the following substeps.
At step B1, baseboard management controller 1 reads field replaceable unit 2 and performs analysis (parse) to obtain first product identifier 21.
In step B2, the bmc 1 determines whether there is a corresponding one of the stored system image data 11, 12 that matches the first product id 21.
In step B3, if the determination result in step B2 is yes, the bmc 1 determines to load the corresponding one of the system image data 11 and 12 of the storage module 10.
In step B4, if the determination result in step B2 is negative, the bmc 1 determines to load a predetermined one of the system image data 11, 12 of the storage module 10.
For example, the bmc 1 takes the system image data 11 applied to the a motherboard as the default, and when the first product identifier 21 read by the bmc 1 indicates the a motherboard, the bmc 1 determines to load the system image data 11 correspondingly; however, when the first product id read by the bmc 1 indicates a C motherboard different from the a motherboard, the bmc determines to load the system image data 11 because the system image data corresponding to the C motherboard cannot be found.
In step C, the bmc 1 further determines whether to load one of the candidate image data 13 and 14 to replace the one of the system image data 11 and 12 according to the second product identifier 22 recorded by the field replaceable unit 2.
For example, when the bmc 1 reads the motherboard a indicated as the original version by the second product identifier 22, the bmc 1 determines to keep loading the system image data 11; however, when the second product id 22 is read to indicate an updated version of the a' motherboard, the bmc does not load the system image 11 but determines to load the alternative image 13.
It should be noted that, generally, the system image data 11 for developing the a motherboard needs one source code, and the system image data 12 for developing the B motherboard needs another source code, where the source code is, for example, a program code written by a developer in C language, and the system image data 11, 12 is a binary code generated by compiling the source code, and after the developer writes two source codes for monitoring items of the a motherboard and the B motherboard and finishes compiling with a computer, two firmware mapping files (iso files) are generated, one is to record the system image data 11, and the other is to record the system image data 12, and the developer writes the two firmware mapping files into the storage module 100 of the baseboard management controller 1 of A, B motherboard respectively, and maintains the two source codes at the same time, such as debug, update, etc.
In other embodiments of the present invention, a developer may also write the same original code for the monitoring items of the a motherboard and the B motherboard, and generate a firmware mapping file after compiling, the firmware mapping file records the system mapping data 11 and the system mapping data 12 at the same time, and the a motherboard and the B motherboard store the firmware mapping file at the same time, and the substrate management controllers 1 of the a motherboard and the B motherboard determine which of the system mapping data 11 and 12 is to be loaded according to the first product identification code 21 read by the field replaceable unit 2, respectively. Therefore, for production line personnel, only one firmware mapping file needs to be recorded to the storage module 100 of the baseboard management controller 1 for different mainboards, so that the recording error probability can be reduced; for the developers, when the bmc 1 executes the system image data 11, 12 with errors, the same source code is shared, so the developers only need to modify the error once, and do not need to find out the respective source code for modification.
As can be seen from the above description, the baseboard management controller 1 of the present invention stores the system image data 11, 12 of the motherboards applied to different servers, and determines to load the motherboard according to the first product identification code 21, so that it is not necessary to perform recording according to the storage module 100 of the baseboard management controller 1 used by different motherboards during factory shipment, thereby effectively reducing the probability of recording errors. In addition, the system image data 11, 12 can share the same source code, because the research and development personnel do not need to correct the error for the respective source code, the research and development personnel can conveniently perform the firmware maintenance on the baseboard management controller 1, so that the baseboard management controller 1 can be applied to different servers, thereby achieving the purpose of the invention.
In summary, the above embodiments and drawings are only preferred embodiments of the present invention, but not intended to limit the scope of the present invention, and all equivalent changes and modifications made by the claims of the present invention should fall within the scope of the present invention.
Claims (4)
1. A data loading method is executed by a server, the server at least comprises a mainboard, the mainboard comprises a baseboard management controller suitable for monitoring the operation condition of the server and a field replaceable unit electrically connected with the baseboard management controller, the field replaceable unit records a first product identification code related to the mainboard and a second product identification code related to the mainboard, the first product identification code is a product name, the second product identification code is a mainboard identifier, the data loading method is characterized by comprising the following steps:
(A) the baseboard management controller stores a plurality of system mapping data, the system mapping data are respectively related to first product identification codes of different mainboards, the baseboard management controller respectively executes different system monitoring functions according to the system mapping data, and the baseboard management controller also stores a plurality of alternative mapping data of different versions aiming at least one system mapping data, and the alternative mapping data are update versions of at least one system mapping data;
(B) the baseboard management controller determines to load one of the system image data according to the first product identification code recorded by the field replaceable unit so as to execute the corresponding system monitoring function; and
(C) the baseboard management controller also determines whether to load one of the candidate image data to replace one of the system image data according to the second product identification code recorded by the field replaceable unit.
2. The data loading method of claim 1, wherein step (B) comprises
(B1) The baseboard management controller reads the field replaceable unit to obtain the first product identification code,
(B2) the baseboard management controller determines whether there is a corresponding one that matches the first product identification code in the stored system image data,
(B3) if the determination result in the step (B2) is YES, the baseboard management controller determines to load the corresponding one of the plurality of system image data, and
(B4) if the determination result in the step (B2) is negative, the baseboard management controller determines to load a default one of the plurality of system image data.
3. A motherboard for a server, comprising:
a field replaceable unit recording a first product identification code related to the mainboard and a second product identification code related to the mainboard; and
a baseboard management controller, which is suitable for monitoring the operation status of the server and comprises a storage module for storing a plurality of system image data, wherein the plurality of system image data are respectively related to the first product identification codes of different mainboards, and the baseboard management controller respectively executes different system monitoring functions according to the plurality of system image data, the baseboard management controller also stores a plurality of alternative image data corresponding to a plurality of different versions aiming at each system image data, the baseboard management controller determines to load one of the plurality of system image data according to the first product identification codes recorded by the field replaceable unit so as to execute the corresponding system monitoring function, the baseboard management controller also determines whether to load one of the alternative image data according to the second product identification codes recorded by the field replaceable unit, to replace the system image data, the first product identification code is a product name, and the second product identification code is a motherboard identifier.
4. The motherboard of claim 3, wherein the baseboard management controller reads the field replaceable unit to obtain the first product identification code, and determines whether there is a corresponding one that matches the first product identification code in the stored system image data;
if yes, the baseboard management controller determines to load the corresponding one of the plurality of system image data;
if the judgment result is negative, the baseboard management controller determines to load a default one of the plurality of system image data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610308999.5A CN107357602B (en) | 2016-05-10 | 2016-05-10 | Data loading method and mainboard |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610308999.5A CN107357602B (en) | 2016-05-10 | 2016-05-10 | Data loading method and mainboard |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107357602A CN107357602A (en) | 2017-11-17 |
CN107357602B true CN107357602B (en) | 2020-11-06 |
Family
ID=60271454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610308999.5A Active CN107357602B (en) | 2016-05-10 | 2016-05-10 | Data loading method and mainboard |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107357602B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200823756A (en) * | 2006-11-23 | 2008-06-01 | Inventec Corp | Computer platform embedded product data uniformization handling method and system |
CN101192168A (en) * | 2006-11-30 | 2008-06-04 | 英业达股份有限公司 | Universal computer products hardware configuration management control program setting method and system |
CN102479119A (en) * | 2010-11-29 | 2012-05-30 | 英业达股份有限公司 | Method for dynamically switching memory mode for protecting damaged memory cell data |
CN102750109A (en) * | 2011-04-19 | 2012-10-24 | 鸿富锦精密工业(深圳)有限公司 | Data synchronization system and method |
CN103490929A (en) * | 2013-09-25 | 2014-01-01 | 浪潮电子信息产业股份有限公司 | Manufacturing and implement method for multi-adaptive firmware of server |
CN103488498A (en) * | 2013-09-03 | 2014-01-01 | 华为技术有限公司 | Computer booting method and computer |
CN104598283A (en) * | 2015-02-06 | 2015-05-06 | 浪潮电子信息产业股份有限公司 | Method for realizing single-architecture multi-structure BMC firmware program |
CN105281937A (en) * | 2014-06-25 | 2016-01-27 | 纬创资通股份有限公司 | Server, service management system, and service management method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080307502A1 (en) * | 2007-06-07 | 2008-12-11 | Aten International Co., Ltd. | User message management methods and systems |
US20100306357A1 (en) * | 2009-05-27 | 2010-12-02 | Aten International Co., Ltd. | Server, computer system, and method for monitoring computer system |
US9122501B1 (en) * | 2014-09-08 | 2015-09-01 | Quanta Computer Inc. | System and method for managing multiple bios default configurations |
-
2016
- 2016-05-10 CN CN201610308999.5A patent/CN107357602B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200823756A (en) * | 2006-11-23 | 2008-06-01 | Inventec Corp | Computer platform embedded product data uniformization handling method and system |
CN101192168A (en) * | 2006-11-30 | 2008-06-04 | 英业达股份有限公司 | Universal computer products hardware configuration management control program setting method and system |
CN102479119A (en) * | 2010-11-29 | 2012-05-30 | 英业达股份有限公司 | Method for dynamically switching memory mode for protecting damaged memory cell data |
CN102750109A (en) * | 2011-04-19 | 2012-10-24 | 鸿富锦精密工业(深圳)有限公司 | Data synchronization system and method |
CN103488498A (en) * | 2013-09-03 | 2014-01-01 | 华为技术有限公司 | Computer booting method and computer |
CN103490929A (en) * | 2013-09-25 | 2014-01-01 | 浪潮电子信息产业股份有限公司 | Manufacturing and implement method for multi-adaptive firmware of server |
CN105281937A (en) * | 2014-06-25 | 2016-01-27 | 纬创资通股份有限公司 | Server, service management system, and service management method |
CN104598283A (en) * | 2015-02-06 | 2015-05-06 | 浪潮电子信息产业股份有限公司 | Method for realizing single-architecture multi-structure BMC firmware program |
Also Published As
Publication number | Publication date |
---|---|
CN107357602A (en) | 2017-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7849454B2 (en) | Automatic firmware corruption recovery and update | |
US7293165B1 (en) | BMC-hosted boot ROM interface | |
US8943302B2 (en) | Method of flashing bios using service processor and computer system using the same | |
US7711945B2 (en) | Universal computer product hardware configuration initialization handling method and system | |
US20150143054A1 (en) | Managing Faulty Memory Pages In A Computing System | |
US9141464B2 (en) | Computing device and method for processing system events of computing device | |
US10120702B2 (en) | Platform simulation for management controller development projects | |
TWI620120B (en) | Data loading method and motherboard | |
US20140173328A1 (en) | Correcting a failure associated with a current firmware image | |
CN107145455B (en) | Method for updating SMBIOS static information of whole system | |
US7266628B2 (en) | System and method of retiring events upon device replacement | |
US11256521B2 (en) | Systems and methods for evaluating and updating deprecated products | |
US9411695B2 (en) | Provisioning memory in a memory system for mirroring | |
CN111966386A (en) | Controller upgrading method and related device for storage system | |
US9411666B2 (en) | Anticipatory protection of critical jobs in a computing system | |
US20080201572A1 (en) | Method and system for uniformizing product data embedded in a computer platform | |
US20190294360A1 (en) | Information processing apparatus and computer-readable recording medium | |
CN107357602B (en) | Data loading method and mainboard | |
JP2018018177A (en) | Information processing device, information processing system, information processing device control program and information processing device control method | |
US20190146804A1 (en) | Method for synchronization of system management data | |
US11334359B2 (en) | Systems and methods for management of dynamic devices | |
US8626992B2 (en) | Storage device with identification information | |
US20180052641A1 (en) | Information processing apparatus and information processing method | |
TWI775360B (en) | Storage device for recording status of hardware component of computer system and computer implementation method thereof | |
US20240012572A1 (en) | Operationalization of memories using memory information sets |
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 |