CN104679600B - Baseboard management controller control method - Google Patents

Baseboard management controller control method Download PDF

Info

Publication number
CN104679600B
CN104679600B CN201310625047.2A CN201310625047A CN104679600B CN 104679600 B CN104679600 B CN 104679600B CN 201310625047 A CN201310625047 A CN 201310625047A CN 104679600 B CN104679600 B CN 104679600B
Authority
CN
China
Prior art keywords
management controller
baseboard management
mac addresses
control method
network connection
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
Application number
CN201310625047.2A
Other languages
Chinese (zh)
Other versions
CN104679600A (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.)
Shanghai Kangao Medical Technology Co ltd
Original Assignee
Inventec Pudong Technology Corp
Inventec Corp
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 Inventec Pudong Technology Corp, Inventec Corp filed Critical Inventec Pudong Technology Corp
Priority to CN201310625047.2A priority Critical patent/CN104679600B/en
Publication of CN104679600A publication Critical patent/CN104679600A/en
Application granted granted Critical
Publication of CN104679600B publication Critical patent/CN104679600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of baseboard management controller control method, the step flow of this baseboard management controller control method is as described below.Start baseboard management controller, and this baseboard management controller has the first MAC addresses.Baseboard management controller reads the address space of non-volatile memory body, to obtain the second MAC addresses in address space.Baseboard management controller judges whether the first MAC addresses are equal to the second MAC addresses, optionally to perform network connection using the second MAC addresses.

Description

Baseboard management controller control method
Technical field
The present invention relates to a kind of baseboard management controller control method, and more particularly to, one kind ensures that network connection is normal Baseboard management controller control method.
Background technology
Baseboard management controller (baseboard management controller, BMC) can pass through its general starting dynamic load Enter the MAC addresses (media in device (universal boot loader, also known as U-boot, generally starting program) Access control address, MAC address) perform network connection.
When a certain section of procedure code in baseboard management controller breaks down, baseboard management controller will be because of hanging And network connection can not be performed.Although in a general case, baseboard management controller can be repaired using instrument, Baseboard management controller is set to perform network connection using MAC addresses again.If however, substrate management control The procedure code of device institute processed failure is that then above-mentioned instrument just can not be to generally starting loader if being located at generally starting loader Repaired, but have to write baseboard management controller new generally starting loader procedure code, can just make substrate pipe Reason controller is able to perform network connection using MAC addresses again, but the generally starting re-write is loaded into Device procedure code but it cannot be guaranteed that its MAC addresses is suitable.
, traditionally can will be each in addition, baseboard management controller is in the detection process before the servomechanism shipment belonging to it The MAC addresses of individual baseboard management controller are set as identical (being usually some preset values), to facilitate testing staff Carry out the function of the network connection of detection baseboard management controller.However, being finished in testing staff's detection and being intended to servomechanism , it is necessary to provide mutually different, unique MAC addresses, but substrate pipe for whole baseboard management controllers during goods The MAC addresses for managing controller are the parts for belonging to generally starting loader procedure code, if being intended to each substrate Management Controller sets out unique MAC addresses, then each baseboard management controller certainly will be write newly Generally starting loader procedure code, could set out unique MAC addresses to each baseboard management controller, But this is bothered very much.
The content of the invention
The problem of in view of the above, it is an object of the invention to propose a kind of baseboard management controller control method, this base Board management controller control method is by the way that the MAC addresses of original baseboard management controller are stored to non-volatile In memory bank, and network connection is performed using the MAC addresses of non-volatile memory body, to ensure that substrate is managed The network connection of controller can constantly remain normal.
A kind of baseboard management controller control method in one embodiment of the invention, the control of this baseboard management controller The step flow of method is sequentially as described below.Start baseboard management controller, wherein this baseboard management controller has the first matchmaker Body access control address.Baseboard management controller reads the address space of non-volatile memory body, to obtain in address space Second MAC addresses.Baseboard management controller judges whether the first MAC addresses are deposited equal to the second media Control address is taken, optionally to perform network connection using the second MAC addresses.In baseboard management controller When judging that the first MAC addresses are not equal to the second MAC addresses, baseboard management controller judge this Whether one MAC addresses are preset value.Judge that the first MAC addresses are pre- in baseboard management controller If during value, baseboard management controller performs network connection using the second MAC addresses.
In one embodiment, judge that the first MAC addresses are deposited equal to the second media in baseboard management controller When taking control address, baseboard management controller can use the first MAC addresses or the second MAC addresses Perform network connection.
In one embodiment, when it is not preset value that baseboard management controller, which judges the first MAC addresses, Baseboard management controller can use the first MAC addresses to perform network connection.
The above embodiments are accepted, judge that the first MAC addresses are not preset value in baseboard management controller When, the first MAC addresses are write non-volatile memory body by baseboard management controller.
Accept above-mentioned, the first MAC addresses are written into the address space of non-volatile memory body, so that the One MAC addresses replace the second MAC addresses of non-volatile memory body.
Accept it is above-mentioned, in baseboard management controller by the first MAC addresses write non-volatile memory body it Afterwards, baseboard management controller can call the first MAC addresses to perform network connection from non-volatile memory body.
Accept the above embodiments, baseboard management controller is contained in servomechanism, servomechanism with it is remote outside servomechanism Thread management end is connected, and baseboard management controller is performed network connection using the first MAC addresses and managed including substrate Controller using the first MAC addresses come with remote management end communication.
In one embodiment, the first MAC addresses are the general starting dynamic loads for being written in baseboard management controller Enter in device.
In one embodiment, non-volatile memory body is the read-only memory bank of erasable programmable.
In one embodiment, baseboard management controller is contained in servomechanism, servomechanism and the long-range pipe outside servomechanism End connection is managed, baseboard management controller is performed network connection using the second MAC addresses and manages control including substrate Device using the second MAC addresses come with remote management end communication.
In summary described, the present invention provides a kind of baseboard management controller control method, this baseboard management controller control Method processed is by reading the second MAC addresses stored in non-volatile memory body, to judge the second medium access Control whether address is equal to the first MAC addresses of baseboard management controller so that baseboard management controller can be straight Ground connection performs network connection using the second MAC addresses, or is performed using the first MAC addresses Network connection, in the servomechanism shipment belonging to baseboard management controller, it is only necessary to write newly in each non-volatile memory body MAC addresses, it is not necessary to write the new MAC addresses in each baseboard management controller, from And avoid since it is desired that writing new MAC addresses and new general starting being write to each baseboard management controller Dynamic loader procedure code.
Below in conjunction with the drawings and specific embodiments, the present invention will be described in detail, but not as a limitation of the invention.
Brief description of the drawings
Fig. 1 is the step flow chart of the baseboard management controller control method according to one embodiment of the invention;
Fig. 2 is the thin portion flow chart of steps of the baseboard management controller control method according to Fig. 1.
Wherein, reference
S100~S114 steps flow charts
Embodiment
The detailed features and advantage of the narration present invention in detail in embodiments below, its content is enough to make any to be familiar with Relevant art understands the technology contents of the present invention and implemented according to this, and content, the claim invented according to this specification Scope and accompanying drawing, it is any to be familiar with relevant art and be readily understood upon the purpose and advantage of correlation of the invention.Following embodiment It is the viewpoint that the present invention is further described, but it is non-anyways to limit scope of the invention.
Please with reference to Fig. 1 and Fig. 2, Fig. 1 is the baseboard management controller control method according to one embodiment of the invention Flow chart of steps;Fig. 2 is the thin portion flow chart of steps of the baseboard management controller control method according to Fig. 1.As shown in figure 1, this Baseboard management controller control method is applied to have baseboard management controller (baseboard management Controller, BMC) and non-volatile memory body (non-volatile memory) servomechanism, wherein substrate management control Device processed is electrically connected with non-volatile memory body.Each steps flow chart in baseboard management controller control method will be made respectively below Detailed description.
In the step s 100, baseboard management controller can be activated, and be initialized.It is worth noting that, of the invention The baseboard management controller of embodiment have the first MAC addresses (media access control address, MAC address).In in practice, the first MAC addresses are the generally startings for being written in baseboard management controller In loader (universal boot loader, also known as U-boot, generally starting program), in other words, the first medium access Control address is a part for generally starting loader Program code.
In step s 102, baseboard management controller can read the address space (address of non-volatile memory body Space), to obtain the second MAC addresses in address space.In in practice, non-volatile memory body can be one Plant the read-only memory bank of programmable (programmable read-only memory, PROM), the read-only storage of erasable programmable Body (erasable programmable read-only memory, EPROM), the read-only memory bank of erasable programmable (electrically erasable programmable read-only memory, EEPROM), flash body (flash The non-volatile memory body (non-volatile memory) such as memory), the present invention is not any limitation as herein.It is preferred that non-wave Hair property memory bank is a kind of erasable read-only memory bank of programmable.
In step S104, it is non-volatile that baseboard management controller can judge whether the first MAC addresses are equal to The second stored MAC addresses in memory bank, optionally to be performed using the second MAC addresses Network connection.
If baseboard management controller judges that the first MAC addresses are equal to the second MAC addresses (also That is the character of the first MAC addresses is same as the character of the second MAC addresses), representative is stored in non-wave First MAC addresses of the second MAC addresses and current baseboard management controller of hair property memory bank are same Step, then perform step S106;If baseboard management controller judges to be not equal to the second MAC addresses (that is, the first matchmaker The character of body access control address and the character of the second MAC addresses are differing from each other), then perform step S108.
In step s 106, baseboard management controller can directly use the first MAC addresses or non-volatile The second MAC addresses in memory bank stored by address space perform network connection.In step S108, substrate Management Controller can judge whether the first MAC addresses in its generally starting loader are one group of preset value.If base Board management controller judges that the first MAC addresses are above-mentioned preset value, then performs step S110;If substrate pipe Reason controller judges that the first MAC addresses are not above-mentioned preset values, represents the of current baseboard management controller One MAC addresses are invalid, then perform step S112.
In step s 110, baseboard management controller be with can calling the second medium plan in non-volatile memory body Location performs network connection.In step S112, baseboard management controller can be by the first media in its generally starting loader Access control address is write into non-volatile memory body.In more detail, the first media are judged in baseboard management controller When access control address is not above-mentioned preset value, baseboard management controller can be by the first media in its generally starting loader Access control address writes into non-volatile memory body the address space to store the second MAC addresses so that The second MAC addresses in original non-volatile memory body stored by address space can be by the first medium plan Address is replaced, even if also the first MAC addresses are with replacing the second medium plan of non-volatile memory body Location.
In step S114, baseboard management controller can call the first MAC addresses from non-volatile memory body To perform network connection, in other words, baseboard management controller, which can be used, to be written into the address space of non-volatile memory body In the first MAC addresses (can be considered the second new MAC addresses) perform network connection.In addition, Why the embodiment of the present invention is not any limitation as character in preset value at this, can be with art tool usually intellectual According to baseboard management controller actual conditions and footpath row designs rational preset value.For example, this preset value can for " 00-00-00-00-00-00 ", " 00-11-22-33-44-55 " or " 00-11-22-33-44-56 ", but not using above-mentioned example as Limit.However, in other embodiment, after step S108, baseboard management controller can without step S112, S114, and It is the first MAC addresses using itself to perform network connection, without adjusting from non-volatile memory body Use the first MAC addresses.
In addition, servomechanism can be connected with the remote management terminal outside servomechanism, baseboard management controller can use first MAC addresses come perform network connection including baseboard management controller using the first MAC addresses come with Remote management end communication.In addition, baseboard management controller is contained within servomechanism, servomechanism can with it is remote outside servomechanism Thread management end is connected, and baseboard management controller is performed network connection using the second MAC addresses and managed including substrate Controller using the second MAC addresses come with remote management end communication.
In summary described, the embodiment of the present invention provides a kind of baseboard management controller control method, the management control of this substrate Device control method processed is by reading the second MAC addresses stored in non-volatile memory body, to judge the second matchmaker Whether body access control address is equal to the first MAC addresses of baseboard management controller so that baseboard management controller Network connection can be directly performed using the second MAC addresses, or uses the first MAC addresses To perform network connection.Thereby, the baseboard management controller control method of the embodiment of the present invention can avoid substrate management control When the generally starting loader of device is damaged, baseboard management controller can not provide suitable MAC addresses to hold The situation of row network connection, it is ensured that the network connection of baseboard management controller can constantly remain normal, and improve use Family is experienced, very with practicality.In the servomechanism shipment belonging to baseboard management controller, it is only necessary to non-volatile at each Memory bank writes new MAC addresses, it is not necessary to writes the new media in each baseboard management controller and deposits Control address is taken, so as to avoid since it is desired that writing new MAC addresses and each baseboard management controller being write Enter new generally starting loader procedure code.
Certainly, the present invention can also have other various embodiments, ripe in the case of without departing substantially from spirit of the invention and its essence Various corresponding changes and deformation, but these corresponding changes and change ought can be made according to the present invention by knowing those skilled in the art Shape should all belong to the protection domain of appended claims of the invention.

Claims (10)

1. a kind of baseboard management controller control method, it is characterised in that including:
Start a baseboard management controller, the baseboard management controller has one first MAC addresses;
The baseboard management controller reads an address space of a non-volatile memory body, to obtain one the in the address space Two MAC addresses;
The baseboard management controller judges whether first MAC addresses are equal to second MAC addresses, Optionally to perform network connection using second MAC addresses;
Judge first MAC addresses with being not equal to second medium plan in the baseboard management controller During location, the baseboard management controller judges whether first MAC addresses are a preset value;And
When it is the preset value that the baseboard management controller, which judges first MAC addresses, substrate management control Device performs network connection using second MAC addresses.
2. baseboard management controller control method according to claim 1, it is characterised in that in the baseboard management controller When judging that first MAC addresses are equal to second MAC addresses, the baseboard management controller is used First MAC addresses or second MAC addresses perform network connection.
3. baseboard management controller control method according to claim 1, it is characterised in that in the baseboard management controller When judging that first MAC addresses are not the preset value, the baseboard management controller uses first medium access Address is controlled to perform network connection.
4. baseboard management controller control method according to claim 3, it is characterised in that in the baseboard management controller When judging that first MAC addresses are not the preset value, the baseboard management controller is by the first medium access control Address processed writes the non-volatile memory body.
5. baseboard management controller control method according to claim 4, it is characterised in that first medium plan Address is written into the address space of the non-volatile memory body, so that first MAC addresses replace this non-to wave Second MAC addresses of hair property memory bank.
6. baseboard management controller control method according to claim 4, it is characterised in that in the baseboard management controller First MAC addresses are write after the non-volatile memory body, the baseboard management controller is non-volatile from this Memory bank calls first MAC addresses to perform network connection.
7. baseboard management controller control method according to claim 3, it is characterised in that the baseboard management controller bag It is contained in a servomechanism, the servomechanism is connected with the remote management terminal outside the servomechanism, and the baseboard management controller is used First MAC addresses use the first medium access control to perform network connection including the baseboard management controller Address processed is come and the remote management end communication.
8. baseboard management controller control method according to claim 1, it is characterised in that first medium plan Address is written in the generally starting loader of the baseboard management controller.
9. baseboard management controller control method according to claim 1, it is characterised in that the non-volatile memory body is The erasable read-only memory bank of programmable.
10. baseboard management controller control method according to claim 1, it is characterised in that the baseboard management controller It is contained in a servomechanism, the servomechanism is connected with the remote management terminal outside the servomechanism, and the baseboard management controller makes Network connection is performed with second MAC addresses and uses second medium access including the baseboard management controller Control address is come and the remote management end communication.
CN201310625047.2A 2013-11-27 2013-11-27 Baseboard management controller control method Active CN104679600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310625047.2A CN104679600B (en) 2013-11-27 2013-11-27 Baseboard management controller control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310625047.2A CN104679600B (en) 2013-11-27 2013-11-27 Baseboard management controller control method

Publications (2)

Publication Number Publication Date
CN104679600A CN104679600A (en) 2015-06-03
CN104679600B true CN104679600B (en) 2017-09-22

Family

ID=53314691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310625047.2A Active CN104679600B (en) 2013-11-27 2013-11-27 Baseboard management controller control method

Country Status (1)

Country Link
CN (1) CN104679600B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200825762A (en) * 2006-12-06 2008-06-16 Inventec Corp Apparatus and method for computer management
US7512830B2 (en) * 2004-05-14 2009-03-31 International Business Machines Corporation Management module failover across multiple blade center chassis
CN103115015A (en) * 2011-11-17 2013-05-22 鸿富锦精密工业(深圳)有限公司 Fan control system and method for obtaining main board temperature parameter

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI447670B (en) * 2011-07-11 2014-08-01 Aspeed Technology Inc High speed baseboard management controller and transmission method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7512830B2 (en) * 2004-05-14 2009-03-31 International Business Machines Corporation Management module failover across multiple blade center chassis
TW200825762A (en) * 2006-12-06 2008-06-16 Inventec Corp Apparatus and method for computer management
CN103115015A (en) * 2011-11-17 2013-05-22 鸿富锦精密工业(深圳)有限公司 Fan control system and method for obtaining main board temperature parameter

Also Published As

Publication number Publication date
CN104679600A (en) 2015-06-03

Similar Documents

Publication Publication Date Title
JP2007533055A5 (en)
CN104598408B (en) A kind of disposable programmable read only memory data burning method
CN108182034A (en) Storage system and its operating method
US8402204B2 (en) Methods for measuring usable lifespan and replacing an in-system programming code of a memory device, and data storage system using the same
CN1292553A (en) Method for writing electrically-erasable programmable ROM, equipment and system
CN103186393A (en) Electronic device with substrate management controller firmware and firmware loading method
US11231854B2 (en) Methods and apparatus for estimating the wear of a non-volatile memory
EP1331643B1 (en) Differential flash memory programming technique
CN107783812A (en) Virutal machine memory management method and device
CN106547645A (en) Automatically the method and server system of image shelves are repaired
CN104679600B (en) Baseboard management controller control method
CN106201346B (en) A kind of data processing method and storage equipment
CN207182914U (en) A kind of chip rewrites the storage device of equipment
US7783926B2 (en) Method for memory testing
JP6464038B2 (en) Reprogramming system
CN105760266B (en) A kind of mobile device capacity check method based on Nand Flash memory
KR100737919B1 (en) Program method of nand flash memory and program method of memory system
CN116257397A (en) Pressure testing method, pressure testing device, storage medium and pressure testing equipment
CN106057246A (en) Method for replacing defective pixel units in non-volatile memory
CN104750617A (en) Electronic device and data maintenance method thereof
CN113434086B (en) Data storage method, device, nonvolatile memory device and memory
CN108305663A (en) The interference test method of SONOS flash memories
CN105183502B (en) A kind of radar front digital units program parallelization method for refreshing
CN112650099A (en) Control method and control system of battery monitoring platform
JP6040895B2 (en) Microcomputer and non-volatile memory block management method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220224

Address after: Room 5g11, No. 1, Lane 129, Datian Road, Jing'an District, Shanghai

Patentee after: Shanghai Huashi Investment Co.,Ltd.

Address before: 201114 Shanghai City Caohejing export processing zone of Minhang District Pu Xing Road No. 789

Patentee before: INVENTEC TECHNOLOGY Co.,Ltd.

Patentee before: Yingda Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240110

Address after: Room 1260, South Building of Film and Television Park, No. 4915 Beisong Road, Songjiang District, Shanghai, 200000

Patentee after: SHANGHAI KANGAO MEDICAL TECHNOLOGY Co.,Ltd.

Address before: 200000 room 5g11, No. 1, Lane 129, Datian Road, Jing'an District, Shanghai

Patentee before: Shanghai Huashi Investment Co.,Ltd.