Domestic platform MAC address storage and application method

By storing the MAC address in the motherboard BIOS FLASH and writing it to the MAC controller of the processor or bridge chip, the problem of external EEPROM or Flash chips increasing design complexity and cost is solved, and normal use of network functions and cost savings are achieved.

CN118779014APending Publication Date: 2024-10-15西安超越申泰信息科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410842244.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

When designing domestic processors and bridge chips, an external independent EEPROM or Flash chip is required to store the MAC address, which increases the design complexity and overall machine cost.

Method used

Store the MAC address in the OTP area in the motherboard BIOS FLASH, and access and write it into the MAC controller of the processor or bridge chip through the BIOS, utilizing the existing storage space and avoiding the need to design an additional dedicated MAC address storage chip.

Benefits of technology

The design complexity and cost are reduced, while the normal use of network functions is achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779014A_ABST
    Figure CN118779014A_ABST
Patent Text Reader

Abstract

The invention discloses a domestic platform MAC address storage and application method, and relates to the field of circuit board design. Comprising the steps that an OTP area in a mainboard BIOS FLASH is selected, an MAC address is stored in the OTP area in the mainboard BIOS FLASH, after a mainboard is powered on, a BIOS accesses the OTP area to read the MAC address, the MAC address is written into an MAC controller of a processor or a bridge piece, and normal use of a network is guaranteed; according to the method, the existing storage space is utilized, a special MAC address storage chip is not additionally designed, the network function is realized, the design complexity is reduced, and the cost is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention discloses a method, which relates to the field of circuit board design, and in particular to a domestic platform MAC address storage and application method. Background Art

[0002] Domestic processors and bridge chips generally integrate Ethernet controllers and provide RGMII / SGMII or MDI interfaces. When designing, they generally require an independent EEPROM or Flash to store MAC addresses. This external EEPROM or Flash method increases the design complexity and the cost of the entire machine. Summary of the invention

[0003] In view of the problems of the prior art, the present invention provides a method for storing and applying MAC addresses of a domestic platform, which utilizes the existing storage space and does not require the additional design of a dedicated MAC address storage chip, thereby realizing network functions, reducing design complexity and saving costs.

[0004] The specific scheme proposed by the present invention is:

[0005] The present invention provides a method for storing and applying a MAC address of a domestic platform, comprising:

[0006] Select the OTP area in the motherboard BIOS FLASH,

[0007] Store the MAC address in the OTP area of ​​the motherboard BIOS FLASH.

[0008] After the motherboard is powered on, the BIOS accesses the OTP area to read the MAC address and writes the MAC address to the MAC controller of the processor or bridge chip to ensure normal use of the network.

[0009] Furthermore, the method for storing and applying the MAC address of a domestic platform includes storing the MAC address in the OTP area in the motherboard BIOS FLASH, including:

[0010] Power on the motherboard, enter the BIOS shell interface, access the BIOS FLASH OTP area through instructions, write the MAC address into the address space of the BIOS FLASH OTP area in sequence, and the flashing is completed, and the motherboard restarts.

[0011] Furthermore, the method for storing and applying a MAC address of a domestic platform includes: writing the MAC address into a MAC controller of a processor or a bridge chip, including:

[0012] The BIOS FLASH is connected to the processor via the SPI interface and is connected to the bridge chip via the HT bus or the PCIE bus. The BIOS reads the MAC address and writes the MAC address into the MAC controller of the processor or the bridge chip.

[0013] The present invention also provides a domestic platform MAC address storage and application device, including a storage management module and a BIOS.

[0014] The storage management module selects the OTP area in the motherboard BIOS FLASH and stores the MAC address in the OTP area in the motherboard BIOS FLASH.

[0015] After the motherboard is powered on, the BIOS accesses the OTP area to read the MAC address and writes the MAC address to the MAC controller of the processor or bridge chip to ensure normal use of the network.

[0016] Furthermore, the storage management module of the domestic platform MAC address storage and application device stores the MAC address in the OTP area in the motherboard BIOS FLASH, including: powering on the motherboard, entering the BIOS shell interface, accessing the BIOS FLASH OTP area through instructions, writing the MAC address in sequence into the address space of the BIOS FLASH OTP area, and completing the flashing and restarting the motherboard.

[0017] Furthermore, the BIOS of the domestic platform MAC address storage and application device writes the MAC address into the MAC controller of the processor or bridge chip, including:

[0018] The BIOS FLASH is connected to the processor via the SPI interface and is connected to the bridge chip via the HT bus or the PCIE bus. The BIOS reads the MAC address and writes the MAC address into the MAC controller of the processor or the bridge chip.

[0019] The present invention also provides an electronic device for storing and applying a domestic platform MAC address, comprising: at least one memory and at least one processor;

[0020] The at least one memory is used to store a machine-readable program;

[0021] The at least one processor is used to call the machine-readable program to execute the domestic platform MAC address storage and application method.

[0022] The present invention also provides a computer-readable medium, on which computer instructions are stored. When the computer instructions are executed by a processor, the processor executes the domestic platform MAC address storage and application method.

[0023] The benefits of the present invention are:

[0024] The MAC address is stored in the OTP area of ​​the BIOS FLASH of the motherboard, without the need to design an independent EEPROM or Flash chip. This not only utilizes the existing storage space and eliminates the need to design an additional dedicated MAC address storage chip, but also enables network functions, reduces design complexity, and saves costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 The invention relates to a schematic diagram of a mainboard hardware framework.

[0026] Figure 2 It is a schematic diagram of the application process of the method of the present invention. DETAILED DESCRIPTION

[0027] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.

[0028] Example 1

[0029] The present invention provides a method for storing and applying a MAC address of a domestic platform, comprising:

[0030] Select the OTP area in the motherboard BIOS FLASH,

[0031] The MAC address is stored in the OTP area in the motherboard BIOS FLASH, which may further include:

[0032] Power on the motherboard, enter the BIOS shell interface, access the BIOS FLASH OTP area through instructions, write the MAC address into the address space of the BIOS FLASH OTP area in sequence, and the flashing is completed, and the motherboard restarts.

[0033] After the motherboard is powered on, the BIOS accesses the OTP area to read the MAC address and writes the MAC address to the MAC controller of the processor or bridge chip to ensure normal use of the network.

[0034] The BIOS FLASH is connected to the processor via the SPI interface and is connected to the bridge chip via the HT bus or the PCIE bus. The BIOS reads the MAC address and writes the MAC address into the MAC controller of the processor or the bridge chip.

[0035] The method of the present invention stores the MAC address in the OTP area of ​​the BIOS FLASH which must be designed for the mainboard, without the need to additionally design an independent EEPROM or Flash chip, thus simplifying the principle design and reducing the establishment.

[0036] Example 2

[0037] The present invention also provides a domestic platform MAC address storage and application device, including a storage management module and a BIOS.

[0038] The storage management module selects the OTP area in the motherboard BIOS FLASH and stores the MAC address in the OTP area in the motherboard BIOS FLASH.

[0039] After the motherboard is powered on, the BIOS accesses the OTP area to read the MAC address and writes the MAC address to the MAC controller of the processor or bridge chip to ensure normal use of the network.

[0040] As the information interaction and execution process between the modules in the above-mentioned device are based on the same concept as the embodiment of the method of the present invention, the specific contents can be found in the description of the embodiment of the method of the present invention and will not be repeated here.

[0041] Similarly, the device of the present invention stores the MAC address in the OTP area of ​​the BIOS FLASH of the mainboard, without the need to design an additional independent EEPROM or Flash chip. It not only utilizes the existing storage space and eliminates the need to design an additional dedicated MAC address storage chip, but also can realize network functions, reduce design complexity, and save costs.

[0042] It should be noted that not all steps and modules in the above-mentioned processes and device structures are necessary, and some steps or modules can be ignored according to actual needs. The execution order of each step is not fixed and can be adjusted as needed. The system structure described in the above-mentioned embodiments can be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by multiple physical entities, or some components in multiple independent devices may be implemented together.

[0043] Example 3

[0044] The present invention also provides an electronic device for storing and applying a domestic platform MAC address, comprising: at least one memory and at least one processor;

[0045] The at least one memory is used to store a machine-readable program;

[0046] The at least one processor is used to call the machine-readable program to execute the domestic platform MAC address storage and application method.

[0047] The information interaction of the processor in the above-mentioned electronic device, the execution process of the readable program, etc., are based on the same concept as the embodiment of the method of the present invention. The specific contents can be found in the description of the embodiment of the method of the present invention and will not be repeated here.

[0048] Similarly, the electronic device of the present invention can store the MAC address in the OTP area of ​​the BIOS FLASH of the mainboard, without the need to design an independent EEPROM or Flash chip. It can utilize the existing storage space and eliminate the need to design an additional dedicated MAC address storage chip, while also realizing network functions, reducing design complexity and saving costs.

[0049] Example 4

[0050] The present invention also provides a computer-readable medium, on which a computer instruction is stored, and when the computer instruction is executed by a processor, the processor executes the domestic platform MAC address storage and application method. Specifically, a system or device equipped with a storage medium can be provided, on which a software program code that implements the functions of any of the above embodiments is stored, and a computer (or CPU or MPU) of the system or device reads and executes the program code stored in the storage medium.

[0051] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.

[0052] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.

[0053] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.

[0054] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or written to a memory provided in an expansion unit connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or the expansion unit is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.

[0055] The above-described embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or changes made by those skilled in the art based on the present invention are within the protection scope of the present invention. The protection scope of the present invention shall be subject to the claims.

Claims

1. A method for storing and applying MAC addresses on a domestic platform. Its characteristics are include: Select the OTP area in the motherboard BIOS FLASH, Store the MAC address in the OTP area of ​​the motherboard BIOS FLASH. After the motherboard is powered on, the BIOS accesses the OTP area to read the MAC address and writes the MAC address to the MAC controller of the processor or bridge chip to ensure normal use of the network.

2. According to the method for storing and applying MAC addresses of a domestic platform as described in claim 1, Its characteristics are The MAC address is stored in the OTP area in the mainboard BIOS FLASH, including: Power on the motherboard, enter the BIOS shell interface, access the BIOS FLASH OTP area through instructions, write the MAC address into the address space of the BIOS FLASH OTP area in sequence, and the flashing is completed, and the motherboard restarts.

3. According to the domestic platform MAC address storage and application method described in claim 1, Its characteristics are The step of writing the MAC address into a MAC controller of a processor or a bridge chip includes: The BIOS FLASH is connected to the processor via the SPI interface and is connected to the bridge chip via the HT bus or the PCIE bus. The BIOS reads the MAC address and writes the MAC address into the MAC controller of the processor or the bridge chip.

4. A domestic platform MAC address storage and application device, Its characteristics are Including storage management module and BIOS, The storage management module selects the OTP area in the motherboard BIOS FLASH and stores the MAC address in the OTP area in the motherboard BIOS FLASH. After the motherboard is powered on, the BIOS accesses the OTP area to read the MAC address and writes the MAC address to the MAC controller of the processor or bridge chip to ensure normal use of the network.

5. A domestic platform MAC address storage and application device according to claim 4, Its characteristic is storage The management module stores the MAC address in the OTP area of ​​the mainboard BIOS FLASH, including: powering on the mainboard, entering the BIOS shell interface, accessing the BIOS FLASH OTP area through instructions, writing the MAC address into the address space of the BIOS FLASH OTP area in sequence, and completing the flashing and restarting the mainboard.

6. A domestic platform MAC address storage and application device according to claim 4, Its characteristics are The BIOS writes the MAC address to the MAC controller of the processor or bridge chip, including: The BIOS FLASH is connected to the processor via the SPI interface and is connected to the bridge chip via the HT bus or the PCIE bus. The BIOS reads the MAC address and writes the MAC address into the MAC controller of the processor or the bridge chip.

7. An electronic device for storing and applying MAC addresses on a domestic platform, Its characteristics are include: at least one memory and at least one processor; The at least one memory is used to store a machine-readable program; The at least one processor is used to call the machine-readable program to execute a domestic platform MAC address storage and application method as described in any one of claims 1 to 3.

8. Computer readable media, Its characteristics are The computer-readable medium stores computer instructions, and when the computer instructions are executed by the processor, the processor executes the domestic platform MAC address storage and application method described in any one of claims 1 to 3.