A hardware anti-copy board circuit for Feiteng processors

By introducing a temperature sensor module and a CPLD circuit module into the Phytium processor and combining it with the encryption algorithm of the UEFI firmware, the board copying problem is solved, effective protection of the Phytium processor is achieved, and device security and intellectual property protection are ensured.

CN114117558BActive Publication Date: 2025-09-12TIANJIN EMBEDTEC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111246737.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-26
Publication Date
2025-09-12
Estimated Expiration
2041-10-26

AI Technical Summary

Technical Problem

Existing technologies are difficult to effectively prevent Feiteng processors from copying boards and infringing on the intellectual property rights of R&D manufacturers.

Method used

A combination of temperature sensor module, CPLD circuit module and UEFI firmware module is adopted. The 8-bit register of DS18B20 temperature sensor is used to store the key text. The cipher text is calculated and verified by SM4 encryption algorithm. CPLD controls the reset of Feiteng processor to realize anti-copying board.

Benefits of technology

Effectively prevent copying, protect the intellectual property rights of Feiteng processors, ensure the normal startup of the equipment, and prevent unauthorized copying.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114117558B_ABST
    Figure CN114117558B_ABST
Patent Text Reader

Abstract

The present invention discloses a hardware anti-copy board circuit for a Feiteng processor, comprising a temperature sensor module, a CPLD circuit module, a Feiteng processor module, and a UEFI firmware module. The temperature sensor module, the CPLD circuit module, the Feiteng processor module, and the UEFI firmware module are sequentially connected. The temperature sensor module includes two 8-bit user-readable and writable registers for recording a power-on secret message. The CPLD circuit module is used to read the register data and is controlled by the ACPI power control pins PWR_CTL0 and PWR_CTL1 of the Feiteng processor. Based on the control of these two pins of the Feiteng processor, the CPLD determines whether to generate a reset signal RST to the Feiteng processor. The advantages of the present invention are that the temperature sensor module is used as a memory for the power-on secret message, and the CPLD program is stored internally on the chip, making it extremely difficult to crack the program. Therefore, through multiple encryption methods, the present invention can achieve the purpose of anti-copy board for Feiteng processors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of hardware security, and in particular to a hardware anti-copying board circuit for a Feiteng processor. Background Art

[0002] Copying a circuit board, also known as cloning or imitation, involves the reverse engineering of a designed PCB. In a narrow sense, copying refers solely to the process of extracting and restoring the PCB files of an electronic product and using them to clone the circuit board. However, copying encompasses not only these processes, but also includes the complete cloning of electronic components, including the imitation of encrypted chips or microcontrollers, the decryption of encrypted chips and microcontrollers, and the disassembly of the product's system software.

[0003] R&D companies invest substantial research funds in a specific technology area, but other manufacturers can quickly copy and profit from it by copying the designs. This practice of copying protected layout designs for the purpose of selling and marketing integrated circuits is an infringement.

[0004] The Phytium processor is a high-performance processor independently developed by my country's Phytium Corporation. It is compatible with the 64-bit ARMv8 instruction set and supports both ARM64 and ARM32 execution modes. It supports single-precision and double-precision floating-point instructions, ASIMD processing instructions, and hardware virtualization. The Phytium processor enhances chip security at the hardware level. It is suitable for building desktop terminals, portable terminals, lightweight servers, and low-power embedded products that require higher performance, energy efficiency, and security. The Phytium processor has changed my country's history of lacking high-performance processors. Embedded manufacturers have invested significant human and financial resources in the research and development of related equipment.

[0005] In order to protect the intellectual property rights of various manufacturers in the research and development of Feiteng processor equipment and to prevent the developed board equipment from being affected by copying boards, the present invention proposes a hardware anti-copying circuit for Feiteng processors. Summary of the Invention

[0006] The purpose of the present invention is to overcome the defects in the prior art and provide a hardware anti-copy board circuit for Feiteng processor.

[0007] The technical solutions of the present invention are as follows:

[0008] A hardware anti-copy board circuit for a Feiteng processor comprises a temperature sensor module, a CPLD circuit module, a Feiteng processor module, and a UEFI firmware module. The temperature sensor module, the CPLD circuit module, the Feiteng processor module, and the UEFI firmware module are connected in sequence. The temperature sensor module comprises two 8-bit user-readable and writable registers for recording a power-on secret message. The CPLD circuit module is used to read data from the registers and is controlled by the ACPI power control pins PWR_CTL0 and PWR_CTL1 of the Feiteng processor. Based on the control of these two pins of the Feiteng processor, the CPLD determines whether to generate a reset signal RST to the Feiteng processor. The Feiteng processor module is a core component of a Feiteng board device. Each Feiteng processor chip has its own globally unique ID number, which is readable but not writable.

[0009] The UEFI firmware module is used to boot the Phytium processor and is a core component of its operation. Upon system power-up, the Phytium processor first loads the UEFI firmware into the processor for execution. The UEFI firmware serves as the core control element in the anti-copying circuitry. The UEFI firmware has two functional versions. The encrypted version first reads the Phytium processor's ID and calculates a key using the SM4 encryption algorithm. This key is then written to the temperature sensor module's registers by controlling the CPLD. This version is immediately erased upon completion and replaced with a boot-up verification version. Using the Phytium processor's QSPI interface, the UEFI firmware first obtains the Phytium processor's ID number, calculates the key based on the key, and then compares the key stored in the temperature sensor module, which the CPLD has read via the SPI interface. If the key matches, the UEFI will not trigger ACPI to control the CPLD to reset the Phytium processor. If not, the CPLD will reset the Phytium processor. This repeated process prevents the processor from booting, thus preventing copying.

[0010] The advantages of the present invention lie in its use of a temperature sensor module as a memory for unlocking secret messages. The DS18B20 is a digital temperature sensor, and current designs for this chip are primarily focused on temperature measurement. The present invention utilizes two 8-bit data storage registers on this chip as storage for unlocking secret messages, a development rarely seen by copycats. Furthermore, the present invention utilizes a CPLD as a coprocessor to read the DS18B20 and reset the Feiteng module. The CPLD program is stored internally on the chip, making it extremely difficult to decipher. Therefore, by employing multiple encryption methods, the present invention can prevent copycats targeting Feiteng processors. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1The present invention provides a schematic structural diagram of a hardware anti-copy board circuit for a Feiteng processor. DETAILED DESCRIPTION

[0012] The present invention will be further described in detail below with reference to specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0013] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the present invention.

[0014] In the description of the present invention, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed, detachable, or integral connections; mechanical or electrical connections; direct or indirect connections through an intermediate medium; and internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on specific circumstances.

[0015] like Figure 1 As shown, a hardware anti-copy board circuit for Feiteng processor is characterized by including a temperature sensor module, a CPLD circuit module, a Feiteng processor module and a UEFI firmware module; the temperature sensor module, the CPLD circuit module, the Feiteng processor module and the UEFI firmware module are connected in sequence, the temperature sensor module is constructed using the temperature measurement chip DS18B20, and the two 8-bit user-readable and writable registers in the temperature sensor are used to record the power-on secret message; the CPLD circuit module is used to realize the reading of the register data of the temperature sensor and is controlled by the ACPI power control pins PWR_CTL0 and PWR_CTL1 of the Feiteng processor. According to the control of these two pins of the Feiteng processor, the CPLD decides whether to generate a reset signal RST to the Feiteng processor; the Feiteng processor module is the core component of the Feiteng board device, and each Feiteng processor chip has its own globally unique ID number, which is readable but not writable.

[0016] The UEFI firmware module is used for the boot-up of the Feiteng processor. After the system is powered on, the Feiteng processor first moves the UEFI firmware to the processor for operation; the UEFI firmware is divided into two functional versions, an encrypted version and a boot-up verification version. The encrypted version is first used to read the ID of the Feiteng processor, and the power-on secret text is calculated by the SM4 encryption algorithm, and is written into the register of the temperature sensor by controlling the CPLD. After this version of the firmware is used, it is immediately erased and the boot-up verification version is reloaded; the boot-up verification version passes through the QSPI interface of the Feiteng processor. The UEFI firmware first obtains the ID number of the Feiteng processor, calculates the power-on secret text according to the key, and then obtains the power-on secret text stored in the temperature sensor transferred by the CPLD read by the Feiteng processor through the SPI interface for comparison; if the power-on secret texts are consistent, UEFI will not trigger ACPI to control the CPLD to reset the Feiteng processor; if they are inconsistent, the CPLD will be controlled to reset the Feiteng processor. If this is repeated, the processor will never start up, thereby preventing the board from being copied.

[0017] The temperature sensor module can be formed by a temperature sensor digital temperature measurement circuit or other similar temperature measurement circuits.

[0018] The CPLD circuit module is composed of EPM2210 produced by Altera Corporation.

[0019] The Feiteng processor module is suitable for all Feiteng processors, including FT1500A series, FT2000 series and D2000 chips.

[0020] The UEFI firmware module is a dedicated firmware, and the chip used for storing the UEFI firmware can use the W25Q128 chip of Winbond.

[0021] While the above examples of the present invention are described in detail, these descriptions are merely preferred embodiments of the present invention and should not be construed as limiting the scope of the present invention. Those skilled in the art will readily appreciate that other variations or modifications based on the above descriptions are possible. It is not necessary and impossible to provide an exhaustive list of all possible embodiments. Obvious variations or modifications arising therefrom remain within the scope of the present invention.

Claims

1. A hardware anti-copy board circuit for Feiteng processor, characterized in that: It includes a temperature sensor module, a CPLD circuit module, a Feiteng processor module and a UEFI firmware module; the temperature sensor module, the CPLD circuit module, the Feiteng processor module and the UEFI firmware module are connected in sequence, the temperature sensor module includes two 8-bit user-readable and writable registers for recording the power-on secret message; the CPLD circuit module is used to read the register data and is controlled by the ACPI power control pins PWR_CTL0 and PWR_CTL1 of the Feiteng processor. According to the control of these two pins of the Feiteng processor, the CPLD decides whether to generate a reset signal RST to the Feiteng processor; the Feiteng processor module is the core component of the Feiteng board device, and each Feiteng processor chip has its own globally unique ID number, which is readable but not writable; The UEFI firmware module is used for the boot-up of the Feiteng processor. After the system is powered on, the Feiteng processor first moves the UEFI firmware to the processor for operation; the UEFI firmware is divided into two functional versions, an encrypted version and a boot-up verification version. The encrypted version is first used to read the ID of the Feiteng processor, and the power-on secret is calculated by the SM4 encryption algorithm, and is written into the register of the temperature sensor module by controlling the CPLD. After this version of the firmware is used, it is immediately erased and the boot-up verification version is reloaded; the boot-up verification version uses the QSPI interface of the Feiteng processor. The UEFI firmware first obtains the ID number of the Feiteng processor, calculates the power-on secret according to the key, and then obtains the power-on secret stored in the temperature sensor module transferred by the CPLD read by the Feiteng processor through the SPI interface for comparison; If the key codes are consistent, UEFI will not trigger ACPI to control CPLD to reset the Feiteng processor; If they are inconsistent, the CPLD will be controlled to reset the Feiteng processor. If this is repeated, the processor will never start up.

2. The hardware anti-copy board circuit for Feiteng processor according to claim 1 is characterized in that: The temperature sensor module is composed of a DS18B20 digital temperature measurement circuit.

3. The hardware anti-copy board circuit for Feiteng processor according to claim 1 is characterized in that: The CPLD circuit module is composed of EPM2210 produced by Altera Corporation.

4. The hardware anti-copy board circuit for Feiteng processor according to claim 1 is characterized in that: The Feiteng processor module is suitable for all Feiteng processors, including FT1500A series, FT2000 series and D2000 chips.

5. The hardware anti-copy board circuit for Feiteng processor according to claim 1 is characterized in that: The UEFI firmware module is a dedicated firmware, and the chip used for UEFI firmware storage uses the W25Q128 chip of Winbond.

Citation Information

Patent Citations

  • Shoveling plate preventing system and method based on anti-copying circuit

    CN103049681A

  • UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Feiteng desk computer

    CN104572166A