Arm server pci parameter adjustment method and device, computer device and medium

By setting the runnable attribute for the PCI link of the ARM server and using the SCE tool to capture and write it to the BIOS, the problem of the inability to modify the PCI link parameters of the ARM server was solved, improving the user experience and operating system functionality.

CN116700821BActive Publication Date: 2026-11-27INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310522975.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-10
Publication Date
2026-11-27
Estimated Expiration
2043-05-10

AI Technical Summary

Technical Problem

The PCI link parameters of ARM servers cannot be modified under the operating system, and the uniqueness of data captured by existing SCE tools cannot be confirmed, resulting in poor user experience and data that cannot be written to the BIOS.

Method used

By setting runnable attributes for multiple PCI links on the ARM server, the SCE tool is used to capture menu information in RAW format, save it as a document, modify the parameter information, and write the document to the BIOS to update the menu information.

Benefits of technology

This implementation allows modification of PCI link parameters under an ARM server operating system and writing the captured data back to the BIOS, improving user experience and operating system functionality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116700821B_ABST
    Figure CN116700821B_ABST
Patent Text Reader

Abstract

The application relates to a PCI link parameter adjustment method of an ARM server, the ARM server comprising a plurality of PCI links, each PCI link corresponding to a plurality of dynamically created secondary menus, each secondary menu comprising one or more options, the method comprising: setting a runnable attribute for a plurality of target secondary menus; grabbing menu information of each target secondary menu in a RAW format through an SCE tool; saving each menu information obtained through grabbing as a document; confirming the position of parameter information needing to be modified in the document according to each menu information, modifying the parameter information; writing current information of the document into the BIOS of the ARM server through the SCE tool; and restarting the ARM server. Through the above steps, the PCI link parameters are modified under the operating system of the ARM server, and the function of the operating system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of server technology, and in particular to a method, apparatus, computer device and medium for adjusting PCI parameters of an ARM server. Background Technology

[0002] Currently, the processor architectures of various servers are largely similar, and each architecture has a BIOS Setup (Basic Input / Output System Setup) parameter setting function. However, the configurable BIOS (Basic Input / Output System) parameters provided by different servers vary. Some servers manage BIOS parameters statically; for example, Intel's BIOS products can control processor-related parameters. Furthermore, because Intel processors have a small number of PCI (Peripheral Component Interconnect) link controllers and have undergone years of iterative development, the core PCI parameter setting function is now open for use. PCI parameters can be modified in batches, whether through the BIOS Setup interface or by using the SCE (SetupCollection Environment) tool within the operating system.

[0003] However, the emerging mainstream ARM (Advanced RISC Machines, ARM Inc.) servers, due to their lower maturity and double the number of PCI links compared to Intel platforms (currently, an ARM processor supports 6 PCI links, while an Intel processor supports 3), and because ARM architecture uses dynamic data capture for PCI links, with some parameter settings obtained through PCI card image reading, these settings are only visible on the PCI links after the device is recognized. This is completely different from the design of Intel platforms. In short, the statically created PCI link parameters on Intel platforms can be freely modified, while the dynamically created PCI link parameters on ARM architecture cannot be modified within the operating system, resulting in a poor user experience. Furthermore, existing methods using SCE tools to capture data have the problem of not being able to confirm the uniqueness of variables, meaning that data captured by SCE tools cannot be written back to the BIOS after modification. Summary of the Invention

[0004] This application addresses the aforementioned shortcomings or drawbacks by providing a method, apparatus, computer device, and medium for adjusting PCI link parameters of an ARM server. Through the steps of the above method, PCI link parameters can be modified under the operating system of the ARM server, and data captured by the SCE tool can be written back to the ARM server's BIOS, thus improving the functionality of the operating system.

[0005] This application provides a method for adjusting PCI link parameters of an ARM server according to a first aspect. The ARM server includes multiple PCI links, each PCI link corresponds to multiple dynamically created secondary menus, and each secondary menu includes one or more options. The method includes:

[0006] Set the runnable property for multiple target second-level menus. The runnable property is used to enable the corresponding target second-level menus to be modified in the operating system of the ARM server.

[0007] The SCE tool is used to capture the menu information of each target second-level menu in RAW format; each captured menu information is saved as a document; the menu information includes the identity of the corresponding target second-level menu, as well as the parameter information of each option of the target second-level menu. The order of the parameter information of each option in the menu information is used to represent the sorting position of each option in the target second-level menu.

[0008] Based on the information for each menu item, identify the location of the parameter information that needs to be modified in the document, and then modify the parameter information.

[0009] The SCE tool writes the current information of the document into the ARM server BIOS; the ARM server is then restarted so that when the ARM server executes the BIOS code, it updates the menu information of each target secondary menu according to the current information of the document.

[0010] In some embodiments, setting a runnable attribute for multiple target second-level menus, the method includes:

[0011] Modify the BIOS business logic of the ARM server for multiple target secondary menus;

[0012] The BIOS is started, and during the BIOS startup process, multiple secondary menus are set to runnable attributes, as well as the operating system of the ARM server is entered. The operating system includes SCE tools, and the runnable attribute is a variable attribute that can be modified under the operating system in runtime mode.

[0013] In some embodiments, before capturing the menu information of each target second-level menu in RAW format using the SCE tool, the method further includes:

[0014] Modify the BIOS business logic of the ARM server for each secondary menu;

[0015] Start the BIOS, and during the BIOS boot process, set all secondary menu items to runnable attributes and enter the ARM server's operating system.

[0016] In some embodiments, the location of the parameter information that needs to be modified is identified in the document based on each menu information, and the parameter information is modified, including:

[0017] Open the document and check each menu item against the pre-defined update information, which includes the menu items that need to be modified.

[0018] Based on the verification results, confirm the target sub-menu that needs to be modified in the document;

[0019] In the target submenu, determine the location of the parameter information that needs to be modified based on the sorting of the parameter information of each option in the target submenu, and then modify the parameter information.

[0020] In some embodiments, the method of verifying each menu item against predetermined update information includes:

[0021] Search the document for the identity identifier in each menu item;

[0022] Verify the identity identifier in each menu item based on the scheduled update information and search results.

[0023] In some embodiments, writing the current information of a document into the ARM server BIOS using the SCE tool includes:

[0024] Save the current information as a new document in SCERAW format. The current information includes both the unmodified parameter information and the modified parameter information.

[0025] Write the document into the ARM server's BIOS using the SCE tool.

[0026] In some embodiments, updating the menu information of each target second-level menu based on the current information of the document includes:

[0027] The modified parameter information will be set into the corresponding PCI device and the corresponding options in the secondary menu of that PCI device to update the menu information of each target secondary menu.

[0028] This application provides a PCI link parameter adjustment device for an ARM server according to another aspect. The ARM server includes multiple PCI links, each PCI link corresponding to multiple dynamically created secondary menus, and each secondary menu including one or more options; the device includes:

[0029] The runtime status setting module is used to set runnable attributes for multiple target second-level menus. The runnable attributes are used to enable the corresponding target second-level menus to be modified in the operating system of the ARM server.

[0030] The menu information capture module is used to capture the menu information of each target second-level menu in RAW format using the SCE tool; save each captured menu information as a document; the menu information includes the identity of the corresponding target second-level menu, as well as the parameter information of each option of the target second-level menu, and the sorting of the parameter information of each option in the menu information is used to represent the sorting position of each option in the target second-level menu;

[0031] The parameter information modification module is used to identify the location of the parameter information that needs to be modified in the document based on each menu item, and then modify the parameter information.

[0032] The menu information update module is used to write the current information of the document into the ARM server BIOS using the SCE tool; restarting the ARM server allows it to update the menu information of each target second-level menu based on the current information of the document when executing BIOS code.

[0033] According to another aspect, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for adjusting the PCI link parameters of the ARM server described above.

[0034] According to another aspect, this application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of any of the methods for adjusting the PCI link parameters of the ARM server described above.

[0035] By following the steps described above, it is possible to modify PCI link parameters under the operating system of the ARM server, and also to write data captured by the SCE tool back to the ARM server's BIOS, thus improving the functionality of the operating system. Attached Figure Description

[0036] Figure 1 This is a schematic flowchart of a PCI link parameter adjustment method for an ARM server in one or more embodiments of this application;

[0037] Figure 2 A flowchart illustrating a method for setting runnable attributes for a target secondary menu in one or more embodiments of this application;

[0038] Figure 3This is a flowchart illustrating a method for batch setting runnable attributes for all second-level menus in one or more embodiments of this application.

[0039] Figure 4 This is a flowchart illustrating a method for modifying parameter information in one or more embodiments of this application;

[0040] Figure 5 This is a flowchart illustrating a method for verifying menu information in one or more embodiments of this application;

[0041] Figure 6 This is a flowchart illustrating a method for writing current information into the BIOS according to one or more embodiments of this application;

[0042] Figure 7 This is a schematic diagram of a PCI link parameter adjustment device for an ARM server in one or more embodiments of this application;

[0043] Figure 8 This is a schematic diagram of a computer device in one or more embodiments of this application;

[0044] Figure 9 This is a flowchart illustrating a method for batch adjusting PCI link parameters according to one or more embodiments of this application;

[0045] Figure 10-15 This demonstrates a sample example of batch adjusting PCI link parameters. Detailed Implementation

[0046] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0047] This application provides a method for adjusting PCI link parameters of an ARM server according to the first aspect, such as... Figure 1 As shown: The ARM server includes multiple PCI links, each PCI link corresponds to multiple dynamically created secondary menus, and each secondary menu includes one or more options. The above method includes:

[0048] S110: Sets the runnable attribute for multiple target second-level menus; used to enable the corresponding target second-level menus to be modified in the ARM server's operating system;

[0049] Specifically, when it is necessary to modify PCI link parameters under the operating system, the user modifies the BIOS program code of the ARM server, runs the BIOS, and sets multiple target secondary menus to runnable status. The ARM server's operating system includes a primary menu, which is divided into multiple secondary menus. The aforementioned multiple target secondary menus are the secondary menus under the primary menu that need to be modified. A runnable attribute is a variable attribute in the ARM server's operating system, expressed in runtime mode, and modifiable under the operating system. The aforementioned runtime can refer to a stage in the BIOS program's execution cycle.

[0050] S120: Use the SCE tool to capture the menu information of each target second-level menu in RAW format, and save each captured menu information as a document; the menu information includes the identity of the corresponding target second-level menu, as well as the parameter information of each option of the target second-level menu. The order of the parameter information of each option in the menu information is used to represent the sorting position of each option in the target second-level menu.

[0051] Specifically, the user uses the SCE tool in the operating system to capture the menu information of each target second-level menu in RAW format; the SCE tool has the function of capturing the menu information of the second-level menu; the RAW (RAWImageFormat, RAW binary data) format is the RAW binary data format; the above document is used to save the menu captured by the SCE tool, that is, the menu information to be modified; furthermore, the content of the document includes the identity of the second-level menu corresponding to each menu information, as well as the parameter information of each option of the target second-level menu.

[0052] For example, the parameter information of each option can be sorted in the menu information as [010406].

[0053] S130: Based on the information for each menu item, identify the location of the parameter information that needs to be modified in the document, and modify the parameter information accordingly;

[0054] Specifically, based on the identifier in each menu item, the user can identify the location of the parameter information to be modified in the document and then modify the parameter information. The identifier includes the unique name, variable ID, name, and GUID (GloballyUniqueIdentifier) ​​of the corresponding secondary menu. The user can use these four unique identifiers to identify the menu information to be modified and thus the location of the parameter information to be modified.

[0055] For example, the user finally confirmed that the modified parameter information was located at 06 in [010406] above.

[0056] S140: Write the current information of the document into the ARM server BIOS using the SCE tool; restart the ARM server so that when the ARM server executes the BIOS code, it updates the menu information of each target secondary menu according to the current information of the document.

[0057] Specifically, the user uses the SCE tool in the operating system to write the current information of the document into the ARM server BIOS; the current information includes unmodified parameter information and modified / replaced parameter information. For example, if the user changes 06 in [010406] to 05, the current information will contain parameter information including [010405]. The unmodified parameter information can be 0104 in [010406], as well as other parameter information; the modified / replaced parameter information is 05 in [010405].

[0058] By following the steps described above, it is possible to modify PCI link parameters under the operating system of the ARM server, and also to write data captured by the SCE tool back to the ARM server's BIOS, thus improving the functionality of the operating system.

[0059] In some embodiments, runnable properties are set for multiple target second-level menus, such as Figure 2 As shown, the method includes:

[0060] S210: Modify the BIOS business logic of the ARM server for multiple target secondary menus;

[0061] Specifically, the user modifies the BIOS business logic of the ARM server for multiple target secondary menus. The business logic is a part of the BIOS code used to modify runnable attributes.

[0062] S220: Starts the BIOS, sets multiple secondary menus to runnable attributes during the BIOS startup process, and enters the operating system of the ARM server; the operating system includes SCE tools, and the runnable attributes are variables that can be modified under the operating system and are expressed in runtime mode.

[0063] Specifically, the user starts the BIOS, which sets multiple secondary menus to runnable attributes during the startup process. Then, the user opens the operating system interface of the ARM server to proceed to the next step.

[0064] By following the steps described above, multiple target sub-menus can be made to be manually modifiable under the ARM server operating system, thereby improving the user experience.

[0065] In some embodiments, before capturing the menu information of each target second-level menu in RAW format using the SCE tool, such as Figure 3 As shown, the method also includes:

[0066] S310: Modifies the BIOS business logic of the ARM server for each secondary menu;

[0067] Specifically, the user modifies the BIOS business logic for all secondary menus on the ARM server. The business logic is a part of the BIOS code used to modify runnable attributes.

[0068] S320: Starts the BIOS, sets all secondary menus to runnable attributes during the BIOS startup process, and enters the ARM server's operating system.

[0069] Specifically, the user starts the BIOS, which sets all secondary menus to runnable during the startup process. Then, the user opens the ARM server's operating system interface to proceed to the next step.

[0070] By following the steps described above, all secondary menus can be made manually modifiable under the ARM server operating system, enabling batch modification of PCI link parameters under the ARM server operating system and improving the functionality of the operating system.

[0071] In some embodiments, the location of the parameter information that needs to be modified is identified in the document based on each menu item, and the parameter information is modified accordingly, such as... Figure 4 As shown, the method includes:

[0072] S410: Open the document and check each menu item against the pre-defined update information, which includes the menu items that need to be modified.

[0073] Specifically, the user manually opens the document and checks each menu item against the pre-defined update information; the menu items that need to be modified include the identifier of the secondary menu and the parameter information that needs to be modified.

[0074] For example, the menu information that needs to be modified is 06 in the parameter information [010406] of the second-level menu No. 1.

[0075] S420: Based on the verification results, confirm the target secondary menu that needs to be modified in the document;

[0076] Based on the verification results, the user confirms the location of the target secondary menu that needs to be modified in the document. The verification results are the user's identification of the target secondary menu that needs to be modified in the document after browsing the identity identifier in each menu information.

[0077] For example, after browsing the identity identifiers in each menu item, the user determines that the position of the second-level menu item 1 in the document is the first group from top to bottom, based on the identity identifier of the second-level menu item 1.

[0078] S430: In the target secondary menu, determine the location of the parameter information that needs to be modified based on the sorting of the parameter information of each option in the target secondary menu, and modify the parameter information.

[0079] Specifically, the user identifies the parameter information that needs to be modified based on the order of the parameters in the target submenu. By following the steps described above, the parameter information that needs modification is found and then modified.

[0080] In some embodiments, each menu item is checked against predetermined update information, such as... Figure 5 As shown, the method includes:

[0081] S510: Identification information in each menu item within the search document;

[0082] S520: Verify the identity identifier in each menu item based on the pre-defined update information and search results.

[0083] Specifically, users manually search for the identifier in each menu item within the document, verifying each item one by one to find the menu items that match the predetermined update information. The search results can include menu items that the user has manually searched for and browsed within the document.

[0084] For example, the user manually searches for the identifier in each menu item in the document and checks them one by one according to the predetermined update information, which includes the menu information that needs to be modified. The menu information that needs to be modified can be "06 in the parameter information of the second-level menu No. 1 [010406]". In order to find the 06 in the parameter information of the second-level menu No. 1 [010406] that matches the above update information.

[0085] By following the steps described above, you can check each menu item in the document to find the menu items that need to be modified.

[0086] In some embodiments, the current information of the document is written into the ARM server BIOS using the SCE tool, such as... Figure 6 As shown, the method includes:

[0087] S610: Save the current information as a new document in SCERAW format; the current information includes both the unmodified parameter information and the modified parameter information;

[0088] Specifically, the SCERAW format is a RAW binary file format unique to the SCE tool;

[0089] For example, if, in the above method steps, 06 in the second-level menu parameter information [010406] is modified to 05, then the current information includes multiple parameter information including "second-level menu parameter information [010405]". Among them, the unmodified parameter information can be "0104 in the second-level menu parameter information, and other parameter information", and the modified parameter information can be "05 in the second-level menu parameter information".

[0090] S620: Write the document into the ARM server's BIOS using the SCE tool.

[0091] Specifically, users can use the SCE tool in the operating system to write new documents into the BIOS of the ARM server.

[0092] By following the steps described above, the modified parameter information can be written back into the BIOS, thus improving the functionality of the operating system.

[0093] In some embodiments, updating the menu information of each target second-level menu based on the current information of the document, the method includes:

[0094] The modified parameter information will be set into the corresponding PCI device and the corresponding options in the secondary menu of that PCI device to update the menu information of each target secondary menu.

[0095] Specifically, the PCI device is the device connected to the ARM server via a PCI link. Generally, the corresponding options in the second-level menu of each PCI device's operating system correspond one-to-one with the corresponding options in the second-level menu of the ARM server. Users can set modified parameter information to the corresponding PCI device and its corresponding options in the second-level menu by executing BIOS business programs. Through the steps described above, the target second-level menus corresponding to the ARM server and its PCI devices can be synchronously updated.

[0096] For example, such as Figure 10-15 This demonstrates a method for batch adjusting PCI link parameters. First, the user starts the ARM server's BIOS program and modifies parameters such as... Figure 10 The corresponding BIOS code shown is used to set multiple options in the secondary menu corresponding to the PCI link to an executable state. Then, after starting the BIOS program, in the following... Figure 11 In the SCE tool, four unique identifiers are set for each secondary menu item to be captured. These identifiers include, for example: Figure 11The data includes: varstorePCI, varid, name, and guid. Then, as shown... Figure 13 As shown, assign a variable name (VARIABLE_NAME) and a GUID to each second-level menu item and include them in the document to be saved. Run the SCE tool and save the captured menu parameters as shown below. Figure 15 The document shown. The user then opens the document and manually searches for and browses the menu information corresponding to each secondary menu item. Among them, Figure 14 The document displays information about one of the menus, including the corresponding menu's GUID: aca9f304-21e2-4852-9875-7ff4881d67a5, Attributes: 00000007, VariableName: PCIDEV60PCI, and VariableData: 204000000100000001. Users can access information from the document using the aforementioned GUID, Attributes, Variable Name, and VariableData. Figure 15 Locate the target menu information that needs modification in the document. Then, sort the hexadecimal data of each option in the target submenu in the document, for example... Figure 14 By sorting the VariableData in the file [204000000100000001], the actual hexadecimal option parameters that need to be modified are identified. These hexadecimal option parameters are then modified, and the document is saved as a new document. This new document is a SCERAW binary file. The user then uses the SCE tool to write the new document into the BIOS program, restarts the server, and finally modifies the multiple PCI link parameters of the ARM server according to the new document. Finally, the user enters the OS or BIOSSetup interface in the operating system.

[0097] This application provides a PCI link parameter adjustment device for an ARM server according to another aspect. The ARM server includes multiple PCI links, each PCI link corresponding to multiple dynamically created secondary menus, each secondary menu including one or more options. The device includes:

[0098] The running status setting module 110 is used to set runnable attributes for multiple target second-level menus. The runnable attributes are used to enable the corresponding target second-level menus to be modified in the operating system of the ARM server.

[0099] Specifically, the aforementioned running status setting module 110 is also used to: modify the business program of the ARM server's BIOS for multiple target secondary menus; start the BIOS, set multiple secondary menus to runnable attributes during the BIOS startup process, and enter the ARM server's operating system; the operating system includes SCE tools, and the runnable attributes are variable attributes that can be modified under the operating system and are represented in runtime mode.

[0100] Alternatively, it can be used to modify the BIOS of the ARM server for each secondary menu.

[0101] Start the BIOS, and during the BIOS boot process, set all secondary menu items to runnable attributes and enter the ARM server's operating system.

[0102] The menu information capture module 120 is used to capture the menu information of each target second-level menu in RAW format using the SCE tool; save each captured menu information as a document; the menu information includes the identity of the corresponding target second-level menu and the parameter information of each option of the target second-level menu, and the sorting of the parameter information of each option in the menu information is used to represent the sorting position of each option in the target second-level menu.

[0103] The parameter information modification module 130 is used to identify the location of the parameter information that needs to be modified in the document based on each menu information, and then modify the parameter information.

[0104] Specifically, the parameter information modification module 130 is also used to: open the document, check each menu information according to the predetermined update information, the update information including the menu information that needs to be modified; confirm the target secondary menu that needs to be modified in the document according to the verification result; in the target secondary menu, confirm the position of the parameter information that needs to be modified according to the sorting of the parameter information of each option in the target secondary menu, and modify the parameter information.

[0105] It also includes a method for verifying each menu item against predetermined update information, comprising: searching for an identifier in each menu item in a document; and verifying the identifier in each menu item against predetermined update information and search results.

[0106] The menu information update module 140 is used to write the current information of the document into the ARM server BIOS through the SCE tool; restart the ARM server so that when the ARM server executes the BIOS code, it updates the menu information of each target second-level menu according to the current information of the document.

[0107] Specifically, the menu information update module 140 is also used to: save the current information as a new document in SCERAW format, the current information including unmodified parameter information and modified parameter information; and write the document into the BIOS of the ARM server using the SCE tool.

[0108] The method also includes updating the menu information of each target secondary menu based on the current information of the document. The method includes setting the modified parameter information to the corresponding PCI device and the corresponding option of the secondary menu of the PCI device to update the menu information of each target secondary menu.

[0109] According to another aspect, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for adjusting the PCI link parameters of the ARM server described above.

[0110] This application also provides a computer device according to another aspect, such as... Figure 8 As shown, it includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of any of the methods for adjusting the PCI link parameters of the ARM server described above.

[0111] like Figure 9 This paper demonstrates a method for batch adjusting PCI link parameters. The user starts the BIOS program on an ARM server, and within the BIOS's corresponding business logic, sets multiple options in the secondary menu corresponding to the PCI link to an executable state. After starting the BIOS program, the user enters the ARM server's operating system. In the operating system, the SCE tool is used to capture RAW format data for each option and save it as a document. The user then opens the document and manually searches and browses the menu information corresponding to each secondary menu. This menu information includes four identifiers for each secondary menu and the corresponding hexadecimal data for each option within that secondary menu. After locating the target secondary menu to be modified using the four identifiers, the user identifies the specific hexadecimal option parameters to be modified by sorting the hexadecimal data of each option within the document. The modified hexadecimal option parameters are then saved as a new document. The new document is a binary file of SCERAW. The user then uses the SCE tool to write the new document into the BIOS program, restarts the server, and finally modifies the multiple PCI link parameters of the ARM server according to the new document before entering the OS or BIOSSetup interface in the operating system.

[0112] By following the steps described above, it is possible not only to batch modify PCI link parameters under the operating system of the ARM server, but also to write data captured by the SCE tool back to the ARM server's BIOS, thereby improving the user experience of the ARM server operating system.

[0113] Those skilled in the art will understand that implementing all or part of the processes in the above method embodiments can be accomplished by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus (RAMbus), direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0114] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0115] The above embodiments merely illustrate several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

[0116] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A method for adjusting PCI link parameters of an ARM server, characterized in that, The ARM server includes multiple PCI links, each PCI link corresponding to multiple dynamically created secondary menus, and each secondary menu including one or more options; the method includes: A runnable attribute is set for multiple target second-level menus, the runnable attribute being used to enable the corresponding target second-level menus to be modified in the operating system of the ARM server; Modify the BIOS business program of the ARM server for each of the secondary menus; The BIOS is started, and during the BIOS startup process, all the secondary menus are set to runnable attributes, and the operating system of the ARM server is entered; The menu information of each target second-level menu is captured in RAW format using the SCE tool; each captured menu information is saved as a document; the menu information includes the identity identifier of the corresponding target second-level menu and the parameter information of each option of the target second-level menu, and the order of the parameter information of each option in the menu information is used to represent the sorting position of each option in the target second-level menu; Based on each menu item, confirm the location of the parameter information that needs to be modified in the document, and modify the parameter information accordingly; The SCE tool is used to write the current information of the document into the ARM server BIOS; Restart the ARM server so that when the ARM server executes the BIOS code, it updates the menu information of each target secondary menu according to the current information in the document; and sets the modified parameter information to the corresponding PCI device and the corresponding option of the secondary menu of the PCI device. This includes setting runnable attributes for multiple target second-level menus, including: Modify the BIOS business logic of the ARM server for multiple target secondary menus; The BIOS is started, and during the BIOS startup process, multiple secondary menus are set to runnable attributes, and the operating system of the ARM server is entered; the operating system includes the SCE tool, and the runnable attribute is a variable attribute that can be modified under the operating system in runtime mode; Specifically, based on each menu item, the location of the parameter information that needs to be modified in the document is confirmed, and the parameter information is modified, including: Open the document; Each menu item is checked against predetermined update information, which includes the menu items that need to be modified. Based on the verification results, confirm the target secondary menu that needs to be modified in the document; In the target secondary menu, the position of the parameter information that needs to be modified is determined according to the sorting of the parameter information of each option in the target secondary menu, and the parameter information is modified accordingly; The process of writing the current information of the document into the ARM server BIOS using the SCE tool includes: The current information is saved as a new document in SCE RAW format, and the current information includes both the unmodified parameter information and the modified parameter information. The document is written into the BIOS of the ARM server using the SCE tool.

2. The method as described in claim 1, characterized in that, Each menu item is checked against the pre-defined update information, including: Search the identity identifier in each of the menu items in the document; The identity identifier in each menu item is verified based on the pre-defined update information and search results.

3. The method as described in claim 1, characterized in that, Update the menu information of each target second-level menu according to the current information of the document, including: The modified parameter information is set into the corresponding PCI device and the corresponding option in the secondary menu of the PCI device to update the menu information of each target secondary menu.

4. A PCI link parameter adjustment device for an ARM server, used to implement the method according to any one of claims 1 to 3, characterized in that, The ARM server includes multiple PCI links, each PCI link corresponding to multiple dynamically created secondary menus, and each secondary menu including one or more options; the device includes: The running status setting module is used to set runnable attributes for multiple target secondary menus. The runnable attributes are used to enable the corresponding target secondary menus to be modified in the operating system of the ARM server; modify the business program of the BIOS of the ARM server for each secondary menu; start the BIOS, set all the secondary menus to runnable attributes during the BIOS startup process, and enter the operating system of the ARM server; The menu information capture module is used to capture the menu information of each target second-level menu in RAW format using the SCE tool; and save each captured menu information as a document; the menu information includes the identity identifier of the corresponding target second-level menu and the parameter information of each option of the target second-level menu, and the sorting of the parameter information of each option in the menu information is used to characterize the sorting position of each option in the target second-level menu; The parameter information modification module is used to confirm the location of the parameter information that needs to be modified in the document according to each menu information, and modify the parameter information. The menu information update module is used to write the current information of the document into the ARM server BIOS through the SCE tool; and to restart the ARM server so that when the ARM server executes the BIOS code, it updates the menu information of each target secondary menu according to the current information of the document.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 3.

6. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Method for modifying BIOS configuration options in ARM server based on CentOS in-band

    CN112506574A

  • Equipment case silk-screen display method and device, equipment and medium

    CN113407397A