TW202022610A - Method for detecting a server - Google Patents
Method for detecting a server Download PDFInfo
- 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
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
本發明是有關於一種伺服器的檢測方法,且特別是有關於一種基於一硬體線路設定檔而對伺服器的基板管理控制器(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
為方便、快速地檢測基板管理控制器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
在本發明一實施例中,基板管理控制器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
請參考第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
值得瞭解的,上述多個接腳130中有部分接腳130具有多項功能(Multi functions),而每一項功能對應至上述多個檢測模組中的其一個檢測模組。舉例來說,脈衝寬度調變模組204和轉速計模組205可共用部分的接腳130,並藉由共用的接腳130檢測風扇的脈衝寬度調變及轉速是否正常。It is worth noting that some of the
在本發明一實施例中,基板管理控制器100可依據執行上述檢測程序的結果,產生檢測報告。其中,檢測報告除了可包含檢測結果之外,還可包含相關的檢測修改建議(例如:對於硬體線路設定檔114的修改建議,以調整接腳130之功能的定義)。再者,在本發明一實施例中,韌體110可為開放式基板管理控制器(OpenBMC)的韌體;而在本發明另一實施例中,韌體110可為美國安邁科技(American Megatrends Inc.;AMI)所提供的韌體。In an embodiment of the present invention, the
請參考第3圖,第3圖是本發明一實施例對第1圖的伺服器10的基板管理控制器100及多個週邊硬體元件150進行檢測之方法的流程圖。所述的方法包含以下步驟:Please refer to FIG. 3. FIG. 3 is a flowchart of a method for detecting the
步驟S310:設定基板管理控制器100所使用的硬體線路設定檔114,以對基板管理控制器100的多個接腳130的功能進行定義;Step S310: Set the
步驟S320:基板管理控制器100載入硬體線路設定檔114;以及Step S320: the
步驟S330:基板管理控制器100執行檢測程式112,以依據硬體線路設定檔114執行多個檢測程序,進而檢測接腳130及多個週邊硬體元件150之操作是否正常。Step S330: The
綜上所述,本發明透過為基板管理控制器預備硬體線路設定檔的方式,對基板管理控制器的多個接腳的功能進行定義。之後,基板管理控制器執行檢測程式,以依據硬體線路設定檔執行多項檢測程序,進而檢測基板管理控制器的多個接腳與多個週邊硬體元件之操作是否正常。由於硬體線路設定檔可動態地調整,故可提高整體檢測的效率。此外,相較於人工檢測須花費大量的時間,透過本發明的方法可大幅地減少檢測時間。因此,本發明之方法特別適合用於資訊設備生產之前的孕育階段(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)
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)
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)
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 |
-
2018
- 2018-12-05 TW TW107143608A patent/TWI742323B/en active
Cited By (4)
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 |