TW202022610A - Method for detecting a server - Google Patents

Method for detecting a server Download PDF

Info

Publication number
TW202022610A
TW202022610A TW107143608A TW107143608A TW202022610A TW 202022610 A TW202022610 A TW 202022610A TW 107143608 A TW107143608 A TW 107143608A TW 107143608 A TW107143608 A TW 107143608A TW 202022610 A TW202022610 A TW 202022610A
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
TWI742323B (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

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (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 more particularly 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.) to 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 it will be very time-consuming to inspect manually. Therefore, there is a need to develop a method that can efficiently and correctly execute the above detection procedures.

本發明的一實施例提供了一種伺服器的檢測方法。伺服器包括一基板管理控制器,基板管理控制器具有多個接腳,而上述的多個接腳耦接多個週邊硬體元件。所述方法包含:設定基板管理控制器所使用的硬體線路設定檔,以對上述的多個接腳的功能進行定義;基板管理控制器載入硬體線路設定檔;以及基板管理控制器執行檢測程式,以依據硬體線路設定檔執行多項檢測程序,進而檢測上述的多個接腳及上述的多個週邊硬體元件之操作是否正常。An embodiment of the present invention provides a server detection method. 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 a 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 multiple pins and the multiple peripheral hardware components is normal.

請參考第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 described by taking a BMC processor with a model 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. Furthermore, the baseboard management controller 100 has a plurality of pins 130 (take the BMC processor of AST2500 as an example, which has a total of 456 pins 130) for coupling to a plurality of peripheral hardware components 150 for control, management, and Coordinate the 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 detect 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 profile 114 can be sent to the baseboard management controller 100 through the Trivial File Transfer Protocol (TFTP), so that 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 configuration file 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 execute multiple detection processes 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 according to the results of executing the multiple detection procedures to change the definition of the multiple pins 130 so that the same pins 130 has different purposes and functions after changing its function definition. Therefore, if during the execution of 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 to Check again whether the operation of the pin 1300 and the surrounding 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. 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、轉速計(Tachometer,簡稱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, UART) module 203, Pulse Width Modulation (PWM) module 204, Tachometer (TACH) module 205, universal input and output ( General-purpose input/output (GPIO) module 206, Joint Test Action Group (JTAG) module 207, Serial Peripheral Interface (SPI) module 208, double data A Double Data Rate (DDR) module 209, a Local Area Network (LAN) module 210, and an Analog-to-Digital Converter (ADC) module 211. 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 transceiver module 203 is used to detect the universal asynchronous transceiver 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 and output module 206 is used to detect whether the general-purpose input and 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 system control unit register 120; 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 according 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 The unit register 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 control the system control unit The register 120 stores the definition of the function of the pin 130 to check whether the analog-to-digital converter of the baseboard management controller 100 is operating normally.

值得瞭解的,上述多個接腳130中有部分接腳130具有多項功能(Multi functions),而每一項功能對應至上述多個檢測模組中的其一個檢測模組。舉例來說,脈衝寬度調變模組204和轉速計模組205可共用部分的接腳130,並藉由共用的接腳130檢測風扇的脈衝寬度調變及轉速是否正常。It is worth noting 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 may generate an inspection report based on the result of executing the above inspection procedure. Wherein, the test report may not only include test results, but also related test modification suggestions (for example: modification suggestions for the hardware circuit profile 114 to adjust the definition of the function of the pin 130). Furthermore, in one 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進行檢測之方法的流程圖。所述的方法包含以下步驟:Please refer to FIG. 3. FIG. 3 is a flowchart of a method for detecting the baseboard management controller 100 and multiple peripheral hardware components 150 of the server 10 in FIG. 1 according to an embodiment of the present invention. The described method includes the following steps:

步驟S310:設定基板管理控制器100所使用的硬體線路設定檔114,以對基板管理控制器100的多個接腳130的功能進行定義;Step S310: Set the hardware circuit profile 114 used by the baseboard management controller 100 to define the functions of the multiple pins 130 of the baseboard management controller 100;

步驟S320:基板管理控制器100載入硬體線路設定檔114;以及Step S320: the baseboard management controller 100 loads the hardware circuit profile 114; and

步驟S330:基板管理控制器100執行檢測程式112,以依據硬體線路設定檔114執行多個檢測程序,進而檢測接腳130及多個週邊硬體元件150之操作是否正常。Step S330: The baseboard management controller 100 executes the detection program 112 to execute a plurality of detection procedures according to the hardware circuit profile 114, and then detects 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 that 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 time for hardware debugging. The above are only the preferred embodiments of the present invention, and all changes and modifications made in accordance with the patent application scope of the present invention shall fall within the scope of the present invention.

10:伺服器 100:基板管理控制器 110:韌體112:檢測程式114:硬體線路設定檔120:系統控制單元暫存器130:接腳150:週邊硬體元件201:系統控制單元模組202:積體電路匯流排模組203:通用非同步收發傳輸器模組204:脈衝寬度調變模組205:轉速計模組206:通用型之輸入輸出模組207:聯合測試工作群組模組208:序列周邊介面模組209:雙倍資料率模組210:區域網路模組211:類比數位轉換器模組S310至S330:步驟 10: Server 100: baseboard management controller 110: Firmware 112: Detection program 114: Hardware circuit profile 120: System control unit register 130: Pin 150: Peripheral hardware components 201: System control unit module 202: Integrated circuit bus module 203 : Universal Asynchronous Transceiver Module 204: Pulse Width Modulation Module 205: Tachometer Module 206: Universal Input and Output Module 207: Joint Test Working Group Module 208: Serial Peripheral Interface Module 209: Double data rate module 210: LAN module 211: Analog-to-digital converter module S310 to S330: steps

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

S310至S330:步驟 S310 to S330: steps

Claims (10)

一種伺服器之檢測方法,該伺服器包括一基板管理控制器,該基板管理控制器具有多個接腳,該些接腳係耦接多個週邊硬體元件,該伺服器之檢測方法包含: 設定該基板管理控制器所使用的一硬體線路設定檔,以對該基板管理控制器的該些接腳的功能進行定義; 該基板管理控制器載入該硬體線路設定檔;以及 該基板管理控制器執行一檢測程式,以依據該硬體線路設定檔執行多項檢測程序,進而檢測該些接腳及該些週邊硬體元件之操作是否正常。A detection method of a server, the server includes a baseboard management controller, the baseboard management controller has a plurality of pins, the pins are coupled to a plurality of peripheral hardware components, the detection method of the server includes: Set a hardware circuit profile used by the baseboard management controller to define the functions of the pins of the baseboard management controller; the baseboard management controller loads the hardware circuit profile; and the baseboard The management controller executes a detection program to execute multiple detection procedures according to the hardware circuit profile, and then detects whether the operations of the pins and the peripheral hardware components are normal. 如請求項1所述之伺服器之檢測方法,另包含: 透過簡單檔案傳輸協定將該檢測程式連同該硬體線路設定檔傳送給該基板管理控制器。The detection method of the server as described in claim 1, further comprising: sending 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 server detection method according to claim 1, further comprising: the baseboard management controller adjusts the hardware circuit profile according to the results of executing the detection procedures to change the definition of the pins; and according to The adjusted hardware circuit profile executes the detection program to detect again whether the operations of the pins and the peripheral hardware components coupled to the pins are normal. 如請求項4所述之伺服器之檢測方法,其中該基板管理控制器包含一系統控制單元暫存器,用以儲存該基板管理控制器對於該些接腳之功能的定義,而該基板管理控制器透過調整該系統控制單元暫存器所儲存對於該些接腳之功能的定義調整該硬體線路設定檔。The server detection method according to claim 4, wherein the baseboard management controller includes a system control unit register for storing the definition of the baseboard management controller for the functions of the pins, and the baseboard management The controller adjusts the hardware circuit profile by adjusting the definition of the functions of the pins stored in the system control unit register. 如請求項5所述之伺服器之檢測方法,其中該檢測程式包含多個檢測模組,每一該些檢測模組係執行一對應的檢測程序,以對該些週邊硬體元件中對應的週邊硬體元件進行檢測。The detection method for a server according to claim 5, 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. 如請求項6所述之伺服器之檢測方法,其中該些接腳中有部分接腳具有多項功能,而每項功能對應至該些檢測模組其中之一。According to the detection method of the server according to claim 6, some of the pins have multiple functions, and each function corresponds to one of the detection modules. 如請求項6所述之伺服器之檢測方法,其中該些檢測模組係選自由下列所組成之群組: 一系統控制單元模組,用以對該系統控制單元暫存器進行設定,以調整該系統控制單元暫存器所儲存對於該些接腳之功能的定義; 一積體電路匯流排模組,用以依據該硬體線路設定檔,檢測耦接於該基板管理控制器的一積體電路匯流排之裝置的操作是否正常; 一通用非同步收發傳輸器模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測耦接於該基板管理控制器的一通用非同步收發傳輸器介面的裝置之操作是否正常; 一脈衝寬度調變模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測耦接於該基板管理控制器之風扇的脈衝寬度調變是否正常; 一轉速計模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測耦接於該基板管理控制器之風扇的轉速是否正常; 一通用型之輸入輸出模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測該基板管理控制器的一通用型之輸入輸出介面之操作是否正常; 一聯合測試工作群組模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測該基板管理控制器的一聯合測試工作群組介面之操作是否正常; 一序列周邊介面模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測耦接於該基板管理控制器的一序列周邊介面的裝置之操作是否正常; 一雙倍資料率模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測耦接於該基板管理控制器的一雙倍資料率介面的記憶體之操作是否正常; 一區域網路模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測耦接於該基板管理控制器的一網路介面的操作是否正常;以及 一類比數位轉換器模組,用以依據該系統控制單元暫存器所儲存對於該些接腳之功能的定義,檢測該基板管理控制器的一類比數位轉換器之操作是否正常。The server detection method according to claim 6, 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 system control unit register; 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 system control unit register Whether the operation of a universal asynchronous transceiver interface device of the management controller is normal; a pulse width modulation module for detecting 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 the function of the pins according to the definition of the functions of the pins stored in the system control unit register Whether the speed of the fan of the baseboard management controller is normal; a universal input and output module for detecting the function of the baseboard management controller according to the definition of the functions of the pins stored in the register of the system control unit Whether the operation of a general-purpose input and output interface is normal; a joint test work group module for detecting the function of the baseboard management controller according to the definition of the functions of the pins stored in the system control unit register A joint test work group interface is operating normally; a sequence of peripheral interface modules for detecting the connection to the baseboard management controller according to the definition of the functions of the pins stored in the system control unit register A series of peripheral interface devices are operating normally; a double data rate module for detecting the function definition of the pins stored in the system control unit register to detect the connection to the substrate management control The operation of the memory of a double data rate interface of the device is normal; a local area network module is used to detect the function of the pins according to the definition of the functions of the pins stored in the register of the system control unit. Whether the operation of a network interface of the baseboard management controller is normal; and an analog-to-digital converter module for detecting the baseboard management control according to the definition of the functions of the pins stored in the system control unit register Whether the operation of an analog-to-digital converter is normal. 如請求項1所述之伺服器之檢測方法,另包含: 該基板管理控制器依據執行該些檢測程序的結果,產生一檢測報告,而該檢測報告包含一檢測結果。The server inspection method according to claim 1, further comprising: the baseboard management controller generates a test report according to the results of executing the test procedures, and the test report includes a test 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 true TW202022610A (en) 2020-06-16
TWI742323B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114637538A (en) * 2020-12-15 2022-06-17 技嘉科技股份有限公司 Baseboard management control system, electronic device and baseboard 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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7228566B2 (en) * 2001-07-10 2007-06-05 Core Sdi, Incorporated Automated computer system security compromise
US8532095B2 (en) * 2005-11-18 2013-09-10 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
US10055296B2 (en) * 2015-10-30 2018-08-21 Quanta Computer Inc. System and method for selective BIOS restoration

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114637538A (en) * 2020-12-15 2022-06-17 技嘉科技股份有限公司 Baseboard management control system, electronic device and baseboard management control method
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

Also Published As

Publication number Publication date
TWI742323B (en) 2021-10-11

Similar Documents

Publication Publication Date Title
TWI742323B (en) Method for detecting a server
ES2724523T3 (en) USB device enumeration method that includes detecting a type of USB host operating system
TWI576706B (en) Method for early boot phase and the related device
US20170031694A1 (en) System and method for remote system configuration managment
US20170192768A1 (en) Updating system of firmware of complex programmable logic device and updating method thereof
US20170286097A1 (en) Method to prevent operating system digital product key activation failures
US20120137027A1 (en) System and method for monitoring input/output port status of peripheral devices
US7610482B1 (en) Method and system for managing boot trace information in host bus adapters
TWI604304B (en) Electronic apparatus and detection method using the same
TW201222239A (en) Testing method for a unit under test
TW201305813A (en) Computer system and diagnostic method thereof
US20150186317A1 (en) Method and apparatus for detecting the initiator/target orientation of a smart bridge
TWI553490B (en) Method and system for remote system configuration management and non-transitory computer-readable storage medium
TW202036293A (en) Computer system and debugging method thereof
US20090070574A1 (en) Remote diagnostic apparatus
CN111221684B (en) Detection method of server
TW202018312A (en) Testing system
US11113166B2 (en) Monitoring system and method with baseboard management controller
TW201527965A (en) System and method for detecting a BIOS test process of a computer
TWI660267B (en) Boot testing apparatus, system and method thereof
TW201821986A (en) Mainboard and setting updating method thereof
TWI748241B (en) Debug message automatically providing method of bios
TWI807947B (en) Method and device of updating and testing plurality of embedded controllers
TWI726434B (en) Control method for solving abnormal operation of me
TWI835547B (en) Troubleshooting method for retimer