Method for performing a quick self-check of a motherboard of a server, motherboard and server

By introducing programmable logic devices and a baseboard management controller on the server motherboard, real-time monitoring and fault reporting of the power-on timing and bus transmission of the processing chip are achieved, solving the problem of long fault location cycles in the prior art and improving fault detection efficiency and the motherboard's rapid repair capability.

CN122633491BActive Publication Date: 2026-11-20SHANGHAI HONGJUN RUITONG MICROELECTRONICS TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611141134.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-07-30
Publication Date
2026-11-20
Estimated Expiration
2046-07-30

AI Technical Summary

Technical Problem

Existing server motherboards lack an effective closed-loop feedback mechanism during power-on sequence and initialization, making it difficult to prevent startup failures. Bus transmission lacks observation methods, and fault location cycles are long, making it difficult to meet the rapid repair needs of mass production.

Method used

By monitoring the power status signals and bus transmission of the processing chip through programmable logic devices, hardware-level monitoring of power-on timing and faults is achieved. The baseboard management controller is used to actively report fault information, enabling rapid fault identification in the motherboard power-on startup and firmware burning process.

Benefits of technology

It improves the efficiency of motherboard fault detection, reduces the time and cost of manual troubleshooting, and enables real-time monitoring of motherboard power-on sequence and bus transmission, quickly identifying and reporting faults.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122633491B_ABST
    Figure CN122633491B_ABST
Patent Text Reader

Abstract

The application provides a motherboard rapid self-checking method of a server, a motherboard and a server, and relates to the technical field of computer hardware, and comprises the following steps: in response to an input power-on operation, outputting a power supply enable signal to a voltage regulator through a programmable logic device, and receiving a power supply state signal fed back by the voltage regulator; checking a power-on time sequence of the power supply state signal through the programmable logic device; if the power-on time sequence checking is passed, a processing chip reads and loads basic firmware from a flash memory chip through a multiplexer; acquiring a first bus monitoring signal between the multiplexer and the flash memory chip through the programmable logic device; monitoring a read operation between the multiplexer and the flash memory chip according to the first bus monitoring signal; and if an abnormal read operation is monitored, reporting corresponding first fault information to a baseboard management controller through the programmable logic device. The application can improve the motherboard fault detection efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer hardware technology, and more specifically, to a method for rapid self-testing of a server motherboard, a motherboard, and a server. Background Technology

[0002] During the initial setup and mass production repair of the server motherboard, it is necessary to verify the power-on sequence and initialization status of the processing chip and locate the fault.

[0003] Existing server motherboards typically use programmable logic devices and voltage regulators to power the processing chip. After the processing chip is powered on, it reads the firmware from the flash memory chip via a bus to complete the boot process.

[0004] In practical engineering applications, the following shortcomings exist: Firstly, the power-on process lacks an effective closed-loop feedback mechanism. Startup failures caused by power-on timing violations or voltage abnormalities can often only be investigated point by point using external testing equipment after the fault occurs, making it difficult to effectively prevent faults before they occur and potentially causing hardware damage. Secondly, bus transmission lacks effective observation methods during firmware burning and loading stages. When data errors or timing deviations occur, it is difficult to distinguish whether the fault occurred during the burning or reading stage. Furthermore, the status signals of the processing chip during the initialization process lack a centralized monitoring mechanism, making it impossible to obtain status information in a timely manner when startup anomalies occur. At the same time, there is no fault information output channel after startup failure, and fault analysis can only rely on software logs or manual measurements, resulting in a long localization cycle and making it difficult to meet the needs of batch control and rapid repair in the mass production stage. Summary of the Invention

[0005] This application provides a method for rapid self-testing of a server motherboard, a motherboard, and a server, which can improve the efficiency of motherboard fault detection.

[0006] In a first aspect, embodiments of this application provide a method for rapid self-testing of a server motherboard, applied to a server motherboard, the motherboard including: a processing chip, a programmable logic device, a voltage regulator, a flash memory chip, a multiplexer, and a baseboard management controller; the method includes: In response to the input power-on operation, the programmable logic device outputs a power enable signal to the voltage regulator and receives a power status signal fed back by the voltage regulator. The power-on timing of the power status signal is verified using the programmable logic device. If the power-on timing verification passes, the processing chip reads and loads the basic firmware from the flash memory chip through the multiplexer; The programmable logic device acquires the first bus monitoring signal between the multiplexer and the flash memory chip; Based on the first bus monitoring signal, the read operation between the multiplexer and the flash memory chip is monitored; If an abnormal read operation is detected, the corresponding first fault information is reported to the baseboard management controller through the programmable logic device.

[0007] Optionally, before the processing chip reads and loads the basic firmware from the flash memory chip via the multiplexer, the method further includes: The base firmware is burned to the flash memory chip via the multiplexer through the baseboard management controller; The second bus monitoring signal between the multiplexer and the flash memory chip is obtained through the programmable logic device; The programming operation between the multiplexer and the flash memory chip is monitored according to the second bus monitoring signal; If an abnormality is detected in the programming operation, the corresponding second fault information is reported to the baseboard management controller through the programmable logic device.

[0008] Optionally, before burning the basic firmware to the flash memory chip via the multiplexer through the substrate management controller, the method further includes: The firmware update trigger signal is output from the update output pin of the management controller to the update input pin of the programmable logic device; The programmable logic device controls the multiplexer to switch the bus access permission of the flash memory chip from the processing chip to the substrate management controller based on the firmware update trigger signal. After monitoring the programming operation between the multiplexer and the flash memory chip according to the second bus monitoring signal, the method further includes: If the programming operation is detected as complete, the programmable logic device controls the multiplexer to switch the bus access permission of the flash memory chip from the substrate management controller back to the processing chip.

[0009] Optionally, monitoring the programming operation between the multiplexer and the flash memory chip based on the second bus monitoring signal includes: Based on the second bus monitoring signal, the programming operation is subjected to bus clock verification and data verification; If a bus clock anomaly or a data verification error is detected, it is determined that an abnormal burning operation has been detected.

[0010] Optionally, monitoring the read operation between the multiplexer and the flash memory chip based on the first bus monitoring signal includes: Based on the first bus monitoring signal, the read operation is subjected to bus clock verification and data verification; If a bus clock anomaly or a data verification error is detected, it is determined that a read operation anomaly has been detected.

[0011] Optionally, the method further includes: During the power-on initialization process of the processing chip, the general-purpose input / output port signals of the processing chip are acquired through the programmable logic device; The programmable logic device determines whether the processing chip is in normal condition based on the acquired general input / output port signals. If the status is determined to be abnormal, the third fault information is reported to the management controller through the programmable logic device.

[0012] Secondly, embodiments of this application also provide a motherboard for a server, the motherboard including: a processing chip, a programmable logic device, a voltage regulator, a flash memory chip, a multiplexer, and a baseboard management controller; The two input pins of the multiplexer are respectively connected to the serial peripheral interface of the processing chip and the serial peripheral interface of the baseboard management controller, and the output pin of the multiplexer is connected to the serial peripheral interface of the flash memory chip. The monitoring pin of the programmable logic device is connected to the serial peripheral bus between the multiplexer and the flash memory chip. The selection control pin of the programmable logic device is connected to the selection pin of the multiplexer. The power enable pin of the programmable logic device is connected to the enable pin of the voltage regulator. The signal acquisition pin of the programmable logic device is connected to the signal pin of the processing chip. The alarm output pin of the programmable logic device is connected to the alarm input pin of the baseboard management controller. The data pin of the programmable logic device is connected to the data pin of the baseboard management controller. The power supply pin of the voltage regulator is connected to the power supply input pin of the processing chip, and the power status pin of the voltage regulator is connected to the status input pin of the programmable logic device. The motherboard is used to perform the motherboard fast self-test method for the server described in any of the first aspects above.

[0013] Optionally, the processing chip includes a first processing chip and a second processing chip, wherein the first processing chip and the second processing chip are connected via an improved internal integrated circuit I3C bus; The first input pin of the multiplexer is connected to the serial peripheral interface of the first processing chip; The first power supply output pin of the voltage regulator is connected to the power supply input pin of the first processing chip, and the second power supply output pin of the voltage regulator is connected to the power supply input pin of the second processing chip. The programmable logic device has multiple signal acquisition pins that are respectively connected to the signal pins of the first processing chip and the second processing chip.

[0014] Optionally, the update output pin of the substrate management controller is connected to the update input pin of the programmable logic device.

[0015] Thirdly, embodiments of this application also provide a server, the server including at least any of the motherboards described in the second aspect above.

[0016] This application provides a method for rapid self-testing of a server motherboard, a motherboard, and a server. The method is applied to the motherboard of a server. First, in response to an input power-on operation, a power enable signal is output to a voltage regulator via a programmable logic device (PLD) and a power status signal is received from the voltage regulator to obtain status feedback of the power-on process of the processing chip. Then, the PLD verifies the power-on timing of the power status signal to determine in real time whether the power-on timing meets the specifications. If the power-on timing verification passes, the processing chip reads and loads basic firmware from the flash memory chip via a multiplexer. During the firmware reading process, the PLD obtains a first bus monitoring signal between the multiplexer and the flash memory chip and monitors the read operation based on the first bus monitoring signal. If an abnormal read operation is detected, the PLD reports the corresponding first fault information to the baseboard management controller to achieve hardware-level proactive fault reporting. By using this method, we can verify the power-on sequence of the motherboard, monitor the hardware-level bus of the firmware reading process of the processing chip, and actively report faults. This enables us to quickly identify faults during the power-on and firmware burning process of the server motherboard, improve fault detection efficiency, and reduce the time and manpower costs of manual fault diagnosis. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a schematic diagram of the structure of the motherboard of the first type of server provided in the embodiments of this application; Figure 2 This is a schematic diagram of the structure of the motherboard of the second type of server provided in the embodiments of this application; Figure 3 This is a schematic diagram of the structure of the motherboard of the third type of server provided in the embodiments of this application; Figure 4 A flowchart illustrating a rapid self-test method for a server motherboard provided in an embodiment of this application; Figure 5 A schematic diagram illustrating the firmware flashing process in a rapid self-test method for a server motherboard provided in this application embodiment; Figure 6 A flowchart illustrating the process of switching bus access permissions in a server motherboard fast self-test method provided in this application embodiment; Figure 7 This is a flowchart illustrating the monitoring and programming operation in a rapid self-test method for a server motherboard provided in an embodiment of this application. Figure 8 A flowchart illustrating the monitoring read operation in a server motherboard rapid self-test method provided in this application embodiment; Figure 9 This is a flowchart illustrating the monitoring of initialization status in a server motherboard rapid self-test method provided in an embodiment of this application. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0020] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0021] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0022] Before providing a detailed explanation of this application, let's first introduce its application scenarios.

[0023] For example, during the new product development phase of server motherboards, hardware engineers need to measure the power-on timing of the processing chips after the board is returned to the manufacturer to confirm whether it meets the specifications. During mass production, production line testing personnel need to perform rapid self-tests on batches of motherboards to ensure that the power-on and startup processes of each motherboard are normal. In these scenarios, how to promptly detect timing anomalies, bus transmission errors, and initialization failures during power-on and startup is a common and practical problem.

[0024] Based on this, this application provides a method for rapid self-testing of a server motherboard, a motherboard, and a server. The method is applied to the server motherboard. First, in response to the input power-on operation, a power enable signal is output to the voltage regulator via a programmable logic device (PLD) and a power status signal is received from the voltage regulator to obtain status feedback of the processing chip's power-on process. Then, the PLD verifies the power-on timing of the power status signal to determine in real time whether the power-on timing meets the specifications. If the power-on timing verification passes, the processing chip reads and loads the basic firmware from the flash memory chip via a multiplexer. During the firmware reading process, the PLD obtains the first bus monitoring signal between the multiplexer and the flash memory chip and monitors the read operation based on the first bus monitoring signal. If an abnormal read operation is detected, the PLD reports the corresponding first fault information to the baseboard management controller to achieve proactive hardware-level fault reporting. This enables rapid identification of hardware faults during the server motherboard power-on and firmware burning stages, improving fault detection efficiency and reducing the time and labor costs of manual fault diagnosis.

[0025] The following explanation, in conjunction with the accompanying drawings, uses several embodiments to illustrate the concepts.

[0026] Figure 1 This is a schematic diagram of the structure of the motherboard of the first type of server provided in the embodiments of this application, as shown below. Figure 1 As shown, the server's motherboard includes: a processing chip, a programmable logic device, a voltage regulator, a flash memory chip, a multiplexer, and a baseboard management controller.

[0027] The processing chip executes the BIOS (Basic Input Output System) firmware, i.e., the instructions in the basic firmware, to enable system startup and operation. The BIOS firmware is the low-level program code in the flash memory chip. After power-on, the processing chip first obtains and executes the BIOS firmware instructions to initialize and configure the hardware modules, thereby enabling the server's motherboard to boot normally. Optionally, the processing chip can use an x86 architecture central processing unit (CPU), suitable for high-performance computing, personal computers, and servers; it can also use an ARM architecture processor, suitable for mobile terminals or embedded devices. This application does not limit this choice.

[0028] Programmable logic devices (PLDs) are used to perform hardware logic operations such as power-on timing control, bus monitoring, and fault detection. Internally, a PLD integrates timing control logic, bus monitoring logic, and a fault register, enabling it to independently complete power-on process control, real-time bus signal acquisition and timing verification, and fault information reporting without the need for a processing chip. Optionally, the PLD can be a complex programmable logic device (CPLD) or a field-programmable gate array (FPGA); this application does not limit the choice.

[0029] The voltage regulator converts the input DC power supply into the operating voltage required by the processing chip and controls the power output according to the enable signal of the programmable logic device. In one possible implementation, the voltage regulator integrates multiple voltage conversion modules, each capable of outputting different voltage values ​​required by the processing chip. The voltage regulator also integrates a power status monitoring function, feeding back a power status signal to the programmable logic device through its power status pin. Optionally, the voltage regulator can be implemented using a pulse width modulation (PWM) controller in conjunction with an external power stage circuit, or it can be implemented using a power integrated circuit (PMIC); this application does not limit the implementation in this regard.

[0030] The flash memory chip stores the basic firmware. During power-on startup, the processing chip reads the basic firmware from the flash memory chip via the Serial Peripheral Interface (SPI) to complete initialization. In one possible implementation, the flash memory chip is a Serial Peripheral Interface (SPI) flash memory. In the motherboard, the BIOS firmware is stored in the flash memory chip. During power-on initialization, the processing chip reads the BIOS firmware code from the flash memory chip via the SPI bus and loads it into the processing chip for execution, thus completing the boot process.

[0031] A multiplexer is used to selectively switch bus access rights of a flash memory chip to a processing chip or a substrate management controller. The multiplexer allows the programming and boot stages to share the same flash memory chip without interference, avoiding signal contention and bus conflicts that may occur when two devices access the same bus simultaneously. Optionally, the multiplexer can be a dual-channel multiplexer chip or a multiplexer chip with more input channels to support scenarios with dual processing chips or other devices requiring a shared bus; this application does not limit this.

[0032] The baseboard management controller (BMC) is used to implement functions such as remote monitoring, firmware updates, and fault management. The BMC can still operate normally even when the processing chip is not powered on. Optionally, the BMC provides users with functions such as server status query, firmware upgrade, power control, and fault log viewing through a remote management interface. In this embodiment, when the programmable logic device detects an anomaly and triggers an interrupt via an alarm signal, the BMC responds to the interrupt by reading the fault information stored in the programmable logic device's internal registers via the communication bus and outputting corresponding fault prompts to the user through the remote management interface. Optionally, the BMC can be a dedicated baseboard management controller chip (BMC) or another microcontroller with external management functions integrated on the motherboard; this application does not limit this choice.

[0033] Specifically, refer to Figure 1The first input pin (IN1) of the multiplexer is connected to the serial peripheral interface (SPI) of the processing chip to form a cpu_spi signal link, used to receive the cpu_spi communication signal sent by the processing chip; the second input pin (IN2) of the multiplexer is connected to the serial peripheral interface (SPI) of the baseboard management controller to form a bmc_spi signal link, used to receive the bmc_spi communication signal sent by the baseboard management controller; the output pin (OUT) of the multiplexer is connected to the serial peripheral interface (SPI) of the flash memory chip to form a flash memory SPI bus link, used to output signals to the flash memory chip and receive data signals returned by the flash memory chip; the selection pin (SEL) of the multiplexer is connected to the selection control pin (GPIO_8) of the programmable logic device to receive the selection signal mux_sel output by the programmable logic device. The selection signal mux_sel determines the multiplexer to switch the bus path, selecting to connect the cpu_spi link or the bmc_spi link to the flash memory SPI bus. When the multiplexer connects the cpu_spi link to the flash memory SPI bus according to the mux_sel signal, the processing chip can read the BIOS firmware from the flash memory chip to complete the system boot; when the multiplexer connects the bmc_spi link to the flash memory SPI bus according to the mux_sel signal, the baseboard management controller can write and update the BIOS firmware to the flash memory chip.

[0034] The monitoring pins (GPIO_[2:7]) of the programmable logic device are connected to the serial peripheral bus between the output pin (OUT) of the multiplexer and the serial peripheral interface (SPI) of the flash memory chip, forming an spi_monitor monitoring link. This allows the programmable logic device to monitor the signals on the serial peripheral bus through the spi_monitor without affecting or interfering with normal communication on the bus. Since the monitoring pins (GPIO_[2:7]) are directly connected to the bus, the programmable logic device can collect the clock signal, data frame content, clock frequency, and edge timing parameters on the bus in real time, realizing hardware-level real-time verification and anomaly judgment of the entire firmware burning and reading process.

[0035] The select control pin (GPIO_8) of the programmable logic device is connected to the select pin (SEL) of the multiplexer to output the select signal mux_sel to the multiplexer. The mux_sel signal switches the multiplexer path, realizing the switching control between the cpu_spi bus and the flash SPI bus, or between the bmc_spi bus and the flash SPI bus. This allows the programmable logic device to dynamically manage the bus access permissions of the flash chip according to the firmware burning stage and the boot stage, realizing time-division isolation of the two SPI buses and avoiding bus signal conflicts.

[0036] The power enable pin (GPIO_1) of the programmable logic device is connected to the enable pin (EN) of the voltage regulator. The programmable logic device outputs a power enable signal power_en to the voltage regulator through the power enable pin (GPIO_1). The power_en signal controls the voltage regulator to turn the power supply output on or off, thereby enabling controllable startup of the processing chip's power-on sequence.

[0037] The signal acquisition pin (GPIO_10) of the programmable logic device is connected to the signal pin (GPIO) of the processing chip to acquire key GPIO status signals of the processing chip. Optionally, the status signals can be general-purpose input / output port signals of the processing chip, including but not limited to power-ready handshake signals, reset status signals, initialization status indication signals, and other key status signals involved in the power-on sequence and initialization of the processing chip. The programmable logic device monitors the initialization status of the processing chip in real time by acquiring the level state and signal transition times of the status signals.

[0038] The alarm output pin (GPIO_9) of the programmable logic device (PLD) is connected to the alarm input pin (ALERT_IN) of the baseboard management controller (BMD). The PLD sends an alarm signal i2c_alert to the BMD via the alarm output pin (GPIO_9). The data pins (GPIO_[10:11]) of the PLD are connected to the data pins (SDA / SCL) of the BMD, forming an I2C bus communication link via the i2c_sda data line and the i2c_scl clock line. The BMD acts as the communication master device, and the PLD acts as the communication slave device. The BMD can read various fault logs and abnormal information stored in the internal registers of the PLD via i2c_sda / scl, thereby completing fault recording. When the PLD detects a bus abnormality, power timing abnormality, or processing chip initialization abnormality, it pulls the i2c_alert level low to trigger an alarm and triggers a hardware alarm interrupt to the BMD. After receiving the interrupt, the BMD reads the fault details stored in the internal registers of the PLD via i2c_sda / scl.

[0039] The voltage regulator's power supply pin (VOUT) is connected to the processing chip's power supply input pin (VDD) to provide a stable operating voltage to the processing chip during operation. The voltage regulator's power status pin (PGOOD) is connected to the programmable logic device's status input pin (GPIO_0). After the voltage regulator outputs a stable voltage, it feeds back the power_pg power-ready signal to the programmable logic device. The programmable logic device determines whether the current power output is stable and whether the power-on sequence is compliant based on the power_pg signal level.

[0040] In one possible implementation, the motherboard of the server provided in this embodiment is further equipped with a power switch button and an external host computer. The power switch button is connected to the power-on pin (GPIO_14) of the programmable logic device to receive the manual power-on trigger signal power_button, thereby initiating the power-on startup process. The baseboard management controller reserves a remote communication interface and establishes a remote communication connection with the external host computer through a network link. Users can access the management page of the baseboard management controller through a remote management interface (such as a web browser) on the host computer to perform functions such as server status query, firmware upgrade, power control, and fault log viewing. Specifically, when the baseboard management controller reads fault information, it transmits the fault information to the host computer through the remote communication interface. Engineers can directly view the fault details through the remote management interface of the baseboard management controller, thereby quickly locating the specific link and cause of the fault without the need for point-by-point measurement using external testing equipment. Combining manual button local power-on control with remote data reading function of host computer, it adapts to fault diagnosis scenarios in R&D debugging and remote operation and maintenance, improving the convenience of motherboard debugging and fault repair.

[0041] In the server motherboard provided in this embodiment, a multiplexer is used to selectively switch the flash memory chip bus access permissions between the processing chip and the baseboard management controller. This allows the BIOS firmware burning stage and the firmware loading stage to share the same flash memory chip, ensuring that the transmission paths of the two stages are independent and do not interfere with each other. The monitoring pins of the programmable logic device (PLD) are connected to the serial peripheral bus, and hardware monitoring of the data content and timing of the CPU_SPI and BMC_SPI buses is achieved based on the SPI_monitor monitoring link. Through the connection between the PLD and the voltage regulator, automatic verification of the processing chip's power-on timing is completed based on the power_en enable signal output and the power_pg power status signal feedback. The PLD can monitor and determine whether the power supply operating status is compliant in real time throughout the power-on process. The signal acquisition pins of the PLD are connected to the signal pins of the processing chip to continuously acquire the key GPIO status signals of the processing chip, realizing real-time status monitoring of the processing chip's power-on initialization process. Through bidirectional signal interaction between the programmable logic device and the baseboard management controller, fault reporting and recording are achieved based on the i2c_alert alarm signal interruption and i2c_sda / scl data reading.

[0042] In this embodiment, based on the hardware architecture of the multiplexer bus switching circuit, the programmable logic device real-time monitoring circuit, and the baseboard management controller fault reporting circuit working together, the power-on timing detection of the server motherboard, SPI bus transmission monitoring, and processing chip initialization status monitoring can be realized. Faults can be quickly identified during the server motherboard hardware debugging and power-on testing stages, effectively improving the accuracy and reliability of server motherboard fault detection, significantly reducing fault troubleshooting time, and lowering the time and labor costs of manual fault troubleshooting.

[0043] In the above Figure 1 Based on the corresponding embodiments, in order to more clearly illustrate the connection relationship in a dual-processor chip scenario, this application also provides a possible implementation of a server motherboard. Figure 2 This is a schematic diagram of the motherboard structure of the second type of server provided in the embodiments of this application, as shown below. Figure 2 As shown, the processing chip includes a first processing chip and a second processing chip.

[0044] Specifically, the first and second processing chips are connected via an I3C bus. I3C (Improved Inter-Integrated Circuit) is a high-speed serial communication bus standard that supports multi-master and multi-slave communication architectures. Compared to the traditional I2C bus, it offers higher data transfer rates and lower power consumption, meeting the high-speed data interaction requirements between the two processing chips. The first and second processing chips achieve real-time data exchange and collaborative operation based on the I3C bus. The multiplexer's first input pin (IN1) connects to the serial peripheral interface (SPI) of the first processing chip, forming a cpu_spi communication link. The second input pin (IN2) connects to the serial peripheral interface (SPI) of the baseboard management controller, forming a bmc_spi communication link. The multiplexer's select pin (SEL) is connected to the (GPIO_8) pin of the programmable logic device (PLD), receiving the mux_sel select signal output by the PLD. Based on the mux_sel signal, it dynamically switches the conduction path, selecting either the cpu_spi link or the bmc_spi link to connect to the flash memory SPI bus. During the motherboard boot phase, the cpu_spi link connects to the flash memory SPI bus, ensuring that the first processing chip can normally read the internal BIOS firmware of the flash memory chip through the cpu_spi link and complete the boot initialization. The second processing chip does not need to be directly connected to the multiplexer. When it needs to access the flash memory chip, it can send an access request to the first processing chip via the I3C bus. The first processing chip then reads the flash memory data based on the currently active cpu_spi link and sends it back. The entire process does not require switching multiplexer paths, effectively ensuring stable and conflict-free dual-chip collaborative operation. When the baseboard management controller needs to perform firmware burning or updating operations, the programmable logic device switches paths via the mux_sel signal. The bmc_spi link connects to the flash memory SPI bus, enabling the baseboard management controller to write and update firmware to the flash memory chip via the bmc_spi link.

[0045] The voltage regulator is configured with two independent power supply output channels. The first power supply output pin (VOUT1) of the voltage regulator is connected to the power supply input pin (VDD) of the first processing chip, and the second power supply output pin (VOUT2) is connected to the power supply input pin (VDD) of the second processing chip. The voltage regulator integrates multiple independent voltage conversion modules, capable of outputting adapted operating voltages according to the hardware specifications of the two processing chips. Simultaneously, the power status pin (PGOOD) of the voltage regulator is connected to the (GPIO_0) pin of the programmable logic device (PLD), continuously feeding back the power status signal (power_pg) to the PLD after power-on, providing hardware basis for power-on timing verification of the dual processing chips.

[0046] The programmable logic device (PLD) is configured with multiple independent signal acquisition pins, which are respectively connected to the signal pins of the first and second processing chips to independently acquire the status signals of the two processing chips, enabling independent monitoring. Specifically, the first signal acquisition pin (GPIO_10) of the PLD is connected to the signal pin (GPIO_1) of the first processing chip to acquire the cpu0_in status signal of the first processing chip; the second signal acquisition pin (GPIO_11) of the PLD is connected to the signal pin (GPIO_0) of the first processing chip to acquire the cpu0_out status signal of the first processing chip. Correspondingly, the third signal acquisition pin (GPIO_12) of the PLD is connected to the first signal pin (GPIO_1) of the second processing chip to acquire the cpu1_in signal of the second processing chip; and the fourth signal acquisition pin (GPIO_13) of the PLD is connected to the second signal pin (GPIO_0) of the second processing chip to acquire the cpu1_out signal of the second processing chip. Among them, cpu0_in, cpu0_out, cpu1_in, and cpu1_out are all key GPIO signals of the processing chip, including but not limited to power-ready handshake signals, reset status signals, and initialization status indication signals. The programmable logic device uses four independent signal acquisition pins to capture the level states and signal transition times of the corresponding GPIO signals of the first and second processing chips in real time, independently completing the status monitoring and timing verification of the power-on initialization process of the two processing chips, and accurately identifying status anomalies of the dual processing chips.

[0047] In this embodiment, the first and second processing chips are connected via an I3C bus, eliminating the need for the second processing chip to be directly connected to the flash memory bus. Instead, the second processing chip can indirectly access flash memory data via the first processing chip, effectively simplifying the motherboard bus wiring in a dual-processor chip architecture. A dual-input pin multiplexer enables hardware time-sharing switching between the CPU_SPI and BMC_SPI links, achieving hardware isolation between the boot and programming processes and avoiding bus signal conflicts. A voltage regulator outputs dual independent power supplies, which, along with the Power_EN enable control and Power_PG power-ready feedback signal, adapt to the power supply requirements of different dual-processor chip specifications. A programmable logic device is used to configure four independent signal acquisition pins to acquire the CPU0_in and CPU0_out signals of the first processing chip and the CPU1_in and CPU1_out signals of the second processing chip, allowing for independent real-time monitoring and verification of key power-on processes such as reset status, power-ready handshake, and initialization timing of the two processing chips.

[0048] Those skilled in the art will understand that, in actual implementation, the number of processing chips can be adaptively adjusted according to the actual product specifications of the server's motherboard. When there are multiple processing chips, they can be cascaded sequentially via an I3C bus or other communication bus, with the first processing chip accessing the flash memory chip via a multiplexer. The programmable logic device correspondingly adds signal acquisition pins, which are connected to the general-purpose input / output ports of each processing chip to achieve independent monitoring of the power-on initialization state of each chip. The voltage regulator correspondingly adds power output pins to provide independent operating voltages for each processing chip. All of the above-mentioned adaptive adjustments based on the number of processing chips fall within the scope of what those skilled in the art can achieve without creative effort after reading this application and should be included within the protection scope of this application.

[0049] In this embodiment, the status signals of the dual processing chips are collected in real time by a programmable logic device. Combined with the programmable logic device's spi_monitor bus monitoring, i2c_alert hardware interrupt alarm, and i2c_sda / scl fault information reading, the debugging efficiency and fault diagnosis accuracy of the dual processing chip server's motherboard are significantly improved.

[0050] In the above Figure 1 Based on the corresponding embodiments, in order to more clearly illustrate the connection relationship between the baseboard management controller and the programmable logic device regarding firmware update control, this application also provides a possible implementation of a server motherboard. Figure 3 This is a schematic diagram of the motherboard structure of a third type of server provided in an embodiment of this application. Figure 3 As shown, the update output pin of the baseboard management controller is connected to the update input pin of the programmable logic device.

[0051] Specifically, after the basic firmware file is uploaded, the baseboard management controller sends a firmware update trigger signal update_flag to the update input pin (GPIO_9, which is multiplexed as the update flag signal input) of the programmable logic device via the update output pin (UPDATE). The programmable logic device monitors the level of the update_flag signal in real time, and determines that it has entered the firmware update burning mode upon detecting a high-level signal.

[0052] After the baseboard management controller completes the basic firmware writing and verification operation, it pulls the update output pin (GPIO_9) low, and the update_flag signal becomes a low-level signal. The programmable logic device restores the cpu_spi link corresponding to the first processing chip and the flash memory chip through the mux_sel selection signal, so that when the processing chip is powered on and started up, it can read and load the basic firmware from the flash memory chip normally and complete the initialization startup.

[0053] In this embodiment, through the connection between the update output pin of the baseboard management controller and the update input pin of the programmable logic device, the baseboard management controller actively notifies the programmable logic device through this pin when firmware burning is required. The programmable logic device then controls the multiplexer to switch the bus access rights of the flash memory chip, thereby realizing automatic switching of the path between the burning stage and the boot stage, improving the reliability and automation of the motherboard.

[0054] The specific connection methods, signal definitions, and functional implementation methods of each component in the above embodiments can be arbitrarily combined, replaced, or modified by those skilled in the art based on actual design requirements after reading this application specification. There are no mutually exclusive limitations between the embodiments. Those skilled in the art can reasonably combine the disclosed technical features in different embodiments according to the needs of actual application scenarios without creative effort, and the resulting new technical solutions all fall within the protection scope of this application.

[0055] Based on the motherboard of the server provided in the above embodiments, this application also provides a possible implementation of the server, wherein the server includes at least the motherboard in any of the above embodiments.

[0056] Based on the same inventive concept, the server has the functions of the server motherboard as described in any of the above embodiments, and has the beneficial effects of the corresponding embodiments, which will not be repeated here.

[0057] Based on the server motherboard provided in the above embodiments, the specific steps of the server motherboard fast self-test method applied to the server motherboard will be described in detail below.

[0058] Figure 4 This application provides a flowchart illustrating a method for rapid self-testing of a server motherboard, as illustrated in the embodiments of this application. Figure 4 As shown, the server's motherboard quick self-test method includes: S101 responds to the input power-on operation by outputting a power enable signal to the voltage regulator through a programmable logic device and receiving a power status signal fed back from the voltage regulator.

[0059] First, the motherboard receives the input power-on operation. Optionally, the power-on operation can be a local power-on operation triggered by manually pressing the power button, or a remote power-on command issued by the user through an external host computer accessing the remote management interface of the board management controller. This application does not limit this.

[0060] The programmable logic device (PLD) responds to the power-on operation and initiates the overall power-on control process. Specifically, the PLD outputs a power_en power enable signal to the voltage regulator's enable pin via the power enable pin (GPIO_1). The power_en signal triggers the voltage regulator to start its internal voltage conversion, preparing to provide operating voltage to the processing chip.

[0061] After receiving the power_en power enable signal, the voltage regulator starts the internal voltage conversion module to convert the DC power input from the motherboard into the rated operating voltage required by the processing chip, and then stabilizes the output voltage to the power input pin (VDD) of the processing chip through the power output pin (VOUT).

[0062] The voltage regulator monitors its own output voltage status in real time. Once the output voltage reaches the rated threshold and stabilizes, it feeds back the power_pg power status signal to the status input pin (GPIO_0) of the programmable logic device via the power status pin (PGOOD). The power_pg signal is used to indicate that the voltage regulator has completed voltage output. Optionally, the power_pg power status signal can be active high or active low; this application does not limit this.

[0063] S102 verifies the power-on timing of the power status signal using a programmable logic device.

[0064] Specifically, the programmable logic device (PLD) has pre-stored standard power-on timing parameters for the processing chip. These parameters define the power-on sequence of the various power supply voltages on the motherboard, the delay interval between adjacent voltage rails, and other timing specifications. The PLD uses the moment it outputs the power_en power enable signal as the power-on start time, and continuously collects the level transition moments of the power_pg power status signal, comparing and verifying the actual signal timing with the preset standard timing.

[0065] If the power-on sequence of each power_pg signal conforms to the preset specification and the time interval between adjacent signals is within the preset delay range, the power-on timing verification is deemed to have passed; if there are disordered power-on sequences or excessive timing intervals, the power-on timing verification is deemed to have failed.

[0066] If the power-on timing verification fails, the programmable logic device terminates the power-on process, stops the power_en output, the voltage regulator stops supplying power, and at the same time outputs an i2c_alert alarm signal through the alarm output pin (GPIO_9), and stores the fault information of the power timing abnormality in the internal register, waiting for the board management controller to read it.

[0067] S103, if the power-on timing verification passes, the processing chip reads and loads the basic firmware from the flash memory chip through the multiplexer.

[0068] If the programmable logic device determines that the power-on timing check has passed, it continuously outputs the power_en signal to maintain normal power supply to the voltage regulator. After the processing chip stabilizes after power-on, it initiates the initialization process.

[0069] At this point, the programmable logic device controls the multiplexer to activate the cpu_spi link via the mux_sel selection signal, maintaining communication between the processing chip and the flash memory chip's SPI bus. The processing chip then sends a firmware read command to the flash memory chip via the cpu_spi link, reading and loading the BIOS basic firmware stored internally in the flash memory chip, thus completing the motherboard hardware initialization and boot preparation.

[0070] S104 obtains the first bus monitoring signal between the multiplexer and the flash memory chip through a programmable logic device.

[0071] During the process of the processing chip reading the BIOS firmware via the cpu_spi link, the programmable logic device collects the first bus monitoring signal of the SPI bus between the multiplexer and the flash memory chip in real time through the spi_monitor monitoring link composed of monitoring pins (GPIO_[2:7]). The first bus monitoring signal is a collection of bus signals during the firmware reading stage, including the SPI serial clock signal, data input signal, and data output signal.

[0072] Programmable logic devices (PLDs) only acquire bus signals and do not participate in bus driving, thus not interfering with the normal communication of the CPU-SPI link. PLDs sample data frames based on the bus clock signal, synchronously acquiring key parameters such as clock frequency, signal edges, and data timing, and completely recording the bus transmission status during the firmware read phase.

[0073] S105 monitors the read operation between the multiplexer and the flash memory chip based on the first bus monitoring signal.

[0074] Specifically, the programmable logic device (PLD) internally stores the SPI bus standard communication protocol, including specifications such as clock frequency threshold, data setup and hold time, and read / write instruction format. The PLD compares the real-time acquired first bus monitoring signal with the preset protocol specifications to verify the compliance of firmware read operations in real time.

[0075] In one possible implementation, the programmable logic device can parse the flash memory read instructions issued by the processing chip, identify the read address and data length corresponding to the instructions, and combine the actual data returned by the flash memory chip to complete the data consistency verification and identify data transmission anomalies.

[0076] S106 If an abnormal read operation is detected, the corresponding first fault information is reported to the board management controller through the programmable logic device.

[0077] If the programmable logic device determines that there is an abnormality in the cpu_spi link read operation through bus monitoring, it will immediately pull the alarm output pin (GPIO_9) low and output the i2c_alert hardware interrupt alarm signal.

[0078] After detecting the i2c_alert alarm signal, the baseboard management controller sends a data read request to the programmable logic device (PLD) via i2c_sda / scl. The baseboard management controller acts as the I2C master, and the PLD acts as the I2C slave. In response to the request, the PLD sends the first fault information stored in its internal registers back to the baseboard management controller.

[0079] The first fault information includes details such as the type of read operation error, the abnormal timestamp, clock timing error, and data verification error. After receiving and storing the fault information, the baseboard management controller outputs fault prompts through the remote management interface, facilitating maintenance personnel to quickly locate and troubleshoot the fault.

[0080] In this step, the programmable logic device realizes the transmission of fault information without relying on the processing chip. It can actively report faults in the early stage of motherboard startup, ensuring the timeliness of fault information under abnormal operating conditions.

[0081] In this embodiment, the power-on timing of the motherboard is verified, the hardware-level bus monitoring of the firmware reading process of the processing chip is implemented, and the active reporting of faults is achieved. This enables rapid identification of hardware faults during the power-on and firmware burning process of the server motherboard, improving fault detection efficiency and reducing the time and manpower costs of manual fault diagnosis.

[0082] In the above Figure 4 Based on the corresponding embodiments, in order to more clearly demonstrate the process of the board management controller burning firmware before the processing chip reads the firmware, this application also provides a possible implementation of a fast self-test method for a server motherboard. Figure 5 This is a schematic diagram illustrating the firmware flashing process in a server motherboard rapid self-test method provided in this application embodiment, as shown below. Figure 5 As shown, in S103 above, before the processing chip reads and loads the basic firmware from the flash memory chip via the multiplexer, the method further includes: S210 uses a baseboard management controller and a multiplexer to burn the basic firmware into the flash memory chip.

[0083] In scenarios such as motherboard re-production, firmware corruption, or firmware version upgrades in servers, the flash memory chip does not store the basic firmware internally, and the firmware needs to be written in advance through the baseboard management controller. When the firmware update and burning process is initiated, the baseboard management controller sends burning commands and firmware data through the serial peripheral interface (SPI), which are stably written to the flash memory chip via the bmc_spi link to complete the burning and storage of the basic firmware.

[0084] In one possible implementation, the operator can access the web management interface of the baseboard management controller via an external host computer to upload the basic firmware file. After the firmware upload verification is completed, the baseboard management controller automatically starts the firmware update and burning process.

[0085] S220 obtains the second bus monitoring signal between the multiplexer and the flash memory chip through a programmable logic device.

[0086] Throughout the process of the baseboard management controller burning basic firmware to the flash memory chip via the bmc_spi link, the programmable logic device continuously collects the second bus monitoring signal on the SPI bus between the multiplexer output and the flash memory chip through the spi_monitor monitoring link composed of monitoring pins.

[0087] The second bus monitoring signal is a set of bus signals during the firmware burning stage, including a serial clock signal, a serial data output signal, and a serial data input signal. The acquisition method of the second bus monitoring signal is consistent with that of the first bus monitoring signal. The programmable logic device uses the bus clock signal as a synchronization reference and samples the data signal at the clock edge to completely acquire the bus transmission data content. At the same time, it detects and records key parameters such as clock signal frequency, duty cycle, and signal edge timing in real time, and the monitoring process will not interfere with the normal burning communication of the bmc_spi link.

[0088] S230 monitors the programming operation between the multiplexer and the flash memory chip based on the second bus monitoring signal.

[0089] The programmable logic device (PLD) monitors and verifies the firmware burning process of the baseboard management controller in real time based on the acquired second bus monitoring signal. The PLD compares the second bus monitoring signal frame by frame with the internally preset SPI bus communication protocol specification to determine whether the burning operation meets the specification requirements, and verifies the data content written to the flash memory chip to determine whether errors have occurred in the firmware data during transmission.

[0090] S240 If an abnormality is detected in the programming operation, the corresponding second fault information is reported to the board management controller through the programmable logic device.

[0091] If the programmable logic device (PLD) detects an anomaly in the programming operation during monitoring, it sends an alarm signal `i2c_alert` to the alarm input pin (`ALERT_IN`) of the baseboard management controller via the alarm output pin (GPIO_9) and stores the second fault information in its internal register. Upon detecting the `i2c_alert` alarm signal, the baseboard management controller reads the second fault information from the register via `i2c_sda / scl`. This second fault information corresponds to the programming operation anomaly and includes at least one of the following: fault type, timestamp of the anomaly, clock anomaly, data verification error, and anomaly command or data content.

[0092] If the firmware burning process is completed normally without any abnormalities during monitoring, the process of reading and loading the basic firmware from the flash memory chip through the multiplexer in S103 will continue.

[0093] In this embodiment, the programmable logic device monitors the entire process of firmware burning to the flash memory chip by the baseboard management controller, which can accurately distinguish whether the fault occurs in the burning or reading stage, avoid fault confusion, and effectively improve the accuracy of the motherboard self-test.

[0094] In the above Figure 5 Based on the corresponding embodiments, in order to more clearly demonstrate the switching process of flash memory chip bus access permissions during the burning process, this application also provides a possible implementation of a server motherboard fast self-test method. Figure 6 This is a flowchart illustrating the process of switching bus access permissions in a server motherboard fast self-test method provided in an embodiment of this application, as shown below. Figure 6 As shown, in S210 above, before the basic firmware is burned to the flash memory chip via the multiplexer through the baseboard management controller, the method further includes: S310 outputs a firmware update trigger signal to the update input pin of the programmable logic device through the update output pin of the baseboard management controller.

[0095] When the baseboard management controller needs to perform basic firmware burning and update operations, it outputs a firmware update trigger signal `update_flag` to the update input pin (GPIO_9) of the programmable logic device (PLD) via the update output pin (UPDATE). `update_flag` indicates that the baseboard management controller is about to start the firmware burning process. Specifically, after completing the firmware file upload and verification, the baseboard management controller pulls the update output pin high, outputting a high-level `update_flag` signal. The PLD detects the pin level status in real time via the update input pin (GPIO_9), and upon recognizing a high-level signal, determines that it has entered firmware update burning mode.

[0096] The S320, through a programmable logic device, controls a multiplexer to switch the bus access permission of the flash memory chip from the processing chip to the substrate management controller based on a firmware update trigger signal.

[0097] After the programmable logic device (PLD) recognizes the valid firmware update trigger signal update_flag, it outputs a mux_sel selection signal to the multiplexer via the selection control pin (GPIO_8), controlling the multiplexer to switch the conduction path and switch the bus access permission of the flash memory chip from the processing chip to the baseboard management controller. At this time, the bmc_spi link corresponding to the baseboard management controller is connected to the SPI bus of the flash memory chip, and the baseboard management controller can issue instructions to the flash memory chip and write firmware data.

[0098] During the firmware flashing process, the cpu_spi link corresponding to the processing chip is cut off, preventing the processing chip from occupying the flash bus and avoiding bus conflicts caused by simultaneous access to the bus.

[0099] Following S230 above, the method further includes: If the S330 detects that the programming operation has been completed, it controls the multiplexer via a programmable logic device to switch the bus access permission of the flash memory chip from the substrate management controller back to the processing chip.

[0100] After the baseboard management controller completes all firmware writing and data verification, it pulls the firmware update trigger signal `update_flag` low. When the programmable logic device detects the failure of the firmware update trigger signal in real time, it determines that the firmware burning process has ended. It then uses the `mux_sel` selection signal to switch the multiplexer path again, switching the flash memory chip's bus access permission from the baseboard management controller back to the processing chip, thus restoring normal communication on the `cpu_spi` link.

[0101] At this point, the flash memory chip has stored complete basic firmware, and the bus access permissions are reset to the default processing chip. When the motherboard is powered on, the processing chip can read and load the basic firmware normally through the cpu_spi link to complete the motherboard initialization and startup.

[0102] In this embodiment, the bus permission switching between the burning stage and the boot stage is completed through the update_flag signal interaction between the baseboard management controller and the programmable logic device, and the multiplexer path switching is controlled by the mux_sel signal output by the programmable logic device. This eliminates the problem of bus signal conflict in multiple scenarios and improves the automation and reliability of the motherboard firmware update process.

[0103] In the above Figure 5Based on the corresponding embodiments, in order to more clearly demonstrate the specific implementation of the burning operation monitoring, this application also provides a possible implementation of a fast self-test method for a server motherboard. Figure 7 This is a flowchart illustrating the monitoring and programming operation in a server motherboard rapid self-test method provided in this application embodiment. Figure 7 As shown, S230 monitors the programming operation between the multiplexer and the flash memory chip according to the second bus monitoring signal, including: S410 performs bus clock verification and data verification for the programming operation based on the second bus monitoring signal.

[0104] After the programmable logic device obtains the second bus monitoring signal during the burning stage through the spi_monitor monitoring link, it performs bus clock verification and data integrity verification on the entire process of the baseboard management controller burning firmware to the flash memory chip based on the bmc_spi link.

[0105] Specifically, bus clock verification includes: detecting whether the actual operating frequency of the serial clock signal falls within the preset compliant frequency range, verifying whether the clock signal duty cycle conforms to the standard protocol specifications, and simultaneously detecting the edge steepness and timing integrity of the rising and falling edges of the clock signal, and troubleshooting electrical anomalies such as clock jitter, timing offset, and frequency deviation.

[0106] Data verification includes: measuring the setup time and hold time of the data signal transmitted on the serial peripheral bus relative to the serial clock signal based on the second bus monitoring signal, and determining whether it meets the serial peripheral bus timing specification requirements; detecting whether the logic level of the data signal is within the valid level range, and eliminating data misjudgment caused by abnormal signal amplitude.

[0107] In one possible implementation, the programmable logic device (PLD) has a pre-set write operation instruction set for the flash memory chip. Based on the second bus monitoring signal, it parses the flash memory write instruction issued by the substrate management controller, obtains the write address and the firmware data to be written, and uses a cyclic redundancy check (CRC) algorithm to calculate the check value of the parsed firmware data. The calculated check value is then compared with the response check information returned by the flash memory chip after the write operation. If they match, the currently transmitted firmware data is determined to be complete and error-free; if they do not match, the firmware data is determined to have experienced packet loss or data errors during bus transmission.

[0108] If the S420 detects an abnormal bus clock or a data verification error, it determines that an abnormal burning operation has been detected.

[0109] The programmable logic device (PLD) can determine that the firmware burning operation is abnormal as long as it verifies and identifies any of the following abnormal conditions: non-compliant bus clock parameters, timing anomalies, or inconsistent data verification. Once the burning anomaly is confirmed, the PLD immediately triggers the aforementioned S240 fault reporting process, alarms are issued via the i2c_alert hardware interrupt signal, and the second fault information corresponding to the burning anomaly is stored in the internal register for the board management controller to read via the i2c_sda / scl bus to complete the anomaly recording.

[0110] In this embodiment, by performing bus clock verification and data verification on the burning operation, abnormalities caused by insufficient signal integrity or transmission errors during the burning process can be detected in a timely manner, avoiding the writing of damaged or incorrect firmware into the flash memory chip, thus ensuring the correctness of firmware burning and the integrity of data in the flash memory chip.

[0111] In the above Figure 4 Based on the corresponding embodiments, in order to more clearly demonstrate the specific implementation of read operation monitoring, this application also provides a possible implementation of a fast self-test method for a server motherboard. Figure 8 This is a flowchart illustrating the monitoring read operation in a server motherboard fast self-test method provided in an embodiment of this application, as shown below. Figure 8 As shown, in the above-mentioned S105, the monitoring of the read operation between the multiplexer and the flash memory chip according to the first bus monitoring signal includes: S510 performs bus clock verification and data verification on read operations based on the first bus monitoring signal.

[0112] After the programmable logic device obtains the first bus monitoring signal of the reading phase through the spi_monitor monitoring link, it performs bus clock verification and data verification on the entire process of the processing chip reading the flash BIOS firmware based on the cpu_spi link.

[0113] Specifically, bus clock verification includes: checking whether the actual operating frequency of the serial clock signal falls within the preset compliant frequency range, checking whether the duty cycle of the clock signal conforms to the standard protocol specification, and checking the edge steepness and timing integrity of the rising and falling edges of the clock signal, as well as troubleshooting electrical abnormalities such as clock jitter, timing offset, and frequency deviation.

[0114] Data verification includes: measuring the setup time and hold time of the data signal transmitted on the serial peripheral bus relative to the serial clock signal based on the first bus monitoring signal, and determining whether it meets the serial peripheral bus timing specification requirements; detecting whether the logic level of the data signal is within the valid level range, and eliminating data misjudgment caused by abnormal signal amplitude.

[0115] In one possible implementation, the programmable logic device (PLD) has a pre-set set of read operation instructions for the flash memory chip. Based on the first bus monitoring signal, it parses the flash memory read instruction issued by the processing chip to obtain the read address and the expected data length to be read. The PLD uses a cyclic redundancy check (CRC) algorithm to calculate the check value of the firmware data returned by the flash memory chip and compares the calculated check value with the check information output by the processing chip after performing the read operation. If they match, the currently transmitted firmware data is determined to be complete and error-free; if they do not match, the firmware data is determined to have packet loss or data errors during bus transmission.

[0116] If the S520 detects a bus clock anomaly or a data verification error, it determines that a read operation anomaly has been detected.

[0117] The programmable logic device (PLD) can determine that the firmware read operation is abnormal if it verifies and identifies any of the following abnormal conditions: non-compliant bus clock parameters, timing anomalies, or inconsistent data verification. Once the read operation is confirmed to be abnormal, the PLD immediately triggers the fault reporting process described in S106, sending an alarm signal (i2c_alert) to the alarm input pin (ALERT_IN) of the baseboard management controller via the alarm output pin (GPIO_9). The PLD also stores the first fault information corresponding to the read operation abnormality in its internal register, which is then read by the baseboard management controller via the i2c_sda / scl bus to complete the abnormality recording.

[0118] In this embodiment, by performing bus clock verification and data verification on the firmware reading process of the processing chip, read operation anomalies caused by abnormal bus signals or data transmission errors can be detected in real time during the firmware loading process of the processing chip. This prevents the processing chip from initializing based on damaged or incorrect firmware data, and at the same time, the reported fault information can accurately locate the fault in the reading stage.

[0119] In the above Figure 4 Based on the corresponding embodiments, in order to more clearly illustrate the process of monitoring the initialization state of the processing chip, this application also provides a possible implementation of a fast self-test method for a server motherboard. Figure 9 This is a flowchart illustrating the monitoring of initialization status in a server motherboard rapid self-test method provided in an embodiment of this application, as shown below. Figure 9 As shown, based on the above S101-S106, the method further includes: During the power-on initialization process of the processing chip, the S610 acquires the general-purpose input / output port signals of the processing chip through a programmable logic device.

[0120] Throughout the entire process of power-on startup and initialization of the processing chip, the processing chip outputs general-purpose input / output port signals through signal pins (GPIO), including but not limited to power-ready handshake signals, reset status signals, initialization status indication signals, and other key status signals that participate in the power-on timing and initialization of the processing chip.

[0121] Programmable logic devices continuously connect to the signal pins (GPIO) of the processing chip via the signal acquisition pin (GPIO_10) to collect the level status and signal transition times of various general-purpose input / output port signals in real time, and record the timing changes during the power-on initialization of the processing chip.

[0122] The S620 uses programmable logic devices to determine whether the processing chip is functioning correctly based on the acquired general-purpose input / output port signals.

[0123] Programmable logic devices (PLDs) have pre-defined timing specifications for general input / output port signals during chip initialization, specifying the transition order and timing requirements of each signal during initialization. The PLD compares the real-time acquired general input / output port signals with the pre-defined timing specifications to determine whether the signal occurrence order meets the requirements, whether the signal level is valid, and whether the time interval between adjacent signals is within the preset range.

[0124] If the level of any signal does not match the expectation, the signal transition sequence is inconsistent with the preset sequence, or the signal transition time exceeds the preset window range, the programmable logic device determines that the initialization state of the processing chip is abnormal.

[0125] S630, if the status is determined to be abnormal, reports the third fault information to the board management controller through the programmable logic device.

[0126] If the programmable logic device (PLD) determines that the initialization state of the processing chip is abnormal, it sends an alarm signal i2c_alert to the baseboard management controller (BMD) via the alarm output pin (GPIO_9) and stores the third fault information in an internal register. Upon detecting the i2c_alert alarm signal, the BMD reads the third fault information from the register via i2c_sda / scl. This third fault information corresponds to the processing chip's initialization abnormality and includes at least one of the following: fault type, abnormal GPIO signal identifier, difference between the actual signal level and the standard level, and signal timing deviation value.

[0127] In this embodiment, the programmable logic device (PLD) performs real-time acquisition and judgment of the general input / output port signals of the processing chip during the power-on initialization process, realizing hardware-level monitoring of the processing chip's initialization status. When the processing chip fails to initialize due to a handshake signal error or a reset timing abnormality, the PLD can promptly capture the abnormality and proactively report it, without relying on the processing chip's own software log output. Even if the processing chip has not completed initialization, it can still obtain fault information, providing more comprehensive and timely data information for subsequent fault location.

[0128] In the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.

[0129] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for rapid self-test of a server motherboard, characterized in that, A motherboard for use in servers, the motherboard comprising: a processing chip, a programmable logic device, a voltage regulator, a flash memory chip, a multiplexer, and a baseboard management controller; the method comprising: In response to the input power-on operation, the programmable logic device outputs a power enable signal to the voltage regulator and receives a power status signal fed back by the voltage regulator. The power-on timing of the power status signal is verified using the programmable logic device. If the power-on timing verification passes, the basic firmware is burned into the flash memory chip via the multiplexer through the baseboard management controller. The second bus monitoring signal between the multiplexer and the flash memory chip is obtained through the programmable logic device; The programming operation between the multiplexer and the flash memory chip is monitored according to the second bus monitoring signal; If an abnormality is detected in the programming operation, the corresponding second fault information is reported to the baseboard management controller through the programmable logic device. The processing chip reads and loads the basic firmware from the flash memory chip via the multiplexer; The programmable logic device acquires the first bus monitoring signal between the multiplexer and the flash memory chip; Based on the first bus monitoring signal, the read operation between the multiplexer and the flash memory chip is monitored; If an abnormal read operation is detected, the corresponding first fault information is reported to the baseboard management controller through the programmable logic device.

2. The method according to claim 1, characterized in that, Before burning the basic firmware to the flash memory chip via the multiplexer through the substrate management controller, the method further includes: The firmware update trigger signal is output from the update output pin of the management controller to the update input pin of the programmable logic device; The programmable logic device controls the multiplexer to switch the bus access permission of the flash memory chip from the processing chip to the substrate management controller based on the firmware update trigger signal. After monitoring the programming operation between the multiplexer and the flash memory chip according to the second bus monitoring signal, the method further includes: If the programming operation is detected as complete, the programmable logic device controls the multiplexer to switch the bus access permission of the flash memory chip from the substrate management controller back to the processing chip.

3. The method according to claim 1, characterized in that, The step of monitoring the programming operation between the multiplexer and the flash memory chip according to the second bus monitoring signal includes: Based on the second bus monitoring signal, the programming operation is subjected to bus clock verification and data verification; If a bus clock anomaly or a data verification error is detected, it is determined that an abnormal burning operation has been detected.

4. The method according to claim 1, characterized in that, The step of monitoring the read operation between the multiplexer and the flash memory chip according to the first bus monitoring signal includes: Based on the first bus monitoring signal, the read operation is subjected to bus clock verification and data verification; If a bus clock anomaly or a data verification error is detected, it is determined that a read operation anomaly has been detected.

5. The method according to claim 1, characterized in that, The method further includes: During the power-on initialization process of the processing chip, the general-purpose input / output port signals of the processing chip are acquired through the programmable logic device; The programmable logic device determines whether the processing chip is in normal condition based on the acquired general input / output port signals. If the status is determined to be abnormal, the third fault information is reported to the management controller through the programmable logic device.

6. A server motherboard, characterized in that, The motherboard includes: a processing chip, a programmable logic device, a voltage regulator, a flash memory chip, a multiplexer, and a baseboard management controller; The two input pins of the multiplexer are respectively connected to the serial peripheral interface of the processing chip and the serial peripheral interface of the baseboard management controller, and the output pin of the multiplexer is connected to the serial peripheral interface of the flash memory chip. The monitoring pin of the programmable logic device is connected to the serial peripheral bus between the multiplexer and the flash memory chip. The selection control pin of the programmable logic device is connected to the selection pin of the multiplexer. The power enable pin of the programmable logic device is connected to the enable pin of the voltage regulator. The signal acquisition pin of the programmable logic device is connected to the signal pin of the processing chip. The alarm output pin of the programmable logic device is connected to the alarm input pin of the baseboard management controller. The data pin of the programmable logic device is connected to the data pin of the baseboard management controller. The power supply pin of the voltage regulator is connected to the power supply input pin of the processing chip, and the power status pin of the voltage regulator is connected to the status input pin of the programmable logic device. The motherboard is used to perform the motherboard fast self-test method of the server according to any one of claims 1-5.

7. The motherboard according to claim 6, characterized in that, The processing chip includes a first processing chip and a second processing chip, and the first processing chip and the second processing chip are connected through an improved internal integrated circuit I3C bus; The first input pin of the multiplexer is connected to the serial peripheral interface of the first processing chip; The first power supply output pin of the voltage regulator is connected to the power supply input pin of the first processing chip, and the second power supply output pin of the voltage regulator is connected to the power supply input pin of the second processing chip. The programmable logic device has multiple signal acquisition pins that are respectively connected to the signal pins of the first processing chip and the second processing chip.

8. The motherboard according to claim 6, characterized in that, The update output pin of the substrate management controller is connected to the update input pin of the programmable logic device.

9. A server, characterized in that, The server includes at least the motherboard described in any one of claims 6-8.

Citation Information

Patent Citations

  • Server boot firmware exception handling method and device, equipment and storage medium

    CN120950309A

  • ESPI-Based Method and Device for Enhancing Server Security

    US20230367684A1