[go: up one dir, main page]

TWI742323B - Method for detecting a server - Google Patents

Method for detecting a server Download PDF

Info

Publication number
TWI742323B
TWI742323B TW107143608A TW107143608A TWI742323B TW I742323 B TWI742323 B TW I742323B TW 107143608 A TW107143608 A TW 107143608A TW 107143608 A TW107143608 A TW 107143608A TW I742323 B TWI742323 B TW I742323B
Authority
TW
Taiwan
Prior art keywords
management controller
baseboard management
pins
control unit
system control
Prior art date
Application number
TW107143608A
Other languages
Chinese (zh)
Other versions
TW202022610A (en
Inventor
鄭朝陽
Original Assignee
英業達股份有限公司
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 英業達股份有限公司 filed Critical 英業達股份有限公司
Priority to TW107143608A priority Critical patent/TWI742323B/en
Publication of TW202022610A publication Critical patent/TW202022610A/en
Application granted granted Critical
Publication of TWI742323B publication Critical patent/TWI742323B/en

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A method for detecting a server is disclosed. The server has a baseboard management controller (BMC). The BMC has a plurality of pins coupled to a plurality of peripheral hardware elements. A hardware profile file, which would be used by the BMC, is configured so as to define functions of the plurality of pins of the BMC. Then, the BMC loads the hardware profile file. Afterward, the BMC executes a detection program to execute a plurality of detection procedures according to the hardware profile file so as to detect whether the operations of the pins and the peripheral hardware elements are normal.

Description

伺服器的檢測方法 Server detection method

本發明是有關於一種伺服器的檢測方法,且特別是有關於一種基於一硬體線路設定檔而對伺服器的基板管理控制器(baseboard management controller,簡稱BMC)及週邊硬體元件進行檢測的方法。 The present invention relates to a detection method for a server, and in particular to a detection method for a server's baseboard management controller (BMC) and peripheral hardware components based on a hardware circuit profile method.

隨著電腦科技的進步,人們逐漸使用資訊設備來取代傳統人工的作業。在日常或工作事務皆已資訊化時,人們對於資訊設備已呈現高度依賴的狀態。因此,一旦資訊設備無法正常運作時將會產生嚴重的影響。特別是,對於講求時間效率的工業社會,一旦生產廠商的生產線無法正常運作而準時交貨給客戶時,對於廠商的商譽與信用將造成無法彌補的傷害,甚至需面對鉅額的賠償。因此,許多伺服器的主機都具有基板管理控制器(Baseboard Management Controller,簡稱BMC)。基板管理控制器是一種藉由各種介面來管理整個系統。例如,對系統進行狀態偵測、電源管理...等控制。為了能夠確保基板管理控制器的可靠與穩定,在完成使用基板管理控制器之資訊設備的生產之前的孕育階段(bring up stage),須對基板管理控制器及其耦接的相關週邊硬體元件(例如:中央處理器(CPU)、風扇、匯流排...等)進行檢測,以驗證硬體是否可正常運作。然而,基板管理控制器的腳位的數目非常的多,因此若以人工方式操作常會有腳位設定錯誤的問題。此外,硬體檢測的項目也非常地多,因此若以人工方式 進行檢測將會非常地耗時。因此,有需要發展一套能夠有效率且正確地執行上述檢測程序的方法。 With the advancement of computer technology, people gradually use information equipment to replace traditional manual operations. When daily or work affairs are already informatized, people have become highly dependent on information equipment. Therefore, once the information equipment fails to operate normally, it will have a serious impact. In particular, for an industrial society that emphasizes time efficiency, once a manufacturer's production line fails to operate normally and delivers to customers on time, it will cause irreparable damage to the manufacturer's goodwill and credit, and even face huge compensation. Therefore, the host of many servers has a Baseboard Management Controller (BMC). The baseboard management controller is a way to manage the entire system through various interfaces. For example, to perform state detection, power management... and other controls on the system. In order to ensure the reliability and stability of the baseboard management controller, the baseboard management controller and its associated peripheral hardware components must be brought up before the completion of the production of the information equipment using the baseboard management controller. (For example: central processing unit (CPU), fan, bus... etc.) Perform tests to verify whether the hardware can operate normally. However, the baseboard management controller has a very large number of pins, so if it is manually operated, there will often be a problem of wrong pin setting. In addition, there are a lot of hardware inspection items, so if you use manual methods Performing the test will be very time consuming. Therefore, there is a need to develop a method that can efficiently and correctly execute the above-mentioned detection procedures.

本發明的一實施例提供了一種伺服器的檢測方法。伺服器包括一基板管理控制器,基板管理控制器具有多個接腳,而上述的多個接腳耦接多個週邊硬體元件。所述方法包含:設定基板管理控制器所使用的硬體線路設定檔,以對上述的多個接腳的功能進行定義;基板管理控制器載入硬體線路設定檔;以及基板管理控制器執行檢測程式,以依據硬體線路設定檔執行多項檢測程序,進而檢測上述的多個接腳及上述的多個週邊硬體元件之操作是否正常。 An embodiment of the present invention provides a detection method for a server. The server includes a baseboard management controller. The baseboard management controller has a plurality of pins, and the plurality of pins are coupled to a plurality of peripheral hardware components. The method includes: setting the hardware circuit profile used by the baseboard management controller to define the functions of the above-mentioned multiple pins; the baseboard management controller loads the hardware circuit profile; and the baseboard management controller executes The detection program executes multiple detection procedures according to the hardware circuit profile, and then detects whether the operation of the aforementioned multiple pins and the aforementioned multiple peripheral hardware components is normal.

10:伺服器 10: Server

100:基板管理控制器 100: baseboard management controller

110:韌體 110: Firmware

112:檢測程式 112: detection program

114:硬體線路設定檔 114: hardware line profile

120:系統控制單元暫存器 120: System control unit register

130:接腳 130: pin

150:週邊硬體元件 150: Peripheral hardware components

201:系統控制單元模組 201: System control unit module

202:積體電路匯流排模組 202: Integrated circuit bus module

203:通用非同步收發傳輸器模組 203: Universal Asynchronous Transceiver Module

204:脈衝寬度調變模組 204: Pulse width modulation module

205:轉速計模組 205: Tachometer Module

206:通用型之輸入輸出模組 206: Universal input and output module

207:聯合測試工作群組模組 207: Joint Test Workgroup Module

208:序列周邊介面模組 208: Serial peripheral interface module

209:雙倍資料率模組 209: Double Data Rate Module

210:區域網路模組 210: Local Area Network Module

211:類比數位轉換器模組 211: Analog-to-digital converter module

S310至S330:步驟 S310 to S330: steps

第1圖是本發明一實施例之伺服器的功能方塊圖。 Figure 1 is a functional block diagram of a server according to an embodiment of the present invention.

第2圖是第1圖之伺服器的基板管理控制器之韌體的檢測程式之功能方塊圖。 Figure 2 is a functional block diagram of the firmware detection program of the baseboard management controller of the server shown in Figure 1.

第3圖是本發明一實施例對第1圖的伺服器的基板管理控制器及多個週邊硬體元件進行檢測之方法的流程圖。 FIG. 3 is a flowchart of a method for detecting the baseboard management controller and multiple peripheral hardware components of the server shown in FIG. 1 according to an embodiment of the present invention.

請參考第1圖,第1圖是本發明一實施例之伺服器10的功能方塊圖。伺服器10包含基板管理控制器(Baseboard Management Controller,簡稱BMC)100及多個週邊硬體元件150。在本實施例中,基板管理控制器100是以Aspeed公司所生產型號為AST2500的BMC處理器為例作說明,但本發明並不以此為限。在本發明的其他實施例中,基板管理控制器100可以是其他的基板管理控制器。再 者,基板管理控制器100具有多個接腳130(以AST2500的BMC處理器為例,其共有456支接腳130),用以耦接至多個週邊硬體元件150,以控制、管理、協調這些週邊硬體元件150的操作。此外,週邊硬體元件150可以是但不限於中央處理器(CPU)、風扇、記憶體、網路裝置、電源供應器、匯流排及連接於匯流排的裝置。 Please refer to FIG. 1, which is a functional block diagram of the server 10 according to an embodiment of the present invention. The server 10 includes a baseboard management controller (BMC) 100 and a plurality of peripheral hardware components 150. In this embodiment, the baseboard management controller 100 is illustrated by taking a BMC processor with a model number of AST2500 produced by Aspeed as an example, but the present invention is not limited to this. In other embodiments of the present invention, the baseboard management controller 100 may be other baseboard management controllers. Again Furthermore, the baseboard management controller 100 has a plurality of pins 130 (taking the BMC processor of AST2500 as an example, it has a total of 456 pins 130) for coupling to a plurality of peripheral hardware components 150 to control, manage, and coordinate Operation of these peripheral hardware components 150. In addition, the peripheral hardware component 150 may be, but is not limited to, a central processing unit (CPU), a fan, a memory, a network device, a power supply, a bus, and a device connected to the bus.

為方便、快速地檢測基板管理控制器100的多個接腳130及多個週邊硬體元件150之操作是否正常,本發明會在基板管理控制器100的韌體110中置入檢測程式112及硬體線路設定檔114。其中,硬體線路設定檔114是用以對基板管理控制器100的多個接腳130的功能進行定義,而檢測程式112則是用以依據硬體線路設定檔114執行多項檢測程序,以檢測多個接腳130及多個週邊硬體元件150之操作是否正常。在本發明一實施例中,可透過簡單檔案傳輸協定(Trivial File Transfer Protocol,簡稱TFTP),將檢測程式112連同硬體線路設定檔114傳送給基板管理控制器100,以將檢測程式112及硬體線路設定檔114置入至基板管理控制器100的韌體110。在本發明另一實施例中,則是先將檢測程式112連同硬體線路設定檔114內建(build-in)於基板管理控制器100的韌體影像檔(image file)中,再將此韌體影像檔燒錄至基板管理控制器100用以儲存韌體110的可覆寫式的非揮發性記憶體中,而以更新韌體110的方式,將檢測程式112及硬體線路設定檔114置入至基板管理控制器100的韌體110。當檢測程式112及硬體線路設定檔114被置入至韌體110後,基板管理控制器100即可執行檢測程式112,並使檢測程式112依據硬體線路設定檔114執行多項檢測程序,以進而檢測上述多個接腳130及多個週邊硬體元件150之操作是否正常。 In order to conveniently and quickly check whether the operation of the multiple pins 130 and the multiple peripheral hardware components 150 of the BMC 100 is normal, the present invention will embed the detection program 112 and the firmware 110 of the BMC 100 Hardware circuit profile 114. Among them, the hardware circuit profile 114 is used to define the functions of the multiple pins 130 of the baseboard management controller 100, and the detection program 112 is used to execute multiple detection procedures according to the hardware circuit profile 114 to detect Whether the operation of the plurality of pins 130 and the plurality of peripheral hardware components 150 is normal. In an embodiment of the present invention, the test program 112 and the hardware circuit configuration file 114 can be transmitted to the baseboard management controller 100 through the Trivial File Transfer Protocol (TFTP) to transfer the test program 112 and the hardware The body circuit profile 114 is placed in the firmware 110 of the baseboard management controller 100. In another embodiment of the present invention, the detection program 112 and the hardware circuit profile 114 are first built-in in the firmware image file of the baseboard management controller 100, and then this The firmware image file is burned to the rewritable non-volatile memory of the baseboard management controller 100 for storing the firmware 110, and the detection program 112 and the hardware circuit configuration file are updated by updating the firmware 110 114 is embedded in the firmware 110 of the baseboard management controller 100. After the detection program 112 and the hardware circuit profile 114 are placed in the firmware 110, the baseboard management controller 100 can execute the detection program 112 and make the detection program 112 perform multiple detection procedures according to the hardware circuit profile 114 to Furthermore, it is detected whether the operation of the plurality of pins 130 and the plurality of peripheral hardware components 150 is normal.

在本發明一實施例中,基板管理控制器100可依據執行上述多個檢測程序的結果,調整硬體線路設定檔114,以變更對於上述多個接腳130的定義, 而使相同的接腳130在變更其功能定義後而有不同的用途及功能。因此,倘若在執行檢測程式112的過程中,若發現有部分的接腳130的定義有誤,則檢測程式112可透過調整硬體線路設定檔114的方式,來變更接腳130的定義,以再次檢測接腳1300及週邊硬體元件150之操作是否正常,進而提高整體檢測的效率。此外,在本發明一實施例中,基板管理控制器100可另包含系統控制單元(System Control Unit,簡稱SCU)暫存器120,用以儲存基板管理控制器100對於上述多個接腳130之功能的定義。其中,基板管理控制器100的韌體110會依據硬體線路設定檔114對系統控制單元暫存器120進行初始化,以使系統控制單元暫存器120於初始化後對於接腳130之功能的定義會與硬體線路設定檔114的定義相同。檢測過程中,系統控制單元暫存器120所儲存對於接腳130的功能之定義可依據檢測的需要而動態地調整。倘若檢測程式112執行完所有檢測程序後並未發現任何問題,則系統控制單元暫存器120最後所儲存對於接腳130之功能的定義可回存以更新硬體線路設定檔114,而成為硬體線路設定檔114的最終版本。因此,基板管理控制器100可透過調整系統控制單元暫存器120所儲存對於接腳130之功能的定義之方式來完成硬體線路設定檔114的調整。 In an embodiment of the present invention, the baseboard management controller 100 can adjust the hardware circuit profile 114 to change the definition of the multiple pins 130 according to the results of executing the multiple detection procedures. The same pins 130 have different uses and functions after changing their function definitions. Therefore, if in the process of executing the detection program 112, if it is found that some of the pins 130 are defined incorrectly, the detection program 112 can change the definition of the pins 130 by adjusting the hardware circuit profile 114. Check again whether the operation of the pin 1300 and the peripheral hardware components 150 is normal, thereby improving the overall detection efficiency. In addition, in an embodiment of the present invention, the baseboard management controller 100 may further include a system control unit (System Control Unit, SCU) register 120 for storing information about the baseboard management controller 100 for the plurality of pins 130. Definition of function. Among them, the firmware 110 of the baseboard management controller 100 initializes the system control unit register 120 according to the hardware circuit profile 114, so that the system control unit register 120 defines the function of the pin 130 after initialization Will be the same as the definition of the hardware line profile 114. During the detection process, the definition of the function of the pin 130 stored in the system control unit register 120 can be dynamically adjusted according to the needs of the detection. If the detection program 112 does not find any problems after executing all the detection procedures, the last definition of the function of the pin 130 stored in the system control unit register 120 can be restored to update the hardware circuit profile 114 and become a hard The final version of the physical circuit profile 114. Therefore, the baseboard management controller 100 can complete the adjustment of the hardware circuit profile 114 by adjusting the definition of the function of the pin 130 stored in the system control unit register 120.

請參考第2圖,第2圖是第1圖之伺服器10的基板管理控制器100之韌體110的檢測程式112之功能方塊圖。檢測程式112包含多個檢測模組,而每一檢測模組用以執行一對應的檢測程序,以對上述多個週邊硬體元件150中一對應的週邊硬體元件150進行檢測。其中,上述多個檢測模組可選自由下列所組成之群組:系統控制單元(SCU)模組201、積體電路匯流排(Inter-Integrated Circuit,簡稱I2C)模組202、通用非同步收發傳輸器(Universal Asynchronous Receiver/Transmitter,簡稱UART)模組203、脈衝寬度調變(Pulse Width Modulation,簡稱PWM)模組204、轉速計(Tachomerer,簡稱TACH)模組205、通 用型之輸入輸出(General-purpose input/output,簡稱GPIO)模組206、聯合測試工作群組(Joint Test Action Group,簡稱JTAG)模組207、序列周邊介面(Serial Peripheral Interface,簡稱SPI)模組208、雙倍資料率(Double Data Rate,簡稱DDR)模組209、區域網路(Local Area Network,簡稱LAN)模組210以及類比數位轉換器(Analog-to-Digital Converter,簡稱ADC)模組211。其中,系統控制單元模組201用以對基板管理控制器100的系統控制單元暫存器120進行設定,以調整系統控制單元暫存器120所儲存對於接腳130之功能的定義;積體電路匯流排模組202用以依據硬體線路設定檔114中所定義的積體電路匯流排會使用到哪些接腳130,以檢測耦接於基板管理控制器100的積體電路匯流排之裝置的操作是否正常;通用非同步收發傳輸器模組203用以依據系統控制單元暫存器120所儲存對於接腳130之功能的定義,檢測耦接於基板管理控制器100的通用非同步收發傳輸器介面的裝置之操作是否正常;脈衝寬度調變模組204用以依據系統控制單元暫存器120所儲存對於接腳130之功能的定義,檢測耦接於基板管理控制器100之風扇的脈衝寬度調變是否正常;轉速計模組205用以依據系統控制單元暫存器120所儲存對於接腳130之功能的定義,檢測耦接於基板管理控制器100之風扇的轉速是否正常;通用型之輸入輸出模組206用以依據系統控制單元暫存器120所儲存對於接腳130之功能的定義,檢測基板管理控制器100的通用型之輸入輸出介面之操作是否正常;聯合測試工作群組模組207用以依據系統控制單元暫存器120所儲存對於接腳130之功能的定義,檢測基板管理控制器100的聯合測試工作群組介面之操作是否正常;序列周邊介面模組208用以依據系統控制單元暫存器120所儲存對於接腳130之功能的定義,檢測耦接於基板管理控制器100的序列周邊介面的裝置之操作是否正常;雙倍資料率模組209用以依據系統控制單元暫存器120所儲存對於接腳130之功能的定義,檢測耦接於基板管理控制器100的雙倍資料率介面的記憶體之操作是否正常;區域網路模組210用以依據系統控制單元暫 存器120所儲存對於接腳130之功能的定義,檢測耦接於基板管理控制器100的網路介面的操作是否正常;而類比數位轉換器模組211則是用以依據系統控制單元暫存器120所儲存對於接腳130之功能的定義,檢測基板管理控制器100的類比數位轉換器之操作是否正常。 Please refer to FIG. 2. FIG. 2 is a functional block diagram of the detection program 112 of the firmware 110 of the baseboard management controller 100 of the server 10 in FIG. 1. The detection program 112 includes a plurality of detection modules, and each detection module is used to execute a corresponding detection process to detect a corresponding peripheral hardware component 150 among the plurality of peripheral hardware components 150. Among them, the above-mentioned multiple detection modules can be selected from the following groups: system control unit (SCU) module 201, integrated circuit bus (Inter-Integrated Circuit, I2C) module 202, general asynchronous transceiver Transmitter (Universal Asynchronous Receiver/Transmitter, referred to as UART) module 203, pulse width modulation (Pulse Width Modulation, referred to as PWM) module 204, tachometer (Tachomerer, referred to as TACH) module 205, communication General-purpose input/output (GPIO) module 206, Joint Test Action Group (JTAG) module 207, Serial Peripheral Interface (SPI) module Group 208, Double Data Rate (DDR) module 209, Local Area Network (LAN) module 210, and Analog-to-Digital Converter (ADC) module Group 211. Among them, the system control unit module 201 is used to set the system control unit register 120 of the baseboard management controller 100 to adjust the definition of the function of the pin 130 stored in the system control unit register 120; integrated circuit The bus module 202 is used to detect which pins 130 are used by the integrated circuit bus defined in the hardware circuit profile 114 to detect the status of the device coupled to the integrated circuit bus of the baseboard management controller 100 Whether the operation is normal; the universal asynchronous transceiving transmitter module 203 is used to detect the universal asynchronous transceiving transmitter coupled to the baseboard management controller 100 according to the definition of the function of the pin 130 stored in the system control unit register 120 Whether the operation of the interface device is normal; the pulse width modulation module 204 is used to detect the pulse width of the fan coupled to the baseboard management controller 100 according to the definition of the function of the pin 130 stored in the system control unit register 120 Whether the modulation is normal; the tachometer module 205 is used to detect whether the rotation speed of the fan coupled to the baseboard management controller 100 is normal according to the definition of the function of the pin 130 stored in the register 120 of the system control unit; The input/output module 206 is used to detect whether the general input/output interface of the baseboard management controller 100 is operating normally according to the definition of the function of the pin 130 stored in the register 120 of the system control unit; jointly test the working group module The group 207 is used to detect whether the operation of the joint test work group interface of the baseboard management controller 100 is normal according to the definition of the function of the pin 130 stored in the system control unit register 120; the serial peripheral interface module 208 is used to refer to The system control unit register 120 stores the definition of the function of the pin 130, and detects whether the device coupled to the serial peripheral interface of the baseboard management controller 100 is operating normally; the double data rate module 209 is used for system control The function definition of the pin 130 stored in the unit register 120 is to detect whether the memory coupled to the double data rate interface of the baseboard management controller 100 is operating normally; the local area network module 210 is used for system control Unit temporarily The memory 120 stores the definition of the function of the pin 130 to detect whether the network interface coupled to the baseboard management controller 100 is operating normally; and the analog-to-digital converter module 211 is used to temporarily store according to the system control unit The definition of the function of the pin 130 stored in the device 120 is to detect whether the analog-to-digital converter of the baseboard management controller 100 is operating normally.

值得瞭解的,上述多個接腳130中有部分接腳130具有多項功能(Multi functions),而每一項功能對應至上述多個檢測模組中的其一個檢測模組。舉例來說,脈衝寬度調變模組204和轉速計模組205可共用部分的接腳130,並藉由共用的接腳130檢測風扇的脈衝寬度調變及轉速是否正常。 It should be understood that some of the pins 130 have multiple functions (Multi functions), and each function corresponds to one of the multiple detection modules. For example, the pulse width modulation module 204 and the tachometer module 205 can share part of the pins 130, and use the shared pins 130 to detect whether the pulse width modulation and the rotation speed of the fan are normal.

在本發明一實施例中,基板管理控制器100可依據執行上述檢測程序的結果,產生檢測報告。其中,檢測報告除了可包含檢測結果之外,還可包含相關的檢測修改建議(例如:對於硬體線路設定檔114的修改建議,以調整接腳130之功能的定義)。再者,在本發明一實施例中,韌體110可為開放式基板管理控制器(OpenBMC)的韌體;而在本發明另一實施例中,韌體110可為美國安邁科技(American Megatrends Inc.;AMI)所提供的韌體。 In an embodiment of the present invention, the baseboard management controller 100 can generate an inspection report according to the result of executing the above inspection procedure. Wherein, the test report may not only include test results, but also relevant test modification suggestions (for example, a modification suggestion for the hardware circuit profile 114 to adjust the definition of the function of the pin 130). Furthermore, in an embodiment of the present invention, the firmware 110 may be the firmware of the OpenBMC (OpenBMC); and in another embodiment of the present invention, the firmware 110 may be the firmware of American Firmware provided by Megatrends Inc.; AMI).

請參考第3圖,第3圖是本發明一實施例對第1圖的伺服器10的基板管理控制器100及多個週邊硬體元件150進行檢測之方法的流程圖。所述的方法包含以下步驟:步驟S310:設定基板管理控制器100所使用的硬體線路設定檔114,以對基板管理控制器100的多個接腳130的功能進行定義;步驟S320:基板管理控制器100載入硬體線路設定檔114;以及步驟S330:基板管理控制器100執行檢測程式112,以依據硬體線路 設定檔114執行多個檢測程序,進而檢測接腳130及多個週邊硬體元件150之操作是否正常。 Please refer to FIG. 3. FIG. 3 is a flowchart of a method for detecting the baseboard management controller 100 and a plurality of peripheral hardware components 150 of the server 10 in FIG. 1 according to an embodiment of the present invention. The method includes the following steps: Step S310: Set the hardware circuit profile 114 used by the baseboard management controller 100 to define the functions of the pins 130 of the baseboard management controller 100; Step S320: Baseboard management The controller 100 loads the hardware circuit configuration file 114; and step S330: the baseboard management controller 100 executes the detection program 112 according to the hardware circuit The profile 114 executes a plurality of detection procedures to detect whether the operation of the pins 130 and the plurality of peripheral hardware components 150 is normal.

綜上所述,本發明透過為基板管理控制器預備硬體線路設定檔的方式,對基板管理控制器的多個接腳的功能進行定義。之後,基板管理控制器執行檢測程式,以依據硬體線路設定檔執行多項檢測程序,進而檢測基板管理控制器的多個接腳與多個週邊硬體元件之操作是否正常。由於硬體線路設定檔可動態地調整,故可提高整體檢測的效率。此外,相較於人工檢測須花費大量的時間,透過本發明的方法可大幅地減少檢測時間。因此,本發明之方法特別適合用於資訊設備生產之前的孕育階段(bring up stage),可大幅地減少硬體除錯(debug)的時間。 In summary, the present invention defines the functions of the multiple pins of the baseboard management controller by preparing a hardware circuit profile for the baseboard management controller. After that, the baseboard management controller executes the inspection program to execute multiple inspection procedures according to the hardware circuit profile, and then detects whether the operation of the multiple pins of the baseboard management controller and the multiple peripheral hardware components is normal. Since the hardware circuit profile can be dynamically adjusted, the overall detection efficiency can be improved. In addition, compared to manual detection which takes a lot of time, the method of the present invention can greatly reduce the detection time. Therefore, the method of the present invention is particularly suitable for the bring up stage before the production of information equipment, which can greatly reduce the hardware debugging time.

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The foregoing descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made in accordance with the scope of the patent application of the present invention shall fall within the scope of the present invention.

S310至S330:步驟 S310 to S330: steps

Claims (9)

一種伺服器之檢測方法,該伺服器包括一基板管理控制器,該基板管理控制器具有多個接腳及一系統控制單元暫存器,該系統控制單元暫存器用以儲存該基板管理控制器對於該些接腳之功能的定義,該些接腳係耦接多個週邊硬體元件,該伺服器之檢測方法包含:設定該基板管理控制器所使用的一硬體線路設定檔,以對該基板管理控制器的該些接腳的功能進行定義;該基板管理控制器載入該硬體線路設定檔;該基板管理控制器執行一檢測程式,以依據該硬體線路設定檔執行多項檢測程序,進而檢測該些接腳及該些週邊硬體元件之操作是否正常;依據執行該些檢測程序的結果,該基板管理控制器透過調整該系統控制單元暫存器所儲存對於該些接腳之功能的定義調整該硬體線路設定檔;以及倘若完成該些檢測程序後並未發現任何問題,將該系統控制單元暫存器所儲存對於該些接腳之功能的定義回存以更新該硬體線路設定檔。 A detection method for a server, the server comprising a baseboard management controller, the baseboard management controller having a plurality of pins and a system control unit register, the system control unit register for storing the baseboard management controller For the definition of the functions of the pins, the pins are coupled to a plurality of peripheral hardware components. The detection method of the server includes: setting a hardware circuit profile used by the baseboard management controller to compare The functions of the pins of the baseboard management controller are defined; the baseboard management controller loads the hardware circuit profile; the baseboard management controller executes a test program to perform multiple tests according to the hardware circuit profile Program, and then detect whether the operation of the pins and the peripheral hardware components are normal; according to the results of the execution of the detection procedures, the baseboard management controller adjusts the system control unit register for the pins Adjust the hardware circuit profile; and if no problems are found after completing the detection procedures, restore the definitions of the functions of the pins stored in the system control unit register to update the Hardware circuit profile. 如請求項1所述之伺服器之檢測方法,另包含:透過簡單檔案傳輸協定將該檢測程式連同該硬體線路設定檔傳送給該基板管理控制器。 The detection method of the server according to claim 1, further comprising: transmitting the detection program and the hardware line configuration file to the baseboard management controller through a simple file transfer protocol. 如請求項1所述之伺服器之檢測方法,另包含:將該檢測程式連同該硬體線路設定檔內建於該基板管理控制器的一韌體影像檔,並將該韌體影像檔燒錄至該基板管理控制器。 The server detection method according to claim 1, further comprising: building the detection program together with the hardware circuit profile in a firmware image file of the baseboard management controller, and burning the firmware image file Record to the baseboard management controller. 如請求項1所述之伺服器之檢測方法,另包含:依據調整後的該硬體線路設定檔執行該檢測程式,再次檢測該些接腳及耦接於該些接腳的該些週邊硬體元件之操作是否正常。 The detection method of the server according to claim 1, further comprising: executing the detection program according to the adjusted hardware circuit profile, and detecting the pins and the peripheral hardware coupled to the pins again. Whether the operation of the body component is normal. 如請求項1所述之伺服器之檢測方法,其中該檢測程式包含多個檢測模組,每一該些檢測模組係執行一對應的檢測程序,以對該些週邊硬體元件中對應的週邊硬體元件進行檢測。 The detection method of a server according to claim 1, wherein the detection program includes a plurality of detection modules, and each of the detection modules executes a corresponding detection process to correspond to the peripheral hardware components Peripheral hardware components are tested. 如請求項5所述之伺服器之檢測方法,其中該些接腳中有部分接腳具有多項功能,而每項功能對應至該些檢測模組其中之一。 According to the detection method of the server according to claim 5, some of the pins have multiple functions, and each function corresponds to one of the detection modules. 如請求項5所述之伺服器之檢測方法,其中該些檢測模組係選自由下列所組成之群組:一系統控制單元模組,用以對該系統控制單元暫存器進行設定,以調整該系統控制單元暫存器所儲存對於該些接腳之功能的定義;一積體電路匯流排模組,用以依據該硬體線路設定檔,檢測耦接於該基板管理控制器的一積體電路匯流排之裝置的操作是否正常;一通用非同步收發傳輸器模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測耦接於該基板管理控制器的一通用非同步收發傳輸器介面的裝置之操作是否正常;一脈衝寬度調變模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測耦接於該基板管理控制器之風扇的脈衝寬度調變是否正常; 一轉速計模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測耦接於該基板管理控制器之風扇的轉速是否正常;一通用型之輸入輸出模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測該基板管理控制器的一通用型之輸入輸出介面之操作是否正常;一聯合測試工作群組模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測該基板管理控制器的一聯合測試工作群組介面之操作是否正常;一序列周邊介面模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測耦接於該基板管理控制器的一序列周邊介面的裝置之操作是否正常;一雙倍資料率模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測耦接於該基板管理控制器的一雙倍資料率介面的記憶體之操作是否正常;一區域網路模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測耦接於該基板管理控制器的一網路介面的操作是否正常;以及一類比數位轉換器模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測該基板管理控制器的一類比數位轉換器之操作是否正常。 The server detection method according to claim 5, wherein the detection modules are selected from the group consisting of: a system control unit module for setting the system control unit register to Adjust the definition of the functions of the pins stored in the register of the system control unit; an integrated circuit bus module for detecting a device coupled to the baseboard management controller according to the hardware circuit profile Whether the operation of the integrated circuit bus device is normal; a universal asynchronous transceiver module for detecting the connection to the substrate according to the definition of the functions of the pins stored in the register of the system control unit Whether the operation of a universal asynchronous transceiver interface device of the management controller is normal; a pulse width modulation module is used to detect the function definition of the pins stored in the register of the system control unit Whether the pulse width modulation of the fan coupled to the baseboard management controller is normal; A tachometer module for detecting whether the rotation speed of the fan coupled to the baseboard management controller is normal according to the definition of the functions of the pins stored in the register of the system control unit; a universal input and output The module is used to detect whether the operation of a general input and output interface of the baseboard management controller is normal according to the definition of the functions of the pins stored in the register of the system control unit; a joint test work group The module is used to detect whether the operation of a joint test work group interface of the baseboard management controller is normal according to the definition of the functions of the pins stored in the register of the system control unit; a sequence of peripheral interface modules , Used to detect whether the operation of the device coupled to a series of peripheral interfaces of the baseboard management controller is normal according to the definition of the functions of the pins stored in the register of the system control unit; a double data rate modulus Group for detecting whether the operation of the memory coupled to a double data rate interface of the baseboard management controller is normal according to the definition of the functions of the pins stored in the register of the system control unit; The network module is used to detect whether the operation of a network interface coupled to the baseboard management controller is normal according to the definition of the functions of the pins stored in the register of the system control unit; and an analog digital bit The converter module is used for detecting whether an analog-to-digital converter of the baseboard management controller is operating normally according to the definition of the functions of the pins stored in the register of the system control unit. 如請求項1所述之伺服器之檢測方法,另包含:該基板管理控制器依據執行該些檢測程序的結果,產生一檢測報告,而該檢測報告包含一檢測結果。 The detection method of the server according to claim 1, further comprising: the baseboard management controller generates a detection report according to the results of executing the detection procedures, and the detection report includes a detection result. 如請求項1所述之伺服器之檢測方法,其中該基板管理控制器是透過一韌體並依據該硬體線路設定檔執行該些檢測程序,而該韌體為開放式基板管理控制器之韌體。 The server detection method according to claim 1, wherein the baseboard management controller executes the inspection procedures through a firmware and according to the hardware circuit profile, and the firmware is an open baseboard management controller firmware.
TW107143608A 2018-12-05 2018-12-05 Method for detecting a server TWI742323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107143608A TWI742323B (en) 2018-12-05 2018-12-05 Method for detecting a server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107143608A TWI742323B (en) 2018-12-05 2018-12-05 Method for detecting a server

Publications (2)

Publication Number Publication Date
TW202022610A TW202022610A (en) 2020-06-16
TWI742323B true TWI742323B (en) 2021-10-11

Family

ID=72175648

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107143608A TWI742323B (en) 2018-12-05 2018-12-05 Method for detecting a server

Country Status (1)

Country Link
TW (1) TWI742323B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114637538B (en) * 2020-12-15 2024-03-22 技钢科技股份有限公司 Substrate management control system, electronic device and substrate management control method
TWI783831B (en) * 2021-12-21 2022-11-11 技嘉科技股份有限公司 Processing system and method for verify and management of the firmware
TWI799201B (en) * 2022-03-23 2023-04-11 新唐科技股份有限公司 Detection method and detection device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070115962A1 (en) * 2005-11-18 2007-05-24 Cisco Technology, Inc. Techniques configuring customer equipment for network operations from provider edge
US20070204347A1 (en) * 2001-07-10 2007-08-30 Core Sdi, Inc. Automated computer system security compromise
US8464219B1 (en) * 2011-04-27 2013-06-11 Spirent Communications, Inc. Scalable control system for test execution and monitoring utilizing multiple processors
US20170123927A1 (en) * 2015-10-30 2017-05-04 Quanta Computer Inc. System and method for selective bios restoration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070204347A1 (en) * 2001-07-10 2007-08-30 Core Sdi, Inc. Automated computer system security compromise
US20070115962A1 (en) * 2005-11-18 2007-05-24 Cisco Technology, Inc. Techniques configuring customer equipment for network operations from provider edge
US8464219B1 (en) * 2011-04-27 2013-06-11 Spirent Communications, Inc. Scalable control system for test execution and monitoring utilizing multiple processors
US20170123927A1 (en) * 2015-10-30 2017-05-04 Quanta Computer Inc. System and method for selective bios restoration

Also Published As

Publication number Publication date
TW202022610A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
TWI742323B (en) Method for detecting a server
TWI724415B (en) A multi-node storage system and method for updating firmware thereof
TWI576706B (en) Method for early boot phase and the related device
CN112328440B (en) Method and device for determining physical location of hard disk
US20170031694A1 (en) System and method for remote system configuration managment
CN102902613A (en) Computer system and diagnosis method thereof
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
US20090070574A1 (en) Remote diagnostic apparatus
CN102081526A (en) Basic input/output system architecture
CN111221684B (en) Detection method of server
US8996770B2 (en) Integrated link calibration and multi-processor topology discovery
TWI704460B (en) A method of maintaining memory sharing in clustered system
TWI807947B (en) Method and device of updating and testing plurality of embedded controllers
CN108108254A (en) Exchanger error exception method
CN119271250A (en) BMC chip firmware upgrade method, BMC chip, device and storage medium
CN107783862B (en) An 8-way server master-slave BMC reset control method based on PCA9555
TWI748241B (en) Debug message automatically providing method of bios
CN102082715A (en) Test method for network card reset
TWI660267B (en) Boot testing apparatus, system and method thereof
TW201821986A (en) Motherboard and its setting update method
TWI868617B (en) Server system and firmware updating method thereof
TWI459012B (en) Testing device having plurality of connecting ports
TW201928697A (en) Computing system and main board thereof
JP2012026756A (en) Substrate inspection device and substrate inspection method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees