CN116166611A - AMD platform-based method, AMD platform-based system and AMD platform-based terminal for dynamically adapting to mainboard - Google Patents

AMD platform-based method, AMD platform-based system and AMD platform-based terminal for dynamically adapting to mainboard Download PDF

Info

Publication number
CN116166611A
CN116166611A CN202310081075.6A CN202310081075A CN116166611A CN 116166611 A CN116166611 A CN 116166611A CN 202310081075 A CN202310081075 A CN 202310081075A CN 116166611 A CN116166611 A CN 116166611A
Authority
CN
China
Prior art keywords
configuration
main board
function
file
common
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310081075.6A
Other languages
Chinese (zh)
Inventor
田卓
杨川
段钧
胡光池
宋晓东
刘宇
徐胜军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202310081075.6A priority Critical patent/CN116166611A/en
Publication of CN116166611A publication Critical patent/CN116166611A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7867Architectures of general purpose stored program computers comprising a single central processing unit with reconfigurable architecture
    • G06F15/7871Reconfiguration support, e.g. configuration loading, configuration switching, or hardware OS
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a method, a system and a terminal for dynamically adapting to a mainboard based on an AMD platform, wherein the method comprises the following steps: enabling an APCB module in the AMD platform, wherein the APCB module is used for initializing hardware on a server main board in an ABL stage; according to the configuration types of the main boards, a plurality of function folders parallel to common files are established, the common files correspond to default main board configuration and are used for storing default configuration of CRB, the function folders are used for storing contents for modifying CPU logic or hardware, and the CPU logic is the logic for checking and initializing the hardware on the server main board in the ABL stage by the CPU; configuring a common file; filling the relevant configuration files into each function folder; and selecting a functional folder to be validated according to the main board ID of the current main board. The system comprises: the device comprises a starting module, a file establishing module, a configuration module, a filling module and a selection module. Through the application, the dynamic adaptation of the server main board can be realized, and the main board development efficiency is greatly improved.

Description

AMD platform-based method, AMD platform-based system and AMD platform-based terminal for dynamically adapting to mainboard
Technical Field
The present invention relates to the technical field of CPU motherboard adaptation, and in particular, to a method, a system, and a terminal for dynamically adapting a motherboard based on an AMD (Advanced Micro Devices, advanced microelectronic device company, IC vendor for computer and communication) platform.
Background
At present, the CPU application range based on the AMD platform is wider and wider, the client requirements are diversified, and along with the diversified client requirements, different design mainboards based on the AMD platform are generated. Therefore, how to dynamically adapt to different server mainboards, so as to meet the requirements of users, is an important technical problem.
Currently, the method for dynamically adapting different server mainboards is generally: a new version of BIOS (Basic Input Output System ) is developed for each motherboard to adapt. Specifically, since the AMD platform code is wrapped in the binary, the AMD code cannot be manipulated, the configuration for each server motherboard is written dead in the code, and different boards are adapted by issuing different BIOS.
However, in the current method for dynamically adapting to different server mainboards, since a new BIOS is developed for each server mainboard to adapt, the workload of developing the mainboards is huge, and the development efficiency is reduced. Moreover, in the case of a general bug (defect, program error), if the information is not smooth, multiple development solutions can be caused to cancel the same bug, which greatly wastes the development time of the motherboard and reduces the development efficiency of the motherboard.
Disclosure of Invention
The application provides a method, a system and a terminal for dynamically adapting a mainboard based on an AMD platform, so as to solve the problem that the development efficiency of a server mainboard is low due to the method for dynamically adapting the mainboard in the prior art.
In order to solve the technical problems, the embodiment of the application discloses the following technical scheme:
a method of dynamically adapting a motherboard based on an AMD platform, the method comprising:
enabling an APCB module in an AMD platform, wherein the APCB module is used for initializing hardware on a server main board in an ABL stage;
according to the configuration types of the main boards, a plurality of function folders parallel to common files are established, the common files correspond to default main board configuration and are used for storing default configuration of CRB, the function folders are used for storing contents for modifying CPU logic or hardware, and the CPU logic is a logic for checking and initializing the hardware on the server main board in an ABL stage by a CPU;
configuring the common file;
filling relevant configuration files into each function folder;
and selecting a functional folder to be validated according to the main board ID of the current main board.
Optionally, the establishing a plurality of function folders parallel to the common file according to the configuration type of the motherboard includes:
according to the configuration types of the main board, a common file and a plurality of function folders different from the common configuration are established;
and designating a corresponding number instance for any function folder, wherein the number instance is used as a file entry for judging whether the configuration of any function folder is effective or not.
Optionally, the method for configuring the common file includes:
reading the main board ID of the current main board;
and establishing a mapping relation between the main board ID and the number instance of the current main board.
Optionally, the method for reading the motherboard ID of the current motherboard includes:
acquiring a main board ID in an ABL stage by reading the EEPROM;
the method comprises the steps that by reading GPIO, a main board ID is obtained in an ABL stage; or alternatively, the process may be performed,
and acquiring the motherboard ID in the ABL stage by reading the IO.
Optionally, the filling the relevant configuration file into each of the function folders includes:
filling interface configuration files into each function folder, wherein the interface configuration files are used for defining interfaces of hardware which is different from common file configuration in any function folder;
filling a logic configuration file into each function folder, wherein the logic configuration file is used for defining logic of function implementation in any function folder;
and filling an updating configuration file into each function folder, wherein the updating configuration file is used for writing an interface configuration file and a logic configuration file into any function folder, and updating a common configuration file in any function folder when the any function folder is loaded.
A system for dynamically adapting a motherboard based on an AMD platform, the system comprising:
the starting module is used for enabling an APCB module in the AMD platform, and the APCB module is used for initializing hardware on a server main board in an ABL stage;
the file establishing module is used for establishing a plurality of function folders parallel to common files according to configuration types of the main boards, wherein the common files correspond to default main board configuration and are used for storing default configuration of CRB, the function folders are used for storing contents for modifying CPU logic or hardware, and the CPU logic is logic for checking and initializing the hardware on a server main board in an ABL stage by the CPU;
the configuration module is used for configuring the common file;
the filling module is used for filling the relevant configuration files into each function folder;
and the selection module is used for selecting the functional folder to be validated according to the main board ID of the current main board.
Optionally, the file creation module includes:
a common file and function folder establishing unit for establishing the common file and a plurality of function folders different from the common configuration according to the configuration type of the main board;
the number setting unit is used for designating a corresponding number instance for any function folder, wherein the number instance is used as a file entry and is used for judging whether the configuration of any function folder takes effect or not.
Optionally, the configuration module includes:
the main board ID reading unit is used for reading the main board ID of the current main board;
the mapping relation establishing unit is used for establishing a mapping relation between the main board ID and the number instance of the current main board.
Optionally, the filling module includes:
an interface configuration file filling unit, configured to fill an interface configuration file into each of the function folders, where the interface configuration file is used to define an interface of hardware different from common file configuration in any of the function folders;
the logic configuration file filling unit is used for filling a logic configuration file into each function folder, and the logic configuration file is used for defining logic of function implementation in any function folder;
the updating configuration file filling unit is used for filling the updating configuration file into each function folder, the updating configuration file is used for writing the interface configuration file and the logic configuration file into any function folder, and when any function folder is loaded, the common configuration file in any function folder is updated.
A terminal, the terminal comprising: a processor and a memory communicatively coupled to the processor, wherein,
the memory stores instructions executable by the processor to enable the processor to perform the method of dynamically adapting a motherboard based on an AMD platform as described in any of the above.
The technical scheme provided by the embodiment of the application can comprise the following beneficial effects:
the application provides a method for dynamically adapting a mainboard based on an AMD platform, which comprises the steps of enabling an APCB module in the AMD platform, and then establishing a plurality of function folders parallel to common files according to configuration types of the mainboard, so that the function of adapting the mainboard in a diversified manner is realized, and a basis is provided for subsequent dynamic adaptation. And then configuring the common file, so as to determine whether to load the function folders by loading the entry file in the common file, and then filling the relevant configuration file into each function folder, and finally selecting the function folder to be validated according to the ID of the current main board, thereby selecting different function folders to be validated through different main board IDs and achieving the purpose of dynamically adapting the main board. In this embodiment, by configuring a common file, the main board ID of the main board can be obtained in the ABL stage based on the AMD platform, and different main board IDs are matched with corresponding numbers, and according to different numbers, the different functional folders that take effect can be selected through different main board IDs when the main board needs to be selected, and the number of the main board can be determined through the mapping relationship between the main board ID and the number, and whether the configuration of the functional folder corresponding to the main board takes effect or not is confirmed through the number, thereby achieving the purpose of dynamically adapting the main board based on the AMD platform.
Compared with the prior art, the method and the device have the advantages that multiple function folders are built according to different mainboard configuration conditions, corresponding mainboard IDs are set for the function folders, and finally different configuration files effective according to different mainboard IDs are selected, so that multiple mainboards with different configurations can be obtained by adopting one set of BIOS, the development efficiency of the mainboards can be greatly improved, and the development cost is reduced. In addition, aiming at the situation that the general bug exists, as only one set of BIOS is needed, which BIOS fails is not needed to be confirmed, the bug can be quickly removed, and the development efficiency of the main board is also improved.
The application also provides a system for dynamically adapting to the mainboard based on the AMD platform, which mainly comprises a starting module, a file establishing module, a configuration module, a filling module and a selection module. Through setting up the file setting up module, set up a plurality of function folders parallel with common file according to the mainboard of different configurations, utilize the configuration module to dispose the common file, thus confirm whether to load the function folder through loading the entry file in the common file, utilize the filling module to fill the relevant configuration file to each function folder, thus ensure that its configuration takes effect when any function folder is loaded, finally utilize the selection module, select the function folder to take effect according to ID of the mainboard, thus realize the dynamic configuration server mainboard. The embodiment can realize the adaptation of the mainboards with different configurations in the same BIOS, so that the dynamic adaptation of the server mainboards can be realized, and the development efficiency of the mainboards is greatly improved.
The application further provides a terminal, which also has the corresponding technical effects of the method and the system for dynamically adapting the motherboard based on the AMD platform, and the detailed description is omitted herein.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a flow chart of a method for dynamically adapting a motherboard based on an AMD platform according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a system for dynamically adapting to a motherboard based on an AMD platform according to an embodiment of the present application.
Detailed Description
In order to better understand the technical solutions in the present application, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
For a better understanding of the present application, embodiments of the present application are explained in detail below with reference to the drawings.
Example 1
Referring to fig. 1, fig. 1 is a flow chart of a method for dynamically adapting a motherboard based on an AMD platform according to an embodiment of the present application. As can be seen from fig. 1, the method for dynamically adapting a motherboard based on an AMD platform in this embodiment mainly includes the following steps:
s1: and enabling an APCB module in the AMD platform, wherein the APCB module is used for initializing hardware on a server main board in an ABL stage.
The ABL stage is as follows: the first stage of the initiation of the AMD platform, AGESA Boot Flow, AGESA (AMD Generic Encapsulated Software Architecture, AMD generic compression software architecture), is a BIOS program interface definition for the purpose of quickly applying AMD technology to the customer's product for the AMD customer.
According to step S1, for dynamically adapting to the server motherboard, the APCB module needs to be turned on in the AMD platform first. The APCB function may be turned on in the AMD platform's SDL file by an "apcb_data_BOARD_DIR_list_sdl" token, which is unique to the AMD platform, and the hardware may be initialized during the ABL phase. APCB is: ABL PSP Configuration Block, ABL stage hardware initialized function set.
S2: and establishing a plurality of function folders parallel to the common files according to the configuration types of the main board.
In this embodiment, the common file corresponds to a default configuration of a motherboard, and is used to store a default configuration of a CRB (public board), and the function folder is used to store contents for modifying CPU logic or hardware, where the CPU logic is a logic that the CPU checks and initializes the hardware on the server motherboard in the ABL stage. The function folder in this embodiment is a personalized file compared to the default common file.
In the AMD platform, logic for checking and initializing hardware by the CPU in the ABL stage is stored in the apcbdatadefaulttechnical module, default configuration in the CRB is stored in the Common folder, and in order to implement functions of the diversified adapter motherboard, in this embodiment, a plurality of function folders parallel to the Common folder are created, so that files different from the Common configuration are transplanted into the newly created function folders for modification. According to step S2, assuming that there are three configured mainboards at present, three folders of common, CRB0, CRB1 are established.
Specifically, step S2 includes the following procedure:
s21: and establishing a common file and a plurality of function folders different from the common configuration according to the configuration types of the main board.
S22: and designating a corresponding number instance for any function folder, wherein the number instance is used as a file entry for judging whether the configuration of any function folder is effective or not.
According to steps S21 and S22, when a plurality of function folders parallel to common files are created according to the configuration type of the motherboard, a unique instance (0/1/2 …) needs to be assigned to each file set, as an entry for determining whether the configuration in the folder is valid. When instance of the function folder CRB 0/1 is validated, its configuration overrides the default configuration in Common.
With continued reference to fig. 1, after establishing a plurality of function folders parallel to the common file according to the configuration type of the motherboard, step S3 is performed: and configuring the common file.
In this embodiment, the common file is configured, that is, by loading the entry file in the common file, to determine whether to load the function folder. Specifically, step S3 includes:
s31: and reading the main board ID of the current main board.
The motherboard ID is: the method for reading the current motherboard ID comprises three methods: acquiring a main board ID in an ABL stage by reading the EEPROM; the method comprises the steps that by reading GPIO, a main board ID is obtained in an ABL stage; alternatively, by reading the IO, the motherboard ID is obtained in the ABL stage. Taking the example that the motherboard ID is obtained in the ABL stage by reading the EEPROM, the address of the EEPROM and the offset of the byte where the board ID is located are given, thereby obtaining the board ID.
S32: and establishing a mapping relation between the main board ID and the serial number instance of the current main board, so that different function folders can be validated according to different board IDs.
As can be seen from the above steps S31 and S32, when configuring the common file, it is necessary to configure the motherboard ID in apcbdata_gn_gid_0x1704_type_board idgettingmethod.c and establish a mapping relationship between the motherboard ID and the number instance of the current motherboard.
S4: and filling relevant configuration files into each function folder.
The relevant configuration files in this embodiment mainly include: hardware interface, function implementation logic, and update configuration related configuration files. Specifically, step S4 includes:
s41: and filling the interface configuration file into each function folder.
An interface configuration file for defining interfaces of hardware different from the common file configuration in any function folder. The interface configuration file in this embodiment is a.h file. Taking the function folder CRB0 as an example, the interface configuration file h is mainly used for defining interfaces of hardware different from common configuration in CRB0, and defining instance of CRB0 as 0.
S42: and filling the logic configuration file into each function folder.
The logic configuration file is used for defining logic of function implementation in any function folder. The logical profile in this embodiment is a c-file, which can be copied from a common file.
S43: the update configuration file is populated in each of the function folders.
And the updating configuration file is used for writing the interface configuration file and the logic configuration file into any function folder, and updating the common configuration file in any function folder when any function folder is loaded. In this embodiment, the update configuration file is a. Bat file, taking the function folder CRB0 as an example, after writing the h file and the c file, when CRB0 is loaded, the common configuration file will be covered by the configuration file in CRB0.Bat, so as to enable the configuration of CRB0 to be effective.
In this embodiment, the CRB0 folder is an Override of the Common folder, and the Common file is executed no matter what the entry in the Common file indicates the current board id. The configuration file in the CRB0 is taken from the common file, but is modified according to different mainboard configurations, and the configuration in the CRB0 is copied from the common file because the loading position of the CRB0 is back, so that the effect of updating the common file is achieved.
With continued reference to fig. 1, after the relevant configuration files are filled into each function folder, step S5 is performed: and selecting a functional folder to be validated according to the main board ID of the current main board.
For example: if the board ID is 1, determining that the corresponding number instance is 1 according to the mapping relation between the main board ID and the instance of the current main board, and controlling the main board corresponding to the function folder CRB0 to take effect; if the board ID is 2, and the corresponding number instance is 2 according to the mapping relation between the motherboard ID and the instance of the current motherboard, the motherboard corresponding to the control function folder CRB1 takes effect. If the board id is 0, the process returns to step S1 to re-enable the APCB module.
Example two
Referring to fig. 2 on the basis of fig. 1, fig. 2 is a schematic structural diagram of a system for dynamically adapting to a motherboard based on an AMD platform according to an embodiment of the present application. As can be seen from fig. 2, the system for dynamically adapting a motherboard based on an AMD platform in this embodiment mainly includes: the device comprises a starting module, a file establishing module, a configuration module, a filling module and a selection module.
The starting module is used for enabling an APCB module in the AMD platform, and the APCB module is used for initializing hardware on a server main board in an ABL stage; the file establishing module is used for establishing a plurality of function folders which are parallel to common files according to the configuration types of the main boards, wherein the common files correspond to default main board configuration and are used for storing default configuration of the CRB, the function folders are used for storing contents for modifying CPU logic or hardware, and the CPU logic is the logic for checking and initializing the hardware on the server main board in an ABL stage by the CPU; the configuration module is used for configuring the common file; the filling module is used for filling the relevant configuration files into each function folder; and the selection module is used for selecting the functional folder to be validated according to the main board ID of the current main board.
The file creation module further includes: common files, function folder creation unit, and number setting unit. The system comprises a common file and function folder establishing unit, a function folder establishing unit and a function folder managing unit, wherein the common file and function folder establishing unit is used for establishing the common file and a plurality of function folders which are different from common configuration according to the configuration types of the main board; the number setting unit is used for assigning a corresponding number instance to any function folder, wherein the number instance is used as a file entry and is used for judging whether the configuration of any function folder is effective or not.
The configuration module comprises: and the main board ID reading unit and the mapping relation establishing unit. The main board ID reading unit is used for reading the main board ID of the current main board; the mapping relation establishing unit is used for establishing a mapping relation between the main board ID and the number instance of the current main board.
The filling module comprises: interface configuration file filling unit, logic configuration file filling unit and update configuration file filling unit. The interface configuration file filling unit is used for filling the interface configuration files into each function folder, and the interface configuration files are used for defining interfaces of hardware which is different from common file configuration in any function folder; the logic configuration file filling unit is used for filling the logic configuration files into each function folder, and the logic configuration files are used for defining the logic of the function implementation in any function folder; the updating configuration file filling unit is used for filling the updating configuration file into each function folder, the updating configuration file is used for writing the interface configuration file and the logic configuration file into any function folder, and when any function folder is loaded, the common configuration file in any function folder is updated.
According to the system for dynamically adapting the main board based on the AMD platform in the embodiment, the one-edition BIOS ROM can be used for starting up the server main boards with different configurations, so that the dynamic adaptation is realized, the development time of the main board can be greatly reduced, the development efficiency of the main board is improved, and the maintenance cost and the test burden are reduced.
The working principle and working method of the system based on the AMD platform dynamic adapting motherboard in this embodiment are described in detail in the embodiment shown in fig. 1, and reference may be made between the two embodiments, which are not described herein.
Example III
The application also provides a terminal, which comprises: the system comprises a processor and a memory communicatively connected with the processor, wherein the memory stores instructions executable by the processor, and the instructions are executed by the processor to enable the processor to perform the method for dynamically adapting a motherboard based on an AMD platform as described above.
The method for dynamically adapting the mainboard based on the AMD platform, which is executed by the processor, comprises the following steps:
1) Enabling an APCB module in the AMD platform, wherein the APCB module is used for initializing hardware on a server main board in an ABL stage;
2) According to the configuration types of the main boards, a plurality of function folders parallel to common files are established, the common files correspond to default main board configuration and are used for storing default configuration of CRB, the function folders are used for storing contents for modifying CPU logic or hardware, and the CPU logic is the logic for checking and initializing the hardware on the server main board in the ABL stage by the CPU;
3) Configuring a common file;
4) Filling the relevant configuration files into each function folder;
5) And selecting a functional folder to be validated according to the main board ID of the current main board.
For parts of this embodiment that are not described in detail, reference may be made to the embodiment shown in fig. 1 and 2, and no further description is given here.
The foregoing is merely a specific embodiment of the application to enable one skilled in the art to understand or practice the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for dynamically adapting a motherboard based on an AMD platform, the method comprising:
enabling an APCB module in an AMD platform, wherein the APCB module is used for initializing hardware on a server main board in an ABL stage;
according to the configuration types of the main boards, a plurality of function folders parallel to common files are established, the common files correspond to default main board configuration and are used for storing default configuration of CRB, the function folders are used for storing contents for modifying CPU logic or hardware, and the CPU logic is a logic for checking and initializing the hardware on the server main board in an ABL stage by a CPU;
configuring the common file;
filling relevant configuration files into each function folder;
and selecting a functional folder to be validated according to the main board ID of the current main board.
2. The method for dynamically adapting a motherboard based on an AMD platform according to claim 1, wherein the establishing a plurality of function folders parallel to common files according to configuration types of the motherboard includes:
according to the configuration types of the main board, a common file and a plurality of function folders different from the common configuration are established;
and designating a corresponding number instance for any function folder, wherein the number instance is used as a file entry for judging whether the configuration of any function folder is effective or not.
3. The method for dynamically adapting a motherboard based on an AMD platform according to claim 2, wherein the method for configuring the common file comprises:
reading the main board ID of the current main board;
and establishing a mapping relation between the main board ID and the number instance of the current main board.
4. A method for dynamically adapting a motherboard based on an AMD platform according to claim 3, wherein the method for reading the motherboard ID of the current motherboard comprises:
acquiring a main board ID in an ABL stage by reading the EEPROM;
the method comprises the steps that by reading GPIO, a main board ID is obtained in an ABL stage; or alternatively, the process may be performed,
and acquiring the motherboard ID in the ABL stage by reading the IO.
5. The method for dynamically adapting a motherboard based on an AMD platform according to claim 1, wherein the populating each of the function folders with associated configuration files comprises:
filling interface configuration files into each function folder, wherein the interface configuration files are used for defining interfaces of hardware which is different from common file configuration in any function folder;
filling a logic configuration file into each function folder, wherein the logic configuration file is used for defining logic of function implementation in any function folder;
and filling an updating configuration file into each function folder, wherein the updating configuration file is used for writing an interface configuration file and a logic configuration file into any function folder, and updating a common configuration file in any function folder when the any function folder is loaded.
6. A system for dynamically adapting a motherboard based on an AMD platform, the system comprising:
the starting module is used for enabling an APCB module in the AMD platform, and the APCB module is used for initializing hardware on a server main board in an ABL stage;
the file establishing module is used for establishing a plurality of function folders parallel to common files according to configuration types of the main boards, wherein the common files correspond to default main board configuration and are used for storing default configuration of CRB, the function folders are used for storing contents for modifying CPU logic or hardware, and the CPU logic is logic for checking and initializing the hardware on a server main board in an ABL stage by the CPU;
the configuration module is used for configuring the common file;
the filling module is used for filling the relevant configuration files into each function folder;
and the selection module is used for selecting the functional folder to be validated according to the main board ID of the current main board.
7. The AMD platform dynamic adaptation motherboard based system of claim 6, wherein the file creation module comprises:
a common file and function folder establishing unit for establishing the common file and a plurality of function folders different from the common configuration according to the configuration type of the main board;
the number setting unit is used for designating a corresponding number instance for any function folder, wherein the number instance is used as a file entry and is used for judging whether the configuration of any function folder takes effect or not.
8. The AMD platform dynamic adaptation motherboard based system of claim 6, wherein the configuration module comprises:
the main board ID reading unit is used for reading the main board ID of the current main board;
the mapping relation establishing unit is used for establishing a mapping relation between the main board ID and the number instance of the current main board.
9. The AMD platform dynamic adaptation motherboard based system of claim 6, wherein the population module comprises:
an interface configuration file filling unit, configured to fill an interface configuration file into each of the function folders, where the interface configuration file is used to define an interface of hardware different from common file configuration in any of the function folders;
the logic configuration file filling unit is used for filling a logic configuration file into each function folder, and the logic configuration file is used for defining logic of function implementation in any function folder;
the updating configuration file filling unit is used for filling the updating configuration file into each function folder, the updating configuration file is used for writing the interface configuration file and the logic configuration file into any function folder, and when any function folder is loaded, the common configuration file in any function folder is updated.
10. A terminal, the terminal comprising: a processor and a memory communicatively coupled to the processor, wherein,
the memory has stored therein instructions executable by the processor to enable the processor to perform the AMD platform dynamic motherboard based method of any of claims 1-5.
CN202310081075.6A 2023-02-03 2023-02-03 AMD platform-based method, AMD platform-based system and AMD platform-based terminal for dynamically adapting to mainboard Pending CN116166611A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310081075.6A CN116166611A (en) 2023-02-03 2023-02-03 AMD platform-based method, AMD platform-based system and AMD platform-based terminal for dynamically adapting to mainboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310081075.6A CN116166611A (en) 2023-02-03 2023-02-03 AMD platform-based method, AMD platform-based system and AMD platform-based terminal for dynamically adapting to mainboard

Publications (1)

Publication Number Publication Date
CN116166611A true CN116166611A (en) 2023-05-26

Family

ID=86410765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310081075.6A Pending CN116166611A (en) 2023-02-03 2023-02-03 AMD platform-based method, AMD platform-based system and AMD platform-based terminal for dynamically adapting to mainboard

Country Status (1)

Country Link
CN (1) CN116166611A (en)

Similar Documents

Publication Publication Date Title
US6581157B1 (en) System and method for detecting and updating non-volatile memory on an electronic adapter board installed in a computing system
US7191327B2 (en) Internet-enabled device provisioning, upgrade and recovery mechanism
US7310801B2 (en) Servicing a component-based software product throughout the software product lifecycle
JP4903686B2 (en) Flash memory programming
KR100675518B1 (en) Modular bios update mechanism
US20200073657A1 (en) Systems And Methods For Software Integrity Validation Using Blockchain
CN107506219A (en) A kind of general version upgrade method based on android system
CN115291946A (en) Hongmong system transplanting method, device, electronic equipment and readable medium
US8719812B1 (en) Methods, systems, and computer readable media for dynamically modifying and utilizing a software package description for software installation
CN112631915B (en) Method, system, device and medium for PCIE device software simulation
US11023220B2 (en) Firmware update with integrated smart sequence and action engine
CN117193872A (en) Chip starting firmware device and method based on symbol table dynamic execution
CN116166611A (en) AMD platform-based method, AMD platform-based system and AMD platform-based terminal for dynamically adapting to mainboard
US20150355997A1 (en) Server-Platform Simulation Service
CN112379867B (en) Embedded operating system, method and storage medium based on modular development
CN109960522B (en) Software upgrading method and device
CN116204199B (en) Command line-based project management method, system, equipment and storage medium
CN116661876B (en) System starting method, file generating method, electronic equipment and server
US20240168732A1 (en) Method for generating driver package, method for deploying driver, electronic device, and computer readable storage medium
CN117492794A (en) Firmware updating method and device
CN117472407A (en) Platform upgrading method, device, equipment and medium based on k8s cluster construction
CN115624757A (en) Game engine hot updating method, device, equipment and medium
CN117407023A (en) Automatic upgrading method, device, equipment and medium for low-code platform application version
WO2001050261A2 (en) Updating non volatile memory in a data processing system
CN116954674A (en) eMMC firmware upgrading method, firmware upgrading equipment and storage device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination