CN107168736A - A kind of server eeprom ass address programmings method and system - Google Patents
A kind of server eeprom ass address programmings method and system Download PDFInfo
- Publication number
- CN107168736A CN107168736A CN201710326445.2A CN201710326445A CN107168736A CN 107168736 A CN107168736 A CN 107168736A CN 201710326445 A CN201710326445 A CN 201710326445A CN 107168736 A CN107168736 A CN 107168736A
- Authority
- CN
- China
- Prior art keywords
- eeprom
- expander
- address
- server
- ass
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Abstract
The present invention relates to a kind of server eeprom ass address programmings method and system.This method comprises the following steps:S1. system transmitting order to lower levels, expander chips are to the Parameter analysis of electrochemical that issues;S2. whether inspection parameter is legal, if illegal direct end operation, and step S3 is performed if legal;S3. judge it is to read eeprom or write eeprom according to parameter, if reading eeprom, then obtain product type, and product parameters are obtained according to product type, and end operation after data is read from eeprom according to product parameters;If writing eeprom, then product type is obtained, and product parameters are obtained according to product type, and end operation after data is write out according to product parameters from eeprom.The present invention can be under system by sg3_utils instruments, and direct toward programming sas addresses in eeprom by iic agreements in order line form under CMD, the method is easier, improves operating efficiency;Corresponding hardware interface cost can be saved, and is avoided by serial ports programming SAS addresses under naked environment, with higher reliability.
Description
Technical field
Field, more particularly to a kind of server eeprom ass address programmings method are extended the present invention relates to server system
And system.
Background technology
Main cabinet can connect multistage SAS extension cabinets by SAS cables in existing SAS storage system, can so increase system
Memory capacity, now each ECP Extended Capabilities Port need to distribute a SAS address respectively to them and can be accessed to, each expansion
The SAS addresses of exhibition port need difference, if occurring to repeat system can be caused to can not find corresponding ECP Extended Capabilities Port, therefore distribute to each
The SAS addresses of ECP Extended Capabilities Port must be unique, and the controller SAS addresses of existing server generally there are eeprom, and
On expander chips, programming is carried out during programming typically by iic carries by serial ports by eeprom.
In existing technology, into controller eeprom, programming sas addresses are needed by serial ports, with corresponding serial ports work
Tool inputs order programming under CMD, and the method is relatively complicated, it is necessary to install phase on external a computer, and computer
The flashburn tools answered, and if controller is main cabinet-type air conditioner case, cabinet can reserve system serial ports, generally now to save hardware resource,
Generally expander chip serial ports will not be connected to cabinet, now be switched on cabinet, to being burnt with serial ports under naked environment
Write, without reliability.
The content of the invention
The present invention provides a kind of server eeprom ass address programmings method and system, it is intended to solve the burning of prior art
Write problems and disadvantages present in the method for sas addresses.
The present invention provides a kind of server eeprom ass address programmings method, comprises the following steps:
S1. system transmitting order to lower levels, expander chips are to the Parameter analysis of electrochemical that issues;
S2. whether inspection parameter is legal, if illegal direct end operation, and step S3 is performed if legal;
S3. judge it is to read eeprom or to write eeprom according to parameter, if reading eeprom, then obtain product type, and according to
Product type obtains product parameters, and end operation after data is read from eeprom according to product parameters;If writing eeprom,
Product type is then obtained, and product parameters are obtained according to product type, and is write out according to product parameters from eeprom after data
End operation.
As a further improvement on the present invention, the product parameters in the step S3 include iic, Bus number, device address.
As a further improvement on the present invention, the step S1 includes:
At the command-line prompt interface of Linux system, parameter is sent to expander by transmitting order to lower levels by SCSI protocol,
Expander is to the Parameter analysis of electrochemical that issues.
As a further improvement on the present invention, the step S1 specifically also includes:
System transmitting order to lower levels, uses sg3_utils instruments, and accessing expander chips by scsi command gives expander chips
Data are sent, expander chips are parsed to parameter.
As a further improvement on the present invention, in the step S1, system by sg3_utils instruments issue 88 it is whole
Expander chips are given in number and a Read-write Catrol order.
As a further improvement on the present invention, whether inspection parameter is legal in the step S2 is specially:Examine
Whether the data that expander chips are received are 88 data.
As a further improvement on the present invention, in the step S3, if in the case of writing eeprom, expander chips
Iic agreements directly carry out SAS address programmings to eeporm.
A kind of server eeprom ass address programmings system of the present invention, including main cabinet, extension cabinet, expander cores
Piece, eeprom, HBA card, the expander chips are divided into main cabinet expander chips and extension cabinet expander chips, described
Main cabinet is connected by HBA cards with main cabinet expander chips, and the main cabinet expander chips at least cascade primary expansion cabinet
Expander chips, the extension cabinet is connected with extension cabinet expander chips, the extension cabinet expander chips connection
Eeprom simultaneously reads SAS addresses from eeprom.
As a further improvement on the present invention, connected between the expander chips by SAS cables.
As a further improvement on the present invention, the expander chips are connected by iic agreements with eeprom.
The beneficial effects of the invention are as follows:The present invention can be under system by sg3_utils instruments, under CMD
In order line form by iic agreements directly toward programming sas addresses in eeprom, the method is easier, improves operating efficiency;
Corresponding hardware interface cost can be saved, and is avoided by serial ports programming SAS addresses under naked environment, can with higher
By property.
Brief description of the drawings
Fig. 1 is a kind of flow chart of server eeprom ass address programmings method of the invention;
Fig. 2 is a kind of hardware topology figure of server eeprom ass address programmings system of the invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.
Embodiment one:
As shown in figure 1, a kind of server eeprom ass address programmings method of the present invention, comprises the following steps:
S1. system transmitting order to lower levels, expander chips are to the Parameter analysis of electrochemical that issues;
S2. whether inspection parameter is legal, if illegal direct end operation, and step S3 is performed if legal;
S3. judge it is to read eeprom or to write eeprom according to parameter, if reading eeprom, then obtain product type, and according to
Product type obtains product parameters, and end operation after data is read from eeprom according to product parameters;If writing eeprom,
Product type is then obtained, and product parameters are obtained according to product type, and is write out according to product parameters from eeprom after data
End operation.
Product parameters in step S3 include iic, Bus number, device address.
Step S1 includes:At the command-line prompt interface of Linux system, transmitting order to lower levels, by SCSI protocol by parameter
It is sent to expander, expander is to the Parameter analysis of electrochemical that issues.
Step S1 specifically also includes:System transmitting order to lower levels, uses sg3_utils instruments, is accessed by scsi command
Expander chips send data to expander chips, and expander chips are parsed to parameter.
Specifically, in step S1, system issues 88 integers and a Read-write Catrol order by sg3_utils instruments
Give expander chips.
Whether inspection parameter is legal in step S2 is specially:Whether the data for examining expander chips to receive are 88
Position data.
In step S3, if in the case of writing eeprom, expander chip iic agreements directly carry out SAS to eeporm
Address programming.
Sas addresses are 88 integers, are generally showed with 16 systems, 0XFF, 0XFF, 0XFF, 0XFF,
0XFF, 0XFF, 0XFF, 0XFF.Programming SAS addresses need to install sg3_utils instruments, this instrument first in Linux system
It is a linux kit, for directly sending data to equipment using scsi command sets access equipment.Issued by this instrument
Expander chips are given in 88 integers and a Read-write Catrol order.Then chip judges whether data are legal, i.e. judgement is
No is 88 data, and then is written and read operation, or returns to error code.
As shown in figure 1, first at the command-line prompt interface of Linux system, transmitting order to lower levels will be joined by SCSI protocol
Number is sent to expander, and expander judges whether parameter is legal to the Parameter analysis of electrochemical issued, if parameter is illegal directly
Terminate, in system interface misprint prompting, if legal judge to read or write again, then according to the iic for above parsing acquisition
Bus address does read or write by iic agreements with device address to eeprom.
Embodiment two:
As shown in Fig. 2 the present invention a kind of server eeprom ass address programmings system, including main cabinet, extension cabinet,
Expander chips, eeprom, HBA card, expander chips are divided into main cabinet expander chips and extension cabinet expander cores
Piece, main cabinet is connected by HBA cards with main cabinet expander chips, and main cabinet expander chips at least cascade primary expansion cabinet
Expander chips, extension cabinet is connected with extension cabinet expander chips, extension cabinet expander chips connection eeprom and from
SAS addresses are read in eeprom.
Connected between expander chips by SAS cables.Expander chips are connected by iic agreements with eeprom.
A HBA card is can be inserted on the main cabinet of server system, it is connected by SAS cables with expander, and main cabinet is logical
One or more levels extension cabinet, which can often be cascaded, increases its memory space, and main cabinet will recognize and find these extension cabinet nodes in systems
It is accomplished by by recognizing that them are distinguished in different SAS addresses, and these SAS addresses generally hang over expander by iic buses
On, expander reads SAS addresses by iic agreements from eeprom.
Patent of the present invention discloses a kind of method of the programming SAS addresses into eeprom;Directly in system transmitting order to lower levels, use
Data are transmitted to expander chips, chip is parsed to parameter, and passes through iic by sg3_utils instruments by SCSI protocol
Agreement directly carries out SAS address programmings to eeporm, it is not necessary to more simple by the serial ports instrument programming of serial ports external computer
Just, resource is saved, and with higher reliability.
Eeprom:Electrically Erasable Programmable Read-Only Memory, it is a kind of non-easy
The internal memory for the property lost;
Expander:Store the firmware of operation in extension cabinet;
HBA:Host bus adapter, host bus adaptor, be one between server and storage device provide input/it is defeated
Go out the circuit board and/or integrated circuit adapter of (I/O) processing and physical connection;
iic:Inter-Integrated Circuit, IC bus;
SCSI:Small Computer System Interface, one kind is used for system-level between computer and smart machine connect
The independent processor standard of mouth.
Above content is to combine specific preferred embodiment further description made for the present invention, it is impossible to assert
The specific implementation of the present invention is confined to these explanations.For general technical staff of the technical field of the invention,
On the premise of not departing from present inventive concept, some simple deduction or replace can also be made, should all be considered as belonging to the present invention's
Protection domain.
Claims (10)
1. a kind of server eeprom ass address programmings method, it is characterised in that comprise the following steps:
S1. system transmitting order to lower levels, expander chips are to the Parameter analysis of electrochemical that issues;
S2. whether inspection parameter is legal, if illegal direct end operation, and step S3 is performed if legal;
S3. judge it is to read eeprom or to write eeprom according to parameter, if reading eeprom, then obtain product type, and according to
Product type obtains product parameters, and end operation after data is read from eeprom according to product parameters;If writing eeprom,
Product type is then obtained, and product parameters are obtained according to product type, and is write out according to product parameters from eeprom after data
End operation.
2. server eeprom ass address programmings method according to claim 1, it is characterised in that in the step S3
Product parameters include iic, Bus number, device address.
3. server eeprom ass address programmings method according to claim 1, it is characterised in that wrapped in the step S1
Include:
At the command-line prompt interface of Linux system, parameter is sent to expander by transmitting order to lower levels by SCSI protocol,
Expander is to the Parameter analysis of electrochemical that issues.
4. server eeprom ass address programmings method according to claim 3, it is characterised in that the step S1 is specific
Also include:
System transmitting order to lower levels, uses sg3_utils instruments, and accessing expander chips by scsi command gives expander chips
Data are sent, expander chips are parsed to parameter.
5. server eeprom ass address programmings method according to claim 4, it is characterised in that in the step S1,
System issues 88 integers by sg3_utils instruments and expander chips are given in a Read-write Catrol order.
6. server eeprom ass address programmings method according to claim 5, it is characterised in that examined in the step S2
Test parameter whether legal specially:Whether the data for examining expander chips to receive are 88 data.
7. server eeprom ass address programmings method according to claim 1, it is characterised in that in the step S3,
If in the case of writing eeprom, expander chip iic agreements directly carry out SAS address programmings to eeporm.
8. a kind of server eeprom ass address programmings system, it is characterised in that including main cabinet, extension cabinet, expander cores
Piece, eeprom, HBA card, the expander chips are divided into main cabinet expander chips and extension cabinet expander chips, described
Main cabinet is connected by HBA cards with main cabinet expander chips, and the main cabinet expander chips at least cascade primary expansion cabinet
Expander chips, the extension cabinet is connected with extension cabinet expander chips, the extension cabinet expander chips connection
Eeprom simultaneously reads SAS addresses from eeprom.
9. server eeprom ass address programmings system according to claim 8, it is characterised in that the expander cores
Connected between piece by SAS cables.
10. server eeprom ass address programmings system according to claim 8, it is characterised in that the expander
Chip is connected by iic agreements with eeprom.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710326445.2A CN107168736A (en) | 2017-05-10 | 2017-05-10 | A kind of server eeprom ass address programmings method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710326445.2A CN107168736A (en) | 2017-05-10 | 2017-05-10 | A kind of server eeprom ass address programmings method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107168736A true CN107168736A (en) | 2017-09-15 |
Family
ID=59812639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710326445.2A Pending CN107168736A (en) | 2017-05-10 | 2017-05-10 | A kind of server eeprom ass address programmings method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107168736A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104391548A (en) * | 2014-12-16 | 2015-03-04 | 浪潮电子信息产业股份有限公司 | Method for improving chip FW burning efficiency of server Expander board cards |
CN104423891A (en) * | 2013-08-29 | 2015-03-18 | 鸿富锦精密工业(深圳)有限公司 | SAS (Serial Attached Scsi) expander address adjustment system and method |
CN104881337A (en) * | 2015-02-06 | 2015-09-02 | 北京飞杰信息技术有限公司 | Method for expanding novel functions of SCSI (small computer system interface) cases |
US20150370739A1 (en) * | 2014-06-23 | 2015-12-24 | Lsi Corporation | Local reconnection attempts for serial attached small computer system interface expanders |
-
2017
- 2017-05-10 CN CN201710326445.2A patent/CN107168736A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104423891A (en) * | 2013-08-29 | 2015-03-18 | 鸿富锦精密工业(深圳)有限公司 | SAS (Serial Attached Scsi) expander address adjustment system and method |
US20150370739A1 (en) * | 2014-06-23 | 2015-12-24 | Lsi Corporation | Local reconnection attempts for serial attached small computer system interface expanders |
CN104391548A (en) * | 2014-12-16 | 2015-03-04 | 浪潮电子信息产业股份有限公司 | Method for improving chip FW burning efficiency of server Expander board cards |
CN104881337A (en) * | 2015-02-06 | 2015-09-02 | 北京飞杰信息技术有限公司 | Method for expanding novel functions of SCSI (small computer system interface) cases |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5935252A (en) | Apparatus and method for determining and setting system device configuration relating to power and cooling using VPD circuits associated with system devices | |
KR100876627B1 (en) | Interface circuit, system device and data interface method using this interface circuit | |
US8230285B2 (en) | Protocol analyzer for consumer electronics | |
US20100023669A1 (en) | Host controller disposed in multi-function card reader | |
CN111966419A (en) | Method and device for automatically distributing VPP (virtual private Point) addresses by signal conditioning equipment | |
KR100921852B1 (en) | Electronic apparatus, information processing apparatus, adapter apparatus, and information exchange system | |
CN114153779A (en) | I2C communication method, system, equipment and storage medium | |
CN101404000B (en) | Reading-writing method with multi-memory card logic in one | |
WO2024087933A1 (en) | Memory card and computing device | |
US20100036990A1 (en) | Network device | |
US7412619B2 (en) | Integrated circuit capable of error management | |
CN108491299A (en) | A kind of signal detection board and the mainboard for signal detection | |
US20040236923A1 (en) | Variable sized flash memory in PCI | |
CN112380078A (en) | USB equipment communication test method and test device | |
CN115543894B (en) | Storage system, data processing method and device, storage medium and electronic equipment | |
CN1877537A (en) | Information identifying system and method for peripheric component interconnect equipment | |
CN107168736A (en) | A kind of server eeprom ass address programmings method and system | |
US6826628B2 (en) | PCI-PCMCIA smart card reader | |
US7526691B1 (en) | System and method for using TAP controllers | |
CN111338700B (en) | Method and device for loading FPGA version and storage medium | |
CN103366830A (en) | Testing device of memory card | |
CN108710508B (en) | Processing method and device and electronic equipment | |
CN107741916A (en) | A kind of method that ROM information is obtained based on multiplexing PCIE device | |
CN117056151B (en) | Method and computing device for chip verification | |
KR101265233B1 (en) | Production and testing the initial storage host bus adapter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170915 |