PCIe Switch firmware safety execution method, device, terminal and storage medium
An execution method and firmware technology, applied in the field of PCIeSwitch firmware execution, can solve the problems of firmware security risks, lack of security mechanisms, and server system security threats, and achieve the effects of avoiding data tampering, preventing attacks, and protecting security.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] With the development of modern processor technology, PCIe bus, as a standard high-speed bus, has the characteristics of high speed, reliability, high bandwidth, and automatic configuration, and has been widely used in the server field. At the same time, with the increase of PCIe devices in the server system, server developers are faced with the problem of insufficient number of CPU PCIe buses. In order to solve this problem, more and more developers add PCIe Switches to the server system to realize the expansion of the number of PCIe. The PCIeSwitch connects to the CPU upstream and PCIe devices downstream. Once the firmware of the PCIe Switch is tampered with or attacked, it will pose an immeasurable threat to the security of the entire server system.
[0057]However, there is no security mechanism for the startup and upgrade of PCIe Switch in the existing technical solution, which makes the system vulnerable to malicious firmware attacks, and cannot prevent malicious fi...
Embodiment 2
[0080] Considering that in some operating scenarios, the operator can ensure the security of the firmware, in order to improve the execution efficiency, this embodiment provides a PCIe Switch firmware security execution method. After the PCIe Switch is powered on, the execution environment is first configured for the Choose to enable or disable Safe Execution Mode. When the secure boot mode is enabled, it is executed by the secure boot mechanism, and when the secure boot mode is disabled, it is executed directly on the firmware.
[0081] Such as figure 2 As shown, the PCIe Switch firmware security execution method provided in this embodiment specifically includes the following steps:
[0082] S1, the PCIe Switch is powered on;
[0083] S2, configure the execution environment; if the configured execution environment is to enable the safe execution mode, enter step S3; if the configured execution environment is to disable the safe execution mode, directly execute the firmware...
Embodiment 3
[0107] When the firmware is started or upgraded, there may be extreme situations where it cannot be started and upgraded normally. In order to deal with this situation, this embodiment provides a PCIe Switch firmware security execution method, and enter the key again after the firmware execution fails. , re-upgrade the firmware.
[0108]In order to deal with the failure of firmware execution, this embodiment configures TWI (Two-Wire Interface, two-wire interface) address configuration pins and firmware recovery pins on the PCIe Switch. After the PCIe Switch is powered on, determine the TWI address. If the firmware execution fails, based on the TWI address, enter the backup key and the correct firmware to be executed through the firmware recovery pin to re-execute. It should be noted that, for the firmware upgrade process, re-execution means re-upgrade; for the firmware startup process fails, re-execution also needs to upgrade the firmware, and restart after the upgrade.
[01...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


