CN114090051A - eMMC firmware version online upgrading method, device, computer equipment and storage medium - Google Patents

eMMC firmware version online upgrading method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN114090051A
CN114090051A CN202111445959.2A CN202111445959A CN114090051A CN 114090051 A CN114090051 A CN 114090051A CN 202111445959 A CN202111445959 A CN 202111445959A CN 114090051 A CN114090051 A CN 114090051A
Authority
CN
China
Prior art keywords
windows
firmware version
driver
updating
emmc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111445959.2A
Other languages
Chinese (zh)
Inventor
曹鹏
李杨
曾志伟
倪永俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202111445959.2A priority Critical patent/CN114090051A/en
Publication of CN114090051A publication Critical patent/CN114090051A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The application relates to an eMMC firmware version online upgrading method, device, computer equipment and storage medium, wherein the method comprises the following steps: preparing an eMMC firmware version online updating tool and a Windows installation information driver, and digitally signing the driver; generating a driver package by using a WHLK environment test program and a tool and submitting the driver package; after the driver package is issued to a Windows update test, a test machine is set up to carry out the Windows update test; formally releasing the driver package to Windows update after the update test is passed; and updating the eMMC firmware version on line on the Windows platform in a Windows updating mode. The proposal provided by the invention can simultaneously upgrade a large amount of eMMC storage equipment firmware on the Windows platform in a Windows updating mode, can reduce the time required by a large amount of platform updating requirements, and effectively improves the firmware updating efficiency.

Description

eMMC firmware version online upgrading method, device, computer equipment and storage medium
Technical Field
The invention relates to the technical field of computer storage, in particular to an eMMC firmware version online upgrading method and device, computer equipment and a storage medium.
Background
The emmc (embedded Multi Media card) is the standard specification of the embedded memory, which is established by the MMC association and mainly aims at products such as mobile phones or tablet computers. The eMMC integrates a controller in a package, provides a standard interface, and manages flash memory, so that a handset manufacturer can concentrate on other parts of product development and shorten the time to market products. These features are equally important to NAND vendors who wish to reduce the size of the lithography and reduce cost.
At present, in the conventional technology, Windows platforms are started by using a Ubuntu system disk, and the eMMC firmware version online upgrade command compiled by using C language is used to manually upgrade the eMMC firmware. Because the command is manually input and executed, manual intervention is needed, and the platform needs to be restarted for many times, so that the upgrading efficiency is low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an eMMC firmware version online upgrade method, apparatus, computer device, and storage medium.
An eMMC firmware version online upgrading method comprises the following steps:
preparing an eMMC firmware version online updating tool and a Windows installation information driver, and digitally signing the driver;
generating a driver package by using a WHLK environment test program and a tool and submitting the driver package;
after the driver package is issued to a Windows update test, a test machine is set up to carry out the Windows update test;
formally releasing the driver package to Windows update after the update test is passed;
and updating the eMMC firmware version on line on the Windows platform in a Windows updating mode.
In one embodiment, after the steps of preparing the eMMC firmware version online update tool and the Windows installation information driver, and digitally signing the drivers, the method further includes:
testing and verifying the digitally signed driver and the update tool by using a testing machine;
and if the verification is passed, generating a driver package by using a WHLK environment test program and a tool and submitting the driver package.
In one embodiment, the step of generating a driver package and submitting the driver package using a WHLK environment test program and tool further comprises:
and logging in a Windows hardware center to submit the driver package.
In one embodiment, after the step of updating the eMMC firmware version online on the Windows platform by means of Windows update, the method further includes:
and checking that the firmware version updating is successful and ending.
An eMMC firmware version online upgrade apparatus, the apparatus comprising:
the system comprises a signature module, a storage module and a processing module, wherein the signature module is used for preparing an eMMC firmware version online updating tool and a Windows installation information driver and digitally signing the driver;
the generating module is used for generating a driver package by using a WHLK environment testing program and a tool and submitting the driver package;
the building module is used for building a testing machine to carry out Windows updating test after the driver package is issued to the Windows updating test;
the release module is used for formally releasing the driver package to Windows update after the update test is passed;
and the updating module is used for updating the eMMC firmware version on line on the Windows platform in a Windows updating mode.
In one embodiment, the apparatus further comprises a verification module configured to:
testing and verifying the digitally signed driver and the update tool by using a testing machine;
and if the verification is passed, generating a driver package by using a WHLK environment test program and a tool and submitting the driver package.
In one embodiment, the apparatus further comprises a commit module configured to:
and logging in a Windows hardware center to submit the driver package.
In one embodiment, the apparatus further comprises an inspection module configured to:
and checking that the firmware version updating is successful and ending.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the above methods when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of any of the methods described above.
The eMMC firmware version online upgrading method, the eMMC firmware version online upgrading device, the computer equipment and the storage medium carry out digital signature on a driver by preparing an eMMC firmware version online updating tool and a Windows installation information driver; generating a driver package by using a WHLK environment test program and a tool and submitting the driver package; after the driver package is issued to a Windows update test, a test machine is set up to carry out the Windows update test; formally releasing the driver package to Windows update after the update test is passed; and updating the eMMC firmware version on line on the Windows platform in a Windows updating mode. The proposal provided by the invention can simultaneously upgrade a large amount of eMMC storage equipment firmware on the Windows platform in a Windows updating mode, can reduce the time required by a large amount of platform updating requirements, and effectively improves the firmware updating efficiency.
Drawings
Fig. 1 is a schematic flow diagram of an eMMC firmware version online upgrade method in an embodiment;
fig. 2 is a flowchart illustrating an eMMC firmware version online upgrade method in another embodiment;
fig. 3 is a flowchart illustrating an eMMC firmware version online upgrade method according to yet another embodiment;
fig. 4 is a block diagram illustrating an online upgrade apparatus for an eMMC firmware version according to an embodiment;
fig. 5 is a block diagram of an eMMC firmware version online upgrade apparatus in another embodiment;
fig. 6 is a block diagram of an eMMC firmware version online upgrade apparatus in yet another embodiment;
fig. 7 is a block diagram of an eMMC firmware version online upgrade apparatus in yet another embodiment;
FIG. 8 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
At present, in the conventional technology, Windows platforms are started by using a Ubuntu system disk, and the eMMC firmware version online upgrade command compiled by using C language is used to manually upgrade the eMMC firmware. Because the command is manually input and executed, manual intervention is needed, and the platform needs to be restarted for many times, so that the upgrading efficiency is low.
Based on the scheme, the invention provides a new eMMC storage device for carrying out online firmware version upgrading on a Windows platform. After the program package for updating the firmware version is uploaded to Windows for updating, the Windows platform updates automatically, which is beneficial to reducing the time required by a large amount of platform updating requirements.
In one embodiment, as shown in fig. 1, there is provided an eMMC firmware version online upgrade method, including:
102, preparing an eMMC firmware version online updating tool and a Windows installation information driver, and digitally signing the driver;
104, generating a driver package by using a WHLK environment test program and a tool and submitting the driver package;
106, after the driver package is released to the Windows updating test, building a tester to perform the Windows updating test;
step 108, after the updating test is passed, the driver package is formally released and sent to Windows updating;
and step 110, updating the eMMC firmware version on line on the Windows platform in a Windows updating mode.
In this embodiment, an eMMC firmware version online upgrade method is provided, where an eMMC firmware version online upgrade tool is developed based on a Windows driver interface, and the tool is installed in a Windows update manner and incorporated into Windows service, so as to implement eMMC firmware online upgrade. The method comprises the following concrete implementation processes:
first, an eMMC firmware version online update tool and a Windows installation information driver are prepared, and the drivers are digitally signed. Specifically, Windows uses an installation Information (INF) file program and is edited and compiled by an eMMC firmware version online upgrade tool based on Powershell commands. The driver (INF file) is then digitally signed and verified.
And then, building a WHLK environment, testing the driver, creating a submission package and submitting the submission package at a Windows Hardware Center. Specifically, a driver package is generated and submitted using a WHLK environment test program and tool. And after the driver package is released to the Windows updating test, the testing machine is set up to carry out the Windows updating test. And after the updating test is passed, formally releasing the driver package to Windows updating.
And finally, updating the eMMC firmware version on line on the Windows platform in a Windows updating mode.
In the embodiment, an eMMC firmware version online updating tool and a Windows installation information driver are prepared, and digital signature is carried out on the driver; generating a driver package by using a WHLK environment test program and a tool and submitting the driver package; after the driver package is released to the Windows updating test, a testing machine is set up to carry out the Windows updating test; formally releasing the driver package to Windows update after the update test is passed; and updating the eMMC firmware version on line on the Windows platform in a Windows updating mode. According to the scheme, a large amount of firmware upgrading of the eMMC storage equipment on the Windows platform is carried out simultaneously in a Windows updating mode, so that the time required by a large amount of platform updating requirements can be reduced, and the firmware updating efficiency is effectively improved.
In one embodiment, as shown in fig. 2, there is provided an eMMC firmware version online upgrade method, including:
step 202, preparing an eMMC firmware version online updating tool and a Windows installation information driver, and digitally signing the driver;
step 204, testing and verifying the driver and the updating tool after the digital signature by using a testing machine;
step 206, if the verification is passed, a WHLK environment test program and a tool are used for generating a driver package, and the driver package is logged in a Windows hardware center to be submitted;
step 208, after the driver package is released to the Windows updating test, a testing machine is set up to carry out the Windows updating test;
step 210, after the update test is passed, the driver package is formally released and sent to Windows update;
step 212, updating the eMMC firmware version on line on a Windows platform in a Windows updating mode;
in step 214, the firmware version update is checked for success and ended.
In this embodiment, referring to fig. 3, a method for completely implementing online upgrade of an eMMC firmware version is provided, where the method specifically includes the following steps:
1. and preparing an eMMC firmware version online updating tool and a Windows installation information driver.
2. The driver is digitally signed.
3. The digitally signed programs and tools are test verified using a tester.
4. And if the test verification is successfully passed, using a WHLK environment test program and tool and generating a driver package.
5. Logging in Windows hardware center, and submitting a driver package.
6. And after the driver package is released to the Windows updating test, the testing machine is set up to carry out the Windows updating test.
7. And after the test is passed, formally releasing the driver package to Windows updating.
8. And updating the eMMC firmware version on line on the Windows platform in a Windows updating mode.
9. The FW update is checked to be successful and ended.
In the embodiment, the program package for updating the firmware version is uploaded to the Windows platform for updating, and then the Windows platform updates itself, which is beneficial to reducing the time required by a large amount of platform updating requirements.
It should be understood that although the various steps in the flow charts of fig. 1-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided an eMMC firmware version online upgrade apparatus 400, including:
a signature module 401, configured to prepare an eMMC firmware version online update tool and a Windows installation information driver, and digitally sign the driver;
a generation module 402 for generating and submitting a driver package using a WHLK environment test program and a tool;
a building module 403, configured to build a tester for performing a Windows update test after the driver package is issued to the Windows update test;
a publishing module 404, configured to publish the driver package to the Windows update formally after the update test passes;
and an update module 405, configured to update the eMMC firmware version online on the Windows platform in a Windows update manner.
In one embodiment, as shown in fig. 5, an eMMC firmware version online upgrade apparatus 400 is provided, the apparatus further comprising a verification module 406 to:
testing and verifying the digitally signed driver and the update tool by using a testing machine;
and if the verification is passed, generating a driver package by using a WHLK environment test program and a tool and submitting the driver package.
In one embodiment, as shown in fig. 6, an eMMC firmware version online upgrade apparatus 400 is provided, the apparatus further including a commit module 407 for:
and logging in a Windows hardware center to submit the driver package.
In one embodiment, as shown in fig. 7, an eMMC firmware version online upgrade apparatus 400 is provided, the apparatus further comprising a checking module 408 for:
and checking that the firmware version updating is successful and ending.
For specific limitations of the eMMC firmware version online upgrade apparatus, reference may be made to the above limitations of the eMMC firmware version online upgrade method, which is not described herein again.
In one embodiment, a computer device is provided, the internal structure of which may be as shown in FIG. 8. The computer apparatus includes a processor, a memory, and a network interface connected by a device bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The nonvolatile storage medium stores an operating device, a computer program, and a database. The internal memory provides an environment for the operation device in the nonvolatile storage medium and the execution of the computer program. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an eMMC firmware version online upgrade method.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method embodiments when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the above respective method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An eMMC firmware version online upgrading method is characterized by comprising the following steps:
preparing an eMMC firmware version online updating tool and a Windows installation information driver, and digitally signing the driver;
generating a driver package by using a WHLK environment test program and a tool and submitting the driver package;
after the driver package is issued to a Windows update test, a test machine is set up to carry out the Windows update test;
formally releasing the driver package to Windows update after the update test is passed;
and updating the eMMC firmware version on line on the Windows platform in a Windows updating mode.
2. The method for online upgrade of an eMMC firmware version according to claim 1, wherein after the steps of preparing an eMMC firmware version online upgrade tool and a Windows installation information driver, and digitally signing the driver, the method further comprises:
testing and verifying the digitally signed driver and the update tool by using a testing machine;
and if the verification is passed, generating a driver package by using a WHLK environment test program and a tool and submitting the driver package.
3. The eMMC firmware version online upgrade method of claim 2, wherein the step of generating a driver package and submitting the driver package using a WHLK environment test program and tool further comprises:
and logging in a Windows hardware center to submit the driver package.
4. The method for online upgrade of an eMMC firmware version according to any one of claims 1-3, further comprising, after the step of online updating the eMMC firmware version on the Windows platform by means of a Windows update:
and checking that the firmware version updating is successful and ending.
5. An eMMC firmware version online upgrade device, the device comprising:
the system comprises a signature module, a storage module and a processing module, wherein the signature module is used for preparing an eMMC firmware version online updating tool and a Windows installation information driver and digitally signing the driver;
the generating module is used for generating a driver package by using a WHLK environment testing program and a tool and submitting the driver package;
the building module is used for building a testing machine to carry out Windows updating test after the driver package is issued to the Windows updating test;
the release module is used for formally releasing the driver package to Windows update after the update test is passed;
and the updating module is used for updating the eMMC firmware version on line on the Windows platform in a Windows updating mode.
6. The eMMC firmware version online upgrade device of claim 5, further comprising a verification module to:
testing and verifying the digitally signed driver and the update tool by using a testing machine;
and if the verification is passed, generating a driver package by using a WHLK environment test program and a tool and submitting the driver package.
7. The eMMC firmware version online upgrade apparatus of claim 6, further comprising a commit module to:
and logging in a Windows hardware center to submit the driver package.
8. The eMMC firmware version online upgrade device of any of claims 5-7, further comprising a check module to:
and checking that the firmware version updating is successful and ending.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 4 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
CN202111445959.2A 2021-11-30 2021-11-30 eMMC firmware version online upgrading method, device, computer equipment and storage medium Pending CN114090051A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111445959.2A CN114090051A (en) 2021-11-30 2021-11-30 eMMC firmware version online upgrading method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111445959.2A CN114090051A (en) 2021-11-30 2021-11-30 eMMC firmware version online upgrading method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114090051A true CN114090051A (en) 2022-02-25

Family

ID=80306033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111445959.2A Pending CN114090051A (en) 2021-11-30 2021-11-30 eMMC firmware version online upgrading method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114090051A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023226670A1 (en) * 2022-05-24 2023-11-30 深圳市广和通无线股份有限公司 Esim firmware upgrade method and apparatus, and device and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023226670A1 (en) * 2022-05-24 2023-11-30 深圳市广和通无线股份有限公司 Esim firmware upgrade method and apparatus, and device and medium

Similar Documents

Publication Publication Date Title
CN111309364B (en) Chip program upgrading method and device and storage medium
CN100570558C (en) A kind of chip firmware updating method
CN109669708B (en) Remote upgrading method for modular Internet of things terminal equipment
US20180246713A1 (en) Method for programming vehicle electronic control modules
CN111813428A (en) Method and device for upgrading terminal firmware, electronic equipment and storage medium
CN114090051A (en) eMMC firmware version online upgrading method, device, computer equipment and storage medium
CN109766117A (en) One kind being based on DSP general-purpose platform online upgrading method
CN111277476A (en) Gateway controller function verification method, gateway controller function verification device, computer equipment and storage medium
CN112433769A (en) BMC starting method and device, computer equipment and storage medium
CN116312730A (en) UFS storage device monomer test driving method and device based on MT6891 platform
CN111338661A (en) Method for reversely upgrading BOOT of application program and storage medium
CN114003486A (en) Plug-in debugging method, client, server and storage medium
US20090210613A1 (en) Method for Programming a Controller in a Motor Vehicle
CN107766072A (en) Video card refreshes BIOS method under a kind of linux system
CN111338674A (en) Instruction processing method, device and equipment
CN113779348B (en) Drawing filing method, device, terminal and storage medium
CN109324807B (en) Charging module installation method and system of OpenStack
CN112650671B (en) Automatic test method, device and equipment for medical system
CN113539351A (en) Solid state hard disk controller identity testing method and device and computer equipment
CN112527336B (en) Operating system software installation method, device, equipment and storage medium
CN117311755A (en) Linux operating system upgrading method and device
CN114443079A (en) System module upgrading method, intelligent terminal and storage medium
CN114721935A (en) Test equipment sharing method and device based on cloud and electronic equipment
CN113377588A (en) Sustainable integration test method and device for hard disk and computer equipment
CN115617455A (en) K8S computing node capacity expansion method and device, computer equipment and computer readable 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