CN109766118A - Firmware file loading method, device and girff formula server - Google Patents

Firmware file loading method, device and girff formula server Download PDF

Info

Publication number
CN109766118A
CN109766118A CN201910002251.6A CN201910002251A CN109766118A CN 109766118 A CN109766118 A CN 109766118A CN 201910002251 A CN201910002251 A CN 201910002251A CN 109766118 A CN109766118 A CN 109766118A
Authority
CN
China
Prior art keywords
firmware file
bmc chip
administrative unit
data length
bmc
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
CN201910002251.6A
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.)
New H3C Information Technologies Co Ltd
Original Assignee
Unis Huashan Information Technologies 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 Unis Huashan Information Technologies Co Ltd filed Critical Unis Huashan Information Technologies Co Ltd
Priority to CN201910002251.6A priority Critical patent/CN109766118A/en
Publication of CN109766118A publication Critical patent/CN109766118A/en
Pending legal-status Critical Current

Links

Abstract

Firmware file loading method, device and girff formula server provided by the present application, it is related to data communication technology field, the firmware file loading method is applied in girff formula server, the girff formula server includes administrative unit and multiple computing units, each computing unit includes a baseboard management controller BMC chip, the administrative unit preserves the firmware file of the BMC chip, when carrying out firmware file load, the loading firmware file from administrative unit.Reduce the storage pressure of SPI Flash chip, reduce the hardware requirement to SPI Flash chip, reduces hardware cost.

Description

Firmware file loading method, device and girff formula server
Technical field
This application involves data communication technology fields, in particular to a kind of firmware file loading method, device and knife Box server.
Background technique
In the prior art, the baseboard management controller in girff formula server on each computing unit (node) (English: Baseboard Management Controller, referred to as: BMC) chip be configured with one be used to save BMC system firmware SPI Flash chip, wherein SPI Flash chip refers to through Serial Peripheral Interface (English: Serial Peripheral Interface, referred to as: SPI) chip that Flash is written and read.Since BMC system has certain complexity Degree, BMC system firmware is generally large (for example, 32MB), if considering further that, system firmware is backed up, each computing unit SPI Capacity needed for Flash chip can be more.
After computing unit powers on, BMC chip first start in SPI Flash chip one section of initial code (for example, Bootloader), BMC system firmware file is then loaded from SPI Flash chip by this section of initial code again.
In above-mentioned firmware file loading method, need to configure a biggish SPI of capacity for each computing unit Flash chip, cost is costly.
Summary of the invention
The application provides a kind of firmware file loading method, device and girff formula server, for solving existing firmware text Part load is high to SPI Flash chip configuration requirement, the high technical problem of hardware cost.
In a first aspect, the application provides a kind of girff formula server, the girff formula server includes administrative unit and more A computing unit, each computing unit include a baseboard management controller BMC chip, and the administrative unit preserves each calculating Firmware file needed for the BMC chip that unit includes;
The BMC chip, for sending the request message for loading the firmware file, the request to the administrative unit Message includes the offset address of the address of the BMC chip, the data length of request and firmware file;
The administrative unit, for the address information according to the BMC chip, Xiang Suoshu BMC chip sends response message, The response message includes the firmware on the storage address section determined by the offset address of the data length and firmware file File content, so that the BMC chip loads the firmware file.
In the above-mentioned methods, firmware file is saved in administrative unit, it is single from management when needing loading firmware file Loading firmware file in member.Reduce the storage pressure of SPI Flash chip, SPI Flash chip only needs memory capacity lesser Initial code.The hardware requirement to SPI Flash chip is reduced, hardware cost is reduced.
Optionally, the BMC chip is also used to after completing hardware initialization, is broadcasted for detecting the administrative unit Probe messages;
The administrative unit is also used to after receiving the probe messages, and the attribute information of the administrative unit is sent out Give the BMC chip, wherein the attribute information includes: the MAC Address of the administrative unit, the size of firmware file, school The portable maximum data length of response message testing value and sending every time.
Optionally, the administrative unit is also used to detect received request message;
If the storage address section determined by the offset address of the data length and firmware file is not in the firmware text In the storage address section of part, Xiang Suoshu BMC chip feedback error is reminded;Or
When checking the data length in the request more than the portable maximum data length of the response message, to The BMC chip feedback error is reminded.
Optionally, the administrative unit is also used to respond the operation being updated to the firmware file, to the firmware File is updated, so that each BMC chip loads the updated firmware file.
Second aspect, the application also provide a kind of firmware file loading method, applied to the management in girff formula server Unit, the girff formula server further include multiple computing units, and each computing unit includes a baseboard management controller BMC core Piece, firmware file needed for the administrative unit preserves the BMC chip that each computing unit includes, which comprises
The request message for the load firmware file that the BMC chip is sent is received, the request message includes described The offset address of the address of BMC chip, the data length of request and firmware file;
According to the address information of the BMC chip, Xiang Suoshu BMC chip sends response message, and the response message includes The firmware file content on storage address section determined by the offset address of the data length and firmware file, so that described BMC chip loads the firmware file.
Optionally, before the request for receiving the load firmware file that the BMC chip is sent, the method is also wrapped It includes:
Receive the detection report for being used to detect the administrative unit that the BMC chip is broadcasted after completing hardware initialization Text;
The attribute information of the administrative unit is sent to the BMC chip, wherein the attribute information includes: described The MAC Address of administrative unit, the size of the firmware file of storage, check value and the portable maximum of response message sent every time Data length.
Optionally, the method also includes:
The request message of the received load firmware file is detected;
If the storage address section determined by the offset address of the data length and firmware file is not in the firmware text In the storage address section of part, Xiang Suoshu BMC chip feedback error is reminded;Or
When checking the data length in the request more than the portable maximum data length of the response message, to The BMC chip feedback error is reminded.
Optionally, the method also includes:
The operation being updated to the firmware file is responded, the firmware file is updated, so that each described BMC chip loads the updated firmware file.
When needing to update firmware file, it is only necessary to update the firmware file being stored in administrative unit, relatively New system firmware is burnt to respectively in the SPI Flash chip of each computing unit when updating in the prior art, is grasped It is simpler convenient to make.
The third aspect, the application also provide a kind of firmware file loading device, applied to the management in girff formula server Unit, the girff formula server include multiple computing units, and each computing unit includes a baseboard management controller BMC core Piece, firmware file needed for the administrative unit preserves the BMC chip that each computing unit includes, described device include:
Receiving module, for receiving the request message for the load firmware file that the BMC chip is sent, the request Message includes the offset address of the address of the BMC chip, the data length of request and firmware file;
Sending module, for the address information according to the BMC chip, Xiang Suoshu BMC chip sends response message, described Response message includes the firmware file on the storage address section determined by the offset address of the data length and firmware file Content, so that the BMC chip loads the firmware file.
Optionally, the receiving module, is also used to receive that the BMC chip broadcasts after completing hardware initialization is used for Detect the probe messages of the administrative unit;
The sending module is also used to for the attribute information of the administrative unit to be sent to the BMC chip, the attribute Information includes: that the MAC Address of the administrative unit, the size of firmware file, check value and each response message are portable most Big data length.
Optionally, described device further include:
Detection module is detected for the request message to the received load firmware file;
Feedback module, if the storage address section for being determined by the offset address of the data length and firmware file is not In the storage address section of the firmware file, Xiang Suoshu BMC chip feedback error is reminded;Or
When checking the data length in the request more than the portable maximum data length of the response message, to The BMC chip feedback error is reminded.
Optionally, described device further include:
Update module is updated the firmware file for responding the operation being updated to the firmware file, So that each BMC chip loads the updated firmware file.
Fourth aspect, the application also provide a kind of administrative unit, and the administrative unit includes processor and is stored with several The nonvolatile memory of computer instruction, when the computer instruction is executed by the processor, the administrative unit is executed Firmware file loading method described in second aspect.
5th aspect, the application also provide a kind of readable storage medium storing program for executing, and the readable storage medium storing program for executing includes computer program, The administrative unit computer program controls the readable storage medium storing program for executing when running where executes the text of firmware described in first aspect Part loading method.
In terms of existing technologies, the application has the advantages that
Firmware file loading method, device and girff formula server provided by the present application, the firmware file loading method It applies in girff formula server, the girff formula server includes administrative unit and multiple computing units, each computing unit Including a BMC chip, the administrative unit preserves the firmware file of the BMC chip, when carrying out firmware file load, from Loading firmware file in administrative unit.Reduce the storage pressure of SPI Flash chip, reduces the hardware to SPI Flash chip It is required that reducing hardware cost.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the structural schematic diagram of girff formula server provided by the embodiments of the present application;
Fig. 2 is the frame diagram of administrative unit provided by the embodiments of the present application;
Fig. 3 is one applied to the firmware file loading method of girff formula server in Fig. 1 provided by the embodiments of the present application Kind flow diagram;
Fig. 4 is the schematic diagram that the application implements the Ethernet message format provided;
Fig. 5 be it is provided by the embodiments of the present application applied in Fig. 1 the firmware file loading method of girff formula server it is another A kind of flow diagram;
Fig. 6 is the part flow diagram of firmware file loading method provided by the embodiments of the present application;
Fig. 7 is a kind of stream provided by the embodiments of the present application applied to the firmware file loading method of administrative unit in Fig. 2 Journey schematic diagram;
Fig. 8 is the another kind provided by the embodiments of the present application applied to the firmware file loading method of administrative unit in Fig. 2 Flow diagram;
Fig. 9 is a kind of functional block diagram of firmware file loading device provided by the embodiments of the present application;
Figure 10 is another functional block diagram of firmware file loading device provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is implemented The component of example can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiments herein provided in the accompanying drawings is not intended to limit below claimed Scope of the present application, but be merely representative of the selected embodiment of the application.Based on the embodiment in the application, this field is common Technical staff's every other embodiment obtained without creative efforts belongs to the model of the application protection It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
In the description of the present application, it is also necessary to which explanation is unless specifically defined or limited otherwise, term " setting ", " installation ", " connected ", " connection " shall be understood in a broad sense, for example, it may be fixedly connected, may be a detachable connection or one Connect to body;It can be mechanical connection, be also possible to be electrically connected;It can be directly connected, it can also be indirect by intermediary It is connected, can be the connection inside two elements.For the ordinary skill in the art, on being understood with concrete condition State the concrete meaning of term in this application.
Girff formula server is also blade server, and girff formula server refers to can in the rack cabinet of calibrated altitude The server unit of multiple cassettes is inserted, realizes High Availabitity, highdensity inexpensive server platform.
Girff formula server generally comprises a machine frame, and there are multiple slot positions in front and back, and each slot position of front can insert Enter one " blade ", " blade " is also referred to as " calculate node ", also referred to as " computing unit ".Computing unit has different classes Type, have overall with, have half-breadth.Subsequent slot position can be inserted switching equipment, administrative unit (or for management equipment) and Power supply fan.
Fig. 1 is please referred to, Fig. 1 shows the structural block diagram of girff formula server 1.It include multiple meters in girff formula server 1 Calculate unit 10, administrative unit 20 and backboard 30.Wherein on each computing unit 10 other than the X86CPU11 of standard also One BMC chip 12, each BMC chip are further equipped with a SPI Flash chip (not shown), SPI Flash chip For storing the initial code for carrying out hardware initialization to computing unit 10.Interface, all BMC are provided on backboard 30 Chip 12 is all connected to the network by interface on backboard 30 and administrative unit 20.BMC chip 12 is generally used to realize pipe Function is managed, it can monitor voltage, electric current, temperature on computing unit 10 etc., also can control to the CPU on computing unit 10 Power-on and power-off.Therefore, we are also referred to as the BMC chip 12 on each computing unit 10 and this network between administrative unit 20 For " management network ".
Referring to figure 2., Fig. 2 is a kind of structural schematic diagram of administrative unit 20 provided by the embodiments of the present application.The management Unit 20 includes firmware file loading device 40, memory 201, processor 202 and communication unit 203.
Each element of the memory 201, processor 202 and communication unit 203 is directly or indirectly electrical between each other Connection, to realize the transmission or interaction of data.For example, these elements can pass through one or more communication bus or letter between each other Number line, which is realized, to be electrically connected.
Wherein, the memory 201 may be, but not limited to, random access memory (English: Random Access Memory, referred to as: RAM), read-only memory (English: Read Only Memory, referred to as: ROM), programmable read only memory (English: Programmable Read-Only Memory, referred to as: PROM), erasable read-only memory (English: Erasable Programmable Read-Only Memory, referred to as: EPROM), electricallyerasable ROM (EEROM) (English: Electric Erasable Programmable Read-Only Memory, referred to as: EEPROM) etc..Wherein, memory 201 is for storing Program, the processor 202 execute described program after receiving and executing instruction.The communication unit 203 is for passing through network Establish the communication connection between the administrative unit 20 and computing unit 10, and reception and hair for carrying out data by network It send, in the embodiment of the present application, communication unit 203 realizes administrative unit 20 and computing unit 10 by way of wired connection Between communication.
Firmware file loading device 40 includes that at least one can be stored in institute in the form of software or firmware (firmware) State in memory 201 or be solidificated in the operating system (English: Operating System, abbreviation: OS) of the administrative unit 20 In software function module.The processor 202 is used to execute the executable module stored in the memory 201, such as solid Software function module and computer program etc. included by part file loading device 40.
It should be understood that structure shown in Fig. 2 is only to illustrate, the administrative unit 20 may also include than shown in Fig. 2 More perhaps less component or with the configuration different from shown in Fig. 2.Each component shown in Fig. 2 can using hardware, Software or combinations thereof is realized.
Referring to figure 3., Fig. 3 is the firmware file provided by the embodiments of the present application applied to the girff formula server 1 in Fig. 1 The flow chart of loading method preserves the firmware file of BMC chip 12 in administrative unit 20.Below to the method includes it is each A step is illustrated in detail.
Step S310, BMC chip send the request message of loading firmware file to administrative unit.
Firmware file is the software of the most basic bottom work of a system, and operating system only passes through firmware file ability Equipment is set to realize specific run action (such as photoetching).Firmware file is generally large (such as 32M), and single message transmissions Data volume is limited (for example, 1KB).It is that firmware file can not be transferred to BMC chip 12 by a message transmissions.Thus into When row firmware file transmits, institute's firmware file content to be loaded will include in the request of loading firmware file.
It in the embodiment of the present application, may include the deviation post of firmware file in the request message of loading firmware file (i.e. initial position) and data length.Firmware file content refers to is deposited by what the deviation post and data length of firmware file determined The content stored on storage address section.
Specifically, citing is illustrated, it is assumed that storage address section of the firmware file in administrative unit is 0-1000, often The data length of one storage address storage is 50B, and the data length of first time request message request is 1KB, then requests for the first time The deviation post of firmware file in message is address 0, and the firmware file content requested in first time request message is to be stored in Content in the 0-19 of storage address section.And so on, the deviation post of the firmware file in second of request message then becomes Address 20.
It is understood that can also be consolidated by single message when firmware file smaller (such as KB rank) Part file.
In the embodiment of the present application, the communication protocols that BMC chip 12 and administrative unit 20 can be supported by data link layer View (or being double layered communication agreement) carries out data communication, to realize the load of firmware file.It, can be with using double layered communication agreement The influence to user network is reduced, configuration IP address is not needed, prevents network conflict.BMC chip 12 is directly according to administrative unit 20 MAC Address sends the request of loading firmware file to administrative unit 20.
Optionally, in the embodiment of the present application, between BMC chip 12 and administrative unit 20 can using ether network packet into Row communication.Simultaneously in order to common IP packet differentiation, referring to figure 4., which includes the MAC of purpose equipment Location, the MAC Address of source device, ether class 0xAB00 and data capacity.
In the embodiment of the present application, in the request message of the loading firmware file including BMC chip 12 address information, The data length of request and the offset address of firmware file.
Step S320, administrative unit send response message, response message to BMC chip according to the address information of BMC chip Including the firmware file content on the storage address section that is determined by the offset address of data length and firmware file, so that BMC Chip loads the firmware file.
Administrative unit 20 responds the request message after the request message for receiving the transmission of BMC chip 12.It is reported by request The offset address of firmware file data length and firmware file in text is read from the storage address section for saving firmware file Firmware file content, and according to the address information of BMC chip 12, sends response message to BMC chip 12, by the reading data with The form of response message is sent to BMC chip 12.
In the embodiment of the present application, after all data in firmware file are sent to BMC chip 12 by administrative unit 20, The load of the completion firmware file of BMC chip 12.
In the above-mentioned methods, administrative unit 20 preserves the firmware file of BMC chip 12, is carrying out firmware file load When, firmware file is loaded directly into from administrative unit 20.Reduce the storage pressure of SPI Flash chip, reduces to SPI The hardware requirement of Flash chip reduces hardware cost.
Optionally, referring to figure 5., in the embodiment of the present application, before step S310, the method can also include step Rapid S308 and step S309.
Step S308, BMC chip broadcast the probe messages for detecting administrative unit after completing hardware initialization.
BMC chip 12 transfers initial code (for example, Bootloader), initial code from SPI Flash chip It is the one section of small routine run before operating system nucleus operation.By this section of small routine, hardware device can be initialized, built The mapping graph of vertical memory headroom, so that the hardware environment of system is adjusted to suitable state, to be final call operation System kernel gets out correct environment.BMC chip 12 completes hardware initialization by initial code.
After completing hardware initialization, 12 overseas broadcast of BMC chip is used to detect the probe messages of administrative unit 20.
Step S309, administrative unit are sent to BMC core after receiving probe messages, by the attribute information of administrative unit Piece.
After administrative unit 20 receives probe messages, the probe messages are responded, by attribute information in the form of unicast message It is sent to BMC chip 12.Wherein, attribute information include the MAC Address of administrative unit 20, storage firmware file size, every The portable maximum data length of the response message of secondary transmission.
The MAC Address of administrative unit 20 can be used for BMC chip 12 and administrative unit 20 to be carried out by above-mentioned ether network packet Data communication.
BMC chip 12 can be according to the data length requested in the memory address space of firmware file, each request message Determine the document misregistration position of firmware file in request every time.Wherein, the data length for the firmware file requested every time is not more than The portable maximum data length of each response message.
Optionally, in the embodiment of the present application, the attribute information can also include check value, and the check value is for verifying Whether received data are complete firmware file, prevent data loading error in firmware file loading procedure.
Optionally, Fig. 6 is please referred to, in the embodiment of the present application, the method also includes:
Step S330, administrative unit detect the request message of the received load firmware file.
Step S340, if the storage address section determined by the offset address of data length and firmware file is not in firmware text In the storage address section of part, administrative unit is reminded to BMC chip feedback error;Or it is super checking the data length in request When crossing the portable maximum data length of response message, administrative unit is reminded to BMC chip feedback error.
In the embodiment of the present application, administrative unit 20 also detects request message, specifically, will be solid in request message The storage address section that part document misregistration position and data length determine, is compared with the storage address section of entire firmware file It is right;If it is determined that storage address section be not entirely included in the storage address section of entire firmware file or the data of request Length is greater than the portable maximum data length of response message, then administrative unit 20 is reminded to 12 feedback error of BMC chip.
Optionally, in the embodiment of the present application, the method can also include: that administrative unit is updated firmware file The step of.
In this step, administrative unit 20 responds the operation being updated to firmware file, is updated to firmware file, So that each BMC chip 12 loads the updated firmware file.
When needing to carry out firmware file update to computing unit 10 each in girff formula server 1, only using this method The firmware file saved in administrative unit 20 need to be updated, and after firmware file update, restart the service of girff formula The BMC chip 12 of each computing unit 10 in device 1, the firmware file that can be completed on all BMC chips 12 update.Relative to The prior art updates operation only once, operates simpler for each BMC chip 12 individually carries out firmware file update It is single.
In the above scheme, all request messages are all actively to be initiated by BMC chip 12, and administrative unit 20 is by the sound of something astir It answers.Of course, it should be understood that above-mentioned is only merely one embodiment of the application, should not be construed as implementing the application The restriction of example, it is any to realize that the scheme of loading firmware file all be in the protection model of the embodiment of the present application from administrative unit 20 In enclosing.
The embodiment of the present application also provides a kind of firmware file loading method, unlike the embodiments above, this firmware text Part loading method is the scheme that the application is described from the angle of administrative unit 20.Please refer to Fig. 7, which comprises
Step S710, administrative unit receive the request message for the loading firmware file that BMC chip is sent.
Firmware file is generally large (such as 32M), and the data volume of single message transmissions is limited (for example, 1KB).Pass through one Secondary message transmissions are that firmware file can not be disposably transferred to BMC chip 12.Thus when carrying out firmware file transmission, load It will include wanted loading firmware file content in the request of firmware file.
In the embodiment of the present application, may include in the request of loading firmware file the deviation post of firmware file (i.e. Initial position) and data length.The firmware file content of request is determined by the deviation post and data length of firmware file.
Step S720, according to the address information of BMC chip, administrative unit sends response message, response message to BMC chip Including the firmware file content on the storage address section that is determined by the offset address of data length and firmware file, so that BMC Chip loads the firmware file.
Administrative unit 20 responds the request message after the request message for receiving the transmission of BMC chip 12.Administrative unit 20 By the offset address of firmware file data length and firmware file in request message, from the storage address for saving firmware file Firmware file content is read in section, and according to the address information of BMC chip 12, administrative unit 20 is sent to BMC chip 12 rings Message is answered, which is sent to BMC chip 12 in the form of response message.
In the embodiment of the present application, after all data in firmware file are sent to BMC chip 12 by administrative unit 20, The load of the completion firmware file of BMC chip 12.
In the above-mentioned methods, administrative unit 20 preserves the firmware file of BMC chip 12, is carrying out firmware file load When, BMC chip 12 is loaded directly into firmware file from administrative unit 20.Reduce the storage pressure of SPI Flash chip, drop The low hardware requirement to SPI Flash chip reduces hardware cost.
Optionally, Fig. 8 is please referred to, in the embodiment of the present application, before step S710, the method can also include step Rapid S708 and step S709.
Step S708, what administrative unit reception BMC chip was broadcasted after completing hardware initialization is used to detect administrative unit Probe messages.
The attribute information of administrative unit is sent to BMC chip by step S709, administrative unit.
Administrative unit 20 receives BMC chip 12 after completing hardware initialization, and broadcast is used to detect administrative unit 20 Probe messages, wherein BMC chip 12 realizes hardware initialization by transferring the initial code in SPI Flash chip.
Administrative unit 20 responds the probe messages, and attribute information is sent to BMC chip 12 in the form of unicast message.Its In, attribute information includes the MAC Address of administrative unit 20, the size of firmware file, the portable maximum number of each response message According to length.
Optionally, in the embodiment of the present application, the method can be further comprising the steps of:
Administrative unit 20 detects the request message of the received load firmware file;
If the storage address section determined by the offset address of data length and firmware file is not in the firmware file In storage address section, administrative unit is reminded to 12 feedback error of BMC chip;Or checking the data length in request When maximum data length portable more than response message, administrative unit 20 is reminded to 12 feedback error of BMC chip.
In the embodiment of the present application, administrative unit 20 also detects request message, specifically, will be solid in request message The storage address section that part document misregistration position and data length determine, is compared with the storage address section of entire firmware file It is right;If it is determined that storage address section be not entirely included in the storage address section of entire firmware file or the data of request Length is greater than the portable maximum data length of response message, then administrative unit 20 is reminded to 12 feedback error of BMC chip.
Optionally, in the embodiment of the present application, the method can also include: administrative unit 20 response to firmware file into The operation that row updates, is updated firmware file, so that each BMC chip 12 loads the updated firmware text Part.
When needing to carry out firmware file update to computing unit 10 each in girff formula server 1, only using this method The firmware file saved in administrative unit 20 need to be updated, and after firmware file update, restart the service of girff formula The BMC chip 12 of each computing unit 10 in device, the firmware file that can be completed on all BMC chips 12 update.Relative to The prior art updates operation only once, operates simpler for each BMC chip 12 individually carries out firmware file update It is single.
The embodiment of the present application also provides a kind of firmware file loading device 40, unlike the embodiments above, this firmware File loading device 40 be from virtual bench angle, to this application involves each functional module of software product be introduced. Fig. 9 is please referred to, firmware file loading device 40 includes:
Receiving module 401, for receiving the request message for the load firmware file that the BMC chip 12 is sent, institute State the address that request message includes the BMC chip 12, the data length of request and the offset address of firmware file.
Sending module 402, for the address information according to the BMC chip 12, Xiang Suoshu BMC chip 12 sends response report Text, the response message include consolidating on the storage address section determined by the offset address of the data length and firmware file Part file content, so that the BMC chip 12 loads the firmware file.
Further, in embodiments herein, receiving module 401 is also used to receive the BMC chip 12 and completes That broadcasts after hardware initialization is used to detect the probe messages of the administrative unit 20.
Sending module 402 is also used to the attribute information of the administrative unit 20 being sent to the BMC chip 12, described Attribute information includes: that the MAC Address of the administrative unit 20, the size of firmware file, check value and each response message can be taken The maximum data length of band.
Figure 10 is please referred to, in the embodiment of the present application, firmware file loading device 40 can also include:
Detection module 403 is detected for the request message to the received load firmware file.
Feedback module 404, if the stored address area for being determined by the offset address of the data length and firmware file Between not in the storage address section of the firmware file, 12 feedback error of Xiang Suoshu BMC chip remind;Or
When checking the data length in the request more than the portable maximum data length of the response message, to 12 feedback error of BMC chip is reminded.
Referring once again to Figure 10, firmware file loading device 40 can also include:
Update module 405 carries out more the firmware file for responding the operation being updated to the firmware file Newly, so that each BMC chip 12 loads the updated firmware file.
It, can be with if above-mentioned function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are with so that equipment executes each embodiment of the application The all or part of the steps of the method.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access memory (English: Random Access Memory, referred to as: RAM), the various media that can store program code such as magnetic or disk.
In conclusion firmware file loading method provided by the embodiments of the present application, device and girff formula server, firmware text Part loading method is applied in girff formula server, and girff formula server includes administrative unit and multiple computing units, Mei Geji Calculating unit includes a baseboard management controller BMC chip, and administrative unit preserves the firmware file of BMC chip, is carrying out firmware When file loads, the loading firmware file from administrative unit.Reduce the storage pressure of SPI Flash chip, reduces to SPI The hardware requirement of Flash chip reduces hardware cost.Meanwhile it needing to carry out computing unit each in girff formula server When firmware file updates, the firmware file saved in administrative unit need to be only updated using this method, and in firmware file After update, the BMC chip of each computing unit in girff formula server is restarted, can be completed on all BMC chips Firmware file updates.Compared with the existing technology, for each BMC chip individually carries out firmware file update, operation is updated only Once, it operates simpler.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain Lid is within the scope of protection of this application.Therefore, the protection scope of the application shall be subject to the protection scope of the claim.

Claims (10)

1. a kind of girff formula server, which is characterized in that the girff formula server includes administrative unit and multiple computing units, Each computing unit includes a baseboard management controller BMC chip, and the administrative unit preserves each computing unit and includes Firmware file needed for BMC chip;
The BMC chip, for sending the request message for loading the firmware file, the request message to the administrative unit The data length of address information, request including the BMC chip and the offset address of firmware file;
The administrative unit, for the address information according to the BMC chip, Xiang Suoshu BMC chip sends response message, described Response message includes the firmware file on the storage address section determined by the offset address of the data length and firmware file Content, so that the BMC chip loads the firmware file.
2. girff formula server as described in claim 1, which is characterized in that
The BMC chip is also used to after completing hardware initialization, broadcasts the probe messages for detecting the administrative unit;
The administrative unit is also used to after receiving the probe messages, and the attribute information of the administrative unit is sent to The BMC chip, the attribute information include: the MAC Address of the administrative unit, the size of the firmware file of storage, verification Value and the portable maximum data length of the response message sent every time.
3. girff formula server as claimed in claim 2, it is characterised in that:
The administrative unit is also used to detect received request message;
If the storage address section determined by the offset address of the data length and firmware file is not in the firmware file In storage address section, Xiang Suoshu BMC chip feedback error is reminded;Or
When checking the data length in the request more than the portable maximum data length of the response message, Xiang Suoshu BMC chip feedback error is reminded.
4. the girff formula server as described in any one of claim 1-3, it is characterised in that:
The administrative unit is also used to respond the operation being updated to the firmware file, carries out more to the firmware file Newly, so that each BMC chip loads the updated firmware file.
5. a kind of firmware file loading method, which is characterized in that applied to the administrative unit in girff formula server, the girff Formula server further includes multiple computing units, and each computing unit includes a baseboard management controller BMC chip, and the management is single Firmware file needed for member preserves the BMC chip that each computing unit includes, which comprises
The request message for the load firmware file that the BMC chip is sent is received, the request message includes the BMC core The offset address of the address information of piece, the data length of request and firmware file;
According to the address information of the BMC chip, Xiang Suoshu BMC chip sends response message, and the response message includes by institute The firmware file content on the storage address section of the offset address determination of data length and firmware file is stated, so that the BMC Chip loads the firmware file.
6. method as claimed in claim 5, which is characterized in that receiving the load firmware text that the BMC chip is sent Before the request of part, the method also includes:
Receive the probe messages for being used to detect the administrative unit that the BMC chip is broadcasted after completing hardware initialization;
The attribute information of the administrative unit is sent to the BMC chip, wherein the attribute information includes: the management The MAC Address of unit, the size of the firmware file of storage, check value and the portable maximum data of response message sent every time Length.
7. method as claimed in claim 6, which is characterized in that the method also includes:
The request message of the received load firmware file is detected;
If the storage address section determined by the offset address of the data length and firmware file is not in the firmware file In storage address section, Xiang Suoshu BMC chip feedback error is reminded;Or
When checking the data length in the request more than the portable maximum data length of the response message, Xiang Suoshu BMC chip feedback error is reminded.
8. the method as described in any one of claim 5-7, which is characterized in that the method also includes:
The operation being updated to the firmware file is responded, the firmware file is updated, so that each BMC core Piece loads the updated firmware file.
9. a kind of firmware file loading device, which is characterized in that applied to the administrative unit in girff formula server, the girff Formula server includes multiple computing units, and each computing unit includes a baseboard management controller BMC chip, the administrative unit Firmware file needed for preserving the BMC chip that each computing unit includes, described device include:
Receiving module, for receiving the request message for the load firmware file that the BMC chip is sent, the request message The data length of address information, request including the BMC chip and the offset address of firmware file;
Sending module, for the address information according to the BMC chip, Xiang Suoshu BMC chip sends response message, the response Message includes the firmware file content on the storage address section determined by the offset address of the data length and firmware file, So that the BMC chip loads the firmware file.
10. device as claimed in claim 9, it is characterised in that:
The receiving module, is also used to receive that the BMC chip broadcasts after completing hardware initialization for detecting the pipe Manage the probe messages of unit;
The sending module is also used to for the attribute information of the administrative unit to be sent to the BMC chip, the attribute information Include: the MAC Address of the administrative unit, storage size, check value and the response message sent every time of firmware file can The maximum data length of carrying.
CN201910002251.6A 2019-01-02 2019-01-02 Firmware file loading method, device and girff formula server Pending CN109766118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910002251.6A CN109766118A (en) 2019-01-02 2019-01-02 Firmware file loading method, device and girff formula server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910002251.6A CN109766118A (en) 2019-01-02 2019-01-02 Firmware file loading method, device and girff formula server

Publications (1)

Publication Number Publication Date
CN109766118A true CN109766118A (en) 2019-05-17

Family

ID=66453508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910002251.6A Pending CN109766118A (en) 2019-01-02 2019-01-02 Firmware file loading method, device and girff formula server

Country Status (1)

Country Link
CN (1) CN109766118A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647429A (en) * 2019-09-30 2020-01-03 联想(北京)有限公司 Electronic equipment, processing system and processing method
CN111488163A (en) * 2020-04-08 2020-08-04 苏州浪潮智能科技有限公司 Firmware updating method and device, electronic equipment and storage medium
CN111897594A (en) * 2020-07-10 2020-11-06 广东小天才科技有限公司 Electronic equipment and firmware loading method and device thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150186150A1 (en) * 2013-12-31 2015-07-02 International Business Machines Corporation Baseboard management controller and method of loading firmware
CN105242940A (en) * 2015-09-14 2016-01-13 浪潮集团有限公司 Centralized firmware updating method
CN106681779A (en) * 2017-02-07 2017-05-17 济南浪潮高新科技投资发展有限公司 Method for intensively updating BIOS (Basic Input/Output System) hardware
CN107832091A (en) * 2017-11-23 2018-03-23 紫光华山信息技术有限公司 A kind of BMC configuring management methods and device
CN108964972A (en) * 2018-05-24 2018-12-07 华为技术有限公司 A kind of methods, devices and systems of calculate node management

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150186150A1 (en) * 2013-12-31 2015-07-02 International Business Machines Corporation Baseboard management controller and method of loading firmware
CN105242940A (en) * 2015-09-14 2016-01-13 浪潮集团有限公司 Centralized firmware updating method
CN106681779A (en) * 2017-02-07 2017-05-17 济南浪潮高新科技投资发展有限公司 Method for intensively updating BIOS (Basic Input/Output System) hardware
CN107832091A (en) * 2017-11-23 2018-03-23 紫光华山信息技术有限公司 A kind of BMC configuring management methods and device
CN108964972A (en) * 2018-05-24 2018-12-07 华为技术有限公司 A kind of methods, devices and systems of calculate node management

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
肖新峰,宋强著: "《TCP/IP协议与网络管理标准教程》", 31 July 2007, 清华大学出版社 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647429A (en) * 2019-09-30 2020-01-03 联想(北京)有限公司 Electronic equipment, processing system and processing method
CN111488163A (en) * 2020-04-08 2020-08-04 苏州浪潮智能科技有限公司 Firmware updating method and device, electronic equipment and storage medium
CN111488163B (en) * 2020-04-08 2022-11-08 苏州浪潮智能科技有限公司 Firmware updating method and device, electronic equipment and storage medium
CN111897594A (en) * 2020-07-10 2020-11-06 广东小天才科技有限公司 Electronic equipment and firmware loading method and device thereof

Similar Documents

Publication Publication Date Title
US9916270B2 (en) Virtual intelligent platform management interface (IPMI) satellite controller and method
CN109766118A (en) Firmware file loading method, device and girff formula server
CN111130962B (en) Automatic configuration method, equipment, system and storage medium for switch
CN105988846A (en) Page loading method and page loading device
US8099251B2 (en) Systems and methods for certifying a racked computer assembly
CN106547645B (en) Method for automatically restoring image file and server system
EP2536249A1 (en) A wireless access device and method
WO2016197737A1 (en) Self-check processing method, apparatus and system
CN105912488B (en) Computer installation and its control method
CN112445874A (en) Node information checking method, device, equipment and storage medium
US11836045B2 (en) Electronic control device having a non-volatile memory with a reserved area storing failure data
CN102571491B (en) Method and device for detecting whether network is usable
CN111984287A (en) Equipment upgrading method and system
CN114337857B (en) Method, device, system and storage medium for testing receiving sensitivity
US20190129497A1 (en) Method and system for binding chassis and components
CN107608809B (en) Exception handling method and device
US8726069B2 (en) Highly available file system in a directly attached storage
CN113141267A (en) Firmware upgrading and information processing method, device and equipment
US9785539B2 (en) Application development via a multi-unit device
CN113190392B (en) Stability testing method and device for power module, controller and storage medium
CN110096366A (en) A kind of configuration method, device and the server of isomery memory system
US20210349516A1 (en) Energy saving device and method for saving energy in data center
CN117472291B (en) Data block verification method and device, storage medium and electronic equipment
CN109726053B (en) Switching method and device of database control center and computer equipment
CN115097879A (en) Temperature regulation and control method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310000 11/F, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310000 11/F, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Applicant before: UNIS HUASHAN INFORMATION TECHNOLOGIES Co.,Ltd.

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

Application publication date: 20190517