CN111552486A - SSD firmware burning method and related components - Google Patents
SSD firmware burning method and related components Download PDFInfo
- Publication number
- CN111552486A CN111552486A CN202010344760.XA CN202010344760A CN111552486A CN 111552486 A CN111552486 A CN 111552486A CN 202010344760 A CN202010344760 A CN 202010344760A CN 111552486 A CN111552486 A CN 111552486A
- Authority
- CN
- China
- Prior art keywords
- ssd firmware
- burning
- firmware
- ssd
- power
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 230000006870 function Effects 0.000 claims abstract description 46
- 238000001514 detection method Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 16
- 230000009471 action Effects 0.000 abstract description 4
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 230000009467 reduction Effects 0.000 abstract description 2
- 238000012360 testing method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000012827 research and development Methods 0.000 description 4
- 239000007787 solid Substances 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000011895 specific detection Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses an SSD firmware burning method, which automatically powers on and powers off an SSD firmware through notification type hot plug, realizes the reset and loading drive functions brought by the fact that a hard disk is manually plugged twice in the traditional method, reduces the manual plugging actions twice compared with the traditional burning method, avoids the manual workload and the working time in the burning process, realizes automatic firmware burning, greatly improves the realization efficiency, simultaneously reduces the labor cost brought by the manual work, and realizes the reduction of the burning cost. The application also provides an SSD firmware burning device, SSD firmware burning equipment and a readable storage medium, and the SSD firmware burning device has the beneficial effects.
Description
Technical Field
The application relates to the technical field of cloud computing data centers, in particular to an SSD firmware burning method, an SSD firmware burning system, a server and an FPGA acceleration board card.
Background
With the development of technologies such as internet, cloud computing, internet of things and the like, a Solid State Disk (SSD) is widely used as a new generation of storage component due to its excellent storage performance.
The solid state disk needs to update the firmware version regularly to meet the requirements of research and development tests, the updating of the firmware version in the research and development process under the current condition involves the manual plugging and unplugging of the hard disk for many times, the manual plugging and unplugging of the hard disk is low in efficiency and needs to consume manpower resources, the hard disk needs to be tested in large quantities in the stages such as the later research and development, the manual plugging and unplugging of the hard disk is used for burning the SSD firmware, the manpower resources and the time resources are extremely consumed, the burning efficiency is low, and the solid state disk testing efficiency is further influenced.
Therefore, how to improve the SSD firmware burning and thus improve the solid state disk test efficiency is a problem that those skilled in the art will continuously solve.
Disclosure of Invention
The method can not only make full use of CPU resources, but also reduce the condition of mutual exclusion and other locks, and effectively improve the data processing efficiency; another object of the present application is to provide an SSD firmware burning device, an apparatus and a readable storage medium.
To solve the above technical problem, the present application provides a method for burning SSD firmware, including:
downloading SSD firmware to be burned;
performing an erase operation on the SSD firmware;
after the erasing is finished, calling a notification type hot plug function which is pre-configured in the system to power down the SSD firmware, and powering on for resetting;
burning the SSD firmware;
and after the burning is finished, calling a notification type hot plug function which is pre-configured in the system to power down the SSD firmware, and powering up and loading a drive to obtain the burned SSD firmware.
Optionally, before downloading the SSD firmware to be burned, the method further includes:
determining a starting configuration file and triggering an editing mode of the starting configuration file;
adding the basic code of the notification type hot plug to a specified position in the starting configuration file, and storing the basic code;
the operating system is restarted.
Optionally, invoking a notification hot-plug function preconfigured in the system to power down the SSD firmware and power up and reset the SSD firmware, including:
calling a notification type hot plug function which is pre-configured in a system to control the SSD firmware to power off;
and when the power is off for a preset time, calling a notification type hot plug function which is pre-configured in the system to control the SSD firmware to be powered on and reset.
Optionally, after obtaining the SSD firmware with the burned firmware, the method further includes:
detecting whether the SSD firmware is burned successfully or not, and generating a detection result;
and outputting a burning result according to the detection result.
The application also discloses an SSD firmware burning device, including:
the downloading unit is used for downloading the SSD firmware to be burned;
an erasing unit for performing an erasing operation on the SSD firmware;
the first control unit is used for calling a notification type hot plug function which is pre-configured in a system to power down the SSD firmware and power on and reset after the erasing is finished;
the burning unit is used for burning the SSD firmware;
and the second control unit is used for calling a notification type hot plug function which is pre-configured in the system to power down the SSD firmware after the burning is finished, and powering up and loading the drive to obtain the burned SSD firmware.
Optionally, the SSD firmware burning device further includes: a configuration unit, the configuration unit comprising:
the file determining subunit is used for determining a starting configuration file and triggering an editing mode of the starting configuration file;
the script editing subunit is used for adding the basic code of the notification type hot plug to the specified position in the starting configuration file and storing the basic code;
and the system restarting subunit is used for restarting the operating system.
Optionally, the first control unit comprises:
the first power-down control subunit is used for calling a notification type hot plug function which is pre-configured in the system to control the SSD firmware to power down;
and the first power-on control electronic unit is used for calling a notification type hot plug function which is pre-configured in the system to control the SSD firmware to be powered on and reset after the power is turned off for a preset time.
Optionally, the SSD firmware burning device further includes: and the detection unit is used for detecting whether the SSD firmware is burned successfully or not, generating a detection result and outputting a burning result according to the detection result.
The application also discloses SSD firmware burns record equipment includes:
a memory for storing a computer program;
and the processor is used for realizing the steps of the SSD firmware burning method when the computer program is executed.
The application also discloses a readable storage medium, wherein a program is stored on the readable storage medium, and the program realizes the steps of the SSD firmware burning method when being executed by a processor.
According to the SSD firmware burning method, automatic power-on and power-off control is carried out on the SSD firmware through the notification type hot plug, the reset and loading driving functions caused by the fact that a hard disk is manually plugged twice in a traditional method are achieved, manual plugging and unplugging actions twice are reduced compared with the traditional burning method, the manual workload and the working time in the burning process are avoided, automatic firmware burning is achieved, the achieving efficiency is greatly improved, meanwhile, the labor cost caused by manual work is reduced, and the burning cost is reduced.
The application also provides an SSD firmware burning device, SSD firmware burning equipment and a readable storage medium, which have the beneficial effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an SSD firmware burning method applied to a server according to an embodiment of the present disclosure;
fig. 2 is a block diagram illustrating a structure of an SSD firmware burning device according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an SSD firmware burning device according to an embodiment of the present application.
Detailed Description
The core of the application is to provide the SSD firmware burning method, the method is suitable for different types of FPGA accelerator cards of different manufacturers, and the static information of a product can be solidified; another core of the present application is to provide an SSD firmware burning device, an apparatus and a readable storage medium.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 some embodiments of the present application, but not all 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.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for burning SSD firmware provided in this embodiment, where the method mainly includes:
step s110, downloading SSD firmware to be burned;
the burning of the SSD firmware first needs to download the firmware to be burned, and then various operations can be performed on the firmware, wherein the implementation process of downloading the firmware can refer to the existing implementation process, which is not described herein again.
Step s120, performing an erase operation on the SSD firmware;
after downloading, the operation of burning the firmware is started, and during burning, the erase operation needs to be performed on the SSD first, and the erase operation may also refer to the existing implementation process, which is not described herein again.
Step s130, after the erasing is finished, calling a notification type hot plug function which is pre-configured in the system to power off the SSD firmware, and powering on and resetting the SSD;
after the erase is completed, the SSD firmware needs to be manually plugged and unplugged in a conventional method to realize a reset function, in this embodiment, in order to avoid a human resource cost caused by manually plugging and unplugging the SSD firmware, and meanwhile, to avoid a problem of long time consumption and further low efficiency caused by manually plugging and unplugging the SSD firmware, a notification type hot plugging function is configured in the system in advance, the notification type hot plugging function is configured in advance after the erase is completed to power off the SSD firmware and power on reset, the firmware is powered on to replace an operation of plugging the SSD firmware into the slot again by replacing an operation of unplugging the SSD firmware in the slot with the power off of the firmware, an operation of manually plugging and unplugging the SSD firmware is avoided by combining a method of manually plugging and unplugging the SSD notification type hot plugging based on a Linux operating system to replace an operation of manually plugging and unplugging the hard disk, and automatic reset of the SSD firmware after the firmware is erased is realized.
The notification hot-plug function needs to be configured in the system in advance, the specific implementation of the configuration may be to add an implementation code of the notification hot-plug to a corresponding control file, and implement the notification hot-plug by means of script writing, and the specific implementation steps are not limited herein. And after the erasing is finished, executing the trigger operation of powering on and powering off according to the calling mode of the code so as to realize powering off and powering on the SSD firmware.
In the embodiment, the method for powering on and powering off the SSD by the notification type hot plug replaces a manual plug hard disk, so that the effect of automatically burning the SSD firmware in batches is realized, the manual working time is reduced, and the research and development test efficiency is correspondingly improved.
Step s140, burning the SSD firmware;
after the SSD firmware is reset, firmware burning is performed on the SSD, wherein a specific burning process may refer to the introduction of the existing implementation process, which is not described herein again.
And step s150, after the burning is finished, calling a notification type hot plug function pre-configured in the system to power off the SSD firmware, and powering on and loading a drive to obtain the burned SSD firmware.
After the burning action is completed, the firmware is still manually pulled out and then manually inserted in the traditional method to realize loading drive and recognize the function of the SSD firmware, and in order to avoid the influence of the manually pulled out and inserted firmware after the burning is completed on the realization efficiency and the occupation of human resources, in this embodiment, the SSD firmware is powered off and powered on through the notification type hot-plug function, and the drive loading is realized through the control of automatic power on and power off. It should be noted that, in this step, for the call of the notification hot-plug function to implement power-down and power-up of the SSD firmware, reference may be specifically made to the description of step s130, and details are not described herein again.
After the drive is loaded in the power-on state, the SSD firmware burning step is completed, and the burned SSD firmware can be obtained. Based on the introduction, the SSD firmware burning method provided in this embodiment automatically powers on and powers off the SSD firmware by notification hot plug, so that the reset and load driving functions caused by the hard disk being manually plugged twice in the conventional method are realized, and twice manual plug actions are reduced compared with the conventional burning method, thereby avoiding the manual workload and working time in the burning process, realizing automatic firmware burning, greatly improving the realization efficiency, and simultaneously reducing the labor cost caused by the manual work, and realizing the reduction of the burning cost.
The specific steps of the configuration process of the notification hot-plug function in the foregoing embodiments are not limited, a specific implementation process is mainly described in this embodiment, and other implementation manners can refer to the description of this embodiment, and are not described herein again.
Optionally, a specific implementation process specifically includes the following steps:
(1) determining a starting configuration file and triggering an editing mode of the starting configuration file;
the method includes logging in an operating system with an administrator account (currently, a configuration file needs to be started under the identity of an administrator to realize viewing and editing functions, so that the operating system needs to be logged in with the administrator account, if viewing and editing of the configuration file can be realized without the identity of the administrator in a certain operating system, the step is not executed, and is not limited in the process), executing a vim/boot/grub2/grub.
(2) Adding the basic code of the notification type hot plug to a specified position in the starting configuration file, and storing the basic code;
for the basic code of the notification hot-plug, for example, "pci, pci _ force, 1pci, pci _ bus _ perf" is taken as an example (all other code forms can refer to the description of this embodiment), it is necessary to add "pci, pci _ force, 1pci, pci _ bus _ perf" to the boot configuration file to implement the addition of the notification hot-plug function.
Specifically, the specific adding rule of the code in the start configuration file may refer to a related setting rule of the start configuration file, which is not described herein again, and in this embodiment, a specific adding position of the notification hot-plugging basic code is introduced by using a specific code of the start configuration file, and a specific code of the start configuration file that adds the notification hot-plugging basic code "peehp, peehp _ force ═ 1pci ═ pee _ bus _ perf" is as follows:
in the fourth row of the ellipses, "pci, pci _ force, 1pci, pci _ bus _ perf" is the newly added basic code, and it should be noted that the added content needs to be on the same row as the above, and a space is left between the added content and the above, but the added content cannot be changed.
After the script is modified, the editing interface is saved and quitted, and the saving and quitting of editing can be realized by sequentially pressing ' Esc ', inputting wq ' and ' Enter ' on a keyboard, which is not limited herein.
(3) The operating system is restarted.
The configuration is validated after the operating system is restarted.
Accordingly, under the configuration of implementing the notification type hot plug function according to this step, a specific implementation manner of step s130 is as follows:
and informing the operating system to power off the erased SSD through echo 0>/sys/bus/pci/slots/$ slot/power, and informing the operating system to power on the erased SSD through echo 1>/sys/bus/pci/slots/$ slot/power.
One specific implementation of step s150 is as follows:
and informing the operating system to power off the burnt SSD through echo 0>/sys/bus/pci/slots/$ slot/power, and informing the operating system to power on the burnt SSD through echo 1>/sys/bus/pci/slots/$ slot/power.
Wherein, "$" in $ slot points to the firmware slot position, and $ replacement can be performed according to the slot position of the actual SSD firmware.
It should be noted that the above steps need to be executed before downloading the SSD firmware to be burned, so as to realize the call of the notification type hot plug function in downloading the SSD firmware to be burned.
Based on the embodiment, in order to further ensure the stable implementation of the power-on and power-off of the SSD firmware, the notification type hot plug power is called to power off and power on the SSD firmware, a preset time can be waited after the power off, and the power on is started after the power off is completed, so that the situations of resetting and loading failure caused by the fact that the system is powered on immediately after the power off is not completed are avoided, and the stability of the implementation of the burning of the SSD firmware is improved.
Specifically, powering down and powering up the SSD firmware by invoking the notification hot plug during the SSD firmware burning process mainly includes two steps, step s130 and step s150, and accordingly,
step s130 calls a notification hot plug function pre-configured in the system to power off the SSD firmware, and the power on reset may specifically be:
calling a notification type hot plug function which is pre-configured in the system to control the SSD firmware to power off;
and when the power is off for a preset time, calling a notification type hot plug function which is pre-configured in the system to control the SSD firmware to be powered on and reset.
Step s150 calls a notification hot plug function pre-configured in the system to power down the SSD firmware, and the powering up and loading the driver may specifically be:
calling a notification type hot plug function which is pre-configured in the system to control the SSD firmware to power off;
and when the power is off for a preset time, calling a notification type hot plug function which is pre-configured in the system to control the SSD firmware to be powered on and loaded with a drive.
The preset time durations in the two steps may be the same or different, and specific time setting is not limited, for example, after uniformly waiting for 10 seconds, the operating system may be notified to power on the SSD.
In the embodiment, the system can complete the power supply through delaying the power supply after the power supply is finished, and the normal and stable operation of the system after the power supply is finished can be ensured.
In addition, based on the above embodiment, after the burned SSD firmware is obtained, to ensure the burning success rate, whether the burning of the SSD firmware is successful or not may be further detected, and a detection result is generated; and outputting a burning result according to the detection result.
If the recording is successful, the firmware is exported, and if the recording is unsuccessful, the recording can be further re-performed or a prompt message corresponding to the recording failure is output, which is not limited herein.
The specific detection method is not limited herein, and the existing burning detection method may be referred to. This step may not be performed, and is not limited herein.
In the above description, a burning implementation process of one SSD firmware is taken as an example, and when there are a large number of SSD firmware to be burned, a burning process of a single SSD firmware may be referred to specifically as:
configuring a notification type hot plug function under a Linux system;
downloading a plurality of firmware to be burned, and determining the installation address of each firmware;
executing erasing operation on the firmware under each address;
after receiving a firmware erasing completion notification of a certain address, generating a power-off notification by an operating system according to the address of the firmware which is erased, wherein the power-off notification comprises a firmware address and a power-off command;
after waiting for a preset time, the operating system generates a power-on notice according to the address of the firmware, wherein the power-on notice comprises a firmware address and a power-on command;
burning the firmware;
after receiving a firmware burning completion notification of a certain address, generating a power-off notification by an operating system according to the address of the burned firmware, wherein the power-off notification comprises a firmware address and a power-off command;
after waiting for a preset time, the operating system generates a power-on notice according to the address of the firmware, wherein the power-on notice comprises a firmware address and a power-on command;
checking whether the firmware is burned successfully.
Referring to fig. 2, fig. 2 is a block diagram of an SSD firmware burning device provided in the present embodiment; the device mainly includes: a downloading unit 210, an erasing unit 220, a first control unit 230, a burning unit 240, and a second control unit 250. The SSD firmware burning apparatus provided in this embodiment can be compared with the SSD firmware burning method.
The downloading unit 210 is mainly used for downloading the SSD firmware to be burned;
the erasing unit 220 is mainly used for performing an erasing operation on the SSD firmware;
the first control unit 230 is mainly used for calling a notification type hot plug function pre-configured in the system to power down the SSD firmware and power up and reset after the erase is completed;
the burning unit 240 is mainly used for burning the SSD firmware;
the second control unit 250 is mainly used for calling a notification type hot plug function pre-configured in the system to power down the SSD firmware after the completion of the burning, and to power up the SSD firmware for loading the drive, so as to obtain the burned SSD firmware.
Optionally, the SSD firmware burning apparatus provided in this embodiment may further include: a configuration unit, the configuration unit comprising:
the file determining subunit is used for determining the starting configuration file and triggering the editing mode of the starting configuration file;
the script editing subunit is used for adding the basic code of the notification type hot plug to the specified position in the starting configuration file and storing the basic code;
and the system restarting subunit is used for restarting the operating system.
Optionally, the first control unit in the SSD firmware burning device provided in this embodiment includes:
the first power-down control subunit is used for calling a notification type hot plug function which is pre-configured in the system to control the SSD firmware to power down;
and the first power-on control electronic unit is used for calling a notification type hot plug function which is pre-configured in the system to control the SSD firmware to be powered on and reset after the power is turned off for a preset time.
Optionally, the SSD firmware burning apparatus provided in this embodiment may further include: and the detection unit is used for detecting whether the SSD firmware is burned successfully.
The SSD firmware burning device provided in this embodiment replaces a manual hard disk by a notification type hot plug (power on/off) in combination with the Linux system, so as to achieve the effect of automatically burning SSD firmware in batch. The manpower and the test time are saved, and the test efficiency of testers is improved.
The present embodiment provides an SSD firmware burning device, which mainly includes: a memory and a processor.
Wherein, the memory is used for storing programs;
the processor is configured to implement the steps of the SSD firmware burning method described in the above embodiments when executing the program, and refer to the description of the SSD firmware burning method.
Referring to fig. 3, a schematic structural diagram of an SSD firmware burning apparatus provided in this embodiment is shown, where the SSD firmware burning apparatus may generate a large difference due to different configurations or performances, and may include one or more processors (CPUs) 322 (e.g., one or more processors) and a memory 332. Memory 332 may be, among other things, transient or persistent storage. Further, central processor 322 may be configured to communicate with memory 332 to execute a series of instruction operations in memory 332 on SSD firmware burning device 301.
SSD firmware burning apparatus 301 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input-output interfaces 358, and/or one or more operating systems 341, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.
The steps in the SSD firmware burning method described in fig. 1 above can be implemented by the structure of the SSD firmware burning device introduced in this embodiment.
The present embodiment discloses a readable storage medium, on which a program is stored, and the program, when executed by a processor, implements the steps of the SSD firmware burning method described in the above embodiments, which may be referred to in the description of the SSD firmware burning method in the above embodiments.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The SSD firmware burning method, the device, the apparatus and the readable storage medium provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
Claims (10)
1. A method for burning SSD firmware is characterized by comprising the following steps:
downloading SSD firmware to be burned;
performing an erase operation on the SSD firmware;
after the erasing is finished, calling a notification type hot plug function which is pre-configured in the system to power down the SSD firmware, and powering on for resetting;
burning the SSD firmware;
and after the burning is finished, calling a notification type hot plug function which is pre-configured in the system to power down the SSD firmware, and powering up and loading a drive to obtain the burned SSD firmware.
2. The method of claim 1, wherein before downloading the SSD firmware to be burned, further comprising:
determining a starting configuration file and triggering an editing mode of the starting configuration file;
adding the basic code of the notification type hot plug to a specified position in the starting configuration file, and storing the basic code;
the operating system is restarted.
3. The method of claim 1, wherein invoking a notification hot-plug function pre-configured in a system to power down and power up reset the SSD firmware comprises:
calling a notification type hot plug function which is pre-configured in a system to control the SSD firmware to power off;
and when the power is off for a preset time, calling a notification type hot plug function which is pre-configured in the system to control the SSD firmware to be powered on and reset.
4. The method of claim 1, wherein after obtaining the burned SSD firmware, the method further comprises:
detecting whether the SSD firmware is burned successfully or not, and generating a detection result;
and outputting a burning result according to the detection result.
5. An SSD firmware burning device, comprising:
the downloading unit is used for downloading the SSD firmware to be burned;
an erasing unit for performing an erasing operation on the SSD firmware;
the first control unit is used for calling a notification type hot plug function which is pre-configured in a system to power down the SSD firmware and power on and reset after the erasing is finished;
the burning unit is used for burning the SSD firmware;
and the second control unit is used for calling a notification type hot plug function which is pre-configured in the system to power down the SSD firmware after the burning is finished, and powering up and loading the drive to obtain the burned SSD firmware.
6. The SSD firmware burning device of claim 5, further comprising: a configuration unit, the configuration unit comprising:
the file determining subunit is used for determining a starting configuration file and triggering an editing mode of the starting configuration file;
the script editing subunit is used for adding the basic code of the notification type hot plug to the specified position in the starting configuration file and storing the basic code;
and the system restarting subunit is used for restarting the operating system.
7. The SSD firmware burning device of claim 5, wherein the first control unit comprises:
the first power-down control subunit is used for calling a notification type hot plug function which is pre-configured in the system to control the SSD firmware to power down;
and the first power-on control electronic unit is used for calling a notification type hot plug function which is pre-configured in the system to control the SSD firmware to be powered on and reset after the power is turned off for a preset time.
8. The SSD firmware burning device of claim 5, further comprising: and the detection unit is used for detecting whether the SSD firmware is burned successfully or not, generating a detection result and outputting a burning result according to the detection result.
9. An SSD firmware burning device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the SSD firmware burning method of any of claims 1 to 4 when executing the computer program.
10. A readable storage medium, wherein the readable storage medium has stored thereon a program, which when executed by a processor, implements the steps of the SSD firmware burning method of any of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010344760.XA CN111552486B (en) | 2020-04-27 | 2020-04-27 | SSD firmware burning method and related components |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010344760.XA CN111552486B (en) | 2020-04-27 | 2020-04-27 | SSD firmware burning method and related components |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111552486A true CN111552486A (en) | 2020-08-18 |
CN111552486B CN111552486B (en) | 2024-02-09 |
Family
ID=72007754
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010344760.XA Active CN111552486B (en) | 2020-04-27 | 2020-04-27 | SSD firmware burning method and related components |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111552486B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112418788A (en) * | 2020-11-17 | 2021-02-26 | 广州易而达科技股份有限公司 | Module production processing system and method |
CN112433734A (en) * | 2020-10-30 | 2021-03-02 | 苏州浪潮智能科技有限公司 | Method and device for burning firmware of solid state disk |
CN113885899A (en) * | 2021-10-25 | 2022-01-04 | 苏州浪潮智能科技有限公司 | Solid state disk firmware burning method, device, equipment and storage medium |
CN114185620A (en) * | 2021-12-14 | 2022-03-15 | 深圳忆联信息系统有限公司 | Implementation method and device for accelerating SSD firmware loading, computer equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120331280A1 (en) * | 2011-06-24 | 2012-12-27 | Hon Hai Precision Industry Co., Ltd. | Electronic device and method for burning firmware to embedded device |
CN104615467A (en) * | 2015-02-11 | 2015-05-13 | 浪潮(北京)电子信息产业有限公司 | Method and system for burning CPLD (complex programmable logic device) firmware |
CN109150813A (en) * | 2017-06-27 | 2019-01-04 | 武汉海康存储技术有限公司 | A kind of verification method and device of equipment |
CN109408097A (en) * | 2018-12-11 | 2019-03-01 | 深圳市英威腾电气股份有限公司 | A kind of firmware upgrade method, device, system and a kind of electronic equipment |
CN109614125A (en) * | 2018-12-14 | 2019-04-12 | 郑州云海信息技术有限公司 | A kind of the firmware programming method, apparatus and medium of solid state hard disk |
CN209000004U (en) * | 2018-11-08 | 2019-06-18 | 深圳捷誊技术有限公司 | A kind of burning switching device for PCIE SSD |
-
2020
- 2020-04-27 CN CN202010344760.XA patent/CN111552486B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120331280A1 (en) * | 2011-06-24 | 2012-12-27 | Hon Hai Precision Industry Co., Ltd. | Electronic device and method for burning firmware to embedded device |
CN104615467A (en) * | 2015-02-11 | 2015-05-13 | 浪潮(北京)电子信息产业有限公司 | Method and system for burning CPLD (complex programmable logic device) firmware |
CN109150813A (en) * | 2017-06-27 | 2019-01-04 | 武汉海康存储技术有限公司 | A kind of verification method and device of equipment |
CN209000004U (en) * | 2018-11-08 | 2019-06-18 | 深圳捷誊技术有限公司 | A kind of burning switching device for PCIE SSD |
CN109408097A (en) * | 2018-12-11 | 2019-03-01 | 深圳市英威腾电气股份有限公司 | A kind of firmware upgrade method, device, system and a kind of electronic equipment |
CN109614125A (en) * | 2018-12-14 | 2019-04-12 | 郑州云海信息技术有限公司 | A kind of the firmware programming method, apparatus and medium of solid state hard disk |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112433734A (en) * | 2020-10-30 | 2021-03-02 | 苏州浪潮智能科技有限公司 | Method and device for burning firmware of solid state disk |
CN112433734B (en) * | 2020-10-30 | 2022-11-18 | 苏州浪潮智能科技有限公司 | Method and device for burning firmware of solid state disk |
CN112418788A (en) * | 2020-11-17 | 2021-02-26 | 广州易而达科技股份有限公司 | Module production processing system and method |
WO2022105170A1 (en) * | 2020-11-17 | 2022-05-27 | 广州易而达科技股份有限公司 | Production treatment system and method for module |
CN113885899A (en) * | 2021-10-25 | 2022-01-04 | 苏州浪潮智能科技有限公司 | Solid state disk firmware burning method, device, equipment and storage medium |
CN113885899B (en) * | 2021-10-25 | 2024-01-12 | 苏州浪潮智能科技有限公司 | Solid state disk firmware burning method, device, equipment and storage medium |
CN114185620A (en) * | 2021-12-14 | 2022-03-15 | 深圳忆联信息系统有限公司 | Implementation method and device for accelerating SSD firmware loading, computer equipment and storage medium |
CN114185620B (en) * | 2021-12-14 | 2023-10-10 | 深圳忆联信息系统有限公司 | Method and device for realizing acceleration of SSD firmware loading, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111552486B (en) | 2024-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111552486A (en) | SSD firmware burning method and related components | |
US10866623B2 (en) | Information handling system and method to detect and recover from no power/no post failures | |
CN105917306B (en) | System and method for configuring system firmware configuration data | |
CN111414285A (en) | Test method, test device and test equipment for starting function of server system | |
TW201706837A (en) | A computer system | |
CN110569158A (en) | method and device for testing abnormal power failure in SSD random scene and computer equipment | |
CN112506745B (en) | Memory temperature reading method and device and computer readable storage medium | |
CN111338698A (en) | Method and system for accurately booting server by BIOS (basic input output System) | |
CN110737558A (en) | Method and device for automatically deploying efi shell system to execute test, computer equipment and storage medium | |
CN112667442B (en) | Control method, device and equipment based on nonvolatile memory device starting system | |
CN113641537A (en) | Starting system, method and medium for server | |
US20070214345A1 (en) | System and method for porting an operating system | |
CN109471665B (en) | Method for automatically installing Windows operating system | |
CN109634782B (en) | Method and device for detecting system robustness, storage medium and terminal | |
CN117130672A (en) | Server start flow control method, system, terminal and storage medium | |
CN116775413A (en) | PCIE topology scanning method, device, equipment and readable storage medium | |
US20190370008A1 (en) | Boot times in an information processing device with externally connected devices | |
CN114461286B (en) | Server starting method and device, electronic equipment and readable storage medium | |
CN110825421A (en) | Firmware upgrading method and system and readable storage medium | |
CN113821265B (en) | Operating system control method and device, computer mainboard and readable storage medium | |
CN113419814B (en) | Virtual machine creating method, device, equipment and storage medium in cloud platform | |
CN114780166A (en) | Pin configuration method, related device, equipment and readable storage medium | |
CN114153503A (en) | BIOS control method, device and medium | |
CN109684134B (en) | Method and server for rapidly deploying firmware settings among multiple devices | |
TW202238382A (en) | Mainboard, external device of mainboard, and booting method of mainboard |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |