A basic input / output system customization method and apparatus

By generating a power-erasable programmable read-only memory read/write tool associated with the EEPROM device, automated management of BIOS customization information is achieved, solving the problems of complex version control and refresh failure, and improving production efficiency and compatibility.

CN114564216BActive Publication Date: 2026-07-03INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2022-02-28
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

Existing technologies for custom BIOS development suffer from problems such as complex version control, multiple version releases, low production efficiency, and high risk of refresh failure, making it difficult to achieve version compatibility with products on the same platform and simplify code development.

Method used

By generating an electrically erasable programmable read-only memory read/write tool associated with the EEPROM device, writing customized information and determining the current key value, the automated management of BIOS customized information is achieved, simplifying code development and improving compatibility.

Benefits of technology

The development process for custom BIOS has been optimized, enabling compatibility with product versions on the same platform, reducing version control complexity, avoiding flashing failures, and improving production efficiency and customer experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114564216B_ABST
    Figure CN114564216B_ABST
Patent Text Reader

Abstract

The application relates to a basic input / output system customization method and device, and the method comprises the following steps: based on an open source computer operating system kernel and a basic input / output system shell environment, generating a flash read / write tool associated with a flash EPROM; based on the flash read / write tool, writing basic input / output system customization information into the flash EPROM; obtaining the basic input / output system customization information of the flash EPROM, and realizing basic input / output system customization based on the basic input / output system customization information. The method can realize the requirement of basic input / output system customization, improve the compatibility of basic input / output system code, effectively improve production efficiency, simplify operation process, and optimize the production mode of customized products.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer application technology, and in particular to a method and apparatus for customizing a basic input / output system. Background Technology

[0002] With the rapid development of computer technology and the Internet and Internet of Things industries, competition among computer product manufacturers is becoming increasingly fierce, and user demands are becoming more diversified. To better enhance product market competitiveness and customer satisfaction, customization needs have emerged, requiring manufacturers to propose and implement customized production models. For example, in the current production process of desktop computers, it is sometimes necessary to update the product to a customized Basic Input Output System (BIOS) version based on user customization requirements. This customized BIOS version may include customer logo information, customized settings options, and customized model information.

[0003] When developing custom BIOSes, firmware engineers need to write a large amount of redundant code, compile versions according to customization requirements, and distribute them to the production line. This involves distributing and controlling numerous different versions, increasing the workload of version control and leading to a growing number of version distributions, which is detrimental to version management. Simultaneously, in actual production, the production line produces multiple products with different requirements, also involving the management of numerous different BIOS versions. Currently, manual control and inspection are required, which is prone to omissions, leading to missed flashes, flashing the wrong version, and sometimes even flashing failures that prevent booting, severely impacting production efficiency and customer experience.

[0004] Therefore, there is an urgent need to propose a basic input / output system customization method and device that can help optimize the development process of customized BIOS, achieve compatibility with product versions on the same platform, and simplify code development. Summary of the Invention

[0005] To address the aforementioned technical problems, this invention provides a basic input / output system customization method and apparatus, which can optimize the development process of customized BIOS, achieve product version compatibility within the same platform, and simplify code development.

[0006] To achieve the above objectives, this application proposes a first technical solution:

[0007] A method for customizing a Basic Input / Output System (PIS) is applied to an open-source computer operating system kernel and a Basic Input / Output System shell environment. The method includes the following steps: generating an electrically erasable programmable read-only memory (EEPROM) read / write tool associated with an EEPROM device based on the open-source computer operating system kernel and the EEPROM shell environment; writing basic input / output system customization information to the EEPROM device using the EEPROM read / write tool; obtaining the basic input / output system customization information from the EEPROM device; and implementing basic input / output system customization based on the customized basic input / output system information.

[0008] In one embodiment of the present invention, the method further includes: generating basic input / output system (PIS) customization information and storing the PIS customization information in a storage medium, wherein the initial key value of the storage medium is the PIS default key value; initializing the two-wire serial bus address of the electrically erasable programmable read-only memory (EEPROM) device and reading the current PIS key value stored in the storage medium based on the two-wire serial bus address; determining whether the current PIS key value is PIS customization information based on the current PIS key value; and if the current PIS key value is PIS customization information, writing the PIS customization information to the EEPROM device using an EEPROM read / write tool.

[0009] In one embodiment of the present invention, generating a read / write tool associated with a electrically erasable programmable read-only memory (EEPROM) device includes: setting the interface of the EEPROM read / write tool to an offset address and data to be written; obtaining the read / write base address and file path of the EEPROM device; initializing the data buffer of the EEPROM device; and embedding the EEPROM read / write tool into the EEPROM device based on the read / write base address of the EEPROM device. If the initialization of the data buffer of the EEPROM device is successful, and the embedding of the EEPROM read / write tool into the EEPROM device is successful, then the generation of the EEPROM read / write tool associated with the EEPROM device is successful; otherwise, the generation of the EEPROM read / write tool associated with the EEPROM device fails.

[0010] In one embodiment, writing basic input / output system customization information to the electrically erasable programmable read-only memory (EEPROM) device includes: obtaining an offset address of the EEPROM device corresponding to the basic input / output system customization information based on the basic input / output system customization information; and writing the basic input / output system customization information to the EEPROM device based on the offset address of the EEPROM device.

[0011] In one embodiment, determining whether the current key value of the Basic Input / Output System (BIOS) is BIOS-customized information includes: comparing the current key value of the BIOS with the default key value of the BIOS; if the current key value of the BIOS is different from the default key value of the BIOS, then the current key value of the BIOS is determined to be BIOS-customized information; otherwise, the current key value of the BIOS is determined not to be BIOS-customized information.

[0012] In one embodiment, the electrically erasable programmable read-only memory read-write tool writes basic input / output system customized information to the electrically erasable programmable read-only memory device in either a single-byte write method or a multi-byte write method.

[0013] In one embodiment, the basic input / output system customization information includes: power-on logo information, customization settings options, customization model information, intelligent frequency adjustment switch, power management information, and dynamic acceleration switch.

[0014] In one embodiment, an alarm is issued when generating an EEPROM read / write tool associated with the EEPROM device fails.

[0015] To achieve the above objectives, this application also proposes a second technical solution:

[0016] A basic input / output system customization device, the device comprising:

[0017] The tool generation unit, based on an open-source computer operating system kernel and a basic input / output system shell environment, is used to generate electrically erasable programmable read-write tools associated with electrically erasable programmable read-only memory devices.

[0018] An information writing unit is communicatively connected to the generation unit. The writing unit is based on the electrically erasable programmable read-only memory read-write tool and is used to write customized information of the basic input / output system to the electrically erasable programmable read-only memory device.

[0019] An information acquisition unit is communicatively connected to the information writing unit, and the information acquisition unit is used to acquire basic input / output system customized information of the electrically erasable programmable read-only memory device.

[0020] A customization implementation unit is communicatively connected to the information acquisition unit, and the customization implementation unit implements basic input / output system customization based on the basic input / output system customization information.

[0021] In one embodiment of the present invention, the device further includes: an information storage unit communicatively connected to the information writing unit, the information storage unit storing the basic input / output system customized information based on basic input / output system customized information, wherein the initial value of the key value of the storage medium is the basic input / output system default key value; and an information comparison unit communicatively connected to the information storage unit, the information comparison unit determining whether the current key value of the basic input / output system is basic input / output system customized information based on the current key value of the basic input / output system.

[0022] The technical solution of the present invention has the following advantages compared with the prior art:

[0023] The present invention discloses a method and apparatus for customizing a Basic Input / Output System (BIOS). The method includes the following steps: generating a Powered Erasable Programmable Read-Only Memory (PEI) read / write tool associated with a PPI based on an open-source computer operating system kernel and a BIOS shell environment; writing BIOS customization information to the PPI based on the PPI read / write tool; obtaining the BIOS customization information from the PPI; and realizing BIOS customization based on the BIOS customization information. The basic input / output system (BIS) customization method described in this invention can meet the needs of BIS customization, improve the compatibility of BIS code, and eliminate the need for special compilation and separate distribution of customized BIS, thus reducing version control complexity. Furthermore, data can be permanently stored in a electrically erasable programmable read-only memory (EROM) device even when the chip is powered off. This allows for the selection of a customized BIS after setting the EROM device, avoiding information loss due to incorrect or incorrect BIS updates. During production, the BIS update operation can be skipped, reducing the risk of update failure. In summary, the BIS customization method described in this application can effectively improve production efficiency, simplify operation processes, and optimize the production mode of customized products. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 This is a flowchart of the basic input / output system customization method of the present invention applied to the Linux kernel system and BIOS SHELL environment;

[0026] Figure 2 This is a flowchart of the basic input / output system customization method for generating an EEPROM read / write tool associated with an EEPROM device according to the present invention;

[0027] Figure 3 This is a flowchart of the method for determining whether the current key value of the BIOS is BIOS customized information according to the present invention;

[0028] Figure 4 This is a flowchart of the method for applying the present invention to the open-source computer operating system kernel and basic input / output system shell environment;

[0029] Figure 5 This is a structural diagram of the device of the present invention. Detailed Implementation

[0030] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0031] Example 1:

[0032] Reference Figure 1 As shown, Figure 1 This is a flowchart of the method in Example 1.

[0033] The method in this embodiment is applied to the Linux kernel system and BIOS SHELL environment, and includes the following steps:

[0034] Step S1: Based on the Linux kernel system and BIOS SHELL environment, generate an EEPROM read / write tool associated with the EEPROM device; Step S2: Generate BIOS customization information and store the BIOS customization information to a storage medium, where the initial key value is the BIOS default key value; Step S3: Initialize the I2C address of the EEPROM device and read the current BIOS key value stored in the storage medium based on the I2C address; Step S4: Based on the current BIOS key value, determine whether the current BIOS key value is BIOS customization information; Step S5: If the current BIOS key value is BIOS customization information, write the BIOS customization information to the EEPROM device using the EEPROM read / write tool; Step S6: Obtain the BIOS customization information of the EEPROM device and implement BIOS customization based on the BIOS customization information. It should be understood that the BIOS default key value mentioned in this application refers to the BIOS option without customization, and the BIOS current key value mentioned in this application refers to the BIOS option written to the EEPROM device through the EEPROM read / write tool, which is the BIOS current key value mentioned in this application. Furthermore, it should be understood that the BIOS current key value described in this application may or may not be BIOS customized information. It should also be understood that the Basic Input / Output System Shell described in this application refers to the shell layer application corresponding to the system kernel; the BIOS SHELL environment described in this application is one type of shell within the Basic Input / Output System Shell; similarly, the Linux kernel system described in this application is one type of kernel within the open-source computer operating system kernel described in this application.

[0035] In one implementation, such as Figure 2 The diagram shows a flowchart of generating an EEPROM read / write tool associated with an EEPROM device, specifically including the following steps: setting the interface of the EEPROM read / write tool to an offset address and the data to be written; obtaining the read / write base address and file path of the EEPROM device; initializing the data buffer of the EEPROM device; embedding the EEPROM read / write tool into the EEPROM device based on the read / write base address of the EEPROM device; if the initialization of the data buffer of the EEPROM device is successful, and the embedding of the EEPROM read / write tool into the EEPROM device is successful, then the generation of the EEPROM read / write tool associated with the EEPROM device is successful; otherwise, the generation of the EEPROM read / write tool associated with the EEPROM device fails.

[0036] In one embodiment, embedding the EEPROM read / write tool into the EEPROM device further includes: using a single-byte read / write method, writing data to the offset address of the EEPROM device in the data writing direction, and increasing the write delay according to the actual situation; after the offset address data is written to the read / write EEPROM tool, closing the EEPROM device and returning the data writing result to the data writer.

[0037] In one embodiment, the step of writing BIOS customization information to the EEPROM device includes: obtaining the offset address of the EEPROM device corresponding to the BIOS customization information based on the BIOS customization information; and writing the BIOS customization information to the EEPROM device based on the offset address of the EEPROM device. It should be understood that the offset address, base address, and BIOS customization information mentioned in this application can all be macro-defined to facilitate maintenance in subsequent stages.

[0038] In one implementation, such as Figure 3 The diagram illustrates a flowchart for determining whether the current BIOS key value is BIOS customization information. The specific steps include: comparing the current BIOS key value with the default BIOS key value; if the current BIOS key value differs from the default BIOS key value, then the current BIOS key value is determined to be BIOS customization information; otherwise, it is determined that the current BIOS key value is not BIOS customization information. For example, taking a customized logo as an example, the default BIOS key value corresponding to the logo is 0x00. When the current BIOS key value is 0x00, it is the default logo display format; if the current BIOS key value is not 0x00, the BIOS displays the logo in the format corresponding to the current key value. It should be understood that the BIOS customization information described in this application is stored in the form of key values ​​in the EEPROM read / write tool.

[0039] In one implementation, obtaining the BIOS customization information of the EEPROM device and implementing BIOS customization based on the BIOS customization information includes: writing the BIOS customization information to the EEPROM device using the EEPROM read / write tool; returning the writing result; if the returned writing result shows that the BIOS customization information was written successfully, then restarting the system; if the restarted system displays the BIOS customization information normally, then the BIOS customization is determined to be successful; otherwise, the BIOS customization is determined to be unsuccessful.

[0040] Example 2:

[0041] Reference Figure 4 As shown, Figure 4 This is a flowchart of the method in Example 2.

[0042] The method of this embodiment is applied to an open-source computer operating system kernel and a basic input / output system (PIS) shell environment, and includes the following steps: generating a electrically erasable programmable read-write tool associated with an electrically erasable programmable read-only memory (EEPROM) device based on the open-source computer operating system kernel and the EEPROM shell environment; writing EEPROM customization information to the EEPROM device based on the EEPROM read-write tool; obtaining the EEPROM customization information of the EEPROM device; and implementing EEPROM customization based on the EEPROM customization information.

[0043] In one embodiment, the method further includes: generating basic input / output system (PIS) customization information and storing the PIS customization information in a storage medium, wherein the initial key value of the storage medium is the PIS default key value; initializing the two-wire serial bus address of the electrically erasable programmable read-only memory (EEPROM) device and reading the current PIS key value stored in the storage medium based on the two-wire serial bus address; determining whether the current PIS key value is PIS customization information based on the current PIS key value; and if the current PIS key value is PIS customization information, writing the PIS customization information to the EEPROM device using an EEPROM read / write tool.

[0044] In one embodiment, generating the electrically erasable programmable read-write tool associated with the electrically erasable programmable read-only memory (ERM) device includes: setting the interface of the ERM device to an offset address and data to be written; obtaining the read / write base address and file path of the ERM device; initializing the data buffer of the ERM device; and embedding the ERM device into the ERM device based on the read / write base address of the ERM device. If the initialization of the data buffer of the ERM device is successful, and the embedding of the ERM device into the ERM device is successful, then the generation of the ERM device associated with the ERM device is successful; otherwise, the generation of the ERM device associated with the ERM device fails.

[0045] In one embodiment, writing basic input / output system customization information to the electrically erasable programmable read-only memory (EEPROM) device includes: obtaining an offset address of the EEPROM device corresponding to the basic input / output system customization information based on the basic input / output system customization information; and writing the basic input / output system customization information to the EEPROM device based on the offset address of the EEPROM device.

[0046] In one embodiment, determining whether the current key value of the Basic Input / Output System (BIOS) is BIOS-customized information includes: comparing the current key value of the BIOS with the default key value of the BIOS; if the current key value of the BIOS is different from the default key value of the BIOS, then the current key value of the BIOS is determined to be BIOS-customized information; otherwise, the current key value of the BIOS is determined not to be BIOS-customized information.

[0047] In one embodiment, the electrically erasable programmable read-only memory read-write tool writes basic input / output system customized information to the electrically erasable programmable read-only memory device in either a single-byte write method or a multi-byte write method.

[0048] In one implementation, the basic input / output system customization information includes: power-on logo information, customization settings options, customization model information, intelligent frequency adjustment switch, power management information, and dynamic acceleration switch.

[0049] In one implementation, an alarm is issued when generating an EEPROM read / write tool associated with the EEPROM device fails.

[0050] Example 3:

[0051] Reference Figure 5 As shown, Figure 5 This is a structural diagram of the device in Embodiment 3.

[0052] The apparatus of this embodiment includes: a Powered Erasable Programmable Read-Only Memory (PEI) read / write tool based on an open-source computer operating system kernel and a Basic Input / Output System (BIOS) shell environment, for generating a PII / EPR read / write tool associated with a PII / EPR device; an information writing unit, communicatively connected to the generation unit, for writing BIOS customized information to the PII / EPR device based on the PII / EPR read / write tool; an information acquisition unit, communicatively connected to the information writing unit, for acquiring BIOS customized information of the PII / EPR device; and a customization implementation unit, communicatively connected to the information acquisition unit, for implementing BIOS customization based on the BIOS customized information.

[0053] In one embodiment, the apparatus further includes: an information storage unit communicatively connected to the information writing unit, the information storage unit storing the basic input / output system customized information based on basic input / output system customized information, wherein the initial value of the key value of the storage medium is the basic input / output system default key value; and an information comparison unit communicatively connected to the information storage unit, the information comparison unit determining whether the current key value of the basic input / output system is basic input / output system customized information based on the current key value of the basic input / output system.

[0054] Example 4:

[0055] This embodiment provides a computer-readable storage medium storing a program that, when executed by a processor, causes the processor to perform the steps of the basic input / output system customization method described in Embodiments 1 and 2 above.

[0056] Those skilled in the art will understand that the embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, the embodiments of the present invention can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0057] The embodiments of the present invention are described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, produce a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0058] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0059] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0060] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.

Claims

1. A method for customizing a basic input / output system, applied to an open-source computer operating system kernel and a basic input / output system shell environment, characterized in that, The method includes the following steps: Based on the open-source computer operating system kernel and the basic input / output system shell environment, a read / write tool for electrically erasable programmable read-only memory (EEPROM) associated with the EEPROM device is generated, including: setting the interface of the EEPROM read / write tool to an offset address and the data to be written; obtaining the read / write base address and file path of the EEPROM device; initializing the data buffer of the EEPROM device; and embedding the EEPROM read / write tool into the EEPROM device based on the read / write base address of the EEPROM device. If the data buffer of the electrically erasable programmable read-only memory (EEPROM) is successfully initialized, and the EEPROM read-write tool is successfully embedded into the EEPROM, then the EEPROM read-write tool associated with the EEPROM is successfully generated; otherwise, the generation of the EEPROM read-write tool associated with the EEPROM fails. The basic input / output system shell environment is used to characterize the shell layer application corresponding to the open-source computer operating system kernel, and the offset address and the read / write base address are characterized based on macro definitions. Generate basic input / output system customization information and store the basic input / output system customization information to a storage medium. The initial value of the key value of the storage medium is the default key value of the basic input / output system. The basic input / output system customization information is represented based on the form of the macro definition. Initialize the two-wire serial communication bus address of the electrically erasable programmable read-only memory device, and read the current key value of the basic input / output system stored in the storage medium based on the two-wire serial communication bus address; Determine whether the current key value of the basic input / output system is the basic input / output system customized information. If the current key value of the basic input / output system is the basic input / output system customized information, write the basic input / output system customized information to the electrically erasable programmable read-only memory device based on the electrically erasable programmable read-only memory read-write tool. Obtain the basic input / output system customization information of the electrically erasable programmable read-only memory device, and realize the basic input / output system customization based on the basic input / output system customization information.

2. The basic input / output system customization method according to claim 1, characterized in that, The step of writing basic input / output system customized information to the electrically erasable programmable read-only memory device includes: Based on the basic input / output system customization information, obtain the offset address of the electrically erasable programmable read-only memory device corresponding to the basic input / output system customization information; Based on the offset address of the electrically erasable programmable read-only memory (EEPROM), the EEPROM read / write tool writes basic input / output system customized information to the EEPROM.

3. The basic input / output system customization method according to claim 1, characterized in that, Determining whether the current key value of the Basic Input / Output System (PIS) is PIS-customized information includes: Based on the current key value of the basic input / output system, compare whether the current key value of the basic input / output system is the same as the default key value of the basic input / output system; If the current key value of the Basic Input / Output System (BIOS) is different from the default key value of the BIOS, then the current key value of the BIOS is determined to be BIOS-customized information; otherwise, the current key value of the BIOS is determined not to be BIOS-customized information.

4. The basic input / output system customization method according to claim 3, characterized in that, The method by which the electrically erasable programmable read-only memory read-write tool writes customized information of the basic input / output system to the electrically erasable programmable read-only memory device is either single-byte write mode or multi-byte write mode.

5. The basic input / output system customization method according to claim 4, characterized in that, The basic input / output system customization information includes: power-on logo information, customization settings options, customization model information, intelligent frequency adjustment switch, power management information, and dynamic acceleration switch.

6. The basic input / output system customization method according to claim 5, characterized in that, An alarm is issued if it fails to generate an EEPROM read / write tool associated with the EEPROM device.

7. A basic input / output system customization device, characterized in that, The device includes: The tool generation unit, based on an open-source computer operating system kernel and a basic input / output system shell environment, is used to generate an electrically erasable programmable read-write tool associated with an electrically erasable programmable read-only memory (EEPROM) device. This includes: setting the interface of the EEPROM read-write tool to an offset address and the data to be written; obtaining the read / write base address and file path of the EEPROM device; initializing the data buffer of the EEPROM device; and embedding the EEPROM read-write tool into the EEPROM device based on its read / write base address. Device; if the data buffer of the electrically erasable programmable read-only memory device is successfully initialized, and the electrically erasable programmable read-write tool is successfully embedded into the electrically erasable programmable read-only memory device, then the electrically erasable programmable read-write tool associated with the electrically erasable programmable read-only memory device is successfully generated; otherwise, the generation of the electrically erasable programmable read-write tool associated with the electrically erasable programmable read-only memory device fails. The basic input / output system shell environment is used to characterize the shell layer application corresponding to the open-source computer operating system kernel, and the offset address and the read / write base address are characterized based on macro definitions. An information writing unit is communicatively connected to the generation unit. The writing unit generates and stores customized basic input / output (BIOS) information in a storage medium. The initial key value of the storage medium is the BIOS default key value, where the customized BIOS information is represented by a macro definition. The unit initializes the two-wire serial communication bus address of the electrically erasable programmable read-only memory (EEPROM) device and reads the current BIOS key value stored in the storage medium based on the two-wire serial communication bus address. It then determines whether the current BIOS key value is the customized BIOS information. If the current BIOS key value is the customized BIOS information, the unit writes the customized BIOS information to the EEPROM device using the EEPROM read / write tool. An information storage unit is communicatively connected to the information writing unit. The information storage unit is based on basic input / output system customized information and is used to store the basic input / output system customized information. The initial value of the key value of the storage medium is the basic input / output system default key value. An information acquisition unit is communicatively connected to the information writing unit, and the information acquisition unit is used to acquire basic input / output system customized information of the electrically erasable programmable read-only memory device. A customization implementation unit is communicatively connected to the information acquisition unit, and the customization implementation unit implements basic input / output system customization based on the basic input / output system customization information.

8. The basic input / output system customization device according to claim 7, characterized in that, The device further includes: An information comparison unit is communicatively connected to the information storage unit. The information comparison unit is based on the current key value of the basic input / output system to determine whether the current key value of the basic input / output system is customized information of the basic input / output system.