CN108090006B - Method for switching PCIE Switch working mode by one key - Google Patents

Method for switching PCIE Switch working mode by one key Download PDF

Info

Publication number
CN108090006B
CN108090006B CN201711340108.5A CN201711340108A CN108090006B CN 108090006 B CN108090006 B CN 108090006B CN 201711340108 A CN201711340108 A CN 201711340108A CN 108090006 B CN108090006 B CN 108090006B
Authority
CN
China
Prior art keywords
switch
bmc
pull
switching
mode
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
CN201711340108.5A
Other languages
Chinese (zh)
Other versions
CN108090006A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201711340108.5A priority Critical patent/CN108090006B/en
Publication of CN108090006A publication Critical patent/CN108090006A/en
Application granted granted Critical
Publication of CN108090006B publication Critical patent/CN108090006B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0026PCI express

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)

Abstract

According to the method for switching the PCIE Switch working mode by one key, the working mode one-key switching can be realized through a UI key outside a case or a related option under a BMC remote login interface, FW refreshing, system restarting, Strap Pin configuration and the like involved in the switching process are automatically carried out by the BMC, manual interference is not needed, operation is convenient and simple, and test efficiency is greatly improved.

Description

Method for switching PCIE Switch working mode by one key
Technical Field
The invention relates to the field of server bus board card design, in particular to a method for switching a PCIE Switch working mode by one key.
Background
By virtue of its high efficiency and strong versatility, PCIE is widely used in the computer, server, and storage industries as a common interface. With the increasing demand for performance and functions, HBA cards, HCA cards, GPU cards, network cards, OCP cards, and various accelerator cards based on PCIE interfaces have been developed in succession. Limited by the number of CPU PCIE ports, PCIE devices supported in the same system are limited. In order to solve the contradiction between the limited PCIE port of the CPU and the increasing function and performance requirements, the PCIE Switch for expanding the PCIE port comes along with it.
Common modes currently supported by PCIE Switch are Base Mode, VS Mode, NT Mode, and Fabric Mode. Wherein, the Base Mode is a common Mode. The Base Mode is to expand one uplink port into a plurality of downlink ports, and is the most common application for realizing one expansion and multiple applications. As shown in figure 1. Fig. 2 shows a VS Mode (Virtual Switch Mode Virtual Switch) Mode, i.e., a Virtual Switch Mode. The VS Mode can virtualize one Switch into two or more switches, each Switch works independently, and Failover between two switches can be realized. FIG. 3 shows NT Mode. The NT Mode is Non-transparent Mode. The NT Mode can realize Host coexistence under the same Switch, can access a Device under the Switch, and can realize information interaction between hosts. At present, Swicth is common, and has at most two NT ports, and can accommodate coexistence of three Host ports. FIG. 4 shows the Fabric Mode. The Fabric Mode can support coexistence of a plurality of hosts, can establish a Fabric network through a Fabric port, realize interconnection of multiple switches, and realize the function of Share IO (shared device) access to the device supporting the Share IO function.
And the machine performance can be improved and the processing efficiency can be improved by adopting different modes under different application scenes. In some special circumstances, switching between multiple modes is required to meet application requirements. For mode switching, it needs to be implemented by configuring the Strap Pin and adjusting the firmware, which are both not available in most cases.
Taking the example of the conventional switching between Base Mode and VS Mode performed by the PCIE Switch of PLX corporation as an example, the currently adopted method is relatively complex, and the basic process is roughly as follows:
1. manual shutdown and power failure are realized, and in some cases, the board card needs to be detached out of the case when the operation in the case is inconvenient;
2. the input state of the Strap Pin needs to be adjusted through a dial switch or by replacing a resistor on the Strap Pin;
3. refreshing the firmware of the PCIE Switch, the current refresh modes generally include an offline refresh mode and an online refresh mode:
a) and taking the FLASH chip to be stored with the firmware off-line refreshing from the PCB, re-burning the FLASH chip by a burning tool, and then re-welding the FLASH chip on the PCB or putting the FLASH chip on a corresponding chip seat.
b) On-line burning needs to connect the debugging jig designated by the PCIE Switch to the debugging port thereof to refresh the firmware.
4. And (4) the board card is installed back to the machine, and the machine is powered on and started.
In the whole process, the PCIE Switch mode switching operation is very cumbersome, consumes a long time, and is not beneficial to efficiency improvement. In some field environments, the chassis needs to be opened to adjust the Strap Pin state, and meanwhile, it is very difficult to refresh the firmware, which brings great inconvenience to the use.
In order to solve the problems, the method for switching the PCIE Switch working mode by one key can realize the one-key switching of the working mode through a UI key outside a case or a related option under a BMC remote login interface, FW refreshing, system restarting, Strap Pin configuration and the like involved in the switching process are automatically carried out by the BMC, manual interference is not needed, the operation is convenient and simple, and the test efficiency is greatly improved.
Disclosure of Invention
The invention provides a method for switching a PCIE Switch working mode by one key, which is realized by designing a hardware circuit and a BMC control mode, and the switching process is automatically carried out after the switching is triggered without manual interference, thereby avoiding a complicated manual operation process. The switching triggering mode comprises key triggering and BMC remote login interface triggering, and the Switch working mode can be indicated by an indicator lamp outside the case and can be checked under a BMC interface.
Specifically, the present application requests to protect a method for switching a PCIE Switch operating mode by one key, where the method specifically includes:
connecting a Strap Pin with a pull-up resistor R1 and a pull-down resistor R2 through an analog switch or Mos tube;
the analog switch or the Mos tube is controlled by the BMC to control the on-off of the pull-up resistor R1 and the pull-down resistor R2;
the PCIE Switch is configured with Flash and is respectively connected with the PCIE Switch and the BMC through an alternative selection Switch, the gating Switch is connected with one side of the PCIE Switch in a normal starting mode, and is connected with one side of the BMC during FLASH refreshing;
the channel control is controlled by the BMC;
the BMC is provided with a startup and shutdown control port for the CPLD, and can be used for performing startup and shutdown restarting on the system through the port, so that the system can be automatically restarted to enter a new working mode after configuration is completed;
one key is accessed to the BMC through the CPLD, and key jitter elimination is carried out through the CPLD;
if the key is pressed, the BMC detects that the switch key signal switches the alternative switch to one side of the BMC;
refreshing a new firmware;
switching the alternative Switch to the Switch side;
shutting down;
switching the Strap Pin to a corresponding mode;
and starting up and displaying corresponding interface information.
In the method for switching the PCIE Switch operating mode by one key as described above, the analog Switch or Mos transistor is controlled by the BMC, and may select a high-resistance state where the pull-up resistor R1 is turned on, the pull-down resistor R2 is turned on, or all of the pull-up resistor R1 and the pull-down resistor R2 are turned off.
As described above, in the method for switching the PCIE Switch operating mode by one key, the BMC has a control port for the indicator light, and can be used to indicate the current Switch mode.
In the method for switching the PCIE Switch operating mode by one key as described above, the BMC prestores the new version configuration firmware or reads the relevant firmware from the BMC to the external USB port and writes the firmware into the FLASH.
Specifically, the present application claims a method for switching a PCIE Switch operating mode by one key, where the method specifically includes:
connecting a Strap Pin with a pull-up resistor R1 and a pull-down resistor R2 through an analog switch or Mos tube;
the analog switch or the Mos tube is controlled by the BMC to control the on-off of the pull-up resistor R1 and the pull-down resistor R2;
the PCIE Switch is configured with Flash and is respectively connected with the PCIE Switch and the BMC through an alternative selection Switch, the gating Switch is connected with one side of the PCIE Switch in a normal starting mode, and is connected with one side of the BMC during FLASH refreshing;
the channel control is controlled by the BMC;
the BMC is provided with a startup and shutdown control port for the CPLD, and can be used for performing startup and shutdown restarting on the system through the port, so that the system can be automatically restarted to enter a new working mode after configuration is completed;
if the switching is needed, the terminal computer logs in the BMC to execute the mode switching work, refreshes the Switch, uploads through the remote control port and acquires new firmware;
switching the alternative switch to one side of the BMC;
refreshing a new firmware;
switching the alternative Switch to the Switch side;
shutting down;
switching the Strap Pin to a corresponding mode;
and starting up and displaying corresponding interface information.
In the method for switching the PCIE Switch operating mode by one key as described above, the analog Switch or Mos transistor is controlled by the BMC, and may select a high-resistance state where the pull-up resistor R1 is turned on, the pull-down resistor R2 is turned on, or all of the pull-up resistor R1 and the pull-down resistor R2 are turned off.
The method for switching the PCIE Switch operating mode by one key as described above is further characterized in that the BMC has a control port for an indicator light, and can be used to indicate the current Switch mode.
Drawings
FIG. 1, Base Mode schematic for PCIE Switch;
FIG. 2, VS Mode for PCIE Switch, and schematic;
FIG. 3 is a schematic diagram of NT ModeBase Mode of PCIE Switch;
FIG. 4 is a schematic view of Fabric Mode of PCIE Switch;
FIG. 5 is a schematic diagram of a one-key switching operation according to the present invention.
Detailed Description
The invention provides a method for switching PCIE Switch working modes by one key, which can realize the one-key switching of the working modes by a UI key on the outer side of a case or a related option under a BMC remote login interface; the Switch mode can be viewed through a UI indicator on the panel or under the BMC interface. The FW refreshing, the system restarting, the Strap Pin configuration and the like involved in the switching process are automatically performed by the BMC without human intervention.
As shown in fig. 5, Strap Pin is connected to pull-up resistor R1 and pull-down resistor R2 through analog switches or Mos tubes.
The analog switch is controlled by BMC, can select a high-resistance state in which a pull-up resistor R1 is switched on, a pull-down resistor R2 is switched on, or the pull-up resistor R1 and the pull-down resistor R2 are all switched off, and can meet the requirements of three configuration states of Strap Pin.
Fig. 5 only lists the configuration mode of one Strap Pin, when multiple Strap pins are used, the PCIE Switch can configure Flash to be connected to the PCIE Switch and the BMC through an alternative selection Switch only by using the same design mode, the gating Switch is connected to the PCIE Switch side in the normal start mode, and the gating Switch is connected to the BMC side in the Flash refresh mode. Channel control is controlled by the BMC.
The BMC has a control port for an indicator light, which can be used to indicate the current Switch mode.
The BMC is provided with a startup and shutdown control port for the CPLD, and can be used for performing startup and shutdown restarting on the system through the port, so that the system can be automatically restarted to enter a new working mode after configuration is completed.
As shown in fig. 5, there are two switching control ports:
one is that the key is accessed to the BMC through the CPLD, and the key jitter elimination work can be carried out through the CPLD. And after detecting the switching key signal, the BMC executes the mode switching work and lights the corresponding indicator lamp. In this way, the BMC needs to pre-store the new version configuration firmware, or read the relevant firmware from the BMC to the external USB port and write the firmware into the FLASH.
The other is a management port of the BMC, the BMC is logged in through a terminal computer, the Switch is refreshed, and the mode of acquiring the new firmware can be uploaded through a remote control port besides two types of keys, so that the operation is more convenient.
The method comprises the following specific implementation steps:
firstly, circuit design is required to be carried out according to a block diagram at the initial stage of circuit design, a corresponding change-over switch is connected with a control signal, a corresponding control code is added during BMC firmware development, it is ensured that a switch event can be triggered under a key and a remote control interface, and switching operation is carried out according to the following steps:
switching the alternative switch to one side of the BMC;
refreshing a new firmware;
switching the alternative Switch to the Switch side;
shutting down;
switching the Strap Pin to a corresponding mode;
and starting the computer, lighting the corresponding indicator lamp and displaying the corresponding interface information.
It should be apparent that the above shows only one embodiment of the present invention, and it will be obvious to those skilled in the art that other embodiments can be made from the above examples without inventive changes, and all equivalent changes within the scope of the present invention shall fall within the protection scope of the present invention.
In conclusion, the invention realizes the one-key switching of the PCIE Switch working mode, and greatly improves the working efficiency compared with the original manual switching mode; and the working mode switching under the condition that some cabinets are inconvenient to open is realized. The invention increases the application range of mode switching and increases the competitiveness of the corresponding machine type in products of the same level.

Claims (7)

1. A method for switching a PCIE Switch working mode by one key is characterized by comprising the following steps:
connecting a Strap Pin with a pull-up resistor R1 and a pull-down resistor R2 through an analog switch and a Mos tube;
the analog switch and the Mos tube are controlled by BMC to control the on-off of the pull-up resistor R1 and the pull-down resistor R2;
the PCIE Switch is configured with Flash and is respectively connected with the PCIE Switch and the BMC through an alternative selection Switch, the gating Switch is connected with one side of the PCIE Switch in a normal starting mode, and is connected with one side of the BMC during FLASH refreshing;
the channel control is controlled by the BMC;
the BMC is provided with a startup and shutdown control port for the CPLD, and can be used for performing startup and shutdown restarting on the system through the port, so that the system can be automatically restarted to enter a new working mode after configuration is completed;
one key is accessed to the BMC through the CPLD, and key jitter elimination is carried out through the CPLD;
if the key is pressed, the BMC detects that the switch key signal switches the alternative switch to one side of the BMC;
refreshing a new firmware;
switching an alternative Switch to one side of the PCIE Switch;
shutting down;
switching the Strap Pin to a corresponding mode;
and starting up and displaying corresponding interface information.
2. The method of claim 1, wherein the analog Switch or the Mos transistor is controlled by the BMC, and the analog Switch or the Mos transistor can select a high-impedance state in which the pull-up resistor R1 or the pull-down resistor R2 is turned on, or the pull-up resistor R1 and the pull-down resistor R2 are all turned off.
3. The method of claim 2, wherein the BMC has a control port for an indicator light, and can be used to indicate the current PCIE Switch mode.
4. The method of claim 3, wherein the BMC pre-stores a new version of configuration firmware or reads related firmware from the BMC to the external USB port and writes the firmware into FLASH.
5. A method for switching a PCIE Switch working mode by one key is characterized by comprising the following steps:
connecting a Strap Pin with a pull-up resistor R1 and a pull-down resistor R2 through an analog switch and a Mos tube;
the analog switch and the Mos tube are controlled by BMC to control the on-off of the pull-up resistor R1 and the pull-down resistor R2;
the PCIE Switch is configured with Flash and is respectively connected with the PCIE Switch and the BMC through an alternative selection Switch, the gating Switch is connected with one side of the PCIE Switch in a normal starting mode, and is connected with one side of the BMC during FLASH refreshing;
the channel control is controlled by the BMC; the BMC is provided with a startup and shutdown control port for the CPLD, and can be used for performing startup and shutdown restarting on the system through the port, so that the system can be automatically restarted to enter a new working mode after configuration is completed;
if the switching is needed, the terminal computer logs in the BMC to execute the mode switching work, refreshes the PCIE Switch, uploads through the remote control port and acquires new firmware;
switching the alternative switch to one side of the BMC;
refreshing a new firmware;
switching an alternative Switch to one side of the PCIE Switch;
shutting down;
switching the Strap Pin to a corresponding mode;
and starting up and displaying corresponding interface information.
6. The method of claim 5, wherein the analog Switch or the Mos transistor is controlled by the BMC and is selectively turned on to Switch on the pull-up resistor R1, or to Switch on the pull-down resistor R2, or to Switch on the high impedance state where the pull-up resistor R1 and the pull-down resistor R2 are both off.
7. The method of claim 6, wherein the BMC has a control port for an indicator light that can be used to indicate a current PCIE Switch mode.
CN201711340108.5A 2017-12-14 2017-12-14 Method for switching PCIE Switch working mode by one key Active CN108090006B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711340108.5A CN108090006B (en) 2017-12-14 2017-12-14 Method for switching PCIE Switch working mode by one key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711340108.5A CN108090006B (en) 2017-12-14 2017-12-14 Method for switching PCIE Switch working mode by one key

Publications (2)

Publication Number Publication Date
CN108090006A CN108090006A (en) 2018-05-29
CN108090006B true CN108090006B (en) 2020-09-25

Family

ID=62175803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711340108.5A Active CN108090006B (en) 2017-12-14 2017-12-14 Method for switching PCIE Switch working mode by one key

Country Status (1)

Country Link
CN (1) CN108090006B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109445997B (en) 2018-06-29 2021-02-02 苏州浪潮智能科技有限公司 Production line testing method, system, medium and equipment for PCIE Switch product
CN109117343A (en) * 2018-08-28 2019-01-01 郑州云海信息技术有限公司 A kind of PCIE power board
CN109686395B (en) * 2018-12-18 2020-09-18 苏州浪潮智能科技有限公司 OCP (optical proximity correction) buckle card testing method and system
CN109766303A (en) * 2019-01-15 2019-05-17 郑州云海信息技术有限公司 A kind of device and switching method that chip uplink port automatically switches
CN110209606B (en) * 2019-04-30 2021-01-22 杭州电子科技大学 Control method of PCIe-based multi-interface storage device
CN110489366A (en) * 2019-07-12 2019-11-22 苏州浪潮智能科技有限公司 A kind of server master board connector signal multiplex system
CN111103827B (en) * 2019-12-06 2021-06-29 苏州浪潮智能科技有限公司 Server working mode switching device
CN111399880A (en) * 2020-03-13 2020-07-10 浪潮商用机器有限公司 PCIe Switch configuration system, method, device and medium
CN111913754A (en) * 2020-08-11 2020-11-10 山东超越数控电子股份有限公司 Automatic starting method suitable for domestic CPU computer
CN112748948B (en) * 2021-01-07 2022-06-07 苏州浪潮智能科技有限公司 PCIe switch work mode updating method and related assembly

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205942587U (en) * 2016-07-27 2017-02-08 联想(北京)有限公司 Server
CN206388171U (en) * 2016-12-26 2017-08-08 济南腾越电子有限公司 A kind of standard board
CN107219899A (en) * 2017-05-27 2017-09-29 郑州云海信息技术有限公司 A kind of modular server system and implementation method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150113314A1 (en) * 2013-07-11 2015-04-23 Brian J. Bulkowski Method and system of implementing a distributed database with peripheral component interconnect express switch

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205942587U (en) * 2016-07-27 2017-02-08 联想(北京)有限公司 Server
CN206388171U (en) * 2016-12-26 2017-08-08 济南腾越电子有限公司 A kind of standard board
CN107219899A (en) * 2017-05-27 2017-09-29 郑州云海信息技术有限公司 A kind of modular server system and implementation method

Also Published As

Publication number Publication date
CN108090006A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN108090006B (en) Method for switching PCIE Switch working mode by one key
WO2021098485A1 (en) Method and system for power-on and power-off control of pcie device
JP2006120114A (en) Computer which has multifunctional power button and related method
CN102750206A (en) Multiple-basic input/ output system (BIOS) circuit and multiple-BIOS switching method
CN102339242A (en) Computer system data recovery device
CN213365380U (en) Server mainboard and server
US10235185B2 (en) Computer and controlling method thereof
US9032262B2 (en) Memory test method, memory test device, and adapter thereof
CN110688263B (en) Application method of hard disk automatic switching device based on FPGA
CN218824636U (en) Power supply detection device for server hard disk backboard
CN212782723U (en) PCIe and SATA compatible copying device
CN213181887U (en) Voltage detection circuit and interactive intelligent panel
CN111124957B (en) USB channel switching device
CN109994147B (en) Testing device and method for solid state disk
CN112286476A (en) Dual-BMC management system of mainboard
CN115422110B (en) Port configuration method of electronic equipment and PCIE Switch chip
CN112115000B (en) Remote resetting method and system of system component power supply and BMC remote device
CN217847113U (en) Device for realizing BIOS fault recovery
EP4300319A1 (en) Hot plugging method and apparatus for memory module, and memory module
CN220121165U (en) Control circuit, device and chip
KR940009737B1 (en) Set-up data changing method of notebook-type computer
TWI391822B (en) Sas interface tester
CN113608937A (en) Device and method for testing LED (light emitting diode) no hard disk of hard disk backboard
CN1622048A (en) Method and apparatus for displaying computer system debugging result
KR100259866B1 (en) Scsi raid backplane board

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200820

Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 450000 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601

Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant