CN109976958B - Method and device for improving firmware test efficiency and storage medium - Google Patents

Method and device for improving firmware test efficiency and storage medium Download PDF

Info

Publication number
CN109976958B
CN109976958B CN201910232557.0A CN201910232557A CN109976958B CN 109976958 B CN109976958 B CN 109976958B CN 201910232557 A CN201910232557 A CN 201910232557A CN 109976958 B CN109976958 B CN 109976958B
Authority
CN
China
Prior art keywords
firmware
version number
version
new
selecting
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
CN201910232557.0A
Other languages
Chinese (zh)
Other versions
CN109976958A (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.)
Shenzhen Union Memory Information System Co Ltd
Original Assignee
Shenzhen Union Memory Information System 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 Shenzhen Union Memory Information System Co Ltd filed Critical Shenzhen Union Memory Information System Co Ltd
Priority to CN201910232557.0A priority Critical patent/CN109976958B/en
Publication of CN109976958A publication Critical patent/CN109976958A/en
Application granted granted Critical
Publication of CN109976958B publication Critical patent/CN109976958B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method, a device and a storage medium for improving the test efficiency of firmware, wherein the method comprises the following steps: powering on the chip and operating BootLoader; the BootLoader reads the firmware version number information stored in the memory; and selecting and loading the corresponding firmware according to the version number of the firmware to be loaded. The scheme stores the tested firmware in the continuous memory space in the SSD, does not cover the solid-state information used before, but stores the tested firmware in the subsequent continuous memory space and numbers the tested firmware, can conveniently select all the used firmware before according to different test environments and test requirements, does not need to be downloaded again, and improves the firmware test efficiency of the SSD.

Description

Method and device for improving firmware test efficiency and storage medium
Technical Field
The invention relates to the field of solid state disks, in particular to a method, a device and a storage medium for improving firmware test efficiency.
Background
FW, English full name: firmware, Chinese name: firmware and FW have a very important influence on the performance of a solid state disk, and FW of different versions has a direct influence on the performance of the solid state disk. An entirely new FW may be an optimization and improvement of the FW of the previous solid state disk, for example, to make up for the bug or the performance of the previous FW being not excellent enough, or may be different advantages and disadvantages between two different versions of FW.
In the stage of solid state disk research and design, FWs of different versions or parameter configurations need to be configured to test the performance of the solid state disk. As shown in fig. 1, in the current test environment, the existing solution is to overwrite the FW information of the previous version every time the new version FW is replaced, and to restart the new version FW in power failure and use a special tool to download the new version FW and overwrite the original FW information, if the FW of the previous version is to be tested again, the new version needs to be downloaded again by the special tool, which is time-consuming and labor-consuming.
Therefore, it is necessary to provide a method, an apparatus and a storage medium for improving the firmware testing efficiency of a solid state disk.
Disclosure of Invention
In order to solve the above-mentioned drawbacks of the prior art, an object of the present invention is to provide a method, an apparatus and a storage medium for improving firmware testing efficiency.
In order to achieve the purpose, the technical scheme of the invention is as follows:
a method for improving firmware testing efficiency comprises the following steps:
powering on the chip and operating BootLoader;
the BootLoader reads the firmware version number information stored in the memory;
and selecting and loading the corresponding firmware according to the version number of the firmware to be loaded.
Further, after the step of selecting and loading the firmware according to the firmware version number to be loaded, the method includes,
judging whether the firmware is started normally;
if the starting fails, automatically polling the firmware version number and selecting the next firmware version number;
if the starting is successful, judging whether to add a new version firmware;
and if so, downloading the new version firmware and storing the new version firmware in the memory.
Further, after the step of associating the new version firmware with the uniquely corresponding firmware version number, the steps of associating the new version firmware with the uniquely corresponding firmware version number include,
associating the firmware version number uniquely corresponding to the new version firmware;
and dynamically binding the firmware version number and the firmware storage memory base address.
Further, the chip is powered on, and the step of operating BootLoader comprises,
powering up the chip and starting BootRom;
BootRom reads from the Nor memory and runs BootLoader.
Further, after the step of selecting and loading the corresponding firmware according to the firmware version number to be loaded, the method comprises,
judging whether the firmware version is replaced or not;
and if the firmware version number is replaced, selecting the firmware version number to be replaced, and selecting and loading the corresponding firmware according to the firmware version number.
The invention also provides a device for improving the firmware testing efficiency, which comprises:
the power-on operation unit is used for powering on the chip and operating the BootLoader;
the number acquisition unit is used for reading firmware version number information stored in the memory by the BootLoader;
and the selective loading unit is used for selecting and loading the corresponding firmware according to the version number of the firmware to be loaded.
Further, the method also comprises the following steps: the starting judging unit is used for judging whether the firmware is started normally;
the number polling unit is used for automatically polling the firmware version number and selecting the next firmware version number when the firmware fails to start;
the newly-added judging unit is used for judging whether to add new-version firmware or not when the firmware is successfully started;
and the newly added storage unit is used for downloading the new version firmware and storing the new version firmware in the memory when the new version firmware is added.
Further, the method also comprises the following steps: the number association unit is used for associating the new firmware version with the unique corresponding firmware version number;
and the address binding unit is used for dynamically binding the firmware version number and the memory base address stored by the firmware.
Further, still include: a replacement judging unit for judging whether to replace the firmware version; and when the firmware is replaced, selecting the firmware version number to be replaced, and selecting and loading the corresponding firmware according to the firmware version number.
The present invention is a non-transitory computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements a method for improving firmware test efficiency as described in any of the above.
The invention has the beneficial effects that: the scheme stores the tested firmware in the continuous memory space in the SSD, does not cover the solid-state information used before, but stores the tested firmware in the subsequent continuous memory space and numbers the tested firmware, can conveniently select all the used firmware before according to different test environments and test requirements, does not need to be downloaded again, and improves the firmware test efficiency of the SSD.
Drawings
FIG. 1 is a flowchart illustrating a method for loading firmware on a solid state disk according to the related art;
FIG. 2 is a flowchart illustrating a method for improving firmware testing efficiency according to the present invention;
FIG. 3 is another flowchart of a method for improving firmware testing efficiency according to the present invention;
FIG. 4 is a flowchart illustrating steps of determining whether to change firmware versions according to the present invention;
FIG. 5 is a flowchart of the steps of powering on the chip and operating BootLoader according to the present invention;
FIG. 6 is a flow chart of a verse application of the method for improving firmware test efficiency of the present invention;
FIG. 7 is a schematic block diagram illustrating an apparatus for improving firmware test efficiency according to the present invention.
Detailed Description
For the purpose of illustrating the spirit and objects of the present invention, the present invention will be further described with reference to the accompanying drawings and specific embodiments.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
It should be noted that all directional indicators (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship between the components, the motion situation, etc. in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly, and the connection may be a direct connection or an indirect connection.
In addition, the descriptions related to "first", "second", etc. in the present invention are only for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between the embodiments may be combined with each other, but must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory to each other or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
In this specification, "/" denotes "or" unless otherwise specified.
BootRom refers to a program for loading bootloader from nor.
Nor memory is a non-volatile flash memory technology.
The Bootloader is a first section of code executed by the embedded system after power-on, after the embedded system completes initialization of the CPU and related hardware, the operating system image or the solidified embedded application program is installed in the memory and then jumps to the space where the operating system is located, and the operating system is started to run.
FW (english full name: Firmware, chinese: Firmware), Firmware version is an aspect that affects performance of a hard disk, a completely new FW is optimization and improvement of FW of a previous hard disk, and may be to make up for bug or poor performance problem existing in the previous FW, or different advantages and disadvantages between two different FWs, for example, one FW version has good performance but high energy consumption, and another FW version has less outstanding performance but low energy consumption, so that each FW version has its own features.
PCIE is a peripheral component interconnect express, which is a high-speed serial computer expansion bus standard.
Referring to fig. 2-6, the present invention provides a method for improving firmware testing efficiency, comprising the following steps:
s10, electrifying the chip and operating BootLoader;
s20, the BootLoader reads the firmware version number information stored in the memory;
and S30, selecting and loading the corresponding firmware according to the version number of the firmware to be loaded.
For step S10, power is supplied to the chip, BootRom is started, BootRom reads from Nor memory and runs Bootloader, which may be used to subsequently read and load different versions of firmware to test the SSD.
Referring to fig. 5, step S10 includes the steps of:
and S11, powering on the chip and starting BootRom.
And S12, BootRom reads from the Nor memory and operates BootLoader.
For step S20, in the current testing environment, the existing solution is to overwrite the information of the previous version of firmware each time the new version of firmware is replaced, and if it is desired to test the previous version of firmware, it is necessary to download the previous version of firmware again with a special tool, which is time-consuming and labor-consuming.
In the scheme, when the new version of firmware is loaded and run, the attachment of the previous version is not covered, but the previous version of firmware is stored in a continuous memory space, and all versions of firmware are numbered. In actual use, the version number of the firmware to be loaded can be modified by sending the modification request through the host according to the test environment and the test requirements, all the tested versions of the firmware are called, and the firmware resources do not need to be downloaded again for switching. Therefore, when the firmware of the old version needs to be loaded, the firmware of the corresponding version can be directly obtained from the memory space according to the firmware version number information without special downloading by using a special tool, and the testing efficiency is improved.
Specifically, the continuous memories with a certain size are used for storing the firmware information and the firmware version numbers of all the test versions. The stored firmware information is obtained by reading the firmware version number information in the memory in advance and is used for selecting and loading the firmware version number to be loaded subsequently.
For step S30, BootLoader acquires the FW version number to be loaded from the instruction sent by the host, and then loads the firmware from the memory and runs the firmware according to the FW version number information to be loaded. The firmware of each test version is associated with a version number corresponding to the displacement, the number is used as the firmware ID of the version, the corresponding firmware can be directly obtained through the ID, and the firmware is loaded and run through BootLoader for testing.
Referring to fig. 3, after step S30, including,
s40, judging whether the firmware is normally started;
s41, if the start fails, automatically polling the firmware version number, and selecting the next firmware version number;
s42, if the start is successful, judging whether to add new firmware;
and S43, if the firmware is added, downloading the new version firmware and storing the new version firmware in the memory.
S44, associating the new version firmware with the unique corresponding firmware version number;
and S45, dynamically binding the firmware version number and the memory base address stored by the firmware.
With respect to steps S40-S43, after the firmware loading is completed, a determination is made as to the firmware boot state, and how to process the firmware file is determined according to the firmware boot state. And when the firmware fails to be started, automatically polling the next firmware version number, automatically updating the firmware version number to be loaded, and reloading the corresponding firmware through the BootLoader for running. When the firmware is normally started, the determination of step S42 needs to be further performed to further determine that the normally running firmware is added to a new version of firmware, and if the same version of firmware does not exist in the memory, the new version of firmware is added and downloaded to be stored in the memory for subsequent continuous calling.
For steps S44 and S45, when the new firmware version is stored in the corresponding memory, a unique corresponding firmware version number is automatically associated with the new firmware version, and the information of the new firmware version is sequentially stored in the specified continuous memory area, the firmware of all versions is sequentially stored, each firmware occupies a continuous space, and the base address of the firmware storage memory allocated to the firmware is dynamically bound to the firmware version number, so that the corresponding firmware information can be found through the firmware version number during loading, the firmware loading process is accelerated, and the firmware loading efficiency is improved.
The firmware version number corresponds to the firmware one by one, the firmware version number corresponds to the memory base address one by one, the memory base address can be obtained through the firmware version number, the corresponding firmware is directly loaded according to the memory base address for testing, the firmware is restarted after all electricity is not needed, and a special tool is used for downloading the new firmware.
Referring to fig. 4, step S30 is followed by the following steps:
and S50, judging whether the firmware version is replaced.
And S51, if the firmware is replaced, selecting the firmware version number to be replaced, and selecting and loading the corresponding firmware according to the firmware version number.
For steps S50-S51, after the firmware loading is completed, according to the requirement of the test, the firmware version number to be replaced may be selected and used as the new firmware version number to be loaded, so as to implement the replacement of the firmware version, and it is not necessary to use a special tool to download the firmware, and it is also not necessary to restart the solid state disk.
Specifically, referring to fig. 6, a specific application embodiment of the method for improving firmware test efficiency according to the present invention is provided, which includes the following specific steps:
1. and electrifying the chip, starting BootRom, and executing the flow 2 in the next step.
2. And reading the Bootrom from the NorFlash, operating the Bootlloader, and executing the flow 3 in the next step.
3. And the Bootloader reads the firmware version number information stored in the memory space, and then executes the flow 4.
4. The FW information to be loaded is selected according to the firmware version number to be loaded, and the flow 5 is executed next.
5. Judging the FW starting condition: starting normally, and executing a flow 6 in the next step; the start fails and the process 12 is executed next.
6. Judging whether a new version FW is added: if yes, the next step is to execute the flow 7; otherwise, the next step is to execute the process 10.
7. And downloading the FW of the new version through PCIE, and automatically allocating the memory space. The next step is execution of the flow 8.
8. To the assigned firmware version number of the newly added FW, the flow 9 is executed next.
9. The firmware version number and the memory base address stored in the FW are dynamically bound, and the process 10 is executed next.
10. Judging whether FW is switched or not: if yes, the next step is executed in the flow 11; otherwise, the next step is to execute the flow 13.
11. And changing the value of the memory where the firmware version number to be loaded is located, selecting the FW number to be loaded, and executing the flow 4 next.
12. And automatically polling the firmware version number to be loaded, and automatically selecting the next firmware version number.
13. FW continues normal operation.
Wherein FW is firmware and Flash is memory.
The scheme stores the tested firmware in the continuous memory space in the SSD, does not cover the solid-state information used before, but stores the tested firmware in the subsequent continuous memory space and numbers the tested firmware, can conveniently select all the used firmware before according to different test environments and test requirements, does not need to be downloaded again, and improves the firmware test efficiency of the SSD.
Referring to fig. 7, the present invention further provides an apparatus for improving firmware testing efficiency, including:
and the power-on operation unit 10 is used for powering on the chip and operating the BootLoader.
And the number obtaining unit 20 is used for the BootLoader to read the firmware version number information stored in the memory.
And the selective loading unit 30 is used for selecting and loading the corresponding firmware according to the version number of the firmware to be loaded.
And a start judging unit 40 for judging whether the firmware is normally started.
A number polling unit 41, configured to automatically poll the firmware version number and select the next firmware version number when the firmware fails to start.
And the new judgment unit 50 is used for judging whether to add new firmware when the firmware is successfully started.
And the newly-added storage unit 60 is used for downloading the new firmware version and storing the new firmware version in the memory when the new firmware version is added.
And the number association unit 61 is used for associating the new firmware version with the uniquely corresponding firmware version number.
And the address binding unit 62 is used for dynamically binding the firmware version number and the memory base address stored in the firmware.
And a replacement judging unit 70 for judging whether to replace the firmware version, selecting a firmware version number to be replaced when replacing, and selecting and loading the corresponding firmware according to the firmware version number.
For the power-on operation unit 10, the chip is powered on, BootRom is started, BootRom reads from the Nor memory and operates Bootloader, and Bootloader can be used for subsequently reading and loading different versions of firmware to test the SSD.
For the number obtaining unit 20, in the current testing environment, the existing solution is to overwrite the information of the previous version of firmware each time the new version of firmware is replaced, and if it is desired to test the previous version of firmware, it needs to download the previous version of firmware again by using a special tool, which is time-consuming and labor-consuming.
In the scheme, when the new version of firmware is loaded and run, the attachment of the previous version is not covered, but the previous version of firmware is stored in a continuous memory space, and all versions of firmware are numbered. In actual use, the version number of the firmware to be loaded can be modified by sending the modification request through the host according to the test environment and the test requirements, all the tested versions of the firmware are called, and the firmware resources do not need to be downloaded again for switching. Therefore, when the firmware of the old version needs to be loaded, the firmware of the corresponding version can be directly obtained from the memory space according to the firmware version number information without special downloading by using a special tool, and the testing efficiency is improved.
Specifically, the continuous memory with a certain size is used for storing the firmware information and the firmware version numbers of all test versions. The stored firmware information is obtained by reading the firmware version number information in the memory in advance and is used for selecting and loading the firmware version number to be loaded subsequently.
For the selective loading unit 30, BootLoader acquires the FW version number to be loaded from the instruction sent by the host, and then correspondingly loads the firmware from the memory according to the FW version number information to be loaded and runs. The firmware of each test version is associated with a version number corresponding to the displacement, the number is used as the firmware ID of the version, the corresponding firmware can be directly obtained through the ID, and the firmware is loaded and run through a BootLoader for testing.
With respect to the start-up judging unit 40, the number polling unit 41, the newly added judging unit 50, and the newly added storing unit 60, after the firmware loading is completed, the firmware start-up state is judged, and how to process the firmware file is judged according to the firmware start-up state. And when the firmware fails to be started, automatically polling the next firmware version number, automatically updating the firmware version number to be loaded, and reloading the corresponding firmware through the BootLoader for running. When the firmware is normally started, further judgment is needed, the normally running firmware is further increased to be a new version firmware, if the same version of firmware does not exist in the memory, the new version firmware is added and downloaded to be stored in the memory for subsequent continuous calling.
For the number association unit 61 and the address binding unit 62, when the new firmware version is stored in the corresponding memory, a unique corresponding firmware version number is automatically associated with the new firmware version, and the information of the new firmware version is sequentially stored in the specified continuous memory area, the firmware of all versions is sequentially stored, each firmware occupies a continuous space, and the base address of the firmware storage memory allocated to the firmware is dynamically bound with the firmware version number, so that the corresponding firmware information can be found through the firmware version number during loading, the firmware loading process is accelerated, and the firmware loading efficiency is improved.
The firmware version number corresponds to the firmware one by one, the firmware version number corresponds to the memory base address one by one, the memory base address can be obtained through the firmware version number, the corresponding firmware is directly loaded according to the memory base address for testing, the firmware is restarted after all electricity is not needed, and a special tool is used for downloading the new firmware.
For the replacement judging unit 70, after the firmware loading is completed, the firmware version number to be replaced can be selected according to the test requirement, and is used as the new firmware version number to be loaded, so that the replacement of the firmware version is realized, a special tool is not required to be used for downloading the firmware, and the solid state disk is not required to be restarted.
The scheme stores the tested firmware in the continuous memory space in the SSD, does not cover the solid-state information used before, but stores the tested firmware in the subsequent continuous memory space and numbers the tested firmware, can conveniently select all the used firmware before according to different test environments and test requirements, does not need to be downloaded again, and improves the firmware test efficiency of the SSD.
Specifically, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method for improving firmware test efficiency. The storage medium may be an internal storage unit of the server, such as a hard disk or a memory of the server. The storage medium may also be an external storage device of the device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the device. Further, the storage medium may also include both an internal storage unit and an external storage device of the apparatus.
The scheme stores the tested firmware in the continuous memory space in the SSD, does not cover the solid-state information used before, but stores the tested firmware in the subsequent continuous memory space and numbers the tested firmware, can conveniently select all the used firmware before according to different test environments and test requirements, does not need to be downloaded again, and improves the firmware test efficiency of the SSD.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (3)

1. A method for improving firmware testing efficiency is characterized by comprising the following steps:
powering on the chip and operating BootLoader;
the BootLoader reads the firmware version number information stored in the memory;
selecting and loading the corresponding firmware according to the version number of the firmware to be loaded; wherein the content of the first and second substances,
after the step of selecting and loading the firmware according to the version number of the firmware to be loaded, judging whether the firmware is normally started;
if the starting fails, automatically polling the firmware version number and selecting the next firmware version number;
if the starting is successful, judging whether to add a new version firmware;
if yes, downloading the new version firmware and storing the new version firmware in the memory;
after the step of downloading the new version firmware, which is stored in the memory, comprises,
associating the firmware version number uniquely corresponding to the new version firmware;
dynamically binding the firmware version number and the firmware storage memory base address;
the chip is powered on, and the BootLoader is operated, including,
powering up the chip and starting BootRom;
BootRom reads from the Nor memory and operates BootLoader;
after the step of selecting and loading the corresponding firmware according to the firmware version number to be loaded, judging whether the firmware version is changed;
and if the firmware version number is replaced, selecting the firmware version number to be replaced, and selecting and loading the corresponding firmware according to the firmware version number.
2. An apparatus for improving firmware testing efficiency, comprising:
the power-on operation unit is used for powering on the chip and operating the BootLoader;
the number acquisition unit is used for reading firmware version number information stored in the memory by the BootLoader;
the selective loading unit is used for selecting and loading the corresponding firmware according to the version number of the firmware to be loaded;
the starting judging unit is used for judging whether the firmware is started normally;
the number polling unit is used for automatically polling the firmware version number and selecting the next firmware version number when the firmware fails to start;
the newly-added judging unit is used for judging whether to add new-version firmware or not when the firmware is successfully started;
the newly-added storage unit is used for downloading the new firmware version and storing the new firmware version in the memory when the new firmware version is added;
the number association unit is used for associating the new firmware version with the unique corresponding firmware version number;
the address binding unit is used for dynamically binding the firmware version number and the memory base address stored by the firmware;
a replacement judging unit for judging whether to replace the firmware version; and when the firmware is replaced, selecting the firmware version number to be replaced, and selecting and loading the corresponding firmware according to the firmware version number.
3. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the method for improving firmware test efficiency as claimed in claim 1.
CN201910232557.0A 2019-03-26 2019-03-26 Method and device for improving firmware test efficiency and storage medium Active CN109976958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910232557.0A CN109976958B (en) 2019-03-26 2019-03-26 Method and device for improving firmware test efficiency and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910232557.0A CN109976958B (en) 2019-03-26 2019-03-26 Method and device for improving firmware test efficiency and storage medium

Publications (2)

Publication Number Publication Date
CN109976958A CN109976958A (en) 2019-07-05
CN109976958B true CN109976958B (en) 2022-06-07

Family

ID=67080664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910232557.0A Active CN109976958B (en) 2019-03-26 2019-03-26 Method and device for improving firmware test efficiency and storage medium

Country Status (1)

Country Link
CN (1) CN109976958B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282442B (en) * 2021-07-22 2021-11-02 翱捷科技(深圳)有限公司 Method and system for automatically calibrating and downloading preset firmware at high speed in chip mass production
CN113821434A (en) * 2021-09-09 2021-12-21 摩拜(北京)信息技术有限公司 Firmware upgrade test method and device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023910A (en) * 2009-09-10 2011-04-20 英业达股份有限公司 Detection method for firmware switching
JP2011128702A (en) * 2009-12-15 2011-06-30 Sharp Corp Image forming apparatus and update method for firmware to be used for the same apparatus
CN106897222A (en) * 2017-02-23 2017-06-27 上海与德信息技术有限公司 TP firmwares changing method and device
CN107632841A (en) * 2017-07-31 2018-01-26 郑州云海信息技术有限公司 A kind of startup method for supporting multiple storage system FW versions
CN108733517A (en) * 2018-06-05 2018-11-02 深圳忆联信息系统有限公司 SSD firmware upgrades guard method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3562563B2 (en) * 1998-06-12 2004-09-08 ティアック株式会社 Data storage device using exchangeable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023910A (en) * 2009-09-10 2011-04-20 英业达股份有限公司 Detection method for firmware switching
JP2011128702A (en) * 2009-12-15 2011-06-30 Sharp Corp Image forming apparatus and update method for firmware to be used for the same apparatus
CN106897222A (en) * 2017-02-23 2017-06-27 上海与德信息技术有限公司 TP firmwares changing method and device
CN107632841A (en) * 2017-07-31 2018-01-26 郑州云海信息技术有限公司 A kind of startup method for supporting multiple storage system FW versions
CN108733517A (en) * 2018-06-05 2018-11-02 深圳忆联信息系统有限公司 SSD firmware upgrades guard method and device

Also Published As

Publication number Publication date
CN109976958A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN110231952B (en) ECU program backup and cyclic upgrade control method and device
US7676671B2 (en) System for multi-profile boot selection of an embedded device
US9298470B2 (en) Method and apparatus for selecting bios program for a processor
US20140325496A1 (en) Apparatus and method for firmware upgrade using usb
CN109408122B (en) Equipment starting method, electronic equipment and computer storage medium
CN103631674A (en) FPGA embedded in CPU and starting method thereof
CN109976958B (en) Method and device for improving firmware test efficiency and storage medium
WO2012071852A1 (en) Method and apparatus for upgrading bootstrap program
WO2019156062A1 (en) Information processing system, information processing device, bios updating method for information processing device, and bios updating program for information processing device
CN111240753A (en) Loading method of bootstrap program, storage medium and embedded terminal
CN111026417A (en) Embedded equipment upgrading method and embedded equipment
JP2002288104A (en) Computer system, and method and program for its resource assigning
KR20130068630A (en) Method for initializing embedded device and apparatus thereof
CN108733517A (en) SSD firmware upgrades guard method and device
US9223697B2 (en) Computer reprogramming method, data storage medium and motor vehicle computer
CN112162794A (en) Single board starting method, device, single board and network equipment
CN116301973A (en) Firmware upgrading method, device, equipment and readable storage medium
JP2010218103A (en) Electronic apparatus
CN112650513B (en) Program upgrading method, device, computer equipment and storage medium
CN109582370B (en) Starting method and device of NOR FLASH embedded equipment
CN107247642B (en) Method and device for determining executable mapping file during system startup
CN109656720B (en) Address space allocation method and device
JP2012103945A (en) Program processing device
CN114385255B (en) POS machine control method, POS machine control system, POS machine control device and computer readable medium
CN110007973B (en) Information processing method and electronic equipment

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