CN113190491A - Serial port information display method, system and medium - Google Patents

Serial port information display method, system and medium Download PDF

Info

Publication number
CN113190491A
CN113190491A CN202110296476.4A CN202110296476A CN113190491A CN 113190491 A CN113190491 A CN 113190491A CN 202110296476 A CN202110296476 A CN 202110296476A CN 113190491 A CN113190491 A CN 113190491A
Authority
CN
China
Prior art keywords
information
serial port
bios
bmc
level
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.)
Granted
Application number
CN202110296476.4A
Other languages
Chinese (zh)
Other versions
CN113190491B (en
Inventor
王万强
王兴隆
王成威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Yingxin Computer Technology Co Ltd
Original Assignee
Shandong Yingxin Computer Technology Co Ltd
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 Shandong Yingxin Computer Technology Co Ltd filed Critical Shandong Yingxin Computer Technology Co Ltd
Priority to CN202110296476.4A priority Critical patent/CN113190491B/en
Publication of CN113190491A publication Critical patent/CN113190491A/en
Application granted granted Critical
Publication of CN113190491B publication Critical patent/CN113190491B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a serial port information display method, which comprises the following steps: the BMC acquires a control command and analyzes the control command to obtain mark information; the BMC adjusts a first level value of a first pin between the PCH and the CPLD according to the flag information; the BIOS executes a Debug display function configuration step according to the adjusted first level value to obtain an output window; the BIOS acquires serial port debugging information and executes a printing step on the serial port debugging information based on the output window; the method and the device can quickly and accurately display the BIOS serial port debugging information of the server in the display equipment connected with the server without adding an external physical serial port, and simultaneously do not influence the starting of the server and the display of the BIOS starting information, thereby greatly improving the user experience and improving the maintainability of the server.

Description

Serial port information display method, system and medium
Technical Field
The invention relates to the technical field of server serial port configuration, in particular to a serial port information display method, a serial port information display system and a serial port information display medium.
Background
During the process of starting the server, the BIOS (Basic Input Output System) detects a fault of the server, outputs detected fault information through a physical serial port externally connected, and when the server needs to be debugged, the Output serial port debugging information can be checked only by connecting a display.
To ordinary server user, generally can not use serial port debugging information, so the server can not be equipped with corresponding physical serial port, only when the server debugs, the debugging personnel can be through the mode of external physical serial port or the mode output server's of external computer networking serial port debugging information, and this kind of mode limitation is great, and because the restriction of physical equipment can reduce the maintainability of server.
Disclosure of Invention
The invention mainly solves the problem that the maintainability of the server is extremely low because the serial port debugging information of the server can be output only in a mode of externally connecting a physical serial port or a mode of externally connecting a computer to a network in the prior art.
In order to solve the technical problems, the invention adopts a technical scheme that: the serial port information display method comprises the following steps:
the BMC acquires a control command and analyzes the control command to obtain mark information; the BMC adjusts a first level value of a first pin between the PCH and the CPLD according to the flag information;
the BIOS executes a Debug display function configuration step according to the adjusted first level value to obtain an output window;
and the BIOS acquires serial port debugging information and executes a printing step on the serial port debugging information based on the output window.
As an improved scheme, the Debug display function configuring step includes:
the BIOS sets a process interrupt point and loads a display card driver;
the BIOS configures a drawing function and acquires process information driven by the display card;
and when the process information reaches the process interrupt point, the BIOS executes an output window generation step through the drawing function and the data processing serial port driven by the display card to obtain the output window.
As an improvement, the output window generating step includes:
and the BIOS calls the drawing function through the data processing serial port to draw the output window on the display equipment connected with the PCH.
As an improvement, the printing step includes:
the BIOS configures a data sending function and acquires a data layer address of the output window, an information input address and an information output address of the display card driver;
and the BIOS prints the serial port debugging information to the output window based on the data sending function, the data layer address, the information input address and the information output address.
As an improved solution, the step of the BIOS printing the serial port debugging information to the output window based on the data sending function, the data layer address, the information input address and the information output address further includes:
and the BIOS establishes connection between the information output address and the data layer address, and then calls the data sending function to send the serial port debugging information to the information input address.
As an improved scheme, the step of adjusting, by the BMC, the first level value of the first pin between the PCH and the CPLD according to the flag information further includes:
setting a first level trigger value, a second level trigger value and a third level trigger value;
when the flag information is first command flag information, the BMC adjusts a second level value of a second pin between the BMC and the CPLD to the second level trigger value;
setting a detection time period, and detecting whether the second level value is the second level trigger value by the CPLD every other detection time period;
if yes, the CPLD adjusts the first level value to the first level trigger value and controls the BIOS to restart;
if not, the CPLD adjusts the first level value to the third level trigger value and controls the BIOS to restart.
As an improvement, the step of the BIOS performing the Debug display function configuration step according to the adjusted first level value further includes:
the BIOS judges whether the adjusted first level value is the first level trigger value; if yes, the BIOS executes the Debug display function configuration step; if not, the BIOS controls the PCH to enter an operating system.
As an improved scheme, the step of adjusting, by the BMC, the first level value of the first pin between the PCH and the CPLD according to the flag information further includes:
and setting a fourth level trigger value, and when the flag information is second command flag information, adjusting the second level value to the fourth level trigger value by the BMC.
The invention also provides a serial port information display system, comprising:
the system comprises a control module, a function configuration module and a printing module;
the control module is used for controlling the BMC to acquire a control command and controlling the BMC to analyze the control command to obtain mark information; the control module adjusts a first level value of a first pin between the PCH and the CPLD through the BMC and the flag information;
the function configuration module is used for executing a Debug display function configuration step according to the BIOS and the adjusted first level value to obtain an output window;
the printing module is used for controlling the BIOS to acquire serial port debugging information and executing a printing step on the serial port debugging information based on the output window and the BIOS.
The present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the serial port information display method.
The invention has the beneficial effects that:
1. the serial port information display method can realize the rapid and accurate display of the BIOS serial port debugging information of the server in the display equipment connected with the server under the condition of not adding an external physical serial port, and simultaneously does not influence the starting of the server and the display of the BIOS starting information, thereby greatly improving the user experience and enhancing the maintainability of the server.
2. The serial port information display system can rapidly and accurately display the BIOS serial port debugging information of the server in the display equipment connected with the server under the condition of not adding an external physical serial port by mutually matching the control module, the function configuration module and the printing module, and simultaneously does not influence the starting of the server and the display of the BIOS starting information, thereby greatly improving the user experience and improving the maintainability of the server.
3. The computer-readable storage medium can realize the cooperation of the boot control module, the function configuration module and the printing module, further realize the rapid and accurate display of the BIOS serial port debugging information of the server in the display equipment connected with the server under the condition of not adding an external physical serial port, and simultaneously does not influence the starting of the server and the display of the BIOS starting information, thereby greatly improving the user experience, improving the maintainability of the server and effectively increasing the operability of the serial port information display method.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a serial port information display method according to embodiment 1 of the present invention;
fig. 2 is a schematic specific flowchart of a serial port information display method according to embodiment 1 of the present invention;
fig. 3 is an architecture diagram of a serial port information display system according to embodiment 2 of the present invention;
fig. 4 is a schematic diagram of a specific architecture of a control module according to embodiment 2 of the present invention.
Detailed Description
The following detailed description of the preferred embodiments of the present invention, taken in conjunction with the accompanying drawings, will make the advantages and features of the invention easier to understand by those skilled in the art, and thus will clearly and clearly define the scope of the invention.
In the description of the present invention, it should be noted that the described embodiments of the present invention are a part of the embodiments of the present invention, and not all embodiments; all other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "first", "second", "third", and "fourth" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless explicitly specified or limited otherwise, the terms "control command", "flag information", "pin", "level value", "level trigger value", "Debug function configuration step", "output window", "serial port Debug information", "print step", "process interrupt point", "graphics card driver", "drawing function", "process information", "data processing serial port", "output window generation step", "print step", "data layer address", "information input address", "information output address", "command flag information" are to be interpreted broadly. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In the description of the present invention, it is to be noted that:
debug is computer troubleshooting;
web (world Wide web) is a global Wide area network;
PCH (platform Controller hub) is an integrated south bridge;
sol (serial Over lan) is serial port network redirection;
BIOS (basic Input Output System) is a basic Input Output system;
GPIO (General-Purpose Input/Output) is a General Input/Output port;
OEM (original Equipment manufacturer) is the original Equipment manufacturer;
bmc (baseboard Management controller) is a baseboard Management controller;
cpld (complex Programming Logic device) is a complex programmable Logic device;
IPMI (Intelligent Platform Management interface) is an intelligent Platform Management interface.
Example 1
The embodiment provides a serial port information display method, as shown in fig. 1 and fig. 2, which includes the following steps:
the serial port information display method described in this embodiment is applied to a starting process of a server, and in the starting process of the server, an existing serial port debugging information display method is that a server is externally connected with a computer or a switch, networking is performed, a BMC is controlled by a network to start an SOL function, serial port information is sent to a Web interface of the BMC, and finally the serial port information is viewed through a display equipped in the externally connected computer; another serial port debugging information display method is that the external physical serial port is connected, and the serial port debugging information is printed on a display of a server for display through the external physical serial port; both the two existing methods need to add external processing equipment to the server, and once the external processing equipment is not available, the corresponding serial port debugging information cannot be acquired and displayed;
the present embodiment solves the problems of the prior art described above:
s100, the BMC detects whether an IPMI OEM command (namely a control command) is received, and if the IPMI OEM command is received, the BMC executes an analysis step on the IPMI OEM command to obtain first command mark information; if not, the BMC continues to detect; a first high level trigger value is configured in the BMC, and the BMC adjusts a level value (i.e., a second level value) of a GPIO (i.e., a second pin) between the BMC and the CPLD to the first high level trigger value (i.e., a second level trigger value) according to the first command flag information;
specifically, an IPMI OEM command is set, and when the serial port debugging information needs to be displayed, a manager or a user of the server can manually or automatically send the IPMI OEM command to the BMC; bits are set in the IPMI OEM command, for example, the IPMI OEM command is 3004_00 or 3004_01, and 00 and 01 are bits in the IPMI OEM command; the analysis steps are as follows: the BMC analyzes the bit (namely mark information) of the IPMI OEM command to obtain first command mark information, and the first command mark information is the exact value of the bit; and the first command flag information is 00, at this time, the BMC adjusts the level value of the GPIO connected with the CPLD to a first high level trigger value; in general, the level value of the GPIO connected to the BMC and the CPLD is a level value in a low level state, in this embodiment, the first high level trigger value makes the GPIO connected to the BMC and the CPLD in a high level state, and the specific numerical value is not limited; the next operation can be performed only when the GPIO connected to the BMC and the CPLD is in the high level state, and meanwhile, the bit of the IPMI OEM command may be specifically set according to the specific situation, for example, it may also be set that when the bit is 01, the BMC adjusts the level value of the GPIO connected to the CPLD to the first high level trigger value, which is not limited herein, and is only an implementation manner.
S200, a detection time period is configured in the CPLD, every other detection time period, the CPLD detects whether the level value of the GPIO between the CPLD and the BMC is the first high level trigger value, if so, the CPLD executes a mainboard level modulation step; if not, the CPLD executes the mainboard level recovery step;
specifically, the step of modulating the level of the mainboard comprises the following steps: a second high-level trigger value (namely a first level trigger value) is configured in the CPLD, and the CPLD adjusts the level value (namely the first level value) of the GPIO (namely the first pin) between the CPLD and the PCH to the second high-level trigger value and controls the BIOS to restart;
specifically, the step of recovering the level of the mainboard comprises the following steps: a third low-level trigger value (namely a third level trigger value) is configured in the CPLD, and the CPLD adjusts the level value of the GPIO between the CPLD and the PCH to the third low-level trigger value and controls the BIOS to restart;
specifically, in a normal case, the level value of the GPIO connected between the CPLD and the PCH makes the level state thereof in a low level state, and when the CPLD adjusts the level value to the second high level trigger value, the level state of the GPIO connected between the CPLD and the PCH is in a high level state; when the CPLD adjusts the level value to the third low level trigger value, the level state of the GPIO connected between the CPLD and the PCH is restored to the low level state, and the third low level trigger value is the same as or lower than the level value of the GPIO connected between the CPLD and the PCH that is not adjusted in a normal case, and the third low level trigger value is only used to make the GPIO between the CPLD and the PCH in the low level state, so as to ensure stable performance of the whole step.
S300, after the BIOS is restarted, the BIOS detects the level values of the CPLD and the GPIO of the PCH, judges whether the level value is the second high level trigger value or not, and if yes, executes a Debug display function configuration step; if not, the BIOS controls the PCH to enter an operating system;
specifically, when the BIOS detects that the level values of the GPIOs of the CPLD and the PCH are the second high level trigger value, the BIOS determines that the user needs to display the corresponding serial port debugging information, and executes a corresponding configuration step, that is, a Debug display function configuration step, which specifically includes: the BIOS sets a process interrupt point and loads a display card driver; the BIOS acquires the process information of the display card drive, compares whether the process information reaches the process interrupt point, and if so, acquires the data processing serial port of the display card drive; in this embodiment, when the process interrupt point is set to complete loading of the graphics card driver, each function of the graphics card driver is complete and can be called by the BIOS;
specifically, a graphics function is configured in the graphics card driver, and the BIOS calls the graphics function through the data processing serial port to draw an output window on an output interface of the display device connected to the PCH; the size, the position and the size of the output window are set in the drawing function; the function value of the output window in the drawing function may be modified according to specific situations, so as to adjust the specific position of the output window in the display device.
S400, after the Debug display function configuration step is executed, the BIOS acquires a data layer address of the output window, serial port debugging information of the PCH, and an information input address and an information output address of the display card driver; the BIOS prints the serial port debugging information to the output window based on the data layer address, the information output address and the information input address (namely a printing step);
specifically, the BIOS accesses an information output address driven by a display card and establishes connection between the information output address and the data layer address; the connection of the address is only realized by modifying the source code for data output in the display card drive; after connection is established, the BIOS calls a data sending function to send the serial port debugging information to the information input address, then a display card drive processes the serial port debugging information and sends the serial port debugging information to the data layer address through an information output address, and at the moment, the serial port debugging information is displayed on the output window without influencing the display of the starting information of the original BIOS;
specifically, step S300 and step S400 are executed after the BIOS is restarted and before the BIOS enters the operating system, and in this step, the serial port debugging information of the PCH is specifically and quickly displayed, so that the user experience is improved, and the user requirements are met.
S500, after the output window outputs the serial port debugging information, the BMC detects whether an IPMI OEM command is received again, and if the IPMI OEM command is received, the BMC executes the analyzing step on the IPMI OEM command to obtain second command mark information; a fourth low level trigger value (namely a fourth level trigger value) is configured in the BMC, the BMC adjusts the level value of the GPIO between the BMC and the CPLD to the fourth low level trigger value according to the second command flag information, and at this time, the CPLD executes the mainboard recovery step;
specifically, after the output window outputs the serial port debugging information, a user can position the fault of the server according to the serial port debugging information in the output window, and simultaneously, when the user finishes checking the serial port debugging information or finishes debugging the server, the user can send a corresponding IPMI OEM command to the BMC again to enable the server to enter an operating system; the second command flag information in this step is 01, and is the same as the definition of the first command flag information in step S100, and is only used for distinguishing IPMI OEM commands, and may also be set to 00; when the BMC obtains the second command flag information through analysis, the BMC adjusts the level value of the GPIO between the BMC and the CPLD to the fourth low-level trigger value, where the fourth low-level trigger value is a level value that makes the GPIO between the BMC and the CPLD in a low-level state, and a specific value of the fourth low-level trigger value is not limited, and may be the same as the level value of the GPIO between the BMC and the CPLD in a normal case;
specifically, the CPLD detects whether the level value of the GPIO between the CPLD and the BMC is the first high trigger level value every detection time period, and after this step, the level value is not the first high trigger level value, so the CPLD executes a corresponding motherboard recovery step, and after the motherboard recovery step is executed, the BIOS controls the server to enter the operating system.
The method described in this embodiment displays the serial port debugging information of the server through the cooperation of the BMC, the CPLD and the BIOS in the server without adding any external processing device, so that a user or an administrator can conveniently debug the server, and the stability and maintainability of the server are greatly improved.
Example 2
This embodiment provides a serial port information display system, as shown in fig. 3 and 4, including: the system comprises a control module, a function configuration module and a printing module; the control module comprises a CPLD control module and a BMC control module;
the BMC control module is used for controlling the BMC to detect whether an IPMI OEM command (namely a control command) is received or not, and if the IPMI OEM command is received, the BMC control module controls the BMC to execute an analysis step on the IPMI OEM command to obtain first command mark information; if not, the BMC control module controls the BMC to continue detecting; a first high level trigger value is configured in the BMC, and the BMC adjusts a level value (i.e., a second level value) of a GPIO (i.e., a second pin) between the BMC and the CPLD to the first high level trigger value (i.e., a second level trigger value) according to the first command flag information;
the CPLD control module is used for configuring a detection time period in the CPLD and controlling the CPLD to detect whether the level value of the GPIO between the CPLD and the BMC is the first high level trigger value or not every other detection time period, if so, the CPLD control module controls the CPLD to execute the mainboard level modulation step; if not, the CPLD control module controls the CPLD to execute the mainboard level recovery step;
specifically, the step of modulating the level of the mainboard comprises the following steps: a second high-level trigger value (namely a first level trigger value) is configured in the CPLD, and the CPLD adjusts the level value (namely the first level value) of the GPIO (namely the first pin) between the CPLD and the PCH to the second high-level trigger value and controls the BIOS to restart;
specifically, the step of recovering the level of the mainboard comprises the following steps: the CPLD is configured with a third low-level trigger value (i.e. a third level trigger value), and the CPLD adjusts the level value of the GPIO between the CPLD and the PCH to the third low-level trigger value and controls the BIOS to restart.
The function configuration module is used for controlling the BIOS to detect the level values of the CPLD and the GPIO of the PCH after the BIOS is restarted, judging whether the level values are the second high level trigger values or not, and if so, controlling the BIOS to execute a Debug display function configuration step by the function configuration module; if not, the function configuration module controls the BIOS to enable the PCH to enter an operating system;
specifically, when the BIOS detects that the level values of the GPIOs of the CPLD and the PCH are the second high level trigger value, the function configuration module controls the BIOS to execute the Debug display function configuration step, which specifically includes: the BIOS sets a process interrupt point and loads a display card driver; the BIOS acquires the process information of the display card drive, compares whether the process information reaches the process interrupt point, and if so, acquires the data processing serial port of the display card drive; and a drawing function is configured in the display card drive, and the BIOS calls the drawing function through the data processing serial port to draw an output window on an output interface of the display equipment connected with the PCH.
The printing module is used for controlling the BIOS to acquire a data layer address of the output window, serial port debugging information of the PCH, an information input address and an information output address of the display card driver after the BIOS executes the Debug display function configuration step, and printing the serial port debugging information to the output window based on the data layer address, the information output address and the information input address;
specifically, the printing module controls the BIOS to access an information output address driven by the display card, and establishes connection between the information output address and the data layer address; after the connection is established, the printing module controls the BIOS to call a data sending function to send the serial port debugging information to the information input address, then the display card drive processes the serial port debugging information and sends the serial port debugging information to the data layer address through the information output address, at the moment, the serial port debugging information is displayed on the output window, and meanwhile, the display of the starting information of the original BIOS is not influenced.
The BMC control module is also used for controlling the BMC to detect whether an IPMI OEM command is received again after the serial port debugging information is output by the output window, and if so, controlling the BMC to execute the analysis step on the IPMI OEM command to obtain second command mark information; a fourth low level trigger value (i.e., a fourth level trigger value) is configured in the BMC, the BMC adjusts the level value of the GPIO between the BMC and the CPLD to the fourth low level trigger value according to the second command flag information, and at this time, the CPLD control module controls the CPLD to execute the mainboard recovery step.
Based on the same inventive concept as the serial port information display method in the foregoing embodiments, an embodiment of the present specification further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the serial port information display method are implemented.
Different from the prior art, the serial port information display method, the serial port information display system and the serial port information display medium can quickly and accurately display the BIOS serial port debugging information of the server in the display equipment connected with the server under the condition that no external physical serial port is added, meanwhile, the starting of the server and the display of the BIOS starting information are not influenced, effective technical support is provided for the method through the system, the user experience is greatly improved, and the maintainability of the server is improved.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, and a program that can be implemented by the hardware and can be instructed by the program to be executed by the relevant hardware may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic or optical disk, and the like.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A serial port information display method is characterized by comprising the following steps:
the BMC acquires a control command and analyzes the control command to obtain mark information; the BMC adjusts a first level value of a first pin between the PCH and the CPLD according to the flag information;
the BIOS executes a Debug display function configuration step according to the adjusted first level value to obtain an output window;
and the BIOS acquires serial port debugging information and executes a printing step on the serial port debugging information based on the output window.
2. The serial port information display method according to claim 1, characterized in that: the Debug display function configuration step comprises the following steps:
the BIOS sets a process interrupt point and loads a display card driver;
the BIOS configures a drawing function and acquires process information driven by the display card;
and when the process information reaches the process interrupt point, the BIOS executes an output window generation step through the drawing function and the data processing serial port driven by the display card to obtain the output window.
3. The serial port information display method according to claim 2, characterized in that: the output window generating step includes:
and the BIOS calls the drawing function through the data processing serial port to draw the output window on the display equipment connected with the PCH.
4. The serial port information display method according to claim 2 or 3, characterized in that: the printing step includes:
the BIOS configures a data sending function and acquires a data layer address of the output window, an information input address and an information output address of the display card driver;
and the BIOS prints the serial port debugging information to the output window based on the data sending function, the data layer address, the information input address and the information output address.
5. The serial port information display method according to claim 4, characterized in that: the step of the BIOS printing the serial port debugging information to the output window based on the data sending function, the data layer address, the information input address, and the information output address further includes:
and the BIOS establishes connection between the information output address and the data layer address, and then calls the data sending function to send the serial port debugging information to the information input address.
6. The serial port information display method according to any one of claims 1 to 3, characterized in that: the step of adjusting, by the BMC, the first level value of the first pin between the PCH and the CPLD according to the flag information further includes:
setting a first level trigger value, a second level trigger value and a third level trigger value;
when the flag information is first command flag information, the BMC adjusts a second level value of a second pin between the BMC and the CPLD to the second level trigger value;
setting a detection time period, and detecting whether the second level value is the second level trigger value by the CPLD every other detection time period;
if yes, the CPLD adjusts the first level value to the first level trigger value and controls the BIOS to restart;
if not, the CPLD adjusts the first level value to the third level trigger value and controls the BIOS to restart.
7. The serial port information display method according to claim 6, characterized in that: the step of the BIOS executing the Debug display function configuration step according to the adjusted first level value further comprises:
the BIOS judges whether the adjusted first level value is the first level trigger value; if yes, the BIOS executes the Debug display function configuration step; if not, the BIOS controls the PCH to enter an operating system.
8. The serial port information display method according to claim 6, characterized in that: the step of adjusting, by the BMC, the first level value of the first pin between the PCH and the CPLD according to the flag information further includes:
and setting a fourth level trigger value, and when the flag information is second command flag information, adjusting the second level value to the fourth level trigger value by the BMC.
9. A serial port information display system is characterized by comprising: the system comprises a control module, a function configuration module and a printing module;
the control module is used for controlling the BMC to acquire a control command and controlling the BMC to analyze the control command to obtain mark information; the control module adjusts a first level value of a first pin between the PCH and the CPLD through the BMC and the flag information;
the function configuration module is used for executing a Debug display function configuration step according to the BIOS and the adjusted first level value to obtain an output window;
the printing module is used for controlling the BIOS to acquire serial port debugging information and executing a printing step on the serial port debugging information based on the output window and the BIOS.
10. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the serial port information display method according to any one of claims 1 to 8.
CN202110296476.4A 2021-03-19 2021-03-19 Serial port information display method, system and medium Active CN113190491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110296476.4A CN113190491B (en) 2021-03-19 2021-03-19 Serial port information display method, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110296476.4A CN113190491B (en) 2021-03-19 2021-03-19 Serial port information display method, system and medium

Publications (2)

Publication Number Publication Date
CN113190491A true CN113190491A (en) 2021-07-30
CN113190491B CN113190491B (en) 2023-03-21

Family

ID=76973520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110296476.4A Active CN113190491B (en) 2021-03-19 2021-03-19 Serial port information display method, system and medium

Country Status (1)

Country Link
CN (1) CN113190491B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113868033A (en) * 2021-08-25 2021-12-31 苏州浪潮智能科技有限公司 Server debugging method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090113194A1 (en) * 2007-10-28 2009-04-30 Ryuji Orita Persisting value relevant to debugging of computer system during reset of computer system
CN104572465A (en) * 2015-01-05 2015-04-29 浪潮电子信息产业股份有限公司 Novel BIOS (basic input output system) Debug method
CN105938450A (en) * 2015-03-06 2016-09-14 广达电脑股份有限公司 Automatic debug information collection method and system
CN106506598A (en) * 2016-10-10 2017-03-15 郑州云海信息技术有限公司 A kind of access BIOS setup interfaces and the method for OS
CN107818032A (en) * 2017-10-24 2018-03-20 郑州云海信息技术有限公司 A kind of mainboard, information Method of printing, system, device and storage medium
US20180285121A1 (en) * 2017-03-28 2018-10-04 Dell Products, Lp System and Method for Baseboard Management Controller Assisted Dynamic Early Host Video on Systems with a Security Co-processor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090113194A1 (en) * 2007-10-28 2009-04-30 Ryuji Orita Persisting value relevant to debugging of computer system during reset of computer system
CN104572465A (en) * 2015-01-05 2015-04-29 浪潮电子信息产业股份有限公司 Novel BIOS (basic input output system) Debug method
CN105938450A (en) * 2015-03-06 2016-09-14 广达电脑股份有限公司 Automatic debug information collection method and system
CN106506598A (en) * 2016-10-10 2017-03-15 郑州云海信息技术有限公司 A kind of access BIOS setup interfaces and the method for OS
US20180285121A1 (en) * 2017-03-28 2018-10-04 Dell Products, Lp System and Method for Baseboard Management Controller Assisted Dynamic Early Host Video on Systems with a Security Co-processor
CN107818032A (en) * 2017-10-24 2018-03-20 郑州云海信息技术有限公司 A kind of mainboard, information Method of printing, system, device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113868033A (en) * 2021-08-25 2021-12-31 苏州浪潮智能科技有限公司 Server debugging method
CN113868033B (en) * 2021-08-25 2023-08-15 苏州浪潮智能科技有限公司 Server debugging method

Also Published As

Publication number Publication date
CN113190491B (en) 2023-03-21

Similar Documents

Publication Publication Date Title
US6721881B1 (en) System and method for determining if a display device configuration has changed by comparing a current indicator with a previously saved indicator
CN103748569B (en) The system and method without driving operation of USB device
CN109670319B (en) Server flash safety management method and system thereof
US7260749B2 (en) Hot plug interfaces and failure handling
US8132055B2 (en) Operating system-firmware interface update recovery
US7363546B2 (en) Latent fault detector
US20090100287A1 (en) Monitoring Apparatus and a Monitoring Method Thereof
CN111158767A (en) BMC-based server secure starting method and device
US10216550B2 (en) Technologies for fast boot with adaptive memory pre-training
CN111414285A (en) Test method, test device and test equipment for starting function of server system
CN111737064A (en) BMC system control method and device, storage medium and computer equipment
WO2023065601A1 (en) Server component self-test anomaly recovery method and device, system, and medium
CN114138644A (en) BMC (baseboard management controller) debugging method, monitoring method, system, device, equipment and medium
CN113190491B (en) Serial port information display method, system and medium
US7984282B2 (en) Evasion of power on self test during an operating system initiated reboot
CN112905376B (en) Method, device and medium for reporting errors
CN109582505B (en) BIOS option default value recovery system, method and device
US10572435B2 (en) Techniques of accessing serial console of BMC using host serial port
CN111176958A (en) Information monitoring method, system and storage medium
CN113867812B (en) Method, system, equipment and medium for BMC to acquire link information
CN115951949A (en) Recovery method and device for configuration parameters of BIOS (basic input output System) and computing equipment
CN111414299A (en) SSD extended information obtaining method and device based on hdparm
CN104142870A (en) Virtual BIOS (basic input /output system) booting system and virtual BIOS booting method
CN116204336B (en) User state core state synchronization method and system based on registry callback mechanism
CN116088659B (en) Reset judging system and method for domestic processor

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