CN111045899B - Method for displaying BIOS information in early stage of computer system startup self-check - Google Patents
Method for displaying BIOS information in early stage of computer system startup self-check Download PDFInfo
- Publication number
- CN111045899B CN111045899B CN201811184913.8A CN201811184913A CN111045899B CN 111045899 B CN111045899 B CN 111045899B CN 201811184913 A CN201811184913 A CN 201811184913A CN 111045899 B CN111045899 B CN 111045899B
- Authority
- CN
- China
- Prior art keywords
- baseboard management
- bios
- management controller
- display card
- processing unit
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000001514 detection method Methods 0.000 claims description 7
- 230000005856 abnormality Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000033772 system development Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/321—Display for diagnostics, e.g. diagnostic result display, self-test user interface
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Quality & Reliability (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a method for displaying BIOS information at early stage of computer system startup self-check. The method comprises the following steps: the baseboard management controller initializes the display unit; the processing unit generates BIOS information by executing the BIOS program module; the processing unit transmits the BIOS information to the baseboard management controller; and the baseboard management controller outputs the BIOS information to the display unit.
Description
[ field of technology ]
The present invention relates to a method for displaying BIOS information during power-on self-test of a computer system, and more particularly, to a method for displaying BIOS information at an early stage after the system is started.
[ background Art ]
After the computer is powered On and started, the computer executes a BIOS program to detect each hardware of the computer, namely, power-On Self-Test (POST); and if a hardware error is detected in the process of power-on self-detection, the computer continues to perform power-on self-detection or stop operation according to the type of the hardware error. When certain specific hardware errors occur, the BIOS hang situation happens, so that the computer cannot be started continuously, and the computer stops operating at the moment; when the generated hardware error is not specific hardware error and the BIOS is not enabled to hang, the computer still continues to perform the power-on self-detection after displaying the debug code.
Generally, in the early stage of the power-on self-test, hardware related to the operation of the computer such as a Central Processing Unit (CPU), a memory, a motherboard and the like is first tested, and the display card is initialized and tested in the middle stage; therefore, in the early stage of the power-on self-detection, if the BIOS program detects a hardware error, the user cannot see the debug information related to the hardware error generated by the BIOS program from the screen connected to the display card, which also causes that the system developer cannot easily exclude the hardware error detected in the early stage of the power-on self-detection in the system development process.
In addition, if a hardware error is detected after the display card is initialized by the BIOS program, the debug information displayed on the screen by the BIOS program control display card is usually just debug code (debug code), and a detailed description about the hardware error is not provided.
[ invention ]
The invention aims to provide a method for displaying BIOS information in early stage of computer system startup self-check.
In order to solve the above technical problems, a method for displaying BIOS information in early stage of computer system boot self-test is provided, the computer system comprises a processing unit, a baseboard management controller, a BIOS program module and a display unit.
The method for displaying BIOS information at early stage of computer system start-up self-check includes a step (a), a step (b), a step (c) and a step (d).
The step (a) is that the baseboard management controller initializes the display unit.
The step (b) is that the processing unit generates a BIOS information by executing the BIOS program module.
The step (c) is that the processing unit transmits the BIOS information to the baseboard management controller.
The step (d) is that the baseboard management controller outputs the BIOS information to the display unit.
Compared with the prior art, the method for displaying BIOS information in early stage of the computer system startup self-checking of the invention is characterized in that the baseboard management controller initializes the display unit after the computer system startup, and if the processing unit detects a system error in the process of executing the BIOS program module to perform the startup self-checking, the BIOS information which clearly describes the cause and the position of the error is generated, and the BIOS information is transmitted to the baseboard management controller through the processing unit, and the baseboard management controller outputs the BIOS information to the display unit and then displays the BIOS information on a screen, so that the BIOS information which details the cause and the position of the system error is displayed on the screen in early stage of the startup self-checking, thereby really achieving the aim of the invention.
[ description of the drawings ]
FIG. 1 is a block diagram illustrating a computer system for implementing a method for displaying BIOS information early in a computer system boot self-test according to the present invention.
FIG. 2 is a flowchart illustrating an embodiment of the method for displaying BIOS information during early boot self-test of a computer system.
FIG. 3 is a diagram illustrating BIOS information about memory errors displayed on a screen.
[ detailed description ] of the invention
Referring to fig. 1, the method for displaying BIOS information in early stage of computer system boot self-test according to the present invention is implemented by a computer system, the computer system includes a host computer 1 and a screen 2, the host computer 1 includes a processing unit 11, a baseboard management controller 12 (Baseboard Management Controller), a memory unit 14 electrically connected to the processing unit 11, and a display unit 13. In this embodiment, the display unit 13 is a display card and is electrically connected to the screen 2; the baseboard management controller 12 is electrically connected to the processing unit 11 and the display unit 13. The memory unit 14 is, for example, a read only memory, and stores a BIOS program module 141.
Referring to FIG. 2, an embodiment of the method for displaying BIOS information at an early stage of a computer system power-on self-test is described in detail below.
After the host computer 1 is started, the baseboard management controller 12 initializes the display unit 13 (step 31), and simultaneously, the processing unit 11 performs a power-on self-test by executing the BIOS program module 141 to detect whether there is a system error such as a hardware error (step 32). It should be noted that, in the present embodiment, by modifying a baseboard management control firmware running on the baseboard management controller 12, the baseboard management controller 12 can initialize the display unit 13 by modifying the baseboard management control firmware to include a program code related to initializing the display unit 13, wherein the program code of the baseboard management control firmware is similar to the program code used for initializing the display unit 13 in the BIOS program module 141.
When the processing unit 11 detects a system error, the processing unit 11 generates a BIOS message corresponding to the system error, wherein the BIOS message describes the cause and location of the system error (step 33).
Then, the processing unit 11 transmits the BIOS information to the baseboard management controller 12 through an intelligent platform management interface (Intelligent Platform Management Interface) (step 34), and then proceeds to perform power-on self-test (step 35).
In this embodiment, the example that the hardware error does not cause the BIOS to be hang is described, when the hardware error does not cause the BIOS to be hang, the processing unit 11 continues to perform the power-on self-test after transmitting the BIOS information to the baseboard management controller 12, however, in other embodiments, when the hardware error causes the BIOS to be hang, the processing unit 11 stops operating after transmitting the BIOS information to the baseboard management controller 12.
After receiving the BIOS information, the baseboard management controller 12 outputs the BIOS information to the display unit 13, so that the display unit 13 controls the screen 2 to display the BIOS information (step 36).
It should be noted that, in order to display the BIOS information in the early stage of the computer system power-on self-test, in step 31, the present invention firstly initializes the display unit 13 by the baseboard management controller 12, so that the baseboard management controller 12 can make the display unit 13 control the screen 2 to display the BIOS information after receiving the BIOS information, and at this time, the display unit 13 is controlled by the baseboard management controller 12 (i.e. the master control right of the display unit 13 is in the baseboard management controller 12). Then, as the processing unit 11 continues to execute the mid-stage of the power-on self-test, the processing unit 11 re-initializes the display unit 13 by executing the BIOS program module 141, at which time the display unit 13 is controlled by the processing unit 11 (i.e. the main control of the display unit 13 is returned to the processing unit 11).
In particular, the method of the present invention not only can display the BIOS information at the early stage of the power-on self-test of the computer system, but also the BIOS information describes the reason and the position (i.e. the hardware position) of the system error, not just the debug code, and can be read without translating or comparing and analyzing the comparison table. For example, when the computer is a multiprocessor computer and an abnormality is detected in an early stage of the power-on self-test, the system error occurrence position may indicate a hardware position such as a CPU channel; when the early stage of the power-on self-detection detects that an abnormality occurs in one memory of the computer, the system error occurrence position can indicate the hardware position of the DIMM slot; when an abnormality is detected in one of the peripheral device interconnection devices associated with the computer at an early stage of the power-on self-test, the system error occurrence position may indicate, for example, a hardware position of the peripheral device interconnection device.
For example, referring to fig. 3, after the host computer 1 is started, the processing unit 11 performs a power-on self-test by the BIOS program module 141, and detects that a hardware error occurs in the memory slot "DIMM slot 1" in an early stage of the power-on self-test, so as to generate BIOS information with the content of "Memory test error:dimm slot 1 failed" and transmit the BIOS information to the baseboard management controller 12. The baseboard management controller 12 immediately outputs the BIOS information to the display unit 13 after receiving the BIOS information, so that the display unit 13 controls the screen 2 to display Memory test error, DIMM slot 1 failed. Thus, the system developer can see that a memory error is currently occurring on the screen 2, and that an error has occurred in the memory slot "DIMM slot 1". The screen 2 can display the detailed information of the cause of the hardware error in the early stage of the power-on self-test, which is helpful for debugging in the system development process.
In another embodiment, the BIOS information generated by the processing unit 11 is not limited to information describing the cause of the system error. For example, in addition to generating the BIOS information corresponding to the system error, the processing unit 11 may generate, for each hardware item that is detected and has no error during the power-on self-test by executing the BIOS program, a status information describing the name and the current status of the hardware item, and display the status information on the screen 2 through the baseboard management controller 12 and the display unit 13; thus, in the early stage of the power-on self-test, the name and the status of each hardware item to be tested can be displayed on the screen 2.
In summary, in the method for displaying BIOS information in early stage of the computer system boot self test of the present invention, by initializing the display unit 13 by the baseboard management controller 12 after the computer system boot, and if the processing unit 11 detects a system error in the process of executing the BIOS program module 141 to perform the boot self test, the BIOS information clearly describing the cause and the position of the error is generated, and the BIOS information is transmitted to the baseboard management controller 12 by the processing unit, and the baseboard management controller 12 outputs the BIOS information to the display unit 13 and then displays the BIOS information on the screen 2, so that the BIOS information detailing the cause and the position of the system error can be displayed on the screen 2 in early stage of the boot self test, and the purpose of the present invention can be achieved.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (5)
1. A method for displaying BIOS information in early stage of computer system start-up self-test, the computer system comprising a processing unit, a baseboard management controller, a BIOS program module and a display card, the method for displaying BIOS information in early stage of computer system start-up self-test, comprising the steps of:
(a) After the host computer is started, the baseboard management controller initializes the display card, and the master control right of the display card is in the baseboard management controller, wherein the baseboard management controller modifies a baseboard management control firmware running on the baseboard management controller to enable the baseboard management control firmware to contain a section of program code related to initializing the display card, so that the baseboard management controller can initialize the display card by executing the baseboard management control firmware, wherein the section of program code of the baseboard management control firmware is similar to the program code used for initializing the display card in the BIOS program module;
(b) The processing unit generates BIOS information by executing the BIOS program module, wherein the information content of the BIOS information indicates the reason and the position of the system error;
(c) The processing unit transmits the BIOS information to the baseboard management controller; and
(d) The baseboard management controller outputs the BIOS information to the display card, wherein, as the processing unit continues to execute the middle stage of the power-on self-detection, the processing unit initializes the display card again by executing the BIOS program module, and at this time, the display card is controlled by the processing unit.
2. The method of claim 1, wherein in the step (b), the processing unit performs the computer system boot self-test by executing the BIOS program module, and generates the BIOS information corresponding to a system error when the system error is detected.
3. The method of claim 1, wherein in step (c), the processing unit transmits the BIOS information to the baseboard management controller via an intelligent platform management interface.
4. The method of claim 1, wherein the display card comprises a display card and a screen, wherein in the step (a), the baseboard management controller initializes the display card, and in the step (d), the baseboard management controller outputs the BIOS information to the display card, so that the display card controls the screen to display the BIOS information.
5. The method of claim 1, wherein in step (c), the processing unit continues to perform the power-on self-test after transmitting the BIOS to the baseboard management controller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811184913.8A CN111045899B (en) | 2018-10-11 | 2018-10-11 | Method for displaying BIOS information in early stage of computer system startup self-check |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811184913.8A CN111045899B (en) | 2018-10-11 | 2018-10-11 | Method for displaying BIOS information in early stage of computer system startup self-check |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111045899A CN111045899A (en) | 2020-04-21 |
CN111045899B true CN111045899B (en) | 2024-02-09 |
Family
ID=70229172
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811184913.8A Active CN111045899B (en) | 2018-10-11 | 2018-10-11 | Method for displaying BIOS information in early stage of computer system startup self-check |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111045899B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1368677A (en) * | 2001-02-01 | 2002-09-11 | 宏碁电脑股份有限公司 | Information processing system with debug function on initializing and its method |
TW200408938A (en) * | 2002-11-28 | 2004-06-01 | Inventec Corp | Method for recording test procedure |
CN1506821A (en) * | 2002-12-11 | 2004-06-23 | 联想(北京)有限公司 | Detection and display method and device for computer self-test information |
CN1811728A (en) * | 2005-01-25 | 2006-08-02 | 英业达股份有限公司 | Method for displaying complete information of BIOS correcting code |
CN101021793A (en) * | 2006-02-13 | 2007-08-22 | 刘文斌 | Method and system for realizing Pre-OS Application utilizing extended BIOS technique |
CN101770382A (en) * | 2009-01-04 | 2010-07-07 | 北京联想软件有限公司 | System starting method and computer system |
CN102591729A (en) * | 2011-01-13 | 2012-07-18 | 联想(北京)有限公司 | Computer, electronic equipment and startup control method |
CN105786676A (en) * | 2016-05-05 | 2016-07-20 | 浪潮电子信息产业股份有限公司 | Design method for displaying starting progress in Post stage of server |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104407961B (en) * | 2014-10-28 | 2017-12-26 | 英业达科技有限公司 | For showing the calculator system and display methods of host posture corresponding informance |
US10210842B2 (en) * | 2017-02-07 | 2019-02-19 | American Megatrends, Inc. | Techniques of displaying host data on a monitor connected to a service processor during pre-boot initialization stage |
-
2018
- 2018-10-11 CN CN201811184913.8A patent/CN111045899B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1368677A (en) * | 2001-02-01 | 2002-09-11 | 宏碁电脑股份有限公司 | Information processing system with debug function on initializing and its method |
TW200408938A (en) * | 2002-11-28 | 2004-06-01 | Inventec Corp | Method for recording test procedure |
CN1506821A (en) * | 2002-12-11 | 2004-06-23 | 联想(北京)有限公司 | Detection and display method and device for computer self-test information |
CN1811728A (en) * | 2005-01-25 | 2006-08-02 | 英业达股份有限公司 | Method for displaying complete information of BIOS correcting code |
CN101021793A (en) * | 2006-02-13 | 2007-08-22 | 刘文斌 | Method and system for realizing Pre-OS Application utilizing extended BIOS technique |
CN101770382A (en) * | 2009-01-04 | 2010-07-07 | 北京联想软件有限公司 | System starting method and computer system |
CN102591729A (en) * | 2011-01-13 | 2012-07-18 | 联想(北京)有限公司 | Computer, electronic equipment and startup control method |
CN105786676A (en) * | 2016-05-05 | 2016-07-20 | 浪潮电子信息产业股份有限公司 | Design method for displaying starting progress in Post stage of server |
Non-Patent Citations (3)
Title |
---|
Kang Xiangli,et al.A power-on self-test approach for buck-converter-based brushless DC motor drive system.《IECON 2016-42nd Annual Conference of the IEEE Industrial Electronics Society》.2016,2147-2152页. * |
关于计算机启动过程的分析与探讨;武峰;《电脑与电信》;第2007年卷(第06期);69-71页 * |
电脑开机黑屏怎么办? 电脑开机黑屏解决方案;FengMM;《网络与信息》;第24卷(第03期);48页 * |
Also Published As
Publication number | Publication date |
---|---|
CN111045899A (en) | 2020-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI685735B (en) | Method of displaying bios messages in the early stages of power-on self-test of computer system | |
US9747192B2 (en) | Automated operating system installation on multiple drives | |
US8726097B2 (en) | Debugging method and computer system using the same | |
US20150220411A1 (en) | System and method for operating system agnostic hardware validation | |
US10210842B2 (en) | Techniques of displaying host data on a monitor connected to a service processor during pre-boot initialization stage | |
US7882395B2 (en) | Debug device for embedded systems and method thereof | |
KR20060109522A (en) | Method and apparatus for testing computer system | |
US10430202B2 (en) | Dual purpose boot registers | |
EP2189906A1 (en) | Method and apparatus for abnormality recovering of data card, and data card | |
US6725396B2 (en) | Identifying field replaceable units responsible for faults detected with processor timeouts utilizing IPL boot progress indicator status | |
CN116775141A (en) | Abnormality detection method, abnormality detection device, computer device, and storage medium | |
CN111966380A (en) | BMC (baseboard management controller) firmware upgrading method, system, terminal and storage medium | |
US10838815B2 (en) | Fault tolerant and diagnostic boot | |
CN111045899B (en) | Method for displaying BIOS information in early stage of computer system startup self-check | |
KR20150116020A (en) | Apparatus for computer diagnostics and recovery using wireless network and method thereof | |
US10572435B2 (en) | Techniques of accessing serial console of BMC using host serial port | |
US11494289B2 (en) | Automatic framework to create QA test pass | |
US10509656B2 (en) | Techniques of providing policy options to enable and disable system components | |
CN109117299B (en) | Error detecting device and method for server | |
CN111061603B (en) | Motherboard capable of recording self-checking data, computer and recording method of self-checking data | |
CN110321171B (en) | Startup detection device, system and method | |
JP6217086B2 (en) | Information processing apparatus, error detection function diagnosis method, and computer program | |
US20200159646A1 (en) | Information processing apparatus | |
CN114026539A (en) | Storing POST code in electronic tag | |
CN112084049B (en) | Method for monitoring resident program of baseboard management controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |