CN111552486B - SSD firmware burning method and related components - Google Patents

SSD firmware burning method and related components Download PDF

Info

Publication number
CN111552486B
CN111552486B CN202010344760.XA CN202010344760A CN111552486B CN 111552486 B CN111552486 B CN 111552486B CN 202010344760 A CN202010344760 A CN 202010344760A CN 111552486 B CN111552486 B CN 111552486B
Authority
CN
China
Prior art keywords
ssd firmware
firmware
ssd
burning
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.)
Active
Application number
CN202010344760.XA
Other languages
Chinese (zh)
Other versions
CN111552486A (en
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 CN202010344760.XA priority Critical patent/CN111552486B/en
Publication of CN111552486A publication Critical patent/CN111552486A/en
Application granted granted Critical
Publication of CN111552486B publication Critical patent/CN111552486B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image 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 a SSD firmware burning method, which is characterized in that the SSD firmware is automatically powered on and powered off by notification type hot plug, so that the reset and loading driving functions caused by manually plugging a hard disk twice in the traditional method are realized, compared with the traditional burning method, the manual plug actions twice are reduced, the manual workload and the working time in the burning process are avoided, the automatic firmware burning is realized, the realization efficiency is greatly improved, the labor cost caused by manual work is reduced, and the burning cost is reduced. The application also provides SSD firmware burning device, SSD firmware burning equipment and a readable storage medium, and the SSD firmware burning device and the SSD firmware burning equipment have the beneficial effects.

Description

SSD firmware burning method and related components
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 (field programmable gate array) acceleration board card.
Background
With the development of technologies such as the internet, cloud computing, and the internet of things, solid State Disks (SSDs) are widely used as a new generation of storage components due to their excellent storage performance.
The firmware version needs to be updated regularly to adapt to the requirement of research and development tests, and the firmware version is updated in the research and development process under the current condition, so that the efficiency of manually inserting and extracting the hard disk is low, human resources are required to be consumed, and the hard disk needs to be tested in a large scale in stages such as late research and development, and the human resources and time resources are extremely consumed by the method for burning the SSD firmware by manually inserting and extracting the hard disk, so that the burning efficiency is low, and the testing efficiency of the solid state disk is further influenced.
Therefore, how to improve the burning of the SSD firmware, so as to improve the testing efficiency of the solid state disk, is a problem that the person skilled in the art continuously solves.
Disclosure of Invention
The purpose of the application is to provide an SSD firmware burning method, which not only can fully utilize CPU resources, but also can reduce the situation of mutual exclusion and equal locking, and effectively improves the data processing efficiency; another object of the present application is to provide an SSD firmware burning apparatus, device, and readable storage medium.
In order to solve the above technical problems, 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 completed, calling a notification type hot plug function pre-configured in a system to power down the SSD firmware, and powering up and resetting;
burning the SSD firmware;
and after the burning is finished, calling a notification type hot plug function pre-configured in the system to power down the SSD firmware, and powering up and loading a driver to obtain the SSD firmware after the burning is finished.
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 the appointed position in the starting configuration file, and storing;
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 reset, including:
calling a notification type hot plug function pre-configured in a system to control the SSD firmware to be powered down;
and after the power-down time reaches the preset time, calling a notification type hot plug function pre-configured in the system to control the SSD firmware to be powered on and reset.
Optionally, after obtaining the SSD firmware after the writing, the method further includes:
detecting whether the SSD firmware is successfully burnt or not, and generating a detection result;
and outputting a burning result according to the detection result.
The application also discloses SSD firmware burns device, include:
the downloading unit is used for downloading 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 pre-configured in the system to power down the SSD firmware and resetting the SSD firmware after the erasing is completed;
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 pre-configured in the system to power down the SSD firmware after the burning is completed, and powering up and loading a driver to obtain the SSD firmware after the burning is completed.
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 appointed 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 includes:
the first lower electronic control subunit is used for calling a notification type hot plug function pre-configured in the system to control the SSD firmware to be powered down;
and the first power-on control subunit is used for calling a notification type hot plug function pre-configured in the system to control the SSD firmware to be powered on and reset after the power-off reaches the preset duration.
Optionally, the SSD firmware burning device further includes: the detection unit is used for detecting whether the SSD firmware is successfully burnt or not, generating a detection result, and outputting a burning result according to the detection result.
The application also discloses SSD firmware burns 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 executing the computer program.
The application also discloses a readable storage medium, wherein the readable storage medium stores a program, 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, the SSD firmware is automatically powered on and powered off through notification type hot plug, reset and loading driving functions caused by manually plugging the hard disk twice in the traditional method are achieved, compared with the traditional burning method, manual plug actions twice are reduced, manual workload and working time in the burning process are avoided, automatic firmware burning is achieved, achieving efficiency is greatly improved, meanwhile, labor cost caused by manual work is reduced, and burning cost is reduced.
The application also provides an SSD firmware burning device, equipment and a readable storage medium, which have the beneficial effects and are not described herein.
Drawings
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 embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
Fig. 1 is a flowchart of an SSD firmware burning method applied to a server according to an embodiment of the present application;
fig. 2 is a block diagram of an SSD firmware burning device according to an embodiment of the 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 an SSD firmware burning method which is suitable for different types of FPGA acceleration cards of different manufacturers and can realize the solidification of static information of products; another core of the present application is to provide an SSD firmware burning device, apparatus and a readable storage medium.
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of 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 apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Referring to fig. 1, fig. 1 is a flowchart of an SSD firmware burning method according to the present embodiment, the method mainly includes:
step s110, downloading SSD firmware to be burned;
the firmware to be burned needs to be downloaded firstly to perform various operations on the firmware, wherein the implementation process of downloading the firmware can refer to the existing implementation process, and the details are not repeated here.
Step s120, executing an erasing operation on SSD firmware;
after downloading, the firmware is started to be burned, and when the firmware is burned, an erasing operation is needed to be executed on the SSD, and the erasing operation can refer to the existing implementation process and is not repeated here.
Step 130, after the erasure is completed, calling a notification type hot plug function pre-configured in the system to power down SSD firmware, and powering up and resetting;
when the erasing is completed, the SSD firmware needs to be manually plugged in the conventional method to realize the reset function, in order to avoid the human resource cost caused by manually plugging in the SSD firmware, and simultaneously avoid the problems of long time consumption and low efficiency caused by manually plugging in the SSD firmware, the notification type hot plug function is configured in the system in advance, the SSD firmware is powered down and powered up for reset by calling the notification type hot plug function in advance after the erasing is completed, the SSD firmware is powered down instead of the operation of plugging in the slot, the firmware is powered up instead of the operation of reinserting the SSD firmware in the slot, and the SSD firmware is automatically reset after the firmware is erased by combining the SSD notification type hot plug method based on the Linux operating system to replace the action of manually plugging in the hard disk.
The notification type hot plug function needs to be preconfigured in the system, the specific implementation of the configuration may be that an implementation code of the notification type hot plug is added to a corresponding control file, and the implementation is implemented by a script writing mode, and specific implementation steps are not limited herein. And after the erasure is completed, executing the triggering operation of powering up and powering down according to the calling mode of the code so as to realize powering down and powering up the SSD firmware.
In the embodiment, the method of informing the hot plug to power on and power off the SSD replaces the manual hard disk plug, so that the effect of automatically burning SSD firmware in batches is realized, the artificial working time is reduced, and the efficiency of research, development and test is correspondingly improved.
Step s140, burning SSD firmware;
after the firmware of the SSD is reset, firmware is burned into the SSD, wherein the specific burning process may refer to the description of the existing implementation process, and will not be described herein.
And step s150, after the burning is completed, calling a notification type hot plug function pre-configured in the system to power down the SSD firmware, and powering up and loading a driver to obtain the SSD firmware after the burning is completed.
After the burning action is finished, the firmware is still manually pulled out under the traditional method, then the firmware is manually inserted to realize loading driving and identify the functions of SSD firmware, and in order to avoid the influence of the manual pulling-out and inserting of the firmware after the burning is finished on the realization efficiency and the occupied human resources, the SSD firmware is powered down and powered up through a notification type hot pulling-out function in the embodiment, and the loading of the driving is realized through automatic powering-up and powering-down control. It should be noted that, in this step, the notification type hot plug function is invoked to realize the powering down and powering up of the SSD firmware, and the description of step s130 may be referred to specifically, which is not described herein again.
After the drive is powered on, the SSD firmware burning step is completed, and the SSD firmware which is burnt is obtained. Based on the description above, the SSD firmware burning method provided by the embodiment automatically powers on and powers off the SSD firmware through the notification type hot plug, so that the reset and loading driving functions caused by manually plugging the hard disk twice in the traditional method are realized, compared with the traditional burning method, the manual plug actions twice are reduced, the manual workload and the working time in the burning process are avoided, the automatic firmware burning is realized, the realization efficiency is greatly improved, the labor cost caused by the manual work is reduced, and the burning cost is reduced.
In the above embodiments, specific steps of the configuration process of the notification type hot plug function are not limited, and a specific implementation process is mainly described in this embodiment, and other implementation manners may 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 comprises the steps of logging in an operating system with an administrator account (currently, a starting configuration file needs to be checked and edited under the condition of administrator identity, so that the operating system needs to be logged in with the administrator account, if checking and editing of the starting configuration file can be realized in a certain operating system without the need of administrator identity, the step can be omitted, and the steps are not limited herein), executing a vim/boot/grub2/grub.cfg command to open the starting configuration file, and inputting an 'i' to start the editing function of the starting configuration file.
(2) Adding the basic code of the notification type hot plug to a designated position in the starting configuration file, and storing;
the basic code of the notification hot plug takes "pciehp.pciehp_force=1pci=pcie_bus_perf" as an example (other code forms can be referred to in this embodiment), and "pciehp.pciehp_force=1pci=pcie_bus_perf" needs to be added in the start configuration file to implement the addition of the notification hot plug function.
Specifically, the specific addition rule of the code in the start configuration file may refer to the relevant setting rule of the start configuration file, which is not described herein again, in this embodiment, the specific addition location of the base code of the notification type hot plug is introduced by using the specific code of the start configuration file, and the specific code of the start configuration file of the base code "pciehp.pciehp_force=1pci=pciebus_perf" of the notification type hot plug is as follows:
the "pciehp.pciehp_force=1pci=pcie_bus_perf" in the fourth row on the ellipses is the newly added basic code, and it should be noted that the added content needs to be in the same row as the above, and a space exists between the added content and the above, but the added content cannot be in line.
The script is saved and exits from the editing interface after modification, and the saving and exiting from editing can be specifically realized by sequentially pressing "Esc" on a keyboard, inputting wq and pressing "Enter", and is not limited herein.
(3) The operating system is restarted.
The configuration takes effect after restarting the operating system.
Correspondingly, under the configuration of implementing the notification hot plug function according to this step, a specific implementation manner of step s130 is as follows:
the operating system is informed to power down the erased SSD through echo 0>/sys/bus/pci/slots/$slot/power, and the operating system is informed to power up the erased SSD through echo 1 >/sys/bus/pci/slots/$slot/power.
One specific implementation of step s150 is as follows:
the operating system is informed to power down the SSD after being burnt through echo 0 >/sys/bus/pcb/slots/$slot/power, and the operating system is informed to power up the SSD after being burnt through echo 1 >/sys/bus/pcb/slots/$slot/power.
Where "$" in $ slot points to a firmware slot location, a replacement of $ may be made according to the slot location of the actual SSD firmware.
It should be noted that, the above steps need to be performed before downloading the SSD firmware to be burned, so as to implement the call to the notification hot plug function in downloading the SSD firmware to be burned.
Based on the above embodiment, in order to further ensure stable implementation of powering up and powering down of the SSD firmware, notification type hot plug work is invoked to power down and power up the SSD firmware, after power down, a preset period of time can be waited, power up is started again after power down is ensured, so that reset and loading failure caused by immediate power up after power down of the system is not completed are avoided, and stability of burning implementation of the SSD firmware is improved.
Specifically, the step of powering down and powering up the SSD firmware by calling the notification hot plug power in the process of burning the SSD firmware mainly includes two steps, step s130 and step s150, and accordingly,
step s130 calls a notification hot plug function preconfigured in the system to power down the SSD firmware, and the power-on reset specifically may be:
calling a notification type hot plug function pre-configured in a system to control SSD firmware to be powered down;
and after the power-down time reaches the preset time, calling a notification type hot plug function pre-configured in the system to control the SSD firmware to be powered on and reset.
Step s150 calls a notification type hot plug function pre-configured in the system to power down the SSD firmware, and power up the loading driver may specifically be:
calling a notification type hot plug function pre-configured in a system to control SSD firmware to be powered down;
and after the power-down time reaches the preset time, calling a notification type hot plug function pre-configured in the system to control the SSD firmware to power up and load the drive.
The preset time periods in the two steps can be the same or different, and specific time settings are not limited, for example, the operating system can be informed to power on the SSD after uniformly waiting for 10 seconds.
In the embodiment, the power-on is delayed after the power-off, so that the power-off of the system can be ensured, and the normal and stable operation of the system after the power-on is ensured.
In addition, based on the above embodiment, after the SSD firmware after the writing is obtained, in order to ensure the writing success rate, whether the SSD firmware is successfully written or not may be further detected, and a detection result is generated; and outputting a burning result according to the detection result.
After successful burning, the firmware is derived, if unsuccessful burning can be further performed, or prompt information of corresponding burning failure can be output, and the method is not limited.
The specific detection method is not limited herein, and reference may be made to the existing burn-in detection method. This step may not be performed, and is not limited thereto.
In the above description, taking a writing implementation process of an SSD firmware as an example, when there are a large number of SSD firmware to be written, the writing process of a single SSD firmware may be referred to, which may specifically be:
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 firmware under each address;
after receiving a firmware erasure completion notification of a certain address, the operating system generates a power-down notification according to the erased firmware address, wherein the power-down notification comprises the firmware address and a power-down command;
after waiting for a preset time period, the operating system generates a power-on notification according to the address of the firmware, wherein the power-on notification comprises the firmware address and a power-on command;
carrying out firmware burning on the firmware;
after receiving a firmware burning completion notification of a certain address, the operating system generates a power-down notification according to the address of the burned firmware, wherein the power-down notification comprises the firmware address and a power-down command;
after waiting for a preset time period, the operating system generates a power-on notification according to the address of the firmware, wherein the power-on notification comprises the firmware address and a power-on command;
check if the firmware is successfully burned.
Referring to fig. 2, fig. 2 is a block diagram of an SSD firmware burning device according to the present embodiment; the device mainly comprises: the device comprises 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 device provided by the embodiment can be mutually 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 erasure is completed;
the writing unit 240 is mainly used for writing the SSD firmware;
the second control unit 250 is mainly configured to call a notification hot plug function configured in the system in advance to power down the SSD firmware after the burning is completed, and power up and load the drive to obtain the SSD firmware after the burning is completed.
Optionally, the SSD firmware burning device provided in the embodiment may further include: a configuration unit including:
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 appointed 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 the embodiment includes:
the first lower electronic control subunit is used for calling a notification type hot plug function pre-configured in the system to control the SSD firmware to be powered down;
and the first power-on control subunit is used for calling a notification type hot plug function pre-configured in the system to control the SSD firmware to be powered on and reset after the power-off reaches the preset duration.
Optionally, the SSD firmware burning device provided in the embodiment may further include: the detection unit is used for detecting whether the SSD firmware is successfully burnt.
The SSD firmware burning device provided by the embodiment achieves the effect of automatically burning SSD firmware in batches by combining notification type hot plug (power-on and power-off) under a Linux system to replace manual hard disk plug. The labor and the test time are saved, and the test efficiency of the tester is improved.
The embodiment provides an SSD firmware burning device, which mainly includes: a memory and a processor.
Wherein the memory is used for storing programs;
the steps of the SSD firmware burning method described in the above embodiments may be specifically referred to the description of the SSD firmware burning method when the processor is configured to execute the program.
Referring to fig. 3, a schematic structural diagram of an SSD firmware writing device according to the present embodiment is provided, where the SSD firmware writing device may have a relatively large difference due to different configurations or performances, and may include one or more processors (central processing units, CPU) 322 (e.g., one or more processors) and a memory 332. Wherein the memory 332 may be transient storage or persistent storage. Still further, the central processor 322 may be configured to communicate with the memory 332 to execute a series of instruction operations in the memory 332 on the SSD firmware burning device 301.
SSD firmware burning device 301 can 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 the like.
The steps in the SSD firmware writing method described in fig. 1 above may be implemented by the structure of the SSD firmware writing device described in the present embodiment.
The embodiment discloses a readable storage medium, on which a program is stored, and the steps of the SSD firmware burning method described in the above embodiment are implemented when the program is executed by a processor.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, and the like.
In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
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 elements and steps are described above generally in terms of functionality in order to clearly illustrate the 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 solution. 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. The software modules may be disposed 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 method, the device, the equipment and the readable storage medium for burning SSD firmware provided by the application are described in detail above. Specific examples are set forth herein to illustrate the principles and embodiments of the present application, and the description of the examples above is only intended to assist in understanding the methods of the present application and their core ideas. It should be noted that it would be obvious to those skilled in the art that various improvements and modifications can be made to the present application without departing from the principles of the present application, and such improvements and modifications fall within the scope of the claims of the present application.

Claims (10)

1. The SSD firmware burning method 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 completed, calling a notification type hot plug function pre-configured in a system to power down the SSD firmware, and powering up and resetting;
burning the SSD firmware;
after the burning is finished, calling a notification type hot plug function pre-configured in a system to power down the SSD firmware, and powering up and loading a driver to obtain the SSD firmware after the burning is finished;
the downloading the SSD firmware to be burned includes: downloading a plurality of SSD firmware to be burned, and determining the installation address of each SSD firmware;
the performing an erase operation on the SSD firmware includes: performing an erase operation on the SSD firmware at each of the mounting addresses;
and after the erasing is completed, calling a notification type hot plug function pre-configured in a system to power down the SSD firmware and power up and reset, wherein the method comprises the following steps of: after receiving a firmware erasure completion notification of a certain installation address, the operating system generates a power-down notification according to the installation address of the erased SSD firmware; the power-down notification comprises a corresponding installation address and a power-down command; after waiting for a preset time period, the operating system generates a power-on notification according to the installation address of the SSD firmware after the erasing is completed; the power-on notification comprises a corresponding installation address and a power-on command.
2. The SSD firmware burning method of claim 1, further comprising, prior to downloading the SSD firmware to be burned:
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 the appointed position in the starting configuration file, and storing;
the operating system is restarted.
3. The SSD firmware burning 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 pre-configured in a system to control the SSD firmware to be powered down;
and after the power-down time reaches the preset time, calling a notification type hot plug function pre-configured in the system to control the SSD firmware to be powered on and reset.
4. The SSD firmware burning method of claim 1, further comprising, after obtaining the burned SSD firmware:
detecting whether the SSD firmware is successfully burnt 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 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 pre-configured in the system to power down the SSD firmware and resetting the SSD firmware after the erasing is completed;
the burning unit is used for burning the SSD firmware;
the second control unit is used for calling a notification type hot plug function pre-configured in the system to power down the SSD firmware after the burning is completed, and powering up and loading a drive to obtain the SSD firmware after the burning is completed;
the downloading unit is specifically configured to download a plurality of SSD firmware to be burned, and determine an installation address of each SSD firmware;
the erasing unit is specifically configured to perform an erasing operation on the SSD firmware under each of the installation addresses;
the first control unit is specifically configured to generate a power-down notification according to an installation address of the firmware of the SSD after the firmware erasure completion notification of a certain installation address is received by the operating system; the power-down notification comprises a corresponding installation address and a power-down command; after waiting for a preset time period, the operating system generates a power-on notification according to the installation address of the SSD firmware after the erasing is completed; the power-on notification comprises a corresponding installation address and a power-on command.
6. The SSD firmware burning apparatus 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 appointed 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 apparatus of claim 5, wherein the first control unit comprises:
the first lower electronic control subunit is used for calling a notification type hot plug function pre-configured in the system to control the SSD firmware to be powered down;
and the first power-on control subunit is used for calling a notification type hot plug function pre-configured in the system to control the SSD firmware to be powered on and reset after the power-off reaches the preset duration.
8. The SSD firmware burning apparatus of claim 5, further comprising: the detection unit is used for detecting whether the SSD firmware is successfully burnt 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 as recited in any one of claims 1 to 4 when executing the computer program.
10. A readable storage medium, wherein a program is stored on the readable storage medium, and the program when executed by a processor implements the steps of the SSD firmware burning method of any one of claims 1 to 4.
CN202010344760.XA 2020-04-27 2020-04-27 SSD firmware burning method and related components Active CN111552486B (en)

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 CN111552486A (en) 2020-08-18
CN111552486B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN113885899B (en) * 2021-10-25 2024-01-12 苏州浪潮智能科技有限公司 Solid state disk firmware burning method, device, 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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201301039A (en) * 2011-06-24 2013-01-01 Hon Hai Prec Ind Co Ltd System and method for burning firmware

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN111552486A (en) 2020-08-18

Similar Documents

Publication Publication Date Title
CN111552486B (en) SSD firmware burning method and related components
CN111414285A (en) Test method, test device and test equipment for starting function of server 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
CN111124509B (en) Server starting method and device
CN112216340A (en) Hard disk test method and device, storage medium and electronic equipment
CN111104271A (en) Stability testing method, device and equipment for in-band firmware updating process
CN108829403B (en) Solid state disk programming method, device, equipment and storage medium
CN107357608B (en) Method, device and system for automatically installing operating system
CN112230962A (en) BIOS configuration storage method and system for processor platform
CN109117406B (en) PCIE hot plug test method, device, terminal and storage medium
CN109471665B (en) Method for automatically installing Windows operating system
CN116775413A (en) PCIE topology scanning method, device, equipment and readable storage medium
CN111367745A (en) Memory pressure testing method and system without support of operating system and related components
CN111310160A (en) WINDOWS automatic login deployment method, device, computer equipment and storage medium
CN116627513A (en) Method and device for starting boot of computer
CN113986635B (en) BIOS testing method, system, storage medium and device
CN114153507A (en) Control method and device and storage medium
CN111400113B (en) Complete machine self-checking method, device and system of computer system
CN114461458A (en) Server memory test method, system, terminal and storage medium
CN113867770A (en) In-band FPGA (field programmable Gate array) upgrading method, device, equipment and storage medium
CN111142954B (en) Startup control method and device and computer readable storage medium
CN113608939A (en) Server starting timing method, device, terminal and storage medium in performance test
CN111414201A (en) PCIe card loading method, device, equipment and storage medium
CN111694727A (en) Network card firmware upgrading and downgrading test method, system, terminal 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
GR01 Patent grant
GR01 Patent grant