TW201433923A - System and method of debugging BMC UART - Google Patents

System and method of debugging BMC UART Download PDF

Info

Publication number
TW201433923A
TW201433923A TW102110434A TW102110434A TW201433923A TW 201433923 A TW201433923 A TW 201433923A TW 102110434 A TW102110434 A TW 102110434A TW 102110434 A TW102110434 A TW 102110434A TW 201433923 A TW201433923 A TW 201433923A
Authority
TW
Taiwan
Prior art keywords
serial port
bmc
multiplexer
preset value
server system
Prior art date
Application number
TW102110434A
Other languages
Chinese (zh)
Inventor
ming-xiang Hu
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Publication of TW201433923A publication Critical patent/TW201433923A/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a method of debugging BMC UART. It receives GPIO signals which Southbridge sends to virtual multiplex and judges whether the GPIO signal is the preset value. When the GPIO signal is the preset value, the first switching step switches the virtual multiplex to make the BMC UART link to the virtual UART. Otherwise, the second switching step switches the virtual multiplex to make the BMC UART link to the external UART. It also receives original equipment manufacturer OEM command from remote terminal and judges whether the OEM command is the preset value. When the OEM command is the preset value, do the first switching step. Otherwise, do the second switching step.

Description

基板管理控制器串列埠調試系統及方法Baseboard management controller serial port debugging system and method

本發明涉及一種基板管理控制器(Baseboard Management Controller,BMC)串列埠調試系統及方法。The invention relates to a baseboard management controller (BMC) serial port debugging system and method.

BMC是位於伺服器主機板上的一個控制器,用於監控與管理伺服器主機板的資源,其有自己的隨機記憶體RAM,唯讀記憶體ROM,運行自己的嵌入式系統,BMC並沒有像主機一樣用視頻圖形陣列(VGA)輸出來用於對BMC系統進行調試和開發。在BMC的調試和開發過程中,目前業界通用的作法是在主機板上引出一個通用非同步接收/發送裝置(UART)的PIN腳,並透過一個USB轉UART轉接線連接至調試主機用於輸入與輸出。所述UART是一個並行輸入成為串行輸出的晶片,通常集成在主機板上。這有一缺點,就是調試開發的時候,不僅需要一根USB轉UART的轉接線,還需要一主機。另外,對於組裝好的伺服器或使用者已經使用上的伺服器,調試BMC很不方便。The BMC is a controller located on the server board for monitoring and managing the resources of the server board. It has its own random memory RAM, read-only memory ROM, and its own embedded system. The BMC does not. The video graphics array (VGA) output is used like a host to debug and develop the BMC system. In the debugging and development process of BMC, the common practice in the industry is to bring out a PIN pin of a universal asynchronous receiving/transmitting device (UART) on the motherboard, and connect to the debugging host through a USB to UART adapter cable. Input and output. The UART is a parallel input that becomes a serial output chip, usually integrated on the motherboard. This has the disadvantage that when debugging development, not only a USB to UART patch cord, but also a host is required. In addition, debugging the BMC is inconvenient for the assembled server or the server that the user has already used.

鑒於以上內容,有必要提供BMC串列埠調試系統及方法,其可以使開發人員可以很方便的遠端診斷使用者的BMC系統。In view of the above, it is necessary to provide a BMC serial port debugging system and method, which can enable a developer to conveniently diagnose a user's BMC system at a remote location.

一種BMC串列埠調試系統,該系統包括:接收模組,用於接收伺服器系統端的南橋發送給多工器的通用輸入輸出GPIO控制信號;判斷模組,用於判斷所述GPIO控制信號的信號模式值是否為預設值;切換模組一,用於當GPIO控制信號的信號模式值為所述預設值時,切換多工器使BMC的串列埠一連接至與伺服器系統端相連的該BMC的虛擬串列埠,所述串列埠一為BMC運行狀態輸入輸出的串列埠,所述串列埠一透過多工器與虛擬串列埠相連;切換模組二,用於當GPIO控制信號的信號模式值不為所述預設值時,用於切換多工器使BMC的串列埠一連接至該BMC的外部串列埠,所述串列埠一透過多工器與外部串列埠相連;所述接收模組,還用於接收遠端終端發送給BMC的原始設備製造商OEM命令,所述遠端終端透過網路埠連接至所述伺服器系統端;所述判斷模組,還用於判斷所述遠端終端發送的OEM命令是否為所述預設值,當遠端終端發送的OEM命令為所述預設值時,執行切換步驟一,當遠端終端發送的OEM命令不為所述預設值時,執行切換步驟二。A BMC serial port debugging system, the system comprising: a receiving module, configured to receive a general-purpose input/output GPIO control signal sent by a south bridge of a server system end to a multiplexer; and a determining module, configured to determine the GPIO control signal Whether the signal mode value is a preset value; the switching module 1 is configured to switch the multiplexer to connect the BMC serial port to the server system end when the signal mode value of the GPIO control signal is the preset value Connected to the virtual serial port of the BMC, the serial port is a serial port of the BMC running state input and output, and the serial port is connected to the virtual serial port through the multiplexer; When the signal mode value of the GPIO control signal is not the preset value, the switch multiplexer is configured to connect the serial port of the BMC to the external serial port of the BMC, and the serial port is multiplexed. The device is connected to the external serial port; the receiving module is further configured to receive an OEM command sent by the remote terminal to the BMC, where the remote terminal is connected to the server system through the network; The determining module is further configured to determine the remote end Whether the OEM command sent by the terminal is the preset value, when the OEM command sent by the remote terminal is the preset value, performing the switching step one, when the OEM command sent by the remote terminal is not the preset value , perform the switching step two.

一種BMC串列埠調試方法,該方法包括:接收步驟一,接收伺服器系統端的南橋發送給多工器的通用輸入輸出GPIO控制信號;判斷步驟一,判斷所述GPIO控制信號的信號模式值是否為預設值;切換步驟一,當GPIO控制信號的信號模式值為所述預設值時,切換多工器使BMC的串列埠一連接至與伺服器系統端相連的虛擬串列埠,所述串列埠一為BMC運行狀態輸入輸出的串列埠,所述串列埠一透過多工器與虛擬串列埠相連;切換步驟二,當GPIO控制信號的信號模式值不為所述預設值時,切換多工器使BMC的串列埠一連接至外部串列埠,所述串列埠一透過多工器與外部串列埠相連;接收步驟二,接收遠端終端發送給BMC的原始設備製造商OEM命令,所述遠端終端透過網路埠連接至所述伺服器系統端;判斷步驟二,判斷所述遠端終端發送的OEM命令是否為所述預設值,當遠端終端發送的OEM命令為所述預設值時,執行切換步驟一,當遠端終端發送的OEM命令不為預設值時,執行切換步驟二。A BMC serial port debugging method, the method comprising: receiving step one, receiving a general-purpose input/output GPIO control signal sent by a south bridge of a server system end to a multiplexer; determining step one, determining whether a signal mode value of the GPIO control signal is For the preset value; switching to step 1, when the signal mode value of the GPIO control signal is the preset value, switching the multiplexer to connect the serial port of the BMC to the virtual serial port connected to the server system end, The serial port is a serial port of the BMC operating state input and output, and the serial port is connected to the virtual serial port by a multiplexer; and in step 2, when the signal mode value of the GPIO control signal is not the At the preset value, the switching multiplexer connects the serial port of the BMC to the external serial port, and the serial port is connected to the external serial port through the multiplexer; receiving step 2, the receiving remote terminal sends the The original device manufacturer of the BMC orders the remote terminal to connect to the server system through the network; and in step 2, it is determined whether the OEM command sent by the remote terminal is the preset value. Remote terminal When the sent OEM command is the preset value, the switching step 1 is performed. When the OEM command sent by the remote terminal is not the preset value, the switching step 2 is performed.

相較於習知技術,所述BMC串列埠調試系統可以使伺服器系統端透過多工器快速地連接至BMC的串列埠一,其可以很方便的遠端控制BMC的串列埠調試。Compared with the prior art, the BMC serial port debugging system can enable the server system end to quickly connect to the BMC serial port through the multiplexer, which can conveniently control the BMC serial port debugging. .

1...伺服器1. . . server

2...伺服器系統端2. . . Server system side

3...BMC3. . . BMC

20...南橋20. . . South Bridge

21...網路埠twenty one. . . Network埠

30...虛擬串列埠30. . . Virtual serial port

32...多工器32. . . Multiplexer

31...外部串列埠31. . . External serial port

33...串列埠一33. . . Tandem

34...基板管理控制器串列埠調試系統34. . . Baseboard management controller serial port debugging system

4...遠端終端4. . . Remote terminal

340...接收模組340. . . Receiving module

341...判斷模組341. . . Judging module

342...切換模組一342. . . Switching module one

343...切換模組二343. . . Switch module two

圖1是本發明BMC串列埠調試系統之應用環境圖。1 is a diagram showing an application environment of a BMC serial port debugging system of the present invention.

圖2是本發明BMC串列埠調試系統之模組圖。2 is a block diagram of a BMC serial port debugging system of the present invention.

圖3是本發明BMC串列埠調試方法之實施例的流程圖。3 is a flow chart of an embodiment of a BMC serial port debugging method of the present invention.

如圖1所示,是本發明基板管理控制器串列埠調試系統的應用環境圖。基板管理控制器串列埠調試系統34(下文簡稱BMC串列埠調試系統34)應用於伺服器1中來管理基板管理控制器(Baseboard Management Controller,BMC)的串列埠調試。所述伺服器1包括伺服器系統端2及BMC 3。所述伺服器系統端2與BMC 3透過低速通信協議LPC進行通信。所述伺服器系統端2包括南橋(PCH)20及網路埠21。所述伺服器系統端2可以透過該網路埠21與遠端終端4相互通信。所述BMC 3還包括內置於BMC 3的多工器(VMUX,Virtual Multiplex)32、虛擬串列埠(Virtual Universal Asynchronous Receiver Transmitter,VUART)30、串列埠一(Universal Asynchronous Receiver Transmitter,UART)33,以及外置與BMC 3的外部串列埠(External Virtual Universal Asynchronous Receiver Transmitter ,Ext UART)31,所述虛擬串列埠30、外部串列埠31及串列埠一33分別與多工器32相連。As shown in FIG. 1, it is an application environment diagram of the serial management system of the substrate management controller of the present invention. The baseboard management controller serial port debugging system 34 (hereinafter referred to as the BMC serial port debugging system 34) is applied to the server 1 to manage the serial port management controller (BMC) serial port debugging. The server 1 includes a server system end 2 and a BMC 3. The server system end 2 communicates with the BMC 3 through a low speed communication protocol LPC. The server system end 2 includes a south bridge (PCH) 20 and a network port 21. The server system end 2 can communicate with the remote terminal 4 through the network port 21. The BMC 3 further includes a multiplexer (VMUX, Virtual Multiplex) 32, a Virtual Universal Asynchronous Receiver Transmitter (VUART) 30, and a Universal Asynchronous Receiver Transmitter (UART) 33. And an external serial speaker (External Virtual Universal Asynchronous Receiver Transmitter, Ext UART) 31, the virtual serial port 30, the external serial port 31, and the serial port 33 and the multiplexer 32, respectively. Connected.

所述南橋20透過通用輸入輸出(General Purpose Input Output,GPIO)與多工器32連接,當BMC發生異常停止工作,遠端控制已失效時,可用所述南橋20發送其控制的GPIO控制信號來重置該多工器與串列埠一33、外部串列埠31的連接,所述GPIO控制信號為在本地控制BMC串列埠調試的信號。The south bridge 20 is connected to the multiplexer 32 through a general purpose input output (GPIO). When the BMC abnormally stops working and the remote control has failed, the south bridge 20 can be used to send its controlled GPIO control signal. The connection of the multiplexer to the serial port 33 and the external serial port 31 is reset, and the GPIO control signal is a signal for locally controlling the BMC serial port.

所述多工器32是一種綜合系統、可將多線程資訊傳送到多工器32上且所述多工器只有一個輸出端。在本實施例中,所述多工器32用於切換該多工器與BMC的串列埠一33及與外部串列埠31的連接。The multiplexer 32 is an integrated system that transmits multi-threaded information to the multiplexer 32 and the multiplexer has only one output. In this embodiment, the multiplexer 32 is configured to switch the serial connection between the multiplexer and the BMC and the connection to the external serial port 31.

所述串列埠一33為BMC運行狀態輸入輸出的串列埠。所述虛擬串列埠30為BMC運行狀態的遠端輸出的串列埠。所述虛擬串列埠30透過LPC與伺服器系統端2相通信及接收伺服器系統端2的輸入控制資料,所述虛擬串列埠30將BMC的運行狀態的資料發送到伺服器系統端2,該伺服器系統端2透過網路埠21將BMC的運行狀態的資料發送到遠端終端4上及透過網路埠21接收遠端終端4的輸入控制資料。所述外部串列埠31為BMC運行狀態的本地輸出的串列埠,用於在本地調試BMC串列埠所用。The serial port 33 is a serial port of the BMC operating state input and output. The virtual serial port 30 is a serial port of the remote output of the BMC operating state. The virtual serial port 通信30 communicates with the server system end 2 through the LPC and receives the input control data of the server system end 2, and the virtual serial port 埠30 transmits the data of the operating state of the BMC to the server system end 2 The server system end 2 transmits the data of the running status of the BMC to the remote terminal 4 through the network port 21 and receives the input control data of the remote terminal 4 through the network port 21. The external serial port 31 is a serial port of the local output of the BMC operating state, which is used for locally debugging the BMC serial port.

所述遠端終端4可以是臺式電腦、筆記本電腦、平板電腦等。所述網路可以是國際互聯網、企業內部網或者其他無線網路。The remote terminal 4 can be a desktop computer, a notebook computer, a tablet computer, or the like. The network can be the Internet, an intranet or other wireless network.

如圖2所示,是BMC串列埠調試系統的模組圖。在本實施例中,所述BMC串列埠調試系統34包括接收模組340、判斷模組341、切換模組一342及切換模組二343。本發明所稱的模組是指一種能夠被處理器所執行並且能夠完成固定功能的一系列電腦程式段,其存儲在記憶體中。在本實施例中,關於各模組的功能將在圖3的流程圖中具體描述。As shown in Figure 2, it is a module diagram of the BMC serial port debugging system. In this embodiment, the BMC serial port debugging system 34 includes a receiving module 340, a determining module 341, a switching module 342, and a switching module 343. The module referred to in the present invention refers to a series of computer programs that can be executed by a processor and can perform fixed functions, and are stored in a memory. In the present embodiment, the functions of the respective modules will be specifically described in the flowchart of FIG.

如圖3所示,是本發明BMC串列埠調試方法的較佳實施例的流程圖。根據不同的需求,該流程圖中步驟的順序可以改變,某些步驟可以省略。As shown in FIG. 3, it is a flowchart of a preferred embodiment of the BMC serial port debugging method of the present invention. The order of the steps in the flowchart may be changed according to different requirements, and some steps may be omitted.

步驟S10,BMC在引導載入程式Bootloader啟動初始化時,初始化與伺服器系統端2相互通信的虛擬串列埠30。同時,初始化BMC的串列埠一33及其外部串列埠31,並初始化多工器32。In step S10, the BMC initializes the virtual serial port 30 communicating with the server system end 2 when the boot loader bootloader initiates initialization. At the same time, the serial port 33 of the BMC and its external serial port 埠31 are initialized, and the multiplexer 32 is initialized.

步驟S11,接收模組340接收伺服器系統端2的南橋20發送給多工器32的GPIO控制信號。In step S11, the receiving module 340 receives the GPIO control signal sent by the south bridge 20 of the server system end 2 to the multiplexer 32.

步驟S12,判斷模組341判斷GPIO控制信號的信號模式值是否為預設值,所述預設值可以為0或者1。當GPIO控制信號的信號模式值為預設值時,執行步驟S13;當GPIO控制信號的信號模式值不為預設值時,執行步驟S14。In step S12, the determining module 341 determines whether the signal mode value of the GPIO control signal is a preset value, and the preset value may be 0 or 1. When the signal mode value of the GPIO control signal is a preset value, step S13 is performed; when the signal mode value of the GPIO control signal is not the preset value, step S14 is performed.

步驟S13,切換模組一342切換多工器32使BMC 3的串列埠一33連接至虛擬串列埠30,從而使串列埠一33連接至伺服器系統端2,使遠端終端4能遠端控制BMC 3的串列埠調試。In step S13, the switching module 342 switches the multiplexer 32 to connect the serial port 33 of the BMC 3 to the virtual serial port 30, thereby connecting the serial port 33 to the server system end 2, so that the remote terminal 4 It can remotely control the serial port debugging of BMC 3.

步驟S14,切換模組二343切換多工器32使BMC 3的串列埠一33連接至外部串列埠31,使調試人員能在本地控制BMC 3的串列埠調試。In step S14, the switching module 343 switches the multiplexer 32 to connect the serial port 33 of the BMC 3 to the external serial port 31, so that the debugger can locally control the serial port debugging of the BMC 3.

步驟S15,接收模組340接收遠端終端4發送給BMC 3的預設原始設備製造商OEM命令。所述OEM命令為遠端終端4發送的用於控制BMC 3的串列埠一33連接至虛擬串列埠30或者外部串列埠31的命令。In step S15, the receiving module 340 receives the preset original equipment manufacturer OEM command sent by the remote terminal 4 to the BMC 3. The OEM command is a command sent by the remote terminal 4 for controlling the serial port 33 of the BMC 3 to be connected to the virtual serial port 30 or the external serial port 31.

步驟S16,判斷模組341判斷遠端終端4發送的OEM命令是否為所述預設值。當遠端終端4發送的OEM命令為所述預設值時,執行步驟S17,當遠端終端4發送的OEM命令不為所述預設值時,執行步驟S18。In step S16, the determining module 341 determines whether the OEM command sent by the remote terminal 4 is the preset value. When the OEM command sent by the remote terminal 4 is the preset value, step S17 is performed, and when the OEM command sent by the remote terminal 4 is not the preset value, step S18 is performed.

步驟S17,切換模組一342切換多工器32使BMC 3的串列埠一33與伺服器系統端2連接至虛擬串列埠30,使遠端終端4能遠端控制BMC 3的串列埠調試。In step S17, the switching module 342 switches the multiplexer 32 to connect the serial port 33 of the BMC 3 and the server system end 2 to the virtual serial port , 30, so that the remote terminal 4 can remotely control the serial of the BMC 3.埠 Debugging.

步驟S18,切換模組二343切換多工器32使BMC 3的串列埠一33連接至外部串列埠31,使調試人員能在本地控制BMC 3的串列埠調試。In step S18, the switching module 343 switches the multiplexer 32 to connect the serial port 33 of the BMC 3 to the external serial port 31, so that the debugger can locally control the serial port debugging of the BMC 3.

重複執行步驟S15、S16、S17、S18控制該BMC的串列埠調試,直到停止調試。透過本發明,使伺服器系統端2快速地連接至BMC的調試串列埠,其可以很方便的遠端控制BMC的串列埠,診斷使用者的BMC系統,方便開發測試人員的系統開發、調試以及測試。Steps S15, S16, S17, and S18 are repeatedly executed to control the serial port debugging of the BMC until the debugging is stopped. Through the invention, the server system end 2 is quickly connected to the debugging serial port of the BMC, which can conveniently control the BMC serial port remotely, diagnose the user's BMC system, and facilitate the development of the tester's system development, Debugging and testing.

最後應說明的是,以上實施例僅用以說明本發明的技術方案而非限制,儘管參照較佳實施例對本發明進行了詳細說明,本領域的普通技術人員應當理解,可以對本發明的技術方案進行修改或等同替換,而不脫離本發明技術方案的精神和範圍。It should be noted that the above embodiments are only for explaining the technical solutions of the present invention and are not intended to be limiting, and the present invention will be described in detail with reference to the preferred embodiments. Modifications or equivalents are made without departing from the spirit and scope of the invention.

34...基板管理控制器串列埠調試系統34. . . Baseboard management controller serial port debugging system

340...接收模組340. . . Receiving module

341...判斷模組341. . . Judging module

342...切換模組一342. . . Switching module one

343...切換模組二343. . . Switch module two

Claims (6)

一種基板管理控制器串列埠調試系統,該系統包括:
接收模組,用於接收伺服器系統端的南橋發送給多工器的通用輸入輸出GPIO控制信號;
判斷模組,用於判斷所述GPIO控制信號的信號模式值是否為預設值;
切換模組一,用於當GPIO控制信號的信號模式值為所述預設值時,切換多工器使BMC的串列埠一連接至與伺服器系統端相連的該BMC的虛擬串列埠,所述串列埠一為BMC運行狀態輸入輸出的串列埠,所述串列埠一透過多工器與虛擬串列埠相連;
切換模組二,用於當GPIO控制信號的信號模式值不為所述預設值時,用於切換多工器使BMC的串列埠一連接至該BMC的外部串列埠Ext UART,所述串列埠一透過多工器與外部串列埠相連;
所述接收模組,還用於接收遠端終端發送給BMC的原始設備製造商OEM命令,所述遠端終端透過網路埠連接至所述伺服器系統端;
所述判斷模組,還用於判斷所述遠端終端發送的OEM命令是否為所述預設值,當遠端終端發送的OEM命令為所述預設值時,執行切換模组一,當遠端終端發送的OEM命令不為所述預設值時,執行切換模组二。
A substrate management controller serial debugging system, the system comprising:
a receiving module, configured to receive a general-purpose input and output GPIO control signal sent by the south bridge of the server system end to the multiplexer;
a determining module, configured to determine whether a signal mode value of the GPIO control signal is a preset value;
The switching module is configured to: when the signal mode value of the GPIO control signal is the preset value, switch the multiplexer to connect the serial port of the BMC to the virtual serial port of the BMC connected to the server system end. The serial port is a serial port of the BMC running state input and output, and the serial port is connected to the virtual serial port through the multiplexer;
The switching module 2 is configured to switch the multiplexer to connect the serial port of the BMC to the external serial port 埠Ext UART of the BMC when the signal mode value of the GPIO control signal is not the preset value, The serial port is connected to the external serial port through the multiplexer;
The receiving module is further configured to receive an original device manufacturer OEM command sent by the remote terminal to the BMC, where the remote terminal is connected to the server system end through a network port;
The determining module is further configured to determine whether the OEM command sent by the remote terminal is the preset value, and when the OEM command sent by the remote terminal is the preset value, performing a switching module When the OEM command sent by the remote terminal is not the preset value, the switching module 2 is executed.
根據申請專利範圍第1項之基板管理控制器串列埠調試系統,當BMC發生異常停止運行時,透過伺服器系統端的南橋向BMC的多工器發送GPIO控制信號重置BMC的串列埠一與外部串列埠與該多工器的連接。According to the substrate management controller of the patent application scope 1 in the serial debugging system, when the BMC abnormally stops running, the GPIO control signal is sent to the BMC multiplexer through the south bridge of the server system to reset the BMC serial. Connect with the external serial port and the multiplexer. 根據申請專利範圍第1項之基板管理控制器串列埠調試系統,所述外部串列埠用於在本地調試BMC串列埠,所述虛擬串列埠用於將BMC運行狀態的資料傳送給伺服器系統端及接收伺服器系統端傳送過來的控制資料。According to the substrate management controller of claim 1, the external serial port is used for locally debugging the BMC serial port, and the virtual serial port is used for transmitting the data of the BMC running state to The control data transmitted from the server system end and the receiving server system end. 一種基板管理控制器串列埠調試方法,該方法包括:
接收步驟一,接收伺服器系統端的南橋發送給多工器的通用輸入輸出GPIO控制信號;
判斷步驟一,判斷所述GPIO控制信號的信號模式值是否為預設值;
切換步驟一,當GPIO控制信號的信號模式值為所述預設值時,切換多工器使BMC的串列埠一連接至與伺服器系統端相連的虛擬串列埠,所述串列埠一為BMC運行狀態輸入輸出的串列埠,所述串列埠一透過多工器與虛擬串列埠相連;
切換步驟二,當GPIO控制信號的信號模式值不為所述預設值時,切換多工器使BMC的串列埠一連接至外部串列埠,所述串列埠一透過多工器與外部串列埠相連;
接收步驟二,接收遠端終端發送給BMC的原始設備製造商OEM命令,所述遠端終端透過網路埠連接至所述伺服器系統端;
判斷步驟二,判斷所述遠端終端發送的OEM命令是否為所述預設值,當遠端終端發送的OEM命令為所述預設值時,執行切換步驟一,當遠端終端發送的OEM命令不為預設值時,執行切換步驟二。
A substrate management controller serial port debugging method, the method comprising:
Receiving step one, receiving a general-purpose input/output GPIO control signal sent by the south bridge of the server system end to the multiplexer;
Determining step one, determining whether the signal mode value of the GPIO control signal is a preset value;
Switching to step 1, when the signal mode value of the GPIO control signal is the preset value, switching the multiplexer to connect the serial port of the BMC to the virtual serial port connected to the server system end, the serial port 埠A serial port of input and output of the BMC operating state, the serial port is connected to the virtual serial port by a multiplexer;
In step 2, when the signal mode value of the GPIO control signal is not the preset value, the switching multiplexer connects the serial port of the BMC to the external serial port, and the serial port is transmitted through the multiplexer. External serial ports are connected;
Receiving step 2, receiving an original equipment manufacturer OEM command sent by the remote terminal to the BMC, where the remote terminal is connected to the server system end through the network;
In step 2, it is determined whether the OEM command sent by the remote terminal is the preset value, and when the OEM command sent by the remote terminal is the preset value, performing the switching step one, when the remote terminal sends the OEM When the command is not the preset value, the switching step 2 is performed.
根據申請專利範圍第4項之基板管理控制器串列埠調試方法,當BMC發生異常停止運行時,透過伺服器系統端的南橋向BMC的多工器發送GPIO控制信號重置BMC的串列埠一與外部串列埠與該多工器的連接。According to the serial management and debugging method of the substrate management controller in the fourth application patent, when the BMC abnormally stops running, the GPIO control signal is sent to the BMC multiplexer through the south bridge of the server system to reset the BMC serial. Connect with the external serial port and the multiplexer. 根據申請專利範圍第4項之基板管理控制器串列埠調試方法,所述外部串列埠用於在本地調試BMC串列埠,所述虛擬串列埠用於將BMC運行狀態的資料傳送給伺服器系統端及接收伺服器系統端傳送過來的控制資料。
According to the substrate management controller serial port debugging method of claim 4, the external serial port is used for locally debugging the BMC serial port, and the virtual serial port is used to transmit the data of the BMC running state to The control data transmitted from the server system end and the receiving server system end.
TW102110434A 2013-02-28 2013-03-25 System and method of debugging BMC UART TW201433923A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310066296.2A CN104021060A (en) 2013-02-28 2013-02-28 BMC serial port debugging system and method

Publications (1)

Publication Number Publication Date
TW201433923A true TW201433923A (en) 2014-09-01

Family

ID=51437828

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102110434A TW201433923A (en) 2013-02-28 2013-03-25 System and method of debugging BMC UART

Country Status (2)

Country Link
CN (1) CN104021060A (en)
TW (1) TW201433923A (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699192A (en) * 2015-01-07 2015-06-10 英业达科技有限公司 Computer
CN108737900A (en) * 2015-03-17 2018-11-02 青岛海信宽带多媒体技术有限公司 A kind of output method of terminal signaling
CN106339344A (en) * 2016-08-18 2017-01-18 浪潮(北京)电子信息产业有限公司 Multi-serial port switching system and method used for debugging server system
CN109508310B (en) * 2017-09-14 2021-10-22 北京忆芯科技有限公司 Virtual UART
US10671560B2 (en) 2017-09-27 2020-06-02 Hewlett Packard Enterprise Development Lp Serial connection between management controller and microcontroller
CN108063927B (en) * 2017-11-10 2020-11-03 深圳市火乐科技发展有限公司 Projector debugging device
CN108052449B (en) * 2017-12-14 2021-03-09 北京百度网讯科技有限公司 Operating system running state detection method and device
CN109254900A (en) * 2018-08-29 2019-01-22 浪潮电子信息产业股份有限公司 A kind of log read device and server applied to server
CN109491945B (en) * 2018-11-05 2021-11-09 深圳市瑞驰信息技术有限公司 UART cascade extension system and method
FR3092944A1 (en) * 2019-02-15 2020-08-21 Schneider Electric Industries Sas Radiofrequency transmission line, device comprising such a transmission line and a system for monitoring an installation comprising such a device
CN111737172A (en) * 2020-06-12 2020-10-02 浪潮电子信息产业股份有限公司 Server serial port access control method, device, equipment and medium
US11762747B2 (en) 2020-08-26 2023-09-19 Mellanox Technologies, Ltd. Network based debug
CN112732504B (en) * 2021-01-07 2023-01-10 苏州浪潮智能科技有限公司 Server BMC serial port circuit
CN113868033B (en) * 2021-08-25 2023-08-15 苏州浪潮智能科技有限公司 Server debugging method

Also Published As

Publication number Publication date
CN104021060A (en) 2014-09-03

Similar Documents

Publication Publication Date Title
TW201433923A (en) System and method of debugging BMC UART
US8386764B2 (en) BIOS architecture
US8010843B2 (en) System and method for debugging a target computer using SMBus
US9934187B2 (en) Hot-pluggable computing system
US9696777B2 (en) Computer port control
US9645954B2 (en) Embedded microcontroller and buses
US20170031694A1 (en) System and method for remote system configuration managment
US8909910B2 (en) Computer system for selectively accessing bios by a baseboard management controller
US9542201B2 (en) Network bios management
US11048570B2 (en) Techniques of monitoring and updating system component health status
TW201706864A (en) Port selection at a computing device
US10579572B2 (en) Apparatus and method to provide a multi-segment I2C bus exerciser/analyzer/fault injector and debug port system
TWI604304B (en) Electronic apparatus and detection method using the same
US20150186317A1 (en) Method and apparatus for detecting the initiator/target orientation of a smart bridge
CN110008165B (en) NTB link management method, system and related device
US11113166B2 (en) Monitoring system and method with baseboard management controller
US10572435B2 (en) Techniques of accessing serial console of BMC using host serial port
US9037909B2 (en) Test apparatus
JP6604427B1 (en) Information processing system
US10191875B2 (en) Techniques of providing serial port in non-legacy system via embedded-system device
TWM598968U (en) Out-of-band external control equipment and system
CN105812172A (en) User terminal and HSIC slave device fault processing method and apparatus therefor
US10803008B2 (en) Flexible coupling of processor modules
CN211787062U (en) MCTP equipment testing arrangement
JP6579255B1 (en) Information processing system and relay device