CN116594975A - BMC-based startup log information display method and device - Google Patents
BMC-based startup log information display method and device Download PDFInfo
- Publication number
- CN116594975A CN116594975A CN202310584183.5A CN202310584183A CN116594975A CN 116594975 A CN116594975 A CN 116594975A CN 202310584183 A CN202310584183 A CN 202310584183A CN 116594975 A CN116594975 A CN 116594975A
- Authority
- CN
- China
- Prior art keywords
- log information
- display
- starting
- boot
- local computer
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000009877 rendering Methods 0.000 claims abstract description 145
- 230000004913 activation Effects 0.000 claims abstract description 45
- 238000012544 monitoring process Methods 0.000 claims abstract description 29
- 239000000758 substrate Substances 0.000 claims abstract description 16
- 238000004590 computer program Methods 0.000 claims description 22
- 238000011161 development Methods 0.000 abstract description 8
- 230000006870 function Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/1805—Append-only file systems, e.g. using logs or journals to store data
- G06F16/1815—Journaling file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
- G06F11/3093—Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/168—Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention discloses a BMC-based boot log information display method and device, which are implemented by acquiring boot log information of a local computer; monitoring the equipment state of the local computer, inputting the starting log information into an image rendering processor when the local computer is determined to keep the starting state and the basic input/output system is in an initialization and activation stage, so that the image rendering processor performs content rendering on the starting log information to obtain a starting log information rendering image, and driving and controlling a VGA display to display the starting log information rendering image based on a substrate control manager; compared with the prior art, the computing scheme of the invention can realize the output and display of the starting-up log information based on the VGA display, is convenient for users and development testers to visually check the starting-up log information, improves the checking efficiency of the starting-up log information, and further improves the starting-up speed.
Description
Technical Field
The invention relates to the technical field of big data, in particular to a BMC-based startup log information display method and device.
Background
In the current starting scheme, for the x86 architecture, after the BIOS initialization and activation are completed, the VGA display module is controlled to enter the SETUP interface; also for the OpenPower architecture, after PNOR initialization activation is completed, the VGA display module can be controlled to enter the petitboot interface;
in the prior art, the concept of SOL is introduced, and the host startup log information is sent to the serial port of the BMC, and then remote check and management are performed in a LAN mode; the scheme has the defect that log information displayed by the VGA module can not be visually checked from the power-on to the completion of BIOS/PNOR initialization; most BIOS developers need to take SOL function as a debugging tool, because BIOS opens Debug mode to check the boot log information, the boot speed is greatly reduced, and the checking efficiency of the boot log information is lower; therefore, it is necessary to view the boot log information through the VGA display at power-up.
Disclosure of Invention
The invention aims to solve the technical problems that: the method and the device for displaying the starting-up log information based on the BMC are provided, the starting-up log information is checked based on the VGA display, and the checking efficiency of the starting-up log information is improved.
In order to solve the technical problems, the invention provides a BMC-based boot log information display method, which comprises the following steps:
acquiring starting log information of a local computer;
monitoring the equipment state of the local computer, inputting the starting log information into an image rendering processor when the local computer is determined to keep the starting state and the basic input/output system is in an initialization and activation stage, so that the image rendering processor performs content rendering on the starting log information to obtain a starting log information rendering image, and driving and controlling a VGA display to display the starting log information rendering image based on a substrate control manager.
Furthermore, when the local computer keeps the starting state and the basic input/output system is in the initialization activation stage, the VGA display is used for realizing the output and display of the starting log information, so that users and development testers can intuitively check the starting log information, and the checking efficiency of the starting log information is improved.
In one possible implementation manner, after the VGA display is driven and controlled to display the boot log information rendering image based on the substrate control manager, the method further includes:
and continuously monitoring the equipment state of the local computer, and controlling a VGA display to display the boot log information rendering image based on the local computer drive when the basic input output system is determined to finish initialization and activation.
Furthermore, through the mutual coordination of the upper layer and the bottom layer, the output display is driven by the substrate control manager in the process from the startup power-on to the completion of the initialization and activation of the basic input/output system, and the output display is driven and controlled by the local computer when the initialization and activation of the basic input/output system is completed, so that the problem that the VGA display module can be controlled to display the startup log information rendering image after waiting for the completion of the initialization and activation of the basic input/output system in the prior art is solved.
The invention provides a BMC-based boot log information display method, which further comprises the following steps:
and monitoring the equipment state of the local computer, and displaying the boot log information rendering image based on the local computer drive control VGA display when the local computer is determined to keep the boot state and the basic input output system is initialized and activated.
Furthermore, by supplementing and describing different equipment states of the local computer, under the condition of facing the different equipment states of the local computer, the appropriate driving control equipment can be quickly selected to realize the driving of the VGA display, and the checking efficiency of the log information of the starting machine is improved.
In one possible implementation manner, the monitoring the device state of the local computer specifically includes:
monitoring the starting state of the local computer;
and monitoring the initialization activation state of the basic input/output system in the local computer.
Furthermore, the device state of the local computer is monitored from the two aspects of the starting state and the initialization activation state of the basic input/output system, so that the accuracy of the subsequently acquired device state can be improved.
In one possible implementation manner, determining that the basic input output system is in an initialization activation stage specifically includes:
and acquiring the register data of the scratch register in the local computer in real time, judging whether the register data is 0, if so, determining that the basic input/output system is in an initialization activation stage, and if not, determining that the basic input/output system is in the initialization activation stage.
Further, based on the characteristic that the register data in the scratch register is 0 in the system initialization and activation stage, the efficiency of acquiring the initialization and activation state of the basic input/output system is improved by directly acquiring the register data of the scratch register in the local computer.
In one possible implementation, the display interface modes of the VGA display include a VGA mode and an image contrast display mode;
when the VGA display is driven and controlled to display the boot log information rendering image based on the substrate control manager, setting a display interface mode of the VGA display as an image contrast display mode;
and when the VGA display is controlled to display the boot log information rendering image based on the local computer drive, setting the display interface mode of the VGA display as a VGA mode.
Further, by setting the display interface modes of different VGA displays, when different driving control devices are driven in the follow-up process, the proper display interface mode can be directly selected, and the display efficiency is improved.
In one possible implementation, the image rendering processor includes a terminal emulator and a kernel mode setting console;
when the image rendering processor is the terminal simulator, the starting-up log information is input into the terminal simulator, so that the terminal simulator performs content rendering on the starting-up log information to obtain a first starting-up log information rendering image;
when the image rendering processor is the kernel mode setting console, the starting log information is input into the kernel mode setting console, so that the kernel mode setting console performs content rendering on the starting log information to obtain a second starting log information rendering image.
Furthermore, by improving the applicability of the image rendering processor, the user can select an appropriate image rendering processor based on the requirement, and the use experience of the user is further improved.
The invention also provides a startup log information display device based on the BMC, which comprises: the system comprises a starting-up log information acquisition module and a first starting-up log information rendering image display module;
the starting-up log information acquisition module is used for acquiring starting-up log information of the local computer;
the first boot log information rendering image display module is used for monitoring the equipment state of the local computer, inputting the boot log information into the image rendering processor when the local computer is determined to keep the boot state and the basic input/output system is in an initialization activation stage, so that the image rendering processor performs content rendering on the boot log information to obtain a boot log information rendering image, and driving and controlling a VGA display to display the boot log information rendering image based on a substrate control manager.
In one possible implementation manner, the boot log information rendering image display module is configured to drive and control, based on a baseboard control manager, the VGA display to display the boot log information rendering image, and then further configured to:
and continuously monitoring the equipment state of the local computer, and controlling a VGA display to display the boot log information rendering image based on the local computer drive when the basic input output system is determined to finish initialization and activation.
The invention provides a boot log information display device based on BMC, which further comprises: the second starting log information rendering image display module;
the second boot log information rendering image display module is configured to monitor a device state of the local computer, and when it is determined that the local computer is in a boot state and the basic input/output system is initialized and activated, control a VGA display to display the boot log information rendering image based on the local computer.
In one possible implementation manner, the first boot log information rendering image display module is configured to monitor an equipment state of the local computer, and specifically includes:
monitoring the starting state of the local computer;
and monitoring the initialization activation state of the basic input/output system in the local computer.
In one possible implementation manner, the first boot log information rendering image display module is configured to determine that a basic input/output system is in an initialization activation stage, and specifically includes:
and acquiring the register data of the scratch register in the local computer in real time, judging whether the register data is 0, if so, determining that the basic input/output system is in an initialization activation stage, and if not, determining that the basic input/output system is in the initialization activation stage.
In one possible implementation, the display interface modes of the VGA display include a VGA mode and an image contrast display mode;
when the VGA display is driven and controlled to display the boot log information rendering image based on the substrate control manager, setting a display interface mode of the VGA display as an image contrast display mode;
and when the VGA display is controlled to display the boot log information rendering image based on the local computer drive, setting the display interface mode of the VGA display as a VGA mode.
In one possible implementation, the image rendering processor includes a terminal emulator and a kernel mode setting console;
the first boot log information rendering image display module is used for inputting the boot log information into the terminal simulator when the image rendering processor is the terminal simulator, so that the terminal simulator performs content rendering on the boot log information to obtain a first boot log information rendering image;
the first boot log information rendering image display module is configured to input the boot log information into the kernel mode setting console when the image rendering processor is the kernel mode setting console, so that the kernel mode setting console performs content rendering on the boot log information to obtain a second boot log information rendering image.
The invention also provides a terminal device, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the BMC-based boot log information display method is realized when the processor executes the computer program.
The invention also provides a computer readable storage medium, which comprises a stored computer program, wherein when the computer program runs, equipment where the computer readable storage medium is located is controlled to execute the BMC-based boot log information display method according to any one of the above.
Compared with the prior art, the method and the device for displaying the boot log information based on the BMC have the following beneficial effects:
the method comprises the steps of obtaining starting log information of a local computer; monitoring the equipment state of the local computer, inputting the starting log information into an image rendering processor when the local computer is determined to keep the starting state and the basic input/output system is in an initialization and activation stage, so that the image rendering processor performs content rendering on the starting log information to obtain a starting log information rendering image, and driving and controlling a VGA display to display the starting log information rendering image based on a substrate control manager; compared with the prior art, the computing scheme of the invention can realize the output and display of the starting-up log information based on the VGA display, is convenient for users and development testers to visually check the starting-up log information, improves the checking efficiency of the starting-up log information, and further improves the starting-up speed.
Drawings
Fig. 1 is a flowchart of an embodiment of a method for displaying boot log information based on BMC according to the present invention;
fig. 2 is a schematic structural diagram of an embodiment of a boot log information display device based on BMC according to the present invention;
fig. 3 is a flowchart of another embodiment of a boot log information display method based on BMC according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, fig. 1 is a flowchart of an embodiment of a boot log information display method based on a BMC according to the present invention, as shown in fig. 1, the method includes steps 101 to 102, specifically as follows:
step 101: and acquiring starting log information of the local computer.
In an embodiment, when the local computer host is powered on, the serial function SOL on the LAN of the baseboard management controller BMC may obtain the boot log information of the local computer host through the virtual serial port vuart.
Preferably, the serial function SOL on the baseboard management controller BMC is used for acquiring the starting-up log information of the local computer host, so that the starting-up log information of the host does not need to be collected again later, and the efficiency can be further improved.
In one embodiment, the boot log information is english character data; preferably, the boot log information may also be chinese field information.
In one embodiment, before the boot log information of the local computer is obtained, it is further determined whether an activated frame buffer device exists in the baseboard control manager, where the activated frame buffer device is used to store the boot log information.
In one embodiment, the determination of whether the baseboard control manager has an active frame buffer device can be made by looking through file/dev/fb 0.
Preferably, the frame buffer device is a terminal simulator Fbterm, and the stable and portable receiving of the boot log information acquired by the SOL can be realized by using an open source tool of the terminal simulator Fbterm.
Step 102: monitoring the equipment state of the local computer, inputting the starting log information into an image rendering processor when the local computer is determined to keep the starting state and the basic input/output system is in an initialization and activation stage, so that the image rendering processor performs content rendering on the starting log information to obtain a starting log information rendering image, and driving and controlling a VGA display to display the starting log information rendering image based on a substrate control manager.
In one embodiment, a monitoring service is set to monitor the equipment state of the local computer; the method specifically comprises the steps of monitoring the starting-up state of the local computer and monitoring the control right of the local computer to the VGA display.
In an embodiment, before monitoring the device state of the local computer, the method further includes obtaining a PC architecture of the local computer, where the PC architecture includes an OpenPower architecture and an x86 architecture.
In one embodiment, when the PC architecture is an x86 architecture, the control right of the local computer to the VGA display is monitored, and whether the basic input/output system in the local computer is initialized and activated is mainly monitored.
In an embodiment, when the PC architecture is an OpenPower architecture, the control right of the local computer to the VGA display is monitored, and whether the PNOR system in the local computer is initialized and activated is mainly monitored.
In one embodiment, determining that the bios is in an initialization active phase specifically includes: and acquiring the register data of the scratch register in the local computer in real time, judging whether the register data is 0, if so, determining that the basic input/output system is in an initialization activation stage, and if not, determining that the basic input/output system is in the initialization activation stage.
Specifically, when monitoring whether the basic input/output system is initialized, the central manager of the local computer transmits the startup log information to the Arm CPU based on the scratch register VGA Scratch Register, detects the registered data stored in the scratch register, and if the registered data is updated, namely, the registered data is updated from 0 to 0XA8, the basic input/output system is considered to be initialized, otherwise, the basic input/output system is considered to be in an initialization stage.
In one embodiment, the boot log information is input to the image rendering processor when it is determined that the local computer remains in a boot state and the bios is in an initialization active phase.
In an embodiment, the image rendering processor performs content rendering on the boot log information, so that the boot log information is converted into a rendered frame image, and a boot log information rendered image is obtained.
In one embodiment, the image rendering processor includes a terminal emulator Fbterm and a kernel mode setting console kmccon.
In an embodiment, when the image rendering processor is the terminal emulator, the boot log information is input into the terminal emulator, so that the terminal emulator performs content rendering on the boot log information to obtain a first boot log information rendering image.
In an embodiment, when the image rendering processor is the kernel mode setting console, the boot log information is input into the kernel mode setting console, so that the kernel mode setting console performs content rendering on the boot log information to obtain a second boot log information rendering image.
Specifically, a memory block is set in the baseboard management controller BMC, where the memory block is used to store a frame buffer and is used for a DRM driver in the baseboard management controller, and DRM is a management architecture in the linux kernel responsible for interaction with a graphics card, and a user space can conveniently perform graphics rendering on the boot log information by using a call interface API provided by DRM.
Preferably, a main stream image is used for displaying a DRM framework, and based on linux kernel development, the expansion is convenient to realize; and for DRM driving, different chips can be adapted for development, wherein the adapted different chips need to support the display controller.
In an embodiment, an interface for implementing a docking user is further provided in the DRM driver, so that a user may read and write an operation file in the file operating system sysfs of the baseboard management controller BMC, thereby determining the attribution of the baseboard management controller BMC to the VGA control right.
Specifically, if the user can read and write the operation file in the file operation system sysfs in the baseboard management controller BMC, it is determined that the baseboard management controller BMC can control the VGA display; otherwise, the baseboard management controller BMC is determined not to control the VGA display.
In an embodiment, when it is determined that the local computer is in a power-on state and the bios is in an initialization activation stage, the baseboard management controller BMC is considered to be capable of controlling the VGA display, and the VGA display is controlled to display and output the power-on log information rendering image through a DRM driver in the baseboard management controller BMC.
In an embodiment, when the VGA display is controlled to display and output the boot log information rendering image by the DRM driver in the baseboard management controller BMC, the baseboard management controller BMC further continuously monitors the device status of the local computer, and when it is determined that the bios is completely initialized and activated, the VGA display is controlled to display the boot log information rendering image based on the local computer driver.
In an embodiment, the device state of the local computer is monitored, and when it is determined that the local computer is in a power-on state and the bios is initialized and activated, the VGA display is controlled to display the power-on log information rendering image directly based on the local computer.
Preferably, when the local computer drives and controls the VGA display to display the boot log information rendering image, the VGA display is driven and controlled to output and display the boot log information rendering image by the pcie.
In one embodiment, the display interface modes of the VGA display include a VGA mode and an image contrast display mode; when the VGA display is driven and controlled to display the boot log information rendering image based on the substrate control manager, setting a display interface mode of the VGA display as an image contrast display mode; and when the VGA display is controlled to display the boot log information rendering image based on the local computer drive, setting the display interface mode of the VGA display as a VGA mode.
In one embodiment, the switching of the display interface mode of the VGA display can be achieved by the display controller Display Controller in the aspeid 2500BMC management chip.
In the embodiment, when the local computer is powered on, the VGA display is taken over by the BMC, so that a user and development testers can visually check the starting-up information; after the BIOS/PNOR initialization is completed, VGA control right is transferred, and the subsequent image rendering of the boot log information is controlled by a local computer host.
The method for displaying boot log information based on BMC in this embodiment is mainly directed to an x86 architecture, and when the x86 architecture is converted into an OpenPower architecture, the basic input/output system is replaced with a PNOR system, and the initialization and activation states of the PNOR system are detected, which are the same as those of the basic input/output system.
Specifically, the equipment state of the local computer is monitored, when the local computer is determined to keep the starting state and the PNOR system is in an initialization and activation stage, the starting log information is input into an image rendering processor, so that the image rendering processor performs content rendering on the starting log information to obtain a starting log information rendering image, and a VGA display is driven and controlled based on a substrate control manager to display the starting log information rendering image; fig. 3 is a flowchart of another embodiment of a boot log information display method based on BMC according to the present invention.
In summary, according to the boot log information display method based on the BMC provided by the embodiment of the invention, the boot log information is obtained through the SOL function of the baseboard management controller BMC, the initialization activation state of the basic input output system is detected, when the basic input output system is determined to be in the initialization activation stage, the boot log information is input into the image rendering processor, so that the image rendering processor performs content rendering on the boot log information, and finally, the DRM driver is matched to output the log information rendering image to the VGA display. After the local computer host acquires the control authority of the VGA display again, namely after the basic input and output system completes the initialization activation state, the local computer host drives the VGA display to display and output log information to render images; the method is convenient for users and development testers to visually check the starting-up information, improves the checking efficiency of the starting-up log information, and further improves the starting-up speed.
Example 2
Referring to fig. 2, fig. 2 is a schematic structural diagram of an embodiment of a boot log information display device based on BMC according to the present invention, and as shown in fig. 2, the device includes a boot log information obtaining module 201 and a first boot log information rendering image display module 202, specifically as follows:
the boot log information obtaining module 201 is configured to obtain boot log information of a local computer.
The first boot log information rendering image display module 202 is configured to monitor a device status of the local computer, and when it is determined that the local computer is in a boot status and the bios is in an initialization activation stage, input the boot log information into an image rendering processor, so that the image rendering processor performs content rendering on the boot log information to obtain a boot log information rendering image, and drive and control a VGA display to display the boot log information rendering image based on a baseboard control manager.
In one embodiment, the boot log information rendering image display module 202 is configured to drive and control the VGA display to display the boot log information rendering image based on the baseboard control manager, and then further configured to: and continuously monitoring the equipment state of the local computer, and controlling a VGA display to display the boot log information rendering image based on the local computer drive when the basic input output system is determined to finish initialization and activation.
In an embodiment, the boot log information display device based on the BMC provided in this embodiment further includes: and the second boot log information rendering image display module.
In an embodiment, the second boot log information rendering image display module is configured to monitor a device state of the local computer, and when it is determined that the local computer is in a boot state and the bios is initialized and activated, control the VGA display to display the boot log information rendering image based on the local computer.
In one embodiment, the first boot log information rendering image display module 202 is configured to monitor a device status of the local computer, and specifically includes: monitoring the starting state of the local computer; and monitoring the initialization activation state of the basic input/output system in the local computer.
In one embodiment, the first boot log information rendering image display module 202 is configured to determine that the bios is in an initialization active stage, and specifically includes: and acquiring the register data of the scratch register in the local computer in real time, judging whether the register data is 0, if so, determining that the basic input/output system is in an initialization activation stage, and if not, determining that the basic input/output system is in the initialization activation stage.
In one embodiment, the display interface modes of the VGA display include a VGA mode and an image contrast display mode; when the VGA display is driven and controlled to display the boot log information rendering image based on the substrate control manager, setting a display interface mode of the VGA display as an image contrast display mode; and when the VGA display is controlled to display the boot log information rendering image based on the local computer drive, setting the display interface mode of the VGA display as a VGA mode.
In one embodiment, the image rendering processor includes a terminal emulator and a kernel mode setting console.
In an embodiment, the first boot log information rendering image display module 202 is configured to input the boot log information into the terminal emulator when the image rendering processor is the terminal emulator, so that the terminal emulator performs content rendering on the boot log information to obtain a first boot log information rendering image.
In an embodiment, the first boot log information rendering image display module 202 is configured to input the boot log information into the kernel mode setting console when the image rendering processor is the kernel mode setting console, so that the kernel mode setting console performs content rendering on the boot log information to obtain a second boot log information rendering image.
It will be clear to those skilled in the art that, for convenience and brevity of description, reference may be made to the corresponding process in the foregoing method embodiment for the specific working process of the above-described apparatus, which is not described in detail herein.
It should be noted that, the embodiments of the foregoing BMC-based boot log information display apparatus are merely schematic, where the modules described as separate components may or may not be physically separated, and the components displayed as the modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
On the basis of the embodiment of the BMC-based boot log information display method, another embodiment of the present invention provides a BMC-based boot log information display terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements the BMC-based boot log information display method according to any one of the embodiments of the present invention when executing the computer program.
Illustratively, in this embodiment the computer program may be partitioned into one or more modules, which are stored in the memory and executed by the processor to perform the present invention. The one or more modules may be a series of computer program instruction segments capable of performing a specific function, for describing execution of the computer program in the BMC-based boot log information display terminal device.
The BMC-based startup log information display terminal equipment can be computing equipment such as a desktop computer, a notebook computer, a palm computer, a cloud server and the like. The BMC-based boot log information display terminal device may include, but is not limited to, a processor and a memory.
The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general processor may be a microprocessor or any conventional processor, etc., and the processor is a control center of the BMC-based boot log information display terminal device, and connects various parts of the entire BMC-based boot log information display terminal device by using various interfaces and lines.
The memory may be used to store the computer program and/or module, and the processor may implement various functions of the BMC-based boot log information display terminal device by running or executing the computer program and/or module stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the cellular phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
On the basis of the embodiment of the BMC-based boot log information display method, another embodiment of the invention provides a storage medium, which comprises a stored computer program, wherein when the computer program runs, equipment where the storage medium is located is controlled to execute the BMC-based boot log information display method according to any one embodiment of the invention.
In this embodiment, the storage medium is a computer-readable storage medium, and the computer program includes computer program code, where the computer program code may be in a source code form, an object code form, an executable file, or some intermediate form, and so on. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
In summary, the invention provides a method and a device for displaying boot log information based on BMC, which are used for acquiring the boot log information of a local computer; monitoring the equipment state of the local computer, inputting the starting log information into an image rendering processor when the local computer is determined to keep the starting state and the basic input/output system is in an initialization and activation stage, so that the image rendering processor performs content rendering on the starting log information to obtain a starting log information rendering image, and driving and controlling a VGA display to display the starting log information rendering image based on a substrate control manager; compared with the prior art, the computing scheme of the invention can realize the output and display of the starting-up log information based on the VGA display, is convenient for users and development testers to visually check the starting-up log information, improves the checking efficiency of the starting-up log information, and further improves the starting-up speed.
The foregoing is merely a preferred embodiment of the present invention, and it should be noted that modifications and substitutions can be made by those skilled in the art without departing from the technical principles of the present invention, and these modifications and substitutions should also be considered as being within the scope of the present invention.
Claims (10)
1. The BMC-based boot log information display method is characterized by comprising the following steps:
acquiring starting log information of a local computer;
monitoring the equipment state of the local computer, inputting the starting log information into an image rendering processor when the local computer is determined to keep the starting state and the basic input/output system is in an initialization and activation stage, so that the image rendering processor performs content rendering on the starting log information to obtain a starting log information rendering image, and driving and controlling a VGA display to display the starting log information rendering image based on a substrate control manager.
2. The method for displaying boot log information based on BMC as claimed in claim 1, wherein after the VGA display is driven and controlled to display the boot log information rendering image based on the baseboard control manager, further comprising:
and continuously monitoring the equipment state of the local computer, and controlling a VGA display to display the boot log information rendering image based on the local computer drive when the basic input output system is determined to finish initialization and activation.
3. The method for displaying boot log information based on BMC as claimed in claim 1, further comprising:
and monitoring the equipment state of the local computer, and displaying the boot log information rendering image based on the local computer drive control VGA display when the local computer is determined to keep the boot state and the basic input output system is initialized and activated.
4. The method for displaying boot log information based on BMC as claimed in claim 1, wherein the monitoring the device status of the local computer specifically comprises:
monitoring the starting state of the local computer;
and monitoring the initialization activation state of the basic input/output system in the local computer.
5. The method for displaying boot log information based on BMC as claimed in claim 4, wherein determining that the BIOS is in an initialization and activation stage comprises:
and acquiring the register data of the scratch register in the local computer in real time, judging whether the register data is 0, if so, determining that the basic input/output system is in an initialization activation stage, and if not, determining that the basic input/output system is in the initialization activation stage.
6. The BMC-based boot log information display method of claim 1, wherein the display interface mode of the VGA display comprises a VGA mode and an image contrast display mode;
when the VGA display is driven and controlled to display the boot log information rendering image based on the substrate control manager, setting a display interface mode of the VGA display as an image contrast display mode;
and when the VGA display is controlled to display the boot log information rendering image based on the local computer drive, setting the display interface mode of the VGA display as a VGA mode.
7. The BMC-based boot log information display method of claim 1, wherein the image rendering processor comprises a terminal emulator and a kernel mode setting console;
when the image rendering processor is the terminal simulator, the starting-up log information is input into the terminal simulator, so that the terminal simulator performs content rendering on the starting-up log information to obtain a first starting-up log information rendering image;
when the image rendering processor is the kernel mode setting console, the starting log information is input into the kernel mode setting console, so that the kernel mode setting console performs content rendering on the starting log information to obtain a second starting log information rendering image.
8. A BMC-based boot log information display device, comprising: the system comprises a starting-up log information acquisition module and a first starting-up log information rendering image display module;
the starting-up log information acquisition module is used for acquiring starting-up log information of the local computer;
the first boot log information rendering image display module is used for monitoring the equipment state of the local computer, inputting the boot log information into the image rendering processor when the local computer is determined to keep the boot state and the basic input/output system is in an initialization activation stage, so that the image rendering processor performs content rendering on the boot log information to obtain a boot log information rendering image, and driving and controlling a VGA display to display the boot log information rendering image based on a substrate control manager.
9. A terminal device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the BMC-based boot log information display method according to any of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium, wherein the computer readable storage medium includes a stored computer program, and the computer program controls a device in which the computer readable storage medium is located to execute the BMC-based boot log information display method according to any one of claims 1 to 7 when running the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310584183.5A CN116594975A (en) | 2023-05-23 | 2023-05-23 | BMC-based startup log information display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310584183.5A CN116594975A (en) | 2023-05-23 | 2023-05-23 | BMC-based startup log information display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116594975A true CN116594975A (en) | 2023-08-15 |
Family
ID=87595243
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310584183.5A Pending CN116594975A (en) | 2023-05-23 | 2023-05-23 | BMC-based startup log information display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116594975A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109918143A (en) * | 2019-03-20 | 2019-06-21 | 浪潮商用机器有限公司 | OpenPOWER platform starts information display method and relevant apparatus |
CN109947490A (en) * | 2019-03-20 | 2019-06-28 | 浪潮商用机器有限公司 | A kind of starting information processing method, device, electronic equipment and readable storage medium storing program for executing |
CN116028125A (en) * | 2023-02-03 | 2023-04-28 | 苏州浪潮智能科技有限公司 | Remote control startup display mode setting method, system, terminal and storage medium |
-
2023
- 2023-05-23 CN CN202310584183.5A patent/CN116594975A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109918143A (en) * | 2019-03-20 | 2019-06-21 | 浪潮商用机器有限公司 | OpenPOWER platform starts information display method and relevant apparatus |
CN109947490A (en) * | 2019-03-20 | 2019-06-28 | 浪潮商用机器有限公司 | A kind of starting information processing method, device, electronic equipment and readable storage medium storing program for executing |
CN116028125A (en) * | 2023-02-03 | 2023-04-28 | 苏州浪潮智能科技有限公司 | Remote control startup display mode setting method, system, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10303491B2 (en) | Method and device of running application program across systems | |
US10572434B2 (en) | Intelligent certificate discovery in physical and virtualized networks | |
CN103874984A (en) | Virtualizable and forward-compatible hardware-software interface | |
CN109936716B (en) | Display driving realization method and system | |
CN113326105B (en) | Hardware equipment configuration method, device and equipment based on host migration | |
CN104598170A (en) | Method and device for confirming read-write path | |
EP3605327B1 (en) | Method and apparatus for capturing screenshots of guest operating system in computer device | |
CN110968392A (en) | Method and device for upgrading virtualization simulator | |
US10467078B2 (en) | Crash dump extraction of guest failure | |
CN111694604A (en) | Method, device and equipment for installing drivers in batches and machine-readable storage medium | |
CN110941408B (en) | KVM virtual machine graphical interface output method and device | |
CN116257320B (en) | DPU-based virtualization configuration management method, device, equipment and medium | |
CN116028125A (en) | Remote control startup display mode setting method, system, terminal and storage medium | |
CN116594975A (en) | BMC-based startup log information display method and device | |
US7370186B1 (en) | Multi-tasking bootstrap system and method | |
CN105068835B (en) | Mobile terminal and debugging information display method thereof | |
CN114398144A (en) | Method for building Jailhouse by using QEMU based on X86 platform | |
CN113391864A (en) | Cloud desktop switching method and system | |
US8195927B2 (en) | Expedient preparation of memory for video execution | |
US9704214B2 (en) | Rendering video data in an information handling system by converting the video data to bulk video data | |
CN110968519A (en) | Game testing method, device, server and storage medium | |
CN111176735B (en) | Method for accelerating startup of electrocardiograph | |
US20230281135A1 (en) | Method for configuring address translation relationship, and computer system | |
CN110968393A (en) | Migration processing method of virtual machine, storage medium and computing equipment | |
CN113886007B (en) | Configuration method, management method, system and medium for KVM virtualization system |
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 |