CN115878387A - Method, system and terminal for mirror image storage based on CPLD - Google Patents

Method, system and terminal for mirror image storage based on CPLD Download PDF

Info

Publication number
CN115878387A
CN115878387A CN202211623117.6A CN202211623117A CN115878387A CN 115878387 A CN115878387 A CN 115878387A CN 202211623117 A CN202211623117 A CN 202211623117A CN 115878387 A CN115878387 A CN 115878387A
Authority
CN
China
Prior art keywords
firmware
cpld
version
image storage
storage area
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
CN202211623117.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 CN202211623117.6A priority Critical patent/CN115878387A/en
Publication of CN115878387A publication Critical patent/CN115878387A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses a method, a system and a terminal for mirror image storage based on a CPLD, wherein the method comprises the following steps: refreshing the firmware version of the CPLD according to the acquired firmware loading command, wherein the CPLD comprises: a first mirror image storage area and a second mirror image storage area; judging whether the version of the CPLD firmware is qualified or not according to a return value in a refreshing result; if the refreshing is qualified, loading a new CPLD firmware version from the first mirror image storage area; determining the version of the CPLD firmware in the second mirror image storage area according to the acquired firmware rollback command; and if the refreshing is not qualified, loading the spare CPLD firmware version from the second mirror memory area. The system comprises: the device comprises a firmware refreshing module, a judging module, a firmware loading module and a rollback module. By the method and the device, the updating stability of the CPLD firmware can be ensured, the version of the CPLD is correct after the loading failure of the active mirror image is ensured, and the normal operation of the server is facilitated.

Description

Method, system and terminal for mirror image storage based on CPLD
Technical Field
The present application relates to the technical field of server firmware management, and in particular, to a method, a system, and a terminal for performing mirror storage based on a CPLD.
Background
A BMC (Baseboard Management Controller) in the server is generally used for managing various firmware on the server board card and implementing mutual cooperation between the firmware. In the firmware cooperation process, the CPLD (Complex Programmable Logic Device) plays an important role in the circuit of the whole board, and if the CPLD fails, the cooperation between the firmware is affected, so that the server cannot operate normally. Therefore, how to use the CPLD to perform mirror storage is an important technical problem to ensure that the command of the BMC can be smoothly executed and to ensure that the server operates normally.
Currently, in the method of storing images by using CPLDs, generally, HEX documents of the CPLDs are stored in the Compressed image1, and when the images need to be updated, the Compressed image1 of the CPLDs is directly refreshed, so as to ensure that the images acquired from the CPLDs are the latest versions.
However, in the current method of using CPLD to perform image storage, since only CPLD's Compressed image1 is used, when the remote refreshing of CPLD by BMC fails, the cooperation between the firmware is affected, and thus the normal operation of the server is affected. Therefore, the stability of the mirror image loaded by the CPLD is not high enough by the current method of using the CPLD to store the mirror image.
Disclosure of Invention
The application provides a method, a system and a terminal for mirror image storage based on a CPLD, which aim to solve the problem that the stability of a mirror image loaded by the CPLD is not high enough by a mirror image storage method in the prior art.
In order to solve the technical problem, the embodiment of the application discloses the following technical scheme:
a method for mirror storage based on a CPLD, the method comprising:
refreshing the firmware version of the CPLD according to the acquired firmware loading command, wherein the CPLD comprises: a first mirror image storage area and a second mirror image storage area;
judging whether the firmware version refreshing of the CPLD is qualified or not according to a return value in a refreshing result;
if the refreshing is qualified, loading a new CPLD firmware version from the first mirror image storage area;
determining the version of the CPLD firmware in the second mirror image storage area according to the acquired firmware rollback command;
and if the refreshing is not qualified, loading the spare CPLD firmware version from the second mirror memory area.
Optionally, the determining, according to the obtained firmware rollback command, the CPLD firmware version in the second image storage area includes:
acquiring a firmware rollback command from a BMC, wherein the firmware rollback command comprises: performing a rollback and not performing a rollback;
if the firmware rollback command is to execute rollback, copying the data in the first mirror image storage area to a second mirror image storage area by using the CPLD, wherein the CPLD firmware version in the second mirror image storage area is a new CPLD firmware version;
and if the firmware rollback command is that rollback is not executed, keeping the version of the CPLD firmware in the second image storage area unchanged.
Optionally, the method for refreshing the firmware version of the CPLD includes:
refreshing the version of the CPLD firmware in an I2C mode; alternatively, the first and second electrodes may be,
and refreshing the firmware version of the CPLD by a GPIO (General-purpose input/output) mode.
Optionally, before refreshing the CPLD firmware version according to the acquired firmware loading command, the method further includes:
a client logs in a BMC management interface of a server;
the firmware load command is sent by the BMC.
Optionally, after determining the CPLD firmware version in the second image storage area according to the acquired firmware rollback command, and after loading the spare CPLD firmware version from the second image storage area, the method further includes:
and refreshing the firmware version of the CPLD according to the obtained firmware loading command.
A system for mirror storage based on a CPLD, the system comprising:
a firmware refreshing module, configured to refresh a firmware version of the CPLD according to the obtained firmware loading command, where the CPLD includes: a first mirror image storage area and a second mirror image storage area;
the judging module is used for judging whether the version refreshing of the CPLD firmware is qualified or not according to the return value in the refreshing result;
the firmware loading module is used for loading a new CPLD firmware version from the first mirror image storage area when the CPLD firmware version is refreshed to be qualified;
the rollback module is used for determining the CPLD firmware version in the second mirror image storage area according to the acquired firmware rollback command;
and the firmware loading module is also used for loading the spare CPLD firmware version from the second mirror image storage area when the CPLD firmware version is unqualified in refreshing.
Optionally, the rollback module comprises:
a command obtaining unit, configured to obtain a firmware rollback command from a BMC, where the firmware rollback command includes: performing rollback and not performing rollback;
the copying unit is used for copying the data of the first mirror image storage area to the second mirror image storage area by using a CPLD when the firmware rollback command is to execute rollback;
and the firmware version determining unit is used for determining that the CPLD firmware version in the second mirror image storage area is a new CPLD firmware version after the copying unit copies the data in the first mirror image storage area to the second mirror image storage area, and determining that the CPLD firmware version in the second mirror image storage area is kept unchanged when the firmware rollback command is that rollback is not executed.
Optionally, the firmware refresh module includes:
the first refreshing unit is used for refreshing the version of the CPLD firmware in an I2C mode according to the acquired firmware loading command;
and the second refreshing unit is used for refreshing the firmware version of the CPLD in a GPIO mode according to the acquired firmware loading command.
Optionally, the system further includes: and the BMC is used for sending a firmware loading command.
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 a method of CPLD-based mirror storage as described in any one of the above.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
the method comprises the steps of refreshing a CPLD firmware version according to an acquired firmware loading command, acquiring a refreshing result, judging whether the CPLD firmware version is qualified for refreshing according to a return value representing the refreshing result, loading a new CPLD firmware version from a first mirror image storage area if the CPLD firmware version is qualified for refreshing, namely loading a Compressed image1 by the CPLD, and determining the CPLD firmware version in a second mirror image storage area Compressed image0 according to the firmware rollback command. If the refresh is not qualified, the spare version of the CPLD firmware is loaded from the second mirrored memory area, compressed image0. According to the embodiment, different mirror image storage areas are respectively selected to load the firmware version of the CPLD according to whether the firmware version of the CPLD is refreshed qualified, and a second mirror image storage area in the CPLD is fully utilized as a spare mirror image storage area. Compared with the prior art, the method can load the spare CPLD firmware version from the second mirror image storage area in time when the firmware refresh fails, and the situation that the BMC is used for the CPLD is avoided
The remote refreshing fails to affect the cooperation between the firmware, so that the normal operation of the server is affected, and therefore, the method 5 can effectively improve the stability of the image loaded by the CPLD.
In this embodiment, the CPLD firmware version in the second mirrored storage area is determined according to the obtained firmware rollback command, when the firmware rollback command is to execute rollback, the data in the first mirrored storage area is copied to the second mirrored storage area, at this time, the CPLD firmware version in the second mirrored storage area is consistent with the firmware version in the first mirrored storage area,
is a new version of the CPLD firmware; when the firmware rollback command is not to execute the rollback, the CPLD0 firmware version in the second image storage area remains unchanged. The firmware rollback command is obtained according to the firmware rollback command, so that whether the firmware rollback is performed is determined
The CPLD cannot actively load the second mirror image storage area and actively update data, and the data of the first mirror image storage area is copied to the second mirror image storage area only when a rollback execution command from the BMC is received, so that two identical mirror images caused by rollback of the active firmware can be avoided, and the space resource of the CPLD mirror image storage area is saved.
In addition, in this embodiment, the updating is not qualified, the CPLD firmware version is loaded from the second mirror storage area, and 5, when the firmware rollback command is obtained, the CPLD firmware version in the second mirror storage area is updated in time
Therefore, when the updating is unqualified, the spare CPLD firmware version obtained from the second mirror image storage area is not the latest CPLD firmware version possibly, but is the latest CPLD firmware version in the last cycle, so that the setting of the second mirror image storage area can ensure the stability of the updating of the CPLD firmware, and can ensure that the version of the CPLD is correct after the loading failure of the active mirror image, thereby being beneficial to the normal operation of the server board card.
The present application further provides a system for performing mirror image storage based on a CPLD, the system mainly includes: firmware refreshing module
The device comprises a block, a judging module, a firmware loading module and a rollback module. The firmware loading module and the firmware rollback module can fully utilize the second mirror image storage area in the CPLD, and when the firmware fails to be refreshed, the spare CPLD firmware version can be loaded from the second mirror image storage area in time, so that the firmware cannot be influenced by the failure of the BMC in remotely refreshing the CPLD
Therefore, the structural design can effectively improve the stability of the loaded image of the CPLD. The rollback module 5 can determine whether to perform firmware rollback according to the acquired firmware rollback command, so that the CPLD cannot perform firmware rollback
The second mirror image storage area is actively loaded, data cannot be actively updated, and the data in the first mirror image storage area is copied to the second mirror image storage area only when a rollback execution command from the BMC is received.
The application also provides a terminal, and the terminal also has the method and the system for carrying out mirror image storage based on the CPLD
The corresponding technical effects are not described herein again.
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 or technical solutions in the prior art of the present application, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for performing mirror image storage based on a CPLD according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a system for performing mirror image storage based on a CPLD according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection 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 accompanying drawings.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart of a method for performing mirror image storage based on a CPLD according to an embodiment of the present application. As can be seen from fig. 1, the method for performing mirror image storage based on CPLD in this embodiment mainly includes the following processes:
s3: and refreshing the firmware version of the CPLD according to the acquired firmware loading command. Wherein, CPLD includes: a first mirrored storage area and a second mirrored storage area.
In this embodiment, two mirror image storage areas are fully utilized, the first mirror image storage area Compressed image1 is used as an active mirror image loading area, and the second mirror image storage area Compressed image0 is used as a standby mirror image storage area. Compressed image is a Compressed image.
The method for refreshing the firmware version of the CPLD in the embodiment comprises two methods: one is to refresh the firmware version of the CPLD in an I2C manner. And the other method is to refresh the firmware version of the CPLD in a GPIO mode.
Further, in this embodiment, step S3 is preceded by step S1: and the client logs in a BMC management interface of the server. And step S2: the firmware load command is sent by the BMC.
As can be seen from fig. 1, after the CPLD firmware version is refreshed, step S4 is executed: and judging whether the version of the CPLD firmware is qualified or not according to a return value in the refreshing result.
The return value is used for representing a firmware refreshing result, and whether the firmware version refreshing of the CPLD is qualified or not can be determined through the return value.
If the refresh is qualified, executing step S5: and loading a new CPLD firmware version from the first mirror image storage area.
That is, after the CPLD of the current version is successfully refreshed, the firmware data updating area of the CPLD refreshed by the user is the Compressed image1 area, and the new version of the CPLD is also loaded from the Compressed image1, but not from the Compressed image0.
S6: and determining the version of the CPLD firmware in the second image storage area according to the acquired firmware rollback command.
Specifically, step S6 includes the following processes:
s61: acquiring a firmware rollback command from the BMC, wherein the firmware rollback command comprises: perform rollback and not perform rollback.
The firmware rollback in this embodiment is: rollback.
S62: and if the firmware rollback command is to execute rollback, copying the data in the first mirror image storage area to a second mirror image storage area by using the CPLD, wherein the version of the CPLD firmware in the second mirror image storage area is a new version of the CPLD firmware.
S63: and if the firmware rollback command is that the rollback is not executed, keeping the version of the CPLD firmware in the second image storage area unchanged.
As can be seen from steps S61-S63, if the CPLD version is in the refresh successful state, it needs to further confirm whether to perform rollback, and then determine whether to update the firmware version of the CPLD in the second mirror storage area. Therefore, according to the method in this embodiment, the CPLD does not actively load the Compressed image0, nor actively update the data, so that two identical images caused by the active rollback can be avoided, and the space data of the image storage can be saved. In practical applications, the user can manually control whether the CPLD copies the data of the Compressed image1 to the Compressed image0 by issuing a command to the address of the standby image.
With continued reference to fig. 1, if the refresh is not qualified, step S7 is performed: and loading the spare CPLD firmware version from the second mirror image storage area.
That is, after the CPLD reads the refresh failure through its own relevant return value, the CPLD automatically loads the standby image of the Compressed image0 area. By adopting the method in the embodiment, the step S7 can ensure that the standby mirror image is available after the firmware is failed to refresh, thereby greatly improving the stability of the loaded mirror image of the CPLD. Through the step S62, timely update of the standby mirror image can be ensured, so that the CPLD version after the loading failure of the active mirror image is ensured to be correct, which is beneficial to improving the efficiency of mirror image storage.
Further, in the present embodiment, after steps S6 and S7, the process returns to re-execute step S1: and refreshing the firmware version of the CPLD according to the acquired firmware loading command. Namely, according to the acquired new firmware loading command, the firmware version of the CPLD is refreshed, so that the mirror storage of the next cycle is started.
The following describes in detail specific steps of the method for performing mirror image storage based on a CPLD in the present embodiment in practical application.
1) A user logs in a BMC management interface of the server;
2) A user selects system maintenance- > FirmWare updating- > uploading CPLD FirmWare;
3) After the refreshing is finished, the BMC automatically issues a command to trigger CPLD FirmWare reloading, and the CPLD takes effect;
4) If the CPLD fails to refresh, the CPLD reads that the refreshing fails through the self-related return value, and at the moment, the CPLD automatically loads the standby mirror image of the Compressed image0 area;
5) If the CPLD of the current version is successfully refreshed, the CPLD FirmWare data updating area refreshed by the user is a Compressed image1 area, and the new version of the CPLD is loaded from the Compressed image1 instead of the Compressed image0;
6) In the state of successful refresh, the CPLD will not actively load the Compressed image0 and will not actively update data, which is to avoid two identical images caused by the active rollback, if the CPLD actively performs the rollback, the existence of the standby image is meaningless, and at this time, the user issues a command to the address of the standby image, and the user manually controls whether to copy the data of the Compressed image1 to the Compressed image0.
In summary, by using the method of the embodiment, the situations that the RSU fails and the mirror image of the CPLD cannot be loaded normally due to some reasons can be effectively solved, and the CPLD of the server can be ensured to load a stable version for the temporary use of the client, so that the stability of the server operation is improved.
Example two
Referring to fig. 2 on the basis of the embodiment shown in fig. 1, fig. 2 is a schematic structural diagram of a system for performing mirror image storage based on a CPLD according to an embodiment of the present application. As can be seen from fig. 2, the system for performing mirror image storage based on CPLD in this embodiment mainly includes: the device comprises a firmware refreshing module, a judging module, a firmware loading module and a rollback module.
The firmware refreshing module is used for refreshing the firmware version of the CPLD according to the acquired firmware loading command, wherein the CPLD comprises: a first mirrored memory area, compressed image1 and a second mirrored memory area, compressed image0; the judging module is used for judging whether the version refreshing of the CPLD firmware is qualified or not according to the return value in the refreshing result; the firmware loading module is used for loading a new CPLD firmware version from the first mirror image storage area when the CPLD firmware version is refreshed to be qualified; the rollback module is used for determining the CPLD firmware version in the second mirror image storage area according to the acquired firmware rollback command; and the firmware loading module is also used for loading the spare CPLD firmware version from the second mirror image storage area when the CPLD firmware version is unqualified in refreshing.
Further, the rollback module comprises: the device comprises a command acquisition unit, a copying unit and a firmware version determination unit. The command acquisition unit is used for acquiring a firmware rollback command from the BMC, and the firmware rollback command comprises: performing rollback and not performing rollback; the copying unit is used for copying the data of the first mirror image storage area to the second mirror image storage area by using the CPLD when the firmware rollback command is to execute rollback; and the firmware version determining unit is used for determining that the CPLD firmware version in the second mirror image storage area is a new CPLD firmware version after the copying unit copies the data in the first mirror image storage area to the second mirror image storage area, and determining that the CPLD firmware version in the second mirror image storage area is kept unchanged when the firmware rollback command is that rollback is not executed.
The firmware refreshing module comprises a first refreshing unit and a second refreshing unit. The first refreshing unit is used for refreshing the version of the CPLD firmware in an I2C mode according to the acquired firmware loading command; and the second refreshing unit is used for refreshing the firmware version of the CPLD in a GPIO way according to the acquired firmware loading command.
Further, the system for performing image storage based on the CPLD further includes a BMC for sending a firmware loading command.
Further, the system of this embodiment further includes a loop module, configured to restart the firmware refresh module after determining the CPLD firmware version in the second image storage area according to the obtained firmware rollback command. The loop module is also used for restarting the firmware refreshing module after loading the spare CPLD firmware version from the second mirror image storage area.
In this embodiment, the working principle and the working method of performing the mirror image storage based on the CPLD have been elaborated in detail in the embodiment shown in fig. 1, and the two embodiments may be referred to each other, which is not described herein again.
EXAMPLE III
The present application further provides a terminal, including: the CPLD-based mirror image storage system comprises a processor and a memory which is in communication connection with the processor, wherein the memory stores instructions which can be executed by the processor, and the instructions are executed by the processor, so that the processor can execute the method of mirror image storage based on the CPLD.
The method for mirror storage based on the CPLD executed by the processor is as follows:
1) Refreshing the firmware version of the CPLD according to the acquired firmware loading command, wherein the CPLD comprises: a first mirrored storage area Compressed image1 and a second mirrored storage area Compressed image0;
2) Judging whether the version of the CPLD firmware is qualified or not according to a return value in a refreshing result;
3) If the refreshing is qualified, loading a new CPLD firmware version from the first mirror image storage area;
4) Determining the version of the CPLD firmware in the second mirror image storage area according to the acquired firmware rollback command;
5) If the refreshing is unqualified, loading a spare CPLD firmware version from the second mirror image storage area;
6) Returning to the step 1), refreshing the firmware version of the CPLD again.
The previous description is only an example of the present application, and is provided to enable any person skilled in the art to understand or implement the present 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 mirror image storage based on a CPLD, which is characterized in that the method comprises the following steps:
refreshing the firmware version of the CPLD according to the acquired firmware loading command, wherein the CPLD comprises: a first mirror image storage area and a second mirror image storage area;
judging whether the version of the CPLD firmware is qualified or not according to a return value in a refreshing result;
if the refreshing is qualified, loading a new CPLD firmware version from the first mirror image storage area;
determining the version of the CPLD firmware in the second mirror image storage area according to the acquired firmware rollback command;
and if the refreshing is not qualified, loading the spare CPLD firmware version from the second mirror memory area.
2. The method of claim 1, wherein the determining the version of the CPLD firmware in the second mirrored storage area according to the obtained firmware rollback command comprises:
acquiring a firmware rollback command from a BMC, wherein the firmware rollback command comprises: performing rollback and not performing rollback;
if the firmware rollback command is to execute rollback, copying the data in the first mirror image storage area to a second mirror image storage area by using the CPLD, wherein the CPLD firmware version in the second mirror image storage area is a new CPLD firmware version;
and if the firmware rollback command is that rollback is not executed, keeping the version of the CPLD firmware in the second image storage area unchanged.
3. The CPLD-based image storage method according to claim 1, wherein the method for refreshing the firmware version of the CPLD includes:
refreshing the version of the CPLD firmware in an I2C mode; alternatively, the first and second electrodes may be,
and refreshing the version of the CPLD firmware in a GPIO mode.
4. The method according to claim 1, wherein before the CPLD firmware version is refreshed according to the obtained firmware loading command, the method further comprises:
a client logs in a BMC management interface of a server;
the firmware load command is sent by the BMC.
5. The CPLD-based method according to claim 1, wherein after determining the CPLD firmware version in the second mirrored storage area according to the obtained firmware rollback command, and after loading the spare CPLD firmware version from the second mirrored storage area, the method further comprises:
and refreshing the firmware version of the CPLD according to the acquired firmware loading command.
6. A system for performing mirror storage based on a CPLD, the system comprising:
a firmware refreshing module, configured to refresh a firmware version of the CPLD according to the obtained firmware loading command, where the CPLD includes: a first mirror image storage area and a second mirror image storage area;
the judging module is used for judging whether the version refreshing of the CPLD firmware is qualified or not according to the return value in the refreshing result;
the firmware loading module is used for loading a new CPLD firmware version from the first mirror image storage area when the CPLD firmware version is refreshed to be qualified;
the rollback module is used for determining the CPLD firmware version in the second mirror image storage area according to the acquired firmware rollback command;
and the firmware loading module is also used for loading the spare CPLD firmware version from the second mirror image storage area when the CPLD firmware version is unqualified in refresh.
7. The CPLD-based mirrored storage system according to claim 6, wherein the rollback module comprises:
a command obtaining unit, configured to obtain a firmware rollback command from a BMC, where the firmware rollback command includes: performing rollback and not performing rollback;
the copying unit is used for copying the data of the first mirror image storage area to the second mirror image storage area by using a CPLD when the firmware rollback command is to execute rollback;
and the firmware version determining unit is used for determining that the CPLD firmware version in the second mirror image storage area is a new CPLD firmware version after the copying unit copies the data in the first mirror image storage area to the second mirror image storage area, and determining that the CPLD firmware version in the second mirror image storage area is kept unchanged when the firmware rollback command is that rollback is not executed.
8. The CPLD-based mirrored storage system according to claim 6, wherein the firmware refresh module comprises:
the first refreshing unit is used for refreshing the version of the CPLD firmware in an I2C mode according to the acquired firmware loading command;
and the second refreshing unit is used for refreshing the firmware version of the CPLD in a GPIO mode according to the acquired firmware loading command.
9. The CPLD-based mirrored storage system according to claim 6, further comprising: and the BMC is used for sending a firmware loading command.
10. A terminal, characterized in that the terminal comprises: 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 for mirror storage based on CPLD according to any one of claims 1 to 5.
CN202211623117.6A 2022-12-16 2022-12-16 Method, system and terminal for mirror image storage based on CPLD Pending CN115878387A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211623117.6A CN115878387A (en) 2022-12-16 2022-12-16 Method, system and terminal for mirror image storage based on CPLD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211623117.6A CN115878387A (en) 2022-12-16 2022-12-16 Method, system and terminal for mirror image storage based on CPLD

Publications (1)

Publication Number Publication Date
CN115878387A true CN115878387A (en) 2023-03-31

Family

ID=85755052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211623117.6A Pending CN115878387A (en) 2022-12-16 2022-12-16 Method, system and terminal for mirror image storage based on CPLD

Country Status (1)

Country Link
CN (1) CN115878387A (en)

Similar Documents

Publication Publication Date Title
US10114655B2 (en) Rapid start up method for electronic equipment
CN107844386B (en) Data backup and recovery method and device
US20110283274A1 (en) Firmware image update and management
US9910733B2 (en) Transaction completion in a synchronous replication environment
JP5895385B2 (en) Image output apparatus and program thereof
CN108345464A (en) A kind of the startup method and Android vehicle device of Android system
EP4270299A1 (en) Operating system upgrade method, electronic device, and storage medium
CN111651304A (en) Software recovery method and device based on double-core intelligent electric meter and computer equipment
CN111026417A (en) Embedded equipment upgrading method and embedded equipment
CN110597532A (en) Data acquisition module, firmware upgrading method thereof and storage medium
CN114356711A (en) Database fault self-healing method, system and related device
CN113612814A (en) Method, device, terminal and storage medium for screening session information
CN115878387A (en) Method, system and terminal for mirror image storage based on CPLD
US20230132494A1 (en) Information processing apparatus, method of controlling the same, and storage medium
CN113064614B (en) Firmware upgrading method and system for redundant power supply system of server
CN113377425B (en) BMC firmware generation method and device, BMC starting method and device and storage medium
CN117389578A (en) Cloud terminal system upgrading method and device, cloud terminal and storage medium
CN113721959A (en) Information processing method and device and electronic equipment
CN114764379A (en) Access switching method and device for application software and computer readable storage medium
CN111399940A (en) Data processing method of intelligent system, storage medium and intelligent terminal
CN112350888B (en) Starting state detection system and method thereof
TWI839203B (en) Extended server system and data update method
CN114218010B (en) Data backup and recovery method, system, terminal equipment and storage medium
JP2005078336A (en) Image forming apparatus and program rewriting method for image forming apparatus
CN112148526A (en) Application program updating method, device, system, equipment and storage medium

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