CN113835914B - Debugging system, method, device and equipment of firmware support package - Google Patents

Debugging system, method, device and equipment of firmware support package Download PDF

Info

Publication number
CN113835914B
CN113835914B CN202110873701.6A CN202110873701A CN113835914B CN 113835914 B CN113835914 B CN 113835914B CN 202110873701 A CN202110873701 A CN 202110873701A CN 113835914 B CN113835914 B CN 113835914B
Authority
CN
China
Prior art keywords
debugging
firmware
firmware support
transmitter
package
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110873701.6A
Other languages
Chinese (zh)
Other versions
CN113835914A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202110873701.6A priority Critical patent/CN113835914B/en
Publication of CN113835914A publication Critical patent/CN113835914A/en
Application granted granted Critical
Publication of CN113835914B publication Critical patent/CN113835914B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application discloses a debugging system, a method, a device and equipment of a firmware support package, wherein the firmware support package of a debugging version is integrated into a BIOS. According to the stage of detection required by the firmware support package, configuring parameters for the firmware support package, and ensuring smooth output of debugging information through the configuration parameters. And transmitting the debugging information generated by the firmware supporting packet to the fault analysis equipment by utilizing the transmitter so as to facilitate the fault analysis equipment to carry out fault positioning according to the debugging information. The debugging version firmware supporting package is integrated in the BIOS of the test server, and parameters are configured according to the detection requirements, so that the test server can smoothly output the debugging information of the firmware supporting package. The transmitter is arranged to transmit the debugging information output by the test server to the fault analysis equipment, the fault analysis equipment performs fault location according to the obtained debugging information, and the source code is not required to be analyzed by other tools, so that the difficulty of FSP error location is effectively reduced.

Description

Debugging system, method, device and equipment of firmware support package
Technical Field
The present invention relates to the field of server debugging technologies, and in particular, to a system, a method, an apparatus, and a device for debugging a firmware support package.
Background
In a basic input output system (Basic Input Output System, BIOS) boot flow of a server, firmware support packages (Firmware Support Package, FSP) provide processor and chipset initialization in a format that is integrated into many existing bootloader frameworks, but throughout the initialization flow, the FSP itself can only be invoked by the EDKII (EFI development kit), linuxBoot, coreBoot, etc. as a binary module with a canonical defined application programming interface (Application Programming Interface, API).
For different configuration starting scenes in the server, once the starting process is in error, error tracing and error processing related in the FSP are extremely difficult, and timely positioning of the error cannot be realized. And because of the self-encapsulation property of the FSP, the FSP has a great negative feedback effect on error checking processing.
The currently adopted fault location method is to debug at the source code level, and the implementation method needs to build Intel System Debugger tools. And the server needs to integrate the built-in Debug Intel FSP or Debug build Intel FSP binary files in the BIOS/IFWI and on-board flash chips. The debugging mode of the source code level has strict requirements on hardware and software installation, the subsequent operation is complicated, and the analysis difficulty on FSP error positioning is very high.
It can be seen that how to reduce the difficulty of FSP mislocalization is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the application aims to provide a debugging system, method, device and equipment for a firmware support packet, which can reduce difficulty in FSP error positioning.
In order to solve the technical problems, an embodiment of the present application provides a debug system of a firmware support packet, including a transmitter, a test server and a fault analysis device;
the test server is used for integrating the firmware support package of the debugging version into the BIOS; configuring parameters for a firmware support packet according to the stage of detection required by the firmware support packet;
the transmitter is respectively connected with the test server and the fault analysis equipment and is used for transmitting debugging information generated by the firmware support packet in the test server to the fault analysis equipment so as to facilitate the fault analysis equipment to carry out fault positioning according to the debugging information.
Optionally, the test server is configured to combine the firmware support packet with the set print information to obtain a firmware support packet of a debug version.
Optionally, the BIOS is configured to adjust debug information required to be transmitted by the transmitter based on the set configuration level.
Optionally, the fault analysis device is configured to invoke a set software application program to convert the received debug information into a data format recognizable by a user.
Optionally, the transmitter is a universal asynchronous receiver transmitter; and a serial UART port is arranged on the test server to realize connection with the universal asynchronous receiving and transmitting transmitter.
Optionally, when the fault analysis device does not have a serial UART port, a UART-OVER-USB adapter is utilized to implement the connection with the universal asynchronous receiver transmitter.
The embodiment of the application also provides a debugging method of the firmware support package, which comprises the following steps:
integrating the firmware support package of the debug version into the BIOS;
configuring parameters for a firmware support packet according to the stage of detection required by the firmware support packet;
and transmitting debugging information generated by the firmware supporting packet to fault analysis equipment by using a transmitter so that the fault analysis equipment can conveniently position faults according to the debugging information.
Optionally, the generating process of the firmware supporting package of the debug version includes:
and merging the firmware support package with the set printing information to obtain the firmware support package of the debugging version.
Optionally, the method further comprises:
and adjusting the debugging information required to be transmitted by the transmitter based on the set configuration level.
The embodiment of the application also provides a debugging device of the firmware support packet, which comprises an integration unit, a configuration unit and a transmission unit;
the integration unit is used for integrating the firmware supporting package of the debugging version into the BIOS;
the configuration unit is used for configuring parameters for the firmware support packet according to the stage of detection required by the firmware support packet;
the transmission unit is used for transmitting the debugging information generated by the firmware supporting packet to the fault analysis equipment by utilizing the transmitter so that the fault analysis equipment can conveniently carry out fault positioning according to the debugging information.
Optionally, the device comprises a merging unit for generating a firmware support package for the debug version;
and the merging unit is used for merging the firmware supporting packet with the set printing information to obtain the firmware supporting packet of the debugging version.
Optionally, the device further comprises an adjusting unit;
the adjusting unit is used for adjusting the debugging information required to be transmitted by the transmitter based on the set configuration level.
The embodiment of the application also provides a debugging device of the firmware support package, which comprises:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the method for debugging a firmware support package as described in any one of the above.
According to the technical scheme, the firmware supporting package of the debugging version is integrated into the BIOS; the debug version of the firmware support package may support the output of debug information. According to the stage of detection required by the firmware support package, configuring parameters for the firmware support package, and ensuring smooth output of debugging information through the configuration parameters. And transmitting debugging information generated by the firmware support packet to the fault analysis equipment by utilizing the transmitter so that the fault analysis equipment can conveniently carry out fault positioning according to the debugging information. In the technical scheme, the debugging version firmware supporting package is integrated in the BIOS of the test server, and the parameter is configured according to the detection requirement, so that the test server can smoothly output the debugging information of the firmware supporting package. The debugging information output by the test server can be transmitted to the fault analysis equipment through the transmitter, so that the fault analysis equipment can conveniently conduct fault location according to the acquired debugging information, the source code is not required to be analyzed by other tools in the implementation process, and the difficulty of FSP error location is effectively reduced.
Drawings
For a clearer description of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a debug system of a firmware support packet according to an embodiment of the present application;
fig. 2 is a flowchart of a method for debugging a firmware support packet according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a debugging device of a firmware supporting package according to an embodiment of the present application;
fig. 4 is a block diagram of a debugging device of a firmware support packet according to another embodiment of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments herein without making any inventive effort are intended to fall within the scope of the present application.
In order to provide a better understanding of the present application, those skilled in the art will now make further details of the present application with reference to the drawings and detailed description.
Next, a debugging system of a firmware support package provided in the embodiments of the present application will be described in detail. Fig. 1 is a schematic structural diagram of a debugging system of a firmware supporting package according to an embodiment of the present application, including a transmitter 11, a test server 12, and a fault analysis device 13;
a test server 12 for integrating the firmware support package of the debug version into the BIOS; parameters are configured for the firmware support package according to the stage of detection required by the firmware support package.
In the embodiment of the application, in order to implement positioning of firmware support package (Firmware Support Package, FSP) faults, debug information of the FSP needs to be collected. The server that encapsulates the FSP may be referred to as the test server 12 for ease of description.
The transmitter 11 is respectively connected with the test server 12 and the fault analysis device 13, and is used for transmitting debugging information generated by a firmware support packet in the test server 12 to the fault analysis device 13 so that the fault analysis device 13 can perform fault location according to the debugging information.
In a specific implementation, the debug information of the test server 12 may be analyzed by the failure analysis device 13. The type of the fault analyzing apparatus 13 may be various, and may be a Personal Computer (PC) or a server, which is not limited herein.
In order to achieve interaction of the test server 12 and the fault analysis device 13, a transmitter 11 may be provided, through which transmitter 11 the debug information collected on the test server 12 is transmitted to the fault analysis device 13.
In a specific implementation, the Transmitter 11 may employ a universal asynchronous receiver Transmitter (Universal Asynchronous Receiver/Transmitter, UART). For convenience of description, UART is taken as the transmitter 11.
In the embodiment of the application, in order to realize output of the debug information, the debug information needs to be set to a debug version, and a firmware support package of the debug version can support output of the debug information.
In a specific implementation, the firmware support package and the set printing information may be combined to obtain the firmware support package of the debug version.
The firmware support package has different phases including FSP-T (TempRamInit API, temporary storage initialization API). FSP-M (memory initialization API) and (TempRamExit API, exit temporary storage state API). FSP-S (SiliconInit API, processor initialization API) and (NotifyPhase API, registration phase API).
The configuration parameters corresponding to the different phases are different, so in practical application, the BIOS can configure the parameters for the firmware support packet according to the phase required to be detected by the firmware support packet.
Taking UART as an example of a transmitter, in order to realize connection between the test server and the transmitter, a serial UART port may be reserved on the hardware design of the test server, and a UART cable may be used to connect the test server and the fault analysis device.
It should be noted that, in practical applications, the fault analysis device may not have a UART port, and direct connection with the UART cannot be achieved. For this case, a UART-OVER-USB adapter may be employed to realize the connection of the UART with the failure analysis apparatus.
In a specific implementation, the test server 12 is configured to combine the firmware support package with the set print information to obtain a firmware support package of a debug version.
In view of the fact that the debug information is presented in binary form, in order to facilitate the user to intuitively understand the data content contained in the debug information, the fault analysis device 13 may call a set software application program to convert the received debug information into a data format recognizable to the user.
In a specific implementation, the fault analysis device 13 may call a software application such as putty. Exe, and the baud rate may be configured to 115200bps according to the performance of each hardware device.
In the embodiment of the application, the data format recognizable by the user is not limited, and binary debug information is converted into text form for presentation, for example, text in log format and txt format.
In practical application, according to different analysis requirements, the content of data contained in the debug information to be analyzed is different, so in the embodiment of the application, the debug information to be transmitted by the transmitter can be adjusted based on the set configuration level.
Different configuration levels may be divided according to the data content to be output. For example, configuration levels may be divided into primary, secondary, tertiary, and so on. The first level may represent acquiring all debug information, the second level may represent acquiring a specified message of the debug information, and the third level may represent outputting a thread name generating the debug information. The configuration levels are merely examples, and the present application does not limit the division manner of the configuration levels.
In the embodiment of the application, the content of the debug information to be output can be selected by setting the configuration level, so that the output debug information is more targeted.
According to the technical scheme, the firmware supporting package of the debugging version is integrated into the BIOS; the debug version of the firmware support package may support the output of debug information. According to the stage of detection required by the firmware support package, configuring parameters for the firmware support package, and ensuring smooth output of debugging information through the configuration parameters. And transmitting debugging information generated by the firmware support packet to the fault analysis equipment by utilizing the transmitter so that the fault analysis equipment can conveniently carry out fault positioning according to the debugging information. In the technical scheme, the debugging version firmware supporting package is integrated in the BIOS of the test server, and the parameter is configured according to the detection requirement, so that the test server can smoothly output the debugging information of the firmware supporting package. The debugging information output by the test server can be transmitted to the fault analysis equipment through the transmitter, so that the fault analysis equipment can conveniently conduct fault location according to the acquired debugging information, the source code is not required to be analyzed by other tools in the implementation process, and the difficulty of FSP error location is effectively reduced.
Fig. 2 is a flowchart of a method for debugging a firmware support packet according to an embodiment of the present application, where the method includes:
s201: the debug version of the firmware support package is integrated into the BIOS.
In the embodiment of the application, in order to implement positioning of firmware support package (Firmware Support Package, FSP) faults, debug information of the FSP needs to be collected. The server encapsulated with FSP may be referred to as a test server for ease of description.
In a specific implementation, the debugging information of the test server can be analyzed through the fault analysis device. The type of the fault analysis device may be various, and may be a Personal Computer (PC) or a server, which is not limited herein.
In order to realize the interaction between the test server and the fault analysis device, a transmitter can be provided, and debug information collected on the test server is transmitted to the fault analysis device through the transmitter.
In a specific implementation, the Transmitter may employ a universal asynchronous receiver Transmitter (Universal Asynchronous Receiver/Transmitter, UART). For convenience of description, UART is taken as an example of the transmitter.
In the embodiment of the application, in order to realize output of the debug information, the debug information needs to be set to a debug version, and a firmware support package of the debug version can support output of the debug information.
In a specific implementation, the firmware support package and the set printing information may be combined to obtain the firmware support package of the debug version.
S202: parameters are configured for the firmware support package according to the stage of detection required by the firmware support package.
The firmware support package has different phases including FSP-T (TempRamInit API, temporary storage initialization API). FSP-M (memory initialization API) and (TempRamExit API, exit temporary storage state API). FSP-S (SiliconInit API, processor initialization API) and (NotifyPhase API, registration phase API).
The configuration parameters corresponding to the different phases are different, so in practical application, the BIOS can configure the parameters for the firmware support packet according to the phase required to be detected by the firmware support packet.
S203: and transmitting the debugging information generated by the firmware supporting packet to the fault analysis equipment by utilizing the transmitter so as to facilitate the fault analysis equipment to carry out fault positioning according to the debugging information.
Taking UART as an example of a transmitter, in order to realize connection between the test server and the transmitter, a serial UART port may be reserved on the hardware design of the test server, and a UART cable may be used to connect the test server and the fault analysis device.
It should be noted that, in practical applications, the fault analysis device may not have a UART port, and direct connection with the UART cannot be achieved. For this case, a UART-OVER-USB adapter may be employed to realize the connection of the UART with the failure analysis apparatus.
According to the technical scheme, the firmware supporting package of the debugging version is integrated into the BIOS; the debug version of the firmware support package may support the output of debug information. According to the stage of detection required by the firmware support package, configuring parameters for the firmware support package, and ensuring smooth output of debugging information through the configuration parameters. And transmitting debugging information generated by the firmware support packet to the fault analysis equipment by utilizing the transmitter so that the fault analysis equipment can conveniently carry out fault positioning according to the debugging information. In the technical scheme, the debugging version firmware supporting package is integrated in the BIOS of the test server, and the parameter is configured according to the detection requirement, so that the test server can smoothly output the debugging information of the firmware supporting package. The debugging information output by the test server can be transmitted to the fault analysis equipment through the transmitter, so that the fault analysis equipment can conveniently conduct fault location according to the acquired debugging information, the source code is not required to be analyzed by other tools in the implementation process, and the difficulty of FSP error location is effectively reduced.
In practical application, according to different analysis requirements, the content of data contained in the debug information to be analyzed is different, so in the embodiment of the application, the debug information to be transmitted by the transmitter can be adjusted based on the set configuration level.
Different configuration levels may be divided according to the data content to be output. For example, configuration levels may be divided into primary, secondary, tertiary, and so on. The first level may represent acquiring all debug information, the second level may represent acquiring a specified message of the debug information, and the third level may represent outputting a thread name generating the debug information.
In the embodiment of the application, the content of the debug information to be output can be selected by setting the configuration level, so that the output debug information is more targeted.
Fig. 3 is a schematic structural diagram of a debugging device of a firmware supporting package according to an embodiment of the present application, including an integrating unit 31, a configuring unit 32 and a transmitting unit 33;
in the embodiment of the application, in order to implement positioning of firmware support package (Firmware Support Package, FSP) faults, debug information of the FSP needs to be collected. The server encapsulated with FSP may be referred to as a test server for ease of description.
An integration unit 31 in the test server for integrating the firmware support package of the debug version into the BIOS;
in order to realize the interaction between the test server and the fault analysis device, a transmitter can be provided, and debug information collected on the test server is transmitted to the fault analysis device through the transmitter.
In a specific implementation, the debugging information of the test server can be analyzed through the fault analysis device. The type of the fault analysis device may be various, and may be a Personal Computer (PC) or a server, which is not limited herein.
In order to realize the interaction between the test server and the fault analysis device, a transmitter can be provided, and debug information collected on the test server is transmitted to the fault analysis device through the transmitter.
In a specific implementation, the Transmitter may employ a universal asynchronous receiver Transmitter (Universal Asynchronous Receiver/Transmitter, UART). For convenience of description, UART is taken as an example of the transmitter.
In the embodiment of the application, in order to realize output of the debug information, the debug information needs to be set to a debug version, and a firmware support package of the debug version can support output of the debug information.
A configuration unit 32 in the test server, configured to configure parameters for the firmware support packet according to a stage of detection required by the firmware support packet;
the firmware support package has different phases including FSP-T (TempRamInit API, temporary storage initialization API). FSP-M (memory initialization API) and (TempRamExit API, exit temporary storage state API). FSP-S (SiliconInit API, processor initialization API) and (NotifyPhase API, registration phase API).
The configuration parameters corresponding to the different phases are different, so in practical application, the configuration unit 32 may configure the parameters for the firmware support packet according to the phase required to be detected by the firmware support packet.
And a transmission unit 33, configured to transmit the debug information generated by the firmware supporting packet to the fault analysis device by using the transmitter, so that the fault analysis device performs fault location according to the debug information.
Taking UART as an example of a transmitter, in order to realize connection between the test server and the transmitter, a serial UART port may be reserved on the hardware design of the test server, and a UART cable may be used to connect the test server and the fault analysis device.
It should be noted that, in practical applications, the fault analysis device may not have a UART port, and direct connection with the UART cannot be achieved. For this case, a UART-OVER-USB adapter may be employed to realize the connection of the UART with the failure analysis apparatus.
Optionally, the device comprises a merging unit for generating a firmware support packet for the debug version;
and the merging unit is used for merging the firmware support packet with the set printing information to obtain a firmware support packet of the debug version.
Optionally, the device further comprises an adjusting unit;
and the adjusting unit is used for adjusting the debugging information required to be transmitted by the transmitter based on the set configuration level.
In the embodiment of the application, the content of the debug information to be output can be selected by setting the configuration level, so that the output debug information is more targeted.
The description of the features in the embodiment corresponding to fig. 3 may be referred to the related description of the embodiment corresponding to fig. 2, which is not repeated here.
According to the technical scheme, the firmware supporting package of the debugging version is integrated into the BIOS; the debug version of the firmware support package may support the output of debug information. According to the stage of detection required by the firmware support package, configuring parameters for the firmware support package, and ensuring smooth output of debugging information through the configuration parameters. And transmitting debugging information generated by the firmware support packet to the fault analysis equipment by utilizing the transmitter so that the fault analysis equipment can conveniently carry out fault positioning according to the debugging information. In the technical scheme, the debugging version firmware supporting package is integrated in the BIOS of the test server, and the parameter is configured according to the detection requirement, so that the test server can smoothly output the debugging information of the firmware supporting package. The debugging information output by the test server can be transmitted to the fault analysis equipment through the transmitter, so that the fault analysis equipment can conveniently conduct fault location according to the acquired debugging information, the source code is not required to be analyzed by other tools in the implementation process, and the difficulty of FSP error location is effectively reduced.
Fig. 4 is a block diagram of a debugging device of a firmware support packet according to another embodiment of the present application, and as shown in fig. 4, the debugging device of the firmware support packet includes: a memory 20 for storing a computer program;
a processor 21 for implementing the integration of the debug version firmware support package into the BIOS as in the above embodiments when executing a computer program; configuring parameters for the firmware support packet according to the stage of detection required by the firmware support packet; and transmitting the debugging information generated by the firmware supporting packet to the fault analysis equipment by utilizing the transmitter so as to facilitate the fault positioning step of the fault analysis equipment according to the debugging information.
The debugging device of the firmware support package provided in this embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like.
Processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 21 may also comprise a main processor, which is a processor for processing data in an awake state, also called CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing a computer program 201, where the computer program, after being loaded and executed by the processor 21, can implement the relevant steps of the firmware support package debugging method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may further include an operating system 202, data 203, and the like, where the storage manner may be transient storage or permanent storage. The operating system 202 may include Windows, unix, linux, among others. Data 203 may include, but is not limited to, a debug version of a firmware support package, configuration parameters, and the like.
In some embodiments, the debugging device of the firmware supporting package may further comprise a display screen 22, an input-output interface 23, a communication interface 24, a power supply 25 and a communication bus 26.
Those skilled in the art will appreciate that the architecture shown in fig. 4 does not constitute a limitation of the debugging device of the firmware support package and may include more or fewer components than illustrated.
According to the technical scheme, the firmware supporting package of the debugging version is integrated into the BIOS; the debug version of the firmware support package may support the output of debug information. According to the stage of detection required by the firmware support package, configuring parameters for the firmware support package, and ensuring smooth output of debugging information through the configuration parameters. And transmitting debugging information generated by the firmware support packet to the fault analysis equipment by utilizing the transmitter so that the fault analysis equipment can conveniently carry out fault positioning according to the debugging information. In the technical scheme, the debugging version firmware supporting package is integrated in the BIOS of the test server, and the parameter is configured according to the detection requirement, so that the test server can smoothly output the debugging information of the firmware supporting package. The debugging information output by the test server can be transmitted to the fault analysis equipment through the transmitter, so that the fault analysis equipment can conveniently conduct fault location according to the acquired debugging information, the source code is not required to be analyzed by other tools in the implementation process, and the difficulty of FSP error location is effectively reduced.
It will be appreciated that if the method of debugging the firmware support package in the above embodiment is implemented in the form of a software functional unit and sold or used as a separate product, it may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution contributing to the prior art, or in a software product stored in a storage medium, performing all or part of the steps of the methods of the various embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random-access Memory (Random Access Memory, RAM), an electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, a magnetic disk, or an optical disk, etc. various media capable of storing program codes.
Based on this, the embodiment of the application further provides a computer readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for debugging a firmware support package according to any one of the above.
The functions of each functional module of the computer readable storage medium in the embodiments of the present application may be specifically implemented according to the method in the embodiments of the method, and the specific implementation process may refer to the relevant description of the embodiments of the method and will not be repeated herein.
The above describes in detail a debugging system, method, device and equipment for firmware support package provided in the embodiments of the present application. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The above describes in detail a system, a method, an apparatus and a device for debugging a firmware support package provided in the present application. The principles and embodiments of the present invention have been described herein with reference to specific examples, the description of which is intended only to facilitate an understanding of the method of the present invention and its core ideas. It should be noted that it would be obvious to those skilled in the art that various improvements and modifications can be made to the present application without departing from the principles of the present invention, and such improvements and modifications fall within the scope of the claims of the present application.

Claims (10)

1. The debugging system of the firmware support package is characterized by comprising a transmitter, a test server and fault analysis equipment;
the test server is used for integrating the firmware support package of the debugging version into the BIOS; configuring parameters for a firmware support packet according to the stage of detection required by the firmware support packet;
the transmitter is respectively connected with the test server and the fault analysis equipment and is used for transmitting debugging information generated by the firmware support packet in the test server to the fault analysis equipment so as to facilitate the fault analysis equipment to carry out fault positioning according to the debugging information.
2. The system according to claim 1, wherein the test server is configured to combine the firmware support package with the set print information to obtain a debug version firmware support package.
3. The firmware support package debugging system of claim 1, wherein the BIOS is configured to adjust the debugging information required to be transmitted by the transmitter based on the set configuration level.
4. The debugging system of firmware support package of claim 1, wherein the fault analysis device is configured to invoke a set software application to convert the received debugging information into a user-recognizable data format.
5. The firmware support package debugging system of claim 1, wherein the transmitter is a universal asynchronous receiver transmitter; and a serial UART port is arranged on the test server to realize connection with the universal asynchronous receiving and transmitting transmitter.
6. The firmware-supported packet debugging system of claim 5, wherein the connection with the universal asynchronous receiver-transmitter is implemented using a UART-OVER-USB adapter when the failure analysis device does not have a serial UART port.
7. A method for debugging a firmware support package, comprising:
integrating the firmware support package of the debug version into the BIOS;
configuring parameters for a firmware support packet according to the stage of detection required by the firmware support packet;
and transmitting debugging information generated by the firmware supporting packet to fault analysis equipment by using a transmitter so that the fault analysis equipment can conveniently position faults according to the debugging information.
8. The method for debugging a firmware support package of claim 7, further comprising:
and adjusting the debugging information required to be transmitted by the transmitter based on the set configuration level.
9. The debugging device of the firmware support packet is characterized by comprising an integration unit, a configuration unit and a transmission unit;
the integration unit is used for integrating the firmware supporting package of the debugging version into the BIOS;
the configuration unit is used for configuring parameters for the firmware support packet according to the stage of detection required by the firmware support packet;
the transmission unit is used for transmitting the debugging information generated by the firmware supporting packet to the fault analysis equipment by utilizing the transmitter so that the fault analysis equipment can conveniently carry out fault positioning according to the debugging information.
10. A debugging device for a firmware support package, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the method for debugging a firmware support package according to any one of claims 7 or 8.
CN202110873701.6A 2021-07-30 2021-07-30 Debugging system, method, device and equipment of firmware support package Active CN113835914B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110873701.6A CN113835914B (en) 2021-07-30 2021-07-30 Debugging system, method, device and equipment of firmware support package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110873701.6A CN113835914B (en) 2021-07-30 2021-07-30 Debugging system, method, device and equipment of firmware support package

Publications (2)

Publication Number Publication Date
CN113835914A CN113835914A (en) 2021-12-24
CN113835914B true CN113835914B (en) 2023-07-14

Family

ID=78963080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110873701.6A Active CN113835914B (en) 2021-07-30 2021-07-30 Debugging system, method, device and equipment of firmware support package

Country Status (1)

Country Link
CN (1) CN113835914B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948157A (en) * 2021-01-29 2021-06-11 苏州浪潮智能科技有限公司 Server fault positioning method, device and system and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI480731B (en) * 2010-06-30 2015-04-11 Insyde Software Corp Adapter and debug method using the same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948157A (en) * 2021-01-29 2021-06-11 苏州浪潮智能科技有限公司 Server fault positioning method, device and system and computer readable storage medium

Also Published As

Publication number Publication date
CN113835914A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
Philomina et al. Wi-Fi energy meter implementation using embedded linux in ARM 9
CN106575249B (en) Low power debug architecture for Systems On Chip (SOC) and systems
CN109471773B (en) Method, device, server and storage medium for multi-channel output of front-end log
US8797335B2 (en) Platform agnostic screen capture tool
CN113127361B (en) Application development method and device, electronic equipment and storage medium
CN110945475A (en) System and method for providing patchable ROM firmware
CN104636122B (en) The sharing method and equipment of a kind of capability component
US11714742B2 (en) Synthesizing printf and scanf statements for generating debug messages in high-level synthesis (HLS) code
EP4390673A1 (en) Ecu upgrade method and device, and readable storage medium
CN106952426B (en) Data processing method and device
CN111142863A (en) Page generation method and device
CN116860350A (en) Jailhouse tool configuration method, electronic device and computer readable storage medium
CN114048415A (en) Form generation method and device, electronic equipment and computer readable storage medium
EP3519964B1 (en) Electronic apparatus for recording debugging information and control method thereof
CN113835914B (en) Debugging system, method, device and equipment of firmware support package
Borycki Programming for the Internet of Things: Using Windows 10 IoT Core and Azure IoT Suite
CN116755828A (en) Parameter value configuration method, analysis method, electronic device and storage medium
US10628285B1 (en) Dynamic configuration of availability of debugging messages
US20200278876A1 (en) Serialization of objects to java bytecode
CN116361220A (en) PCIe topology acquisition method and device
CN104007944A (en) Debugging printing method and system
CN108228805B (en) Method and device for processing display data and mobile terminal
US10191875B2 (en) Techniques of providing serial port in non-legacy system via embedded-system device
US7447900B2 (en) Method and a system for designating a user selected console device as the primary console device for a particular computer
EP4191407A1 (en) Method and device for generating and registering ui service package and loading ui service

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