TW201527965A - System and method for detecting a BIOS test process of a computer - Google Patents
System and method for detecting a BIOS test process of a computer Download PDFInfo
- Publication number
- TW201527965A TW201527965A TW103100180A TW103100180A TW201527965A TW 201527965 A TW201527965 A TW 201527965A TW 103100180 A TW103100180 A TW 103100180A TW 103100180 A TW103100180 A TW 103100180A TW 201527965 A TW201527965 A TW 201527965A
- Authority
- TW
- Taiwan
- Prior art keywords
- computer
- post
- serial
- bios
- gpio
- Prior art date
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
本發明涉及一種電腦BIOS調試系統及方法,尤其涉及一種基於基板控制器(BMC)之BIOS調試偵測系統及方法。The invention relates to a computer BIOS debugging system and method, in particular to a BIOS debugging detection system and method based on a substrate controller (BMC).
基於調試BIOS(basic input-output system,基本輸入輸出系統)需要,硬體工程師在設計伺服器時候,一般有兩種途徑用來調試BIOS。一種利用是COM口,另一種是利用開機檢測(power-on self test,POST)LED指示燈。處於產品安全性考慮,COM口一般會在產品量產後被去掉。此種情況下,驅動LED就成為用戶瞭解BIOS運行狀況及維修人員調試BIOS之唯一之途徑了。目前業界關於利用開機檢測LED指示燈來調試BIOS,主要是採用外接卡來顯示調試訊息。其外接卡為一種可程式設計器件及七段顯示管之小積體電路,設計相對較為複雜,每一主機板都要配備一種連接埠,造成浪費電子器件之問題。另,每次伺服器開機出現問題時,均需要關機後接上外接卡再進行調試,但是對於某些隨機性問題有可能關機之後就很難複製,造成調試之不方便。Based on the need for a BIOS (basic input-output system), hardware engineers generally have two ways to debug the BIOS when designing the server. One use is a COM port, and the other is a power-on self test (POST) LED indicator. In terms of product safety, the COM port is generally removed after mass production. In this case, driving the LED becomes the only way for the user to understand the BIOS operating status and the maintenance personnel to debug the BIOS. At present, the industry uses the boot detection LED indicator to debug the BIOS, mainly using an external card to display debugging information. The external card is a small integrated circuit of a programmable device and a seven-segment display tube. The design is relatively complicated, and each motherboard must be equipped with a connection port, which causes a problem of wasting electronic devices. In addition, each time there is a problem with the server booting, it is necessary to turn off the external card and then debug it. However, for some random problems, it may be difficult to copy after shutting down, which makes the debugging inconvenient.
鑒於以上內容,有必要提供一種BIOS調試偵測系統及方法,能夠自動將電腦之POST資訊碼及電腦之系統狀態碼顯示在LED指示燈上,進而使測試人員能夠直觀地瞭解BIOS之調試過程。In view of the above, it is necessary to provide a BIOS debugging detection system and method, which can automatically display the POST information code of the computer and the system status code of the computer on the LED indicator, thereby enabling the tester to intuitively understand the debugging process of the BIOS.
所述之BIOS調試偵測系統運行於電腦中,該電腦包括BMC控制器、PCH晶片、串並行轉換器及LED面板。該系統包括:BIOS啟動模組,用於當電腦開機時啟動BIOS執行電腦之開機自檢POST過程,利用BIOS將BMC控制器上之GPIO埠之GPIO值設置為低電平,及藉由檢測GPIO埠之GPIO值來判斷電腦是否處於執行POST過程中;POST資訊偵測模組,當電腦處於執行POST過程中,於PCH晶片中獲取電腦執行POST過程所產生之POST資訊碼,將POST資訊碼發送至串並行轉換器,將POST資訊碼中之每一邏輯數位按順序在LED面板上指定一個對應之LED指示燈,及利用串並行轉換器控制LED面板上之LED指示燈顯示POST資訊碼對應之邏輯數位;系統資訊偵測模組,用於當POST過程已經執行完畢時,於PCH晶片中獲取電腦之系統狀態碼,將系統狀態碼發送至串並行轉換器,將系統狀態碼中之每一邏輯數位按順序在LED面板上指定一個對應之LED指示燈,及利用串並行轉換器控制LED面板上之LED指示燈顯示系統狀態碼對應之邏輯數位。The BIOS debug detection system runs on a computer, and the computer includes a BMC controller, a PCH chip, a serial-parallel converter, and an LED panel. The system comprises: a BIOS startup module, which is used to start the BIOS when the computer is powered on to perform a POST process of the computer, and to use the BIOS to set the GPIO value of the GPIO on the BMC controller to a low level, and to detect the GPIO.埠 GPIO value to determine whether the computer is in the process of performing POST; POST information detection module, when the computer is in the process of performing POST, obtain the POST information code generated by the computer performing the POST process on the PCH chip, and send the POST information code To the serial-to-parallel converter, each logical digit in the POST information code is sequentially assigned a corresponding LED indicator on the LED panel, and the LED indicator on the LED panel is controlled by the serial-parallel converter to display the corresponding POST information code. Logic digits; system information detection module, configured to acquire a system status code of the computer in the PCH chip when the POST process has been executed, send the system status code to the serial-parallel converter, and each of the system status codes The logical digits specify a corresponding LED indicator on the LED panel in sequence, and the LED indicator on the LED panel is controlled by the serial-parallel converter to display the system status code corresponding Digital logic.
所述之BIOS調試偵測方法應行於電腦中,該電腦包括BMC控制器、PCH晶片、串並行轉換器及LED面板。該方法包括步驟:當電腦開機時啟動BIOS執行電腦之開機自檢POST過程,利用BIOS將BMC控制器上之GPIO埠之GPIO值設置為低電平;藉由檢測GPIO埠之GPIO值來判斷電腦是否處於執行POST過程中;當電腦處於執行POST過程中,於PCH晶片中獲取電腦執行POST過程所產生之POST資訊碼,將POST資訊碼發送至串並行轉換器,將POST資訊碼中之每一邏輯數位按順序在LED面板上指定一個對應之LED指示燈,及利用串並行轉換器控制LED面板上之LED指示燈顯示POST資訊碼對應之邏輯數位;當POST過程已經執行完畢時,於PCH晶片中獲取電腦之系統狀態碼,將系統狀態碼發送至串並行轉換器,將系統狀態碼中之每一邏輯數位按順序在LED面板上指定一個對應之LED指示燈,及利用串並行轉換器控制LED面板上之LED指示燈顯示系統狀態碼對應之邏輯數位。The BIOS debug detection method should be implemented in a computer, which includes a BMC controller, a PCH chip, a serial-parallel converter, and an LED panel. The method comprises the steps of: starting the BIOS when the computer is turned on, performing a POST process of the computer, and using the BIOS to set the GPIO value of the GPIO on the BMC controller to a low level; determining the computer by detecting the GPIO value of the GPIO埠Whether it is in the process of performing POST; when the computer is in the process of performing POST, the POST information code generated by the computer performing the POST process is acquired in the PCH chip, and the POST information code is sent to the serial-parallel converter, and each of the POST information codes is The logic digits specify a corresponding LED indicator on the LED panel in sequence, and the LED indicator on the LED panel is controlled by the serial-parallel converter to display the logical digit corresponding to the POST information code; when the POST process has been completed, the PCH chip is executed. Obtain the system status code of the computer, send the system status code to the serial-parallel converter, assign a corresponding LED indicator to the LED panel in sequence, and use a serial-parallel converter to control The LED indicator on the LED panel displays the logical digit corresponding to the system status code.
相較於習知技術,當調試人員利用BIOS對電腦進行POST過程中,本發明所述之BIOS調試偵測系統及方法能夠自動獲取POST資訊碼並將其顯示在LED指示燈上;當電腦進行開機自檢測試結束後,能夠自動獲取電腦之系統狀態碼並將其顯示在LED指示燈上,進而使測試人員能夠直觀地瞭解BIOS之調試過程。Compared with the prior art, when the debugger uses the BIOS to perform POST on the computer, the BIOS debugging detection system and method of the present invention can automatically obtain the POST information code and display it on the LED indicator; After the boot test, the system status code of the computer can be automatically obtained and displayed on the LED indicator, so that the tester can intuitively understand the BIOS debugging process.
圖1係本發明BIOS調試偵測系統較佳實施例之運行環境示意圖。1 is a schematic diagram of an operating environment of a preferred embodiment of the BIOS debug detection system of the present invention.
圖2係本發明BIOS調試偵測系統之功能模組圖。2 is a functional block diagram of the BIOS debug detection system of the present invention.
圖3係本發明BIOS調試偵測方法較佳實施例之流程圖。3 is a flow chart of a preferred embodiment of the BIOS debug detection method of the present invention.
參閱圖1所示,係本發明BIOS調試偵測系統10較佳實施例之運行環境示意圖。於本實施例中,所述之BIOS調試偵測系統10安裝並運行於電腦100中,該電腦包括BMC(Base management controller)控制器1、南橋(Platform controller hub,PCH)晶片2、串並行轉換器(Switch)3、LED面板4、跳線設置器5、及中央處理器(CPU)6。所述之BMC控制器1藉由LPC(Low Pin Count)匯流排21與PCH晶片2相連接,並藉由GPIO匯流排31與串並行轉換器3相連接。所述之串並行轉換器3電氣連接至LED面板4,該LED面板4係由八個分別用於顯示邏輯數位“0”及邏輯數位“1”之LED指示燈40組成,每一LED指示燈40是一種由七段LED顯示管組成。所述之電腦100可以為一種個人電腦(PC)、工作站電腦(Workstation computer)、筆記本電腦(Notebook)、伺服器(Server)或者其他電子計算裝置。Referring to FIG. 1, a schematic diagram of an operating environment of a preferred embodiment of the BIOS debug detection system 10 of the present invention is shown. In this embodiment, the BIOS debug detection system 10 is installed and runs in the computer 100. The computer includes a BMC (Base management controller) controller 1, a South Bridge (Platform controller hub (PCH) chip 2, and a serial-to-parallel conversion. Switch 3, LED panel 4, jumper setter 5, and central processing unit (CPU) 6. The BMC controller 1 is connected to the PCH chip 2 via an LPC (Low Pin Count) bus bar 21, and is connected to the serial-parallel converter 3 via a GPIO bus bar 31. The serial-to-parallel converter 3 is electrically connected to the LED panel 4, and the LED panel 4 is composed of eight LED indicators 40 for displaying a logical digit “0” and a logical digit “1”, respectively. 40 is a seven-segment LED display tube. The computer 100 can be a personal computer (PC), a workstation computer, a notebook, a server, or other electronic computing device.
所述之BMC控制器1還包括GPIO埠11,所述之跳線設置器5用於設置一根跳線連接至GPIO埠11上。所述之PCH晶片2包括基本輸入輸出系統(basic input-output system,BIOS)20,該BIOS 20對電腦100進行開機自檢(Power On Self Test,POST)程式並引導電腦100正常導入作業系統(OS)而完成整個開機過程。The BMC controller 1 further includes a GPIO port 11, and the jumper setter 5 is configured to connect a jumper to the GPIO port 11. The PCH chip 2 includes a basic input-output system (BIOS) 20 that performs a Power On Self Test (POST) program on the computer 100 and directs the computer 100 to the operating system ( OS) completes the entire boot process.
參閱圖2所示,係本發明BIOS調試偵測系統10之功能模組圖。於本實施例中,所述之BIOS調試偵測系統10包括BIOS啟動模組101、POST資訊偵測模組102、系統資訊偵測模組103及跳線偵測模組104。本發明所稱之功能模組是指一種能夠被電腦100之中央處理器6所執行並且能夠完成固定功能之一系列程式指令段,其儲存在BMC控制器1之Flash記憶體(例如Flash ROM)中。關於各功能模組101-104將在圖3之流程圖中作詳細描述。Referring to FIG. 2, it is a functional module diagram of the BIOS debug detection system 10 of the present invention. In the embodiment, the BIOS debugging detection system 10 includes a BIOS startup module 101, a POST information detection module 102, a system information detection module 103, and a jumper detection module 104. The functional module referred to in the present invention refers to a series of program instruction segments that can be executed by the central processing unit 6 of the computer 100 and can perform fixed functions, and are stored in the flash memory of the BMC controller 1 (for example, Flash ROM). in. The respective function modules 101-104 will be described in detail in the flowchart of FIG.
參閱圖3所示,係本發明BIOS調試偵測方法較佳實施例之流程圖。於本實施例中,該方法應用於電腦100中,當測試人員利用BIOS 20對電腦100進行開機自檢(POST)調試過程中,該方法能夠自動獲取POST資訊碼並將其顯示在LED指示燈40上。當電腦100進行開機自檢測試結束後,該方法能夠自動獲取電腦100之系統狀態碼並將其顯示在LED指示燈40上,進而使測試人員能夠直觀地瞭解BIOS調試過程。Referring to FIG. 3, it is a flowchart of a preferred embodiment of the BIOS debug detection method of the present invention. In the embodiment, the method is applied to the computer 100. When the tester uses the BIOS 20 to perform a power-on self-test (POST) debugging process on the computer 100, the method can automatically obtain the POST information code and display it in the LED indicator. 40 on. After the computer 100 performs the boot self-test test, the method can automatically obtain the system status code of the computer 100 and display it on the LED indicator 40, thereby enabling the tester to intuitively understand the BIOS debugging process.
步驟S31,當電腦100開機時,BIOS啟動模組101啟動BIOS 20執行電腦100之POST過程,並利用BIOS 20將GPIO埠11之GPIO值設置為低電平。於本實施例中,低電平設置為邏輯“0”,高電平設置為邏輯“1”。當POST過程執行完畢後,BIOS啟動模組101自動將GPIO埠11之GPIO值設置為高電平。In step S31, when the computer 100 is powered on, the BIOS startup module 101 starts the BIOS 20 to execute the POST process of the computer 100, and uses the BIOS 20 to set the GPIO value of the GPIO 埠 11 to a low level. In the present embodiment, the low level is set to logic "0" and the high level is set to logic "1". When the POST process is completed, the BIOS boot module 101 automatically sets the GPIO value of GPIO 埠 11 to a high level.
步驟S32,BIOS啟動模組101藉由檢測GPIO埠11之GPIO值來判斷電腦100是否處於執行POST過程中。於本實施例中,當GPIO埠11之GPIO值為低電平時,BIOS啟動模組101判定電腦100正在執行POST過程;若當GPIO埠11之GPIO值為高電平時,BIOS啟動模組101判定電腦100已經執行完畢POST過程。若電腦100處於執行POST過程中,則流程轉向步驟S33;若電腦100已經執行完畢POST過程,則流程轉向步驟S36。In step S32, the BIOS startup module 101 determines whether the computer 100 is in the process of performing POST by detecting the GPIO value of the GPIO port 11. In this embodiment, when the GPIO value of the GPIO埠11 is low, the BIOS startup module 101 determines that the computer 100 is performing the POST process; if the GPIO value of the GPIO埠11 is high, the BIOS startup module 101 determines The computer 100 has performed the POST process. If the computer 100 is in the process of performing the POST, the flow proceeds to step S33; if the computer 100 has completed the POST process, the flow proceeds to step S36.
步驟S33,POST資訊偵測模組102藉由LPC匯流排21於PCH晶片2中獲取電腦100執行POST過程所產生之POST資訊碼。於本實施例中,所述之POST資訊碼為一由邏輯數位“0”及邏輯數位“1”組成之八進制碼,例如,若電腦100檢測記憶體時產生之POST資訊碼為“00000000”時,則表示記憶體檢測錯誤;若產生之POST資訊碼為“11111111”,則表示記憶體檢測成功。In step S33, the POST information detecting module 102 acquires the POST information code generated by the computer 100 to perform the POST process on the PCH chip 2 through the LPC bus bar 21. In the embodiment, the POST information code is an octal code consisting of a logical digit “0” and a logical digit “1”. For example, if the POST information code generated when the computer 100 detects the memory is “00000000” , it means that the memory detection error; if the generated POST information code is "11111111", it means that the memory detection is successful.
步驟S34,POST資訊偵測模組102藉由GPIO匯流排31將POST資訊碼發送至串並行轉換器3,並將POST資訊碼中每一邏輯數位按順序在LED面板4上指定一個對應之LED指示燈40。In step S34, the POST information detecting module 102 sends the POST information code to the serial-parallel converter 3 through the GPIO bus bar 31, and assigns a corresponding LED on the LED panel 4 in order for each logical digit in the POST information code. Indicator light 40.
步驟S35,POST資訊偵測模組102利用串並行轉換器3控制LED面板4上之LED指示燈40顯示POST資訊碼對應之邏輯數位。例如,當電腦100檢測記憶體時產生之POST資訊碼為“11111111”,則LED面板4上之每一LED指示燈40均顯示為數位“1”,表明電腦100之記憶體檢測正常。當電腦100檢測記憶體時產生之POST資訊碼為“00000000”,則LED面板4上之每一LED指示燈40均顯示為數位“0”,表明電腦100之記憶體檢測錯誤。In step S35, the POST information detecting module 102 controls the LED indicator 40 on the LED panel 4 to display the logical digit corresponding to the POST information code by using the serial-parallel converter 3. For example, when the POST information code generated when the computer 100 detects the memory is “11111111”, each LED indicator 40 on the LED panel 4 is displayed as a digit “1”, indicating that the memory detection of the computer 100 is normal. When the POST information code generated when the computer 100 detects the memory is “00000000”, each LED indicator 40 on the LED panel 4 is displayed as a digit “0”, indicating that the memory of the computer 100 is detected incorrectly.
步驟S36,系統資訊偵測模組103藉由LPC匯流排21於PCH晶片2中獲取電腦100之系統狀態碼。於本實施例中,所述之系統狀態碼也是一種由邏輯數位“0”及邏輯數位“1”組成之八進制碼,例如,當電腦100之系統狀態為非正常時,該系統資訊偵測模組103獲取之系統狀態碼為“00000000”;當電腦100之系統狀態為正常時,系統資訊偵測模組103獲取之系統狀態碼為“11111111”。In step S36, the system information detecting module 103 acquires the system status code of the computer 100 in the PCH chip 2 through the LPC bus bar 21. In this embodiment, the system status code is also an octal code consisting of a logical digit “0” and a logical digit “1”. For example, when the system state of the computer 100 is abnormal, the system information detection mode is used. The system status code obtained by the group 103 is "00000000"; when the system status of the computer 100 is normal, the system status code obtained by the system information detecting module 103 is "11111111".
步驟S37,系統資訊偵測模組103藉由GPIO匯流排31將系統狀態碼發送至串並行轉換器3,並將系統狀態碼中之每一邏輯數位按順序在LED面板4上指定對應之LED指示燈40。In step S37, the system information detecting module 103 sends the system status code to the serial-parallel converter 3 through the GPIO bus bar 31, and assigns each corresponding logical digit in the system status code to the corresponding LED on the LED panel 4 in order. Indicator light 40.
步驟S38,系統資訊偵測模組103利用串並行轉換器3控制LED面板4上之LED指示燈40顯示系統狀態碼對應之邏輯數位。例如,當電腦100之系統狀態碼為“11111111”,則每一LED指示燈40均顯示為數位“1”,表明電腦100之系統狀態正常。當電腦100之系統狀態碼為“00000000”時,則每一LED指示燈40均顯示為數位“0”,表明電腦100之系統狀態非正常,可能發生錯誤。In step S38, the system information detecting module 103 controls the LED indicator 40 on the LED panel 4 to display the logical digit corresponding to the system status code by using the serial-parallel converter 3. For example, when the system status code of the computer 100 is "11111111", each LED indicator 40 is displayed as a digit "1", indicating that the system state of the computer 100 is normal. When the system status code of the computer 100 is "00000000", each LED indicator 40 is displayed as a digit "0", indicating that the system state of the computer 100 is abnormal, and an error may occur.
於本實施例中,測試人員可以利用跳線設置器5在GPIO埠11上設置一根跳線,在電腦100執行POST工程中自動連接至GPIO埠11上。所述之跳線偵測模組104即時偵測所述設置之跳線是否連接至GPIO埠11上。若所述跳線連接至GPIO埠11上,則POST資訊偵測模組102利用串並行轉換器3控制LED面板4上之LED指示燈40顯示POST資訊碼,進而讓測試人員瞭解電腦100之POST資訊;若所述跳線沒有連接至GPIO埠11上,則系統資訊偵測模組103利用串並行轉換器3控制LED面板4上之LED指示燈40顯示系統狀態碼,進而讓測試人員瞭解電腦100之系統狀態資訊。In this embodiment, the tester can use the jumper setter 5 to set a jumper on the GPIO 埠 11 to automatically connect to the GPIO 埠 11 during the POST project performed by the computer 100. The jumper detection module 104 immediately detects whether the set jumper is connected to the GPIO port 11. If the jumper is connected to the GPIO port 11, the POST information detecting module 102 controls the LED indicator 40 on the LED panel 4 to display the POST information code by using the serial-parallel converter 3, thereby allowing the tester to understand the POST of the computer 100. If the jumper is not connected to the GPIO 埠 11, the system information detecting module 103 controls the LED indicator 40 on the LED panel 4 to display the system status code by using the serial-parallel converter 3, thereby allowing the tester to understand the computer. 100 system status information.
以上所述僅為本發明之較佳實施例而已,且已達廣泛之使用功效,凡其他未脫離本發明所揭示之精神下所完成之均等轉換或修飾,均應包含於下述之申請專利範圍內。The above is only the preferred embodiment of the present invention, and has been used in a wide range of applications. Any other equivalent conversion or modification that is not in the spirit of the present invention should be included in the following patent application. Within the scope.
100‧‧‧電腦100‧‧‧ computer
1‧‧‧BMC控制器1‧‧‧BMC controller
10‧‧‧BIOS調試偵測系統10‧‧‧BIOS debug detection system
101‧‧‧BIOS啟動模組101‧‧‧BIOS boot module
102‧‧‧POST資訊偵測模組102‧‧‧POST Information Detection Module
103‧‧‧系統資訊偵測模組103‧‧‧System Information Detection Module
104‧‧‧跳線偵測模組104‧‧‧jumper detection module
11‧‧‧GPIO埠11‧‧‧GPIO埠
2‧‧‧PCH晶片2‧‧‧PCH chip
20‧‧‧BIOS20‧‧‧BIOS
21‧‧‧LPC匯流排21‧‧‧LPC bus
3‧‧‧串並行轉換器3‧‧‧Serial Parallel Converter
31‧‧‧GPIO匯流排31‧‧‧GPIO bus
4‧‧‧LED面板4‧‧‧LED panel
40‧‧‧LED指示燈40‧‧‧LED indicator
5‧‧‧跳線設置器5‧‧‧Jumper Setter
6‧‧‧中央處理器6‧‧‧Central processor
無no
100‧‧‧電腦 100‧‧‧ computer
1‧‧‧BMC控制器 1‧‧‧BMC controller
10‧‧‧BIOS調試偵測系統 10‧‧‧BIOS debug detection system
11‧‧‧GPIO埠 11‧‧‧GPIO埠
2‧‧‧PCH晶片 2‧‧‧PCH chip
20‧‧‧BIOS 20‧‧‧BIOS
21‧‧‧LPC匯流排 21‧‧‧LPC bus
3‧‧‧串並行轉換器 3‧‧‧Serial Parallel Converter
31‧‧‧GPIO匯流排 31‧‧‧GPIO bus
4‧‧‧LED面板 4‧‧‧LED panel
40‧‧‧LED指示燈 40‧‧‧LED indicator
5‧‧‧跳線設置器 5‧‧‧Jumper Setter
6‧‧‧中央處理器 6‧‧‧Central processor
Claims (10)
BIOS啟動模組,用於當電腦開機時啟動BIOS執行電腦之開機自檢POST過程,利用BIOS將BMC控制器上之GPIO埠之GPIO值設置為低電平,及藉由檢測GPIO埠之GPIO值來判斷電腦是否處於執行POST過程中;
POST資訊偵測模組,當電腦處於執行POST過程中,於PCH晶片中獲取電腦執行POST過程所產生之POST資訊碼,將POST資訊碼發送至串並行轉換器,將POST資訊碼中之每一邏輯數位按順序在LED面板上指定一個對應之LED指示燈,及利用串並行轉換器控制LED面板上之LED指示燈顯示POST資訊碼對應之邏輯數位;及
系統資訊偵測模組,用於當電腦之POST過程已經執行完畢時,於PCH晶片中獲取電腦之系統狀態碼,將系統狀態碼發送至串並行轉換器,將系統狀態碼中之每一邏輯數位按順序在LED面板上指定一個對應之LED指示燈,及利用串並行轉換器控制LED面板上之LED指示燈顯示系統狀態碼對應之邏輯數位。A BIOS debug detection system running on a computer, the computer comprising a BMC controller, a PCH chip, a serial-parallel converter and an LED panel, wherein the BIOS debug detection system comprises:
The BIOS boot module is used to start the BIOS when the computer is powered on to perform the POST process of the computer, and to use the BIOS to set the GPIO value of the GPIO on the BMC controller to a low level, and to detect the GPIO value of the GPIO. To determine if the computer is in the process of performing POST;
The POST information detection module, when the computer is in the process of performing POST, acquires the POST information code generated by the computer performing the POST process in the PCH chip, and sends the POST information code to the serial-parallel converter, and each of the POST information codes The logic digits sequentially design a corresponding LED indicator on the LED panel, and the LED indicator on the LED panel is controlled by the serial-parallel converter to display the logical digit corresponding to the POST information code; and the system information detection module is used for After the POST process of the computer has been executed, the system status code of the computer is obtained in the PCH chip, and the system status code is sent to the serial-parallel converter, and each logical digit in the system status code is sequentially designated on the LED panel. The LED indicator and the LED indicator on the LED panel using the serial-parallel converter display the logical digits corresponding to the system status code.
當電腦開機時啟動BIOS執行電腦之開機自檢POST過程,利用BIOS將BMC控制器上之GPIO埠之GPIO值設置為低電平;
藉由檢測GPIO埠之GPIO值來判斷電腦是否處於執行POST過程中;
當電腦處於執行POST過程中,於PCH晶片中獲取電腦執行POST過程所產生之POST資訊碼,將POST資訊碼發送至串並行轉換器,將POST資訊碼中之每一邏輯數位按順序在LED面板上指定一個對應之LED指示燈,及利用串並行轉換器控制LED面板上之LED指示燈顯示POST資訊碼對應之邏輯數位;及
當電腦之POST過程已經執行完畢時,於PCH晶片中獲取電腦之系統狀態碼,將系統狀態碼發送至串並行轉換器,將系統狀態碼中之每一邏輯數位按順序在LED面板上指定一個對應之LED指示燈,及利用串並行轉換器控制LED面板上之LED指示燈顯示系統狀態碼對應之邏輯數位。A BIOS debug detection method, which should be implemented in a computer, includes a BMC controller, a PCH chip, a serial-parallel converter, and an LED panel. The method includes the steps of:
When the computer is powered on, the BIOS is started to perform the POST process of the computer, and the GPIO value of the GPIO on the BMC controller is set to a low level by using the BIOS;
Determine whether the computer is in the process of performing POST by detecting the GPIO value of the GPIO埠;
When the computer is in the process of performing POST, the POST information code generated by the computer performing the POST process is acquired in the PCH chip, and the POST information code is sent to the serial-parallel converter, and each logical digit in the POST information code is sequentially in the LED panel. Specifying a corresponding LED indicator, and using the serial-parallel converter to control the LED indicator on the LED panel to display the logical digit corresponding to the POST information code; and when the POST process of the computer has been executed, acquiring the computer in the PCH chip The system status code sends the system status code to the serial-to-parallel converter, assigns each logical digit in the system status code to a corresponding LED indicator on the LED panel in sequence, and controls the LED panel by using a serial-parallel converter. The LED indicator shows the logical digit corresponding to the system status code.
即時偵測所述之GPIO埠上是否設置有跳線;
若所述之GPIO埠上設置有跳線,則利用串並行轉換器控制LED面板上之LED指示燈顯示所述POST資訊碼;
若所述之GPIO埠上沒有設置跳線,則利用串並行轉換器控制LED面板上之LED指示燈顯示所述系統狀態碼。For example, the BIOS debugging detection method described in claim 6 of the patent scope further includes the steps of:
Instantly detecting whether a jumper is set on the GPIO port;
If the GPIO port is provided with a jumper, the LED indicator on the LED panel is controlled by the serial-parallel converter to display the POST information code;
If no jumper is set on the GPIO port, the LED status indicator on the LED panel is controlled by the serial-parallel converter to display the system status code.
The BIOS debug detection method according to claim 6, wherein the serial-to-parallel converter is electrically connected to an LED panel, wherein the LED panel is respectively used for displaying logic digits “0” and logic Digital "1" LED indicator.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103100180A TW201527965A (en) | 2014-01-03 | 2014-01-03 | System and method for detecting a BIOS test process of a computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103100180A TW201527965A (en) | 2014-01-03 | 2014-01-03 | System and method for detecting a BIOS test process of a computer |
Publications (1)
Publication Number | Publication Date |
---|---|
TW201527965A true TW201527965A (en) | 2015-07-16 |
Family
ID=54198249
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW103100180A TW201527965A (en) | 2014-01-03 | 2014-01-03 | System and method for detecting a BIOS test process of a computer |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW201527965A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI582699B (en) * | 2016-03-18 | 2017-05-11 | 神雲科技股份有限公司 | Boot Status Notification Method and Server System Using the Same |
CN108153625A (en) * | 2016-12-06 | 2018-06-12 | 佛山市顺德区顺达电脑厂有限公司 | The method for recording System self-test mistake |
TWI666556B (en) * | 2018-03-27 | 2019-07-21 | 緯創資通股份有限公司 | Electronic device and operating method thereof |
CN113419926A (en) * | 2021-08-25 | 2021-09-21 | 苏州浪潮智能科技有限公司 | Method, system and device for monitoring server BIOS starting process |
-
2014
- 2014-01-03 TW TW103100180A patent/TW201527965A/en unknown
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI582699B (en) * | 2016-03-18 | 2017-05-11 | 神雲科技股份有限公司 | Boot Status Notification Method and Server System Using the Same |
CN108153625A (en) * | 2016-12-06 | 2018-06-12 | 佛山市顺德区顺达电脑厂有限公司 | The method for recording System self-test mistake |
TWI666556B (en) * | 2018-03-27 | 2019-07-21 | 緯創資通股份有限公司 | Electronic device and operating method thereof |
CN110308935A (en) * | 2018-03-27 | 2019-10-08 | 纬创资通股份有限公司 | Electronic device and method of operation thereof |
CN113419926A (en) * | 2021-08-25 | 2021-09-21 | 苏州浪潮智能科技有限公司 | Method, system and device for monitoring server BIOS starting process |
CN113419926B (en) * | 2021-08-25 | 2021-11-19 | 苏州浪潮智能科技有限公司 | Method, system and device for monitoring server BIOS startup process |
US11880690B1 (en) | 2021-08-25 | 2024-01-23 | Inspur Suzhou Intelligent Technology Co., Ltd. | Method, system and apparatus for monitoring bios booting process of server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104572226A (en) | Method and device for detecting mainboard starting abnormity | |
CN107656856B (en) | A system state display method and device based on CPLD | |
US11874787B2 (en) | Platform controller hub (PCH) chipsets in platforms as extended IO expander(s) | |
CN104461805A (en) | CPLD-based system state detecting method, CPLD and server mainboard | |
CN103197996B (en) | Startup detection circuit, computer system and startup detection method thereof | |
US8954629B2 (en) | Adapter and debugging method using the same | |
WO2013075499A1 (en) | Power on self test information output method, virtual machine manager and processor | |
CN104679626A (en) | System and method for debugging and detecting BIOS (Basic Input / Output System) | |
CN102479148A (en) | Monitoring system and method for input and output port states of peripheral components | |
CN102478800A (en) | Monitoring system and method of power sequence signal | |
TW201512831A (en) | Computer booting system and method of a computer | |
TW201432442A (en) | System and method of displaying baseboard management controller's running status | |
TW201715331A (en) | Server and method for auto repairing a baseboard management controller | |
TW201527965A (en) | System and method for detecting a BIOS test process of a computer | |
TWI439854B (en) | Processing method for booting error | |
TWI453583B (en) | Computer system and diagnostic method thereof | |
TW201734779A (en) | Boot status notification method and server system using the same | |
CN110096882B (en) | Safety measurement method in equipment operation process | |
CN109117299B (en) | Error detecting device and method for server | |
CN106980569B (en) | Method for representing BIOS POST progress by USB keyboard lamp | |
US11194684B2 (en) | Information handling system and methods to detect power rail failures and test other components of a system motherboard | |
CN103136064B (en) | Boot Error Handling Method | |
CN101408860A (en) | Monitoring device and monitoring method thereof | |
TW202014894A (en) | Monitoring system and method | |
TWI675293B (en) | A host boot detection method and its system |