CN113791812B - Firmware upgrading method and storage device - Google Patents

Firmware upgrading method and storage device Download PDF

Info

Publication number
CN113791812B
CN113791812B CN202110881745.3A CN202110881745A CN113791812B CN 113791812 B CN113791812 B CN 113791812B CN 202110881745 A CN202110881745 A CN 202110881745A CN 113791812 B CN113791812 B CN 113791812B
Authority
CN
China
Prior art keywords
partition
upgrade
firmware
reserved
package
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
CN202110881745.3A
Other languages
Chinese (zh)
Other versions
CN113791812A (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.)
Rockchip Electronics Co Ltd
Original Assignee
Rockchip Electronics 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 Rockchip Electronics Co Ltd filed Critical Rockchip Electronics Co Ltd
Priority to CN202110881745.3A priority Critical patent/CN113791812B/en
Publication of CN113791812A publication Critical patent/CN113791812A/en
Application granted granted Critical
Publication of CN113791812B publication Critical patent/CN113791812B/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/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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1433Saving, restoring, recovering or retrying at system level during software upgrading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to the field of firmware upgrade technologies, and in particular, to a firmware upgrade method and a storage device. The firmware upgrading method comprises the following steps: acquiring a firmware upgrade package for first upgrade; performing a first upgrade, and adding a new partition at a preset position of the current device, wherein the new partition comprises: a reserved packet partition for: storing a firmware upgrade package of the second upgrade; and executing the second upgrade, reading a firmware upgrade package of the second upgrade, storing the firmware upgrade package into a device Memory, and performing upgrade operation based on the firmware upgrade package of the second upgrade in the device Memory. According to the method, the whole storage medium of the equipment is changed and upgraded under the condition that an external storage medium is not needed through twice firmware upgrading, random change of the partition table is supported, dependence on the external storage medium is overcome, and therefore firmware upgrading requirements of certain special scenes are met.

Description

Firmware upgrading method and storage device
Technical Field
The present invention relates to the field of firmware upgrade technologies, and in particular, to a firmware upgrade method and a storage device.
Background
The Firmware Over-the-Air (FOTA) Firmware Over-the-Air technology, i.e. the Firmware on-line upgrade technology, is to complete the upgrade of Firmware by the FOTA Firmware upgrade engine with the Firmware upgrade package as input.
The existing FOTA firmware upgrade schemes can be mainly divided into the following categories:
1. FOTA upgrading of the device physical partition table is not supported;
2. in the technical scheme for supporting the FOTA upgrade of the physical partition table of the equipment, two types of the following exist:
a. The first type of scheme supports partial partition table changes or supports some specific way of changing, such as the actual physical partition associated with the boot program cannot be changed or only the size of the existing partition can be adjusted. Most of the schemes need to use an external storage medium (SD/TF card or U disk), and part of the schemes do not need to use the external storage medium, only support partition adjustment in a specific mode, namely the partition where the firmware upgrade package is located is not changed.
B. The second class basically supports changes to any partition table. Such schemes generally require that the entire flash storage medium of the device be upgraded, so that the entire flash storage medium is invalid in the upgrading process, and cannot store any form of firmware upgrade package in the flash of the device, so that the firmware upgrade package needs to be stored by means of an external storage medium.
In certain specific scenarios, it is desirable to upgrade firmware in a device to firmware of a completely new platform by means of FOTA, in this process, any changes and upgrades need to be made to the physical partition table of the device, and in some scenarios, the device is not configured with external storage.
Along with rapid development and evolution of AIoT (intelligent internet of things) devices, the capacity of flash storage media and Memory (device Memory) matched in the devices is larger and larger, and functions are stronger and stronger, for example, the device Memory of AIoT devices based on an Android system is usually more than 2 GB. However, the FOTA firmware upgrade engine cannot directly use the Memory devices to store data such as the firmware upgrade package, because in the FOTA upgrade process, it is generally required to restart the device to enter an upgrade mode (such as an upgrade mode of an android), and in the device restart process, various DDR memories (Memory devices) are initialized normally, so that all the data in the Memory devices are invalid.
Meanwhile, the capacity of a Flash storage medium carried by the device is also larger and larger, and the capacity generally comprises 8GB, 16GB, 32GB, 64GB, 128GB, 512GB and more, but in the FOTA upgrading process of arbitrarily changing the partition table of the whole Flash storage medium, the whole Flash storage medium is invalid in the upgrading process, and any firmware upgrading packet cannot be stored in the Flash of the device.
Therefore, how to upgrade the firmware in a device to the firmware of a brand new platform in the FOTA mode without configuring external storage is a problem to be solved in the process of randomly changing and upgrading the physical partition table of the device.
Disclosure of Invention
Therefore, it is necessary to provide a firmware upgrade method to solve the technical problem that when the whole flash storage medium of the device needs to be arbitrarily changed and the FOTA supporting the arbitrary change of the partition table is upgraded, the whole flash storage medium is invalid in the upgrade process and cannot store any form of firmware upgrade package in the flash of the device, so that the firmware upgrade package needs to be stored by means of the external storage medium. The specific technical scheme is as follows:
A firmware upgrade method, comprising the steps of:
acquiring a firmware upgrade package for first upgrade;
Performing a first upgrade, and adding a new partition at a preset position of the current device, wherein the new partition comprises: a reserved packet partition for: storing a firmware upgrade package of the second upgrade;
And executing the second upgrade, reading a firmware upgrade package of the second upgrade, storing the firmware upgrade package into a device Memory, and performing upgrade operation based on the firmware upgrade package of the second upgrade in the device Memory.
Further, before the step of acquiring the firmware upgrade package for the first upgrade, the method further includes the steps of:
Making a first-time updated firmware upgrade package, wherein the content of the first-time updated firmware upgrade package comprises: a new upgrade mode complete mirror image file and a partition table configuration file;
The new upgrade mode complete image file includes a new instruction: before exiting the upgrade mode, checking whether a partition table change mark file exists in a reserved position, if so, reformatting a last user data partition of a partition table and re-establishing a file system, and meanwhile checking whether a device partition node has the reserved package partition node, and if so, formatting the reserved package partition to establish a readable and writable file system;
The partition table configuration file includes: the method comprises the steps that partition table information and a virtual partition mark are added, when the virtual partition mark is configured to be empty, a reserved packet partition is added in a partition table of current old firmware, the reserved packet partition is positioned after all firmware partitions of the current partition table and before the last user data partition, and the size of the reserved packet partition is larger than that of a firmware upgrading packet upgraded for the second time;
or when the virtual partition marker is not empty, the virtual partition marker includes: a first parameter, a second parameter, and a third parameter, the first parameter representing a virtual partition mode including, but not limited to: mode 1, mode 2, the second parameter represents the size of the firmware upgrade package of the second upgrade, and the third parameter represents the size of the memory space occupied by all partitions before the last user data area in the new platform firmware partition table to be upgraded.
Further, when the virtual partition mark is configured to be empty, the old partition table is provided with a reserved position, the reserved position is a non-encrypted readable and writable user data area, and the size of the reserved position is not smaller than the size of the difference packet;
the old partition table is provided with a guide communication partition which is used for communication among firmware in different stages;
the last partition of the old partition table is a user data partition;
If the firmware upgrade package of the first upgrade is a complete package, the firmware upgrade package of the first upgrade includes: if the firmware upgrade package of the first upgrade is a difference package, the firmware upgrade package of the first upgrade includes: the content of the difference file of the firmware in the firmware upgrading opposite equipment comprises: and mounting the instruction of the reserved packet partition after entering the system.
Further, before the step of performing the first upgrade, the method specifically further includes the steps of:
Judging whether the size of the firmware upgrade package of the first upgrade is larger than the available size of the reserved position of the device, if so, exiting the upgrade process, if not, backing up the content of the user data area in the last partition of the partition table of the current device to a network server according to the need, storing the firmware upgrade package of the first upgrade in the reserved position of the current device, issuing a first upgrade instruction, writing the first upgrade instruction and the path of the firmware upgrade package of the first upgrade into the position 1 of the guiding communication partition, and entering an upgrade mode.
Further, the step of performing the first upgrade adds a new partition at a preset position of the current device, where the new partition includes: reserved packet partition ", specifically further comprising the steps of:
Step S1: upgrading the new upgrade mode complete image file of the first upgrade firmware upgrade package;
Step S2: reading the content of the position 2 of the guiding communication partition, judging whether a successful mark exists, jumping to a step S3, and if not, upgrading a new partition table of the device according to a partition table configuration file in the firmware upgrade package upgraded for the first time, wherein the upgrading process of the new partition table of the device is as follows:
Step S201: analyzing the partition table configuration file, checking whether a virtual partition mark exists, and if the virtual partition mark does not exist or is empty, updating an old partition table in the device according to a new partition table in the partition table configuration file;
Step S202: if the virtual partition mark is not empty, 3 parameters in the virtual partition mark are further analyzed, whether the first parameter value is in a mode 1 or a mode 2 is checked, and if the first parameter value is not in the mode 1 or the mode 2, the old partition table in the device is updated according to the new partition table in the partition table configuration file;
When the first parameter is mode 1, checking whether a specific reserved packet partition exists in a new partition table in a partition table configuration file, if yes, updating an old partition table in equipment directly according to the new partition table in the partition table configuration file, if no reserved packet partition exists, firstly reading the old partition table in the current equipment, acquiring the starting address and the length of the last partition of the old partition table, if the sum of the starting address of the last partition and the second parameter is larger than the size of a flash space available to the equipment, exiting the upgrading, if the sum of the starting address of the last partition and the second parameter is not larger than the size of the flash space available to the equipment, inserting a reserved packet partition before the last partition of the partition table to be upgraded, wherein the starting address of the reserved packet partition is the starting address of the last partition of the old partition table acquired before, the length of the reserved packet partition is larger than the second parameter, and updating the starting address and the length of the last partition at the same time, and the new starting address is: the starting address of the reserved packet partition+the length of the reserved packet partition, and the new length is: the size of flash space available to the device- (the starting address of the reserved packet partition + the length of the reserved packet partition);
When the first parameter is mode 2, checking whether a new partition table in the partition table configuration file has a specific virtual partition and a reserved packet partition, and if the two partitions are all present, directly updating an old partition table in the device according to the new partition table in the partition table configuration file; otherwise, if the size sum of the third parameter and the second parameter is smaller than the available flash space size of the equipment, firstly reading an old partition table in the current equipment, obtaining the starting address and the length of the last partition of the old partition table, and then inserting two new partitions, namely a virtual partition and a reserved packet partition, before the last partition of the partition table to be upgraded, wherein the starting address of the virtual partition is 0, and the length is required to be larger than the maximum value between the third parameter and the starting address of the last partition of the old partition table obtained before; the starting address of the reserved packet partition is the starting address of the virtual partition plus the length of the virtual partition, and the length of the reserved packet partition is required to be larger than a second parameter; simultaneously updating the starting address and the length of the last partition, wherein the new starting address is as follows: the starting address of the reserved packet partition + the length of the reserved packet partition, the new length is: flash space size available to device-new starting address for the last partition;
If the third parameter+the second parameter > = the size of the flash space available to the device, reading an old partition table in the current device, acquiring the starting address and the length of the last partition of the old partition table, and if the starting address+the second parameter of the last partition > the size of the flash space available to the device, exiting the upgrading; otherwise, before the last partition of the partition table to be upgraded, a 'reserved packet partition' is inserted, the starting address of the 'reserved packet partition' is the starting address of the last partition of the old partition table acquired before, the partition length is required to be larger than the second parameter, the starting address and the length of the last partition are updated at the same time, and the new starting address is: the start address of the "reserved packet partition" plus the length of the "reserved packet partition", the new length is: the size of the flash space available to the device- ("starting address of reserved packet partition+" length of reserved packet partition ");
Step S203: after the updating of the partition table is completed, creating a specified path from the partition table change mark file to the reserved position, setting a successful mark to a position 2 for guiding the communication partition, restarting the equipment, re-entering the updating mode, and re-executing the step S1 and the step S2, wherein the position 2 for guiding the communication partition has the successful mark at the moment, so that the step S3 is directly executed;
step S3: executing other upgrading operations in the upgrading package, and updating the system partition;
Step S4: before exiting the upgrade mode, executing a new instruction of the complete image file of the new upgrade mode after upgrade in the step S1;
Step S5: and clearing the content of the position 1 of the guide communication partition and the position 2 of the communication partition, and restarting the system after the firmware upgrade package which enters the first upgrade is upgraded.
Further, before the second upgrade is executed, the method specifically further includes the steps of:
mounting a newly added reserved packet partition;
Judging whether a reserved partition success marking file exists in a designated path of the reserved position, if not, exiting the program, and if so, acquiring a firmware upgrade package updated for the second time and storing the firmware upgrade package into the reserved package partition;
Deleting the partition table change mark file and the reserved partition success mark file under the reserved position appointed path, writing a second upgrade instruction and a path of a second upgrade firmware upgrade package at a position 1 of the guiding communication partition, and entering the second upgrade.
Further, the step of performing the second upgrade, reading the firmware upgrade package of the second upgrade and storing the firmware upgrade package in the device Memory, and performing an upgrade operation based on the firmware upgrade package of the second upgrade in the device Memory, specifically further includes the steps of:
Reading the content of the position 1 of the guiding communication partition, and triggering a second upgrade according to the second upgrade instruction:
And mounting a reserved package partition, judging whether a second-time updated firmware upgrading package in the reserved package partition exists, if not, exiting the upgrading process, if so, calculating the size of the second-time updated firmware upgrading package, judging whether the size of the second-time updated firmware upgrading package is larger than the available Memory of the current equipment, if so, exiting, otherwise, newly establishing a temporary file in the Memory, copying the content of the second-time updated firmware upgrading package to the temporary file, finally pointing the path of the second-time updated firmware upgrading package to the newly-established temporary file in the Memory, upgrading the new partition table in the flash storage medium of the equipment according to the content of the second-time updated firmware upgrading package in the Memory, and upgrading all new firmware according to the firmware image in the second-time updated firmware upgrading package to complete the complete upgrading of the equipment firmware.
Further, the first upgrade includes: a first FOTA upgrade, the second upgrade comprising: a second FOTA upgrade.
In order to solve the technical problems, the invention also provides a storage device, which comprises the following specific technical scheme:
a storage device having stored therein a set of instructions for performing: any of the above mentioned firmware upgrade methods.
The beneficial effects of the invention are as follows: a firmware upgrade method, comprising the steps of: acquiring a firmware upgrade package for first upgrade; performing a first upgrade, and adding a new partition at a preset position of the current device, wherein the new partition comprises: a reserved packet partition for: storing a firmware upgrade package of the second upgrade; and executing the second upgrade, reading a firmware upgrade package of the second upgrade, storing the firmware upgrade package into a device Memory, and performing upgrade operation based on the firmware upgrade package of the second upgrade in the device Memory. According to the method, the whole storage medium of the equipment is changed and upgraded under the condition that an external storage medium is not needed through twice firmware upgrading, random change of the partition table is supported, dependence on the external storage medium is overcome, and therefore firmware upgrading requirements of certain special scenes are met.
Drawings
FIG. 1 is a flowchart of a firmware upgrade method according to an embodiment;
FIG. 2 is a flowchart illustrating an overall firmware upgrade method according to an embodiment;
FIG. 3 is a schematic diagram illustrating a new partition table flow of a partition table configuration file upgrade apparatus in a firmware upgrade package according to a first upgrade according to an embodiment;
fig. 4 is a schematic block diagram of a memory device according to an embodiment.
Reference numerals illustrate:
400. A storage device.
Detailed Description
In order to describe the technical content, constructional features, achieved objects and effects of the technical solution in detail, the following description is made in connection with the specific embodiments in conjunction with the accompanying drawings.
Referring to fig. 1 to 3, in this embodiment, a firmware upgrade method may be applied to a storage device, where the storage device includes, but is not limited to, an intelligent internet of things device.
The core technical idea of the application is as follows: the method can support the change and upgrade of the whole storage medium of the equipment without using an external storage medium (SD/TF card or U disk) in a twice FOTA mode, and support the random change of the partition table. The first FOTA adds 1 (reserved packet partition) after all firmware partitions of the partition table of the current device and before the last user data partition, wherein the reserved packet partition is used for storing the firmware upgrade packet of the second FOTA. And after the second FOTA enters the upgrade mode, reading a firmware upgrade package from the new partition and storing the firmware upgrade package in the device Memory, and then carrying out FOTA upgrade of any partition table change on the whole Flash based on the firmware upgrade package in the device Memory. The following description will be given specifically:
Step S101: a firmware upgrade package for the first upgrade is acquired.
Step S102: performing a first upgrade, and adding a new partition at a preset position of the current device, wherein the new partition comprises: a reserved packet partition for: and storing the firmware upgrade package of the second upgrade.
Step S103: a second upgrade is performed.
Step S104: and reading the firmware upgrade package of the second upgrade and storing the firmware upgrade package to a device Memory.
Step S105: and performing upgrading operation based on the firmware upgrading package of the second upgrading in the equipment Memory.
In this embodiment, the first upgrade and the second upgrade may be specifically referred to as FOTA upgrades.
In this embodiment, the firmware upgrade package for the first upgrade is self-made, and the following description is given of how to make the firmware upgrade package for the first upgrade (also referred to as a temporary firmware package):
before the "obtain firmware upgrade package for first upgrade", the method further includes the steps of:
Making a first-time updated firmware upgrade package, wherein the content of the first-time updated firmware upgrade package comprises: a new upgrade mode complete image file and a partition table configuration file. The firmware upgrade package of the first upgrade may be a complete package or a difference package, and if the firmware upgrade package of the first upgrade is a complete package, the firmware upgrade package of the first upgrade includes: if the firmware upgrade package of the first upgrade is a difference package, the firmware upgrade package of the first upgrade includes: the content of the difference file of the firmware in the firmware upgrading opposite equipment comprises: and mounting the instruction of the reserved packet partition after entering the system.
The new upgrade mode complete image file includes a new instruction: before exiting the upgrade mode, checking whether a partition table change mark file (such as last_parameter_update) exists in a reserved position (also called a temporary packet partition), if so, reformatting a last user data partition of the partition table and reestablishing a file system, and meanwhile checking whether a device partition node has the reserved packet partition node, and if so, formatting the reserved packet partition to establish a readable and writable file system;
The partition table configuration file includes: partition table information and virtual partition markers, there are two possible configuration methods, one of which may be optional.
Configuration method 1: the virtual partition marker is configured to be null. There are two specific partitioning methods at this time:
Partitioning method 1: when the virtual partition mark is configured to be empty, adding a reserved packet partition in a partition table of the current old firmware, wherein the reserved packet partition is positioned after all firmware partitions of the current partition table and before the last user data partition, the size of the reserved packet partition is required to be larger than the size of a firmware upgrade packet (also called a final firmware packet) upgraded for the second time, the old partition table is provided with a reserved position, the reserved position is a non-encryption readable and writable user data area, such as a cache partition of Android, and the size of the reserved position is not smaller than the size of the difference packet; an original partition, called a boot communication partition, is arranged in the old partition table, the boot communication partition is used for communication among firmware in different stages, and the last partition of the old partition table is a user data partition;
Partitioning method 2: or when the virtual partition mark is configured to be empty, adding a reserved packet partition and a virtual partition before the last user data partition of the current old firmware partition table, wherein the length of the virtual partition needs to be larger than the maximum value of the storage space occupied by all partitions before the last user data partition and the storage space occupied by all partitions before the last user data partition of the current old firmware partition table in the new platform firmware partition table to be upgraded, the reserved packet partition is positioned behind the virtual partition, the starting address of the reserved packet partition is the length of the virtual partition, and the length of the reserved packet partition is larger than the size of a firmware upgrading packet for the second upgrade. The method comprises the following steps:
The starting address of the virtual partition is 0x0; the length is the size of the memory space occupied by all partitions before the last user data partition in the new platform firmware partition table to be upgraded, and if the length is smaller than the size of the memory space occupied by all partitions before the last user data partition in the current old firmware partition table, the length is set to the size of the memory space occupied by all partitions before the last user data partition in the current old firmware partition table. I.e. the length of the virtual partition needs to be greater than the maximum of both: the size of the storage space occupied by all the partitions before the last user data partition in the new platform firmware partition table to be upgraded and the size of the storage space occupied by all the partitions before the last user data partition in the current old firmware partition table.
The reserved packet partition is located behind the virtual partition, and its start address is the length of the virtual partition, and its length is the size of the firmware upgrade packet to be upgraded for the second time, that is, the size of the final firmware packet mentioned above.
In the same way as partition method 1, the old partition table is required to have a non-encrypted readable and writable user data area, such as an Android cache partition, and the available size of the partition at least needs to be stored in the first FOTA upgrade here: the differential packet version of the temporary firmware packet, hereinafter referred to as the temporary packet partition. While there is an original partition in the old partition table called the boot communication partition for communication between the different stages of the firmware of the system, and the last partition of the old partition table is the user data partition.
Configuration method 2:
Or when the virtual partition marker is not empty, the virtual partition marker includes: a first parameter, a second parameter, and a third parameter, the first parameter representing a virtual partition mode including, but not limited to: mode 1, mode 2, the second parameter represents the size of the firmware upgrade package (i.e., the final firmware package) for the second upgrade, and the third parameter represents the size of storage space occupied by all partitions before the last user data area in the new platform firmware partition table to be upgraded.
After the firmware upgrade package of the first upgrade is manufactured, before the first upgrade is executed, the method specifically further comprises the steps of:
Judging whether the size of the firmware upgrade package of the first upgrade is larger than the available size of the reserved position of the device, if so, exiting the upgrade process, if not, backing up the content of the user data area in the last partition of the partition table of the current device to a network server according to the need, storing the firmware upgrade package of the first upgrade in the reserved position of the current device, issuing a first upgrade instruction, writing the first upgrade instruction and the path of the firmware upgrade package of the first upgrade into the position 1 of the guiding communication partition, and entering an upgrade mode. The method comprises the following steps:
The upgrading client interacts with the upgrading server to obtain a first-time upgrading firmware upgrading packet to be upgraded, and if the size of the first-time upgrading firmware upgrading packet is larger than the available size of the reserved position of the equipment, the upgrading process is exited. Otherwise, backing up the content of the user data area in the last partition of the partition table of the current device to the network server according to the requirement, storing the firmware upgrade package of the first upgrade into a reserved position in the current device, issuing a common FOTA upgrade instruction, writing the upgrade instruction and the firmware upgrade package path of the first upgrade into a position 1 of the guiding communication partition, and restarting to enter an upgrade mode (recovery under Android).
When the first upgrade condition is met, executing the first upgrade, wherein the step of executing the first upgrade adds a new partition at a preset position of the current equipment, and the new partition comprises: reserved packet partition ", specifically further comprising the steps of:
step S1: upgrading a new upgrade mode complete image file (recovery. Img under Android) in the first-time upgraded firmware upgrade package;
Step S2: reading the content of the position 2 of the guiding communication partition, judging whether a successful mark exists, jumping to a step S3, and if not, upgrading a new partition table of the device according to a partition table configuration file in the firmware upgrade package upgraded for the first time, wherein the upgrading process of the new partition table of the device is as follows:
Step S201: analyzing the partition table configuration file, checking whether a virtual partition mark exists, and if the virtual partition mark does not exist or is empty, updating an old partition table in the device according to a new partition table in the partition table configuration file;
Step S202: if the virtual partition mark is not empty, 3 parameters in the virtual partition mark are further analyzed, whether the first parameter value is in a mode 1 or a mode 2 is checked, and if the first parameter value is not in the mode 1 or the mode 2, the old partition table in the device is updated according to the new partition table in the partition table configuration file;
Step S2021: when the first parameter is mode 1, checking whether a specific reserved packet partition exists in a new partition table in a partition table configuration file, if yes, updating an old partition table in equipment directly according to the new partition table in the partition table configuration file, if no reserved packet partition exists, firstly reading the old partition table in the current equipment, acquiring the starting address and the length of the last partition of the old partition table, if the sum of the starting address of the last partition and the second parameter is larger than the size of a flash space available to the equipment, exiting the upgrading, if the sum of the starting address of the last partition and the second parameter is not larger than the size of the flash space available to the equipment, inserting a reserved packet partition before the last partition of the partition table to be upgraded, wherein the starting address of the reserved packet partition is the starting address of the last partition of the old partition table acquired before, the length of the reserved packet partition is larger than the second parameter, and updating the starting address and the length of the last partition at the same time, and the new starting address is: the starting address of the reserved packet partition+the length of the reserved packet partition, and the new length is: the size of flash space available to the device- (the starting address of the reserved packet partition + the length of the reserved packet partition);
step S2022: when the first parameter is mode 2, checking whether a new partition table in the partition table configuration file has a specific virtual partition and a reserved packet partition, and if the two partitions are all present, directly updating an old partition table in the device according to the new partition table in the partition table configuration file; otherwise:
If the size sum of the third parameter and the second parameter is smaller than the available flash space size of the equipment, firstly reading an old partition table in the current equipment, acquiring the starting address and the length of the last partition of the old partition table, and then inserting two new partitions, namely a virtual partition and a reserved packet partition, before the last partition of the partition table to be upgraded, wherein the starting address of the virtual partition is 0, and the length is required to be larger than the maximum value between the third parameter and the starting address of the last partition of the old partition table acquired before; the starting address of the reserved packet partition is the starting address of the virtual partition plus the length of the virtual partition, and the length of the reserved packet partition is required to be larger than a second parameter; simultaneously updating the starting address and the length of the last partition, wherein the new starting address is as follows: the starting address of the reserved packet partition + the length of the reserved packet partition, the new length is: flash space size available to device-new starting address for the last partition;
If the third parameter+the second parameter > = the size of the flash space available to the device, reading an old partition table in the current device, acquiring the starting address and the length of the last partition of the old partition table, and if the starting address+the second parameter of the last partition > the size of the flash space available to the device, exiting the upgrading; otherwise, before the last partition of the partition table to be upgraded, a 'reserved packet partition' is inserted, and the starting address of the 'reserved packet partition' is the starting address of the last partition of the old partition table acquired before, and the partition length is required to be larger than the second parameter. Simultaneously updating the starting address and the length of the last partition, wherein the new starting address is as follows: the start address of the "reserved packet partition" plus the length of the "reserved packet partition", the new length is: the size of the flash space available to the device- ("starting address of reserved packet partition+" length of reserved packet partition ");
Step S203: after the updating of the partition table is completed, creating a specified path from the partition table change mark file to the reserved position, setting a successful mark to a position 2 for guiding the communication partition, restarting the equipment, re-entering an updating mode (the updating mode at the moment operates an instruction in a 'new updating mode complete image file'), and re-executing the step S1 and the step S2, wherein the position 2 for guiding the communication partition at the moment has the successful mark, so that the step S3 is directly executed;
step S3: executing other upgrading operations in the upgrading package, and updating the system partition;
Step S4: before exiting the upgrade mode, executing the new instruction of the complete image file of the new upgrade mode after upgrading in step S1, namely checking whether a partition table change mark file (such as last_parameter_update) exists in a designated path of a reserved position, reformatting the last user data partition of the partition table if the partition table exists, reestablishing a file system, checking whether a device partition node has a reserved packet partition node, formatting the reserved packet partition, establishing a readable and writable file system if the reserved packet partition node exists, and finally establishing a reserved packet success mark file in the designated path of the temporary packet partition.
Step S5: and clearing the content of the position 1 of the guide communication partition and the position 2 of the communication partition, and restarting the system after the firmware upgrade package which enters the first upgrade is upgraded.
After the first upgrade is finished and before the second upgrade is carried out, the method specifically further comprises the following steps:
mounting a newly added reserved packet partition;
Judging whether a reserved partition success marking file exists in a designated path of the reserved position, if not, exiting the program, and if so, acquiring a firmware upgrade package updated for the second time and storing the firmware upgrade package into the reserved package partition;
deleting the partition table change mark file and the reserved partition success mark file under the reserved position appointed path, writing a second upgrade instruction and a path of a second upgrade firmware upgrade package at a position 1 of the guiding communication partition, and entering the second upgrade. The method comprises the following steps:
And entering the system after the temporary firmware package is upgraded, and mounting a newly added reserved package partition.
The upgrade client checks whether a 'reserved partition success marking file' exists in a designated path of the reserved position, if so, interacts with the upgrade server to obtain a complete package of the new platform firmware to be upgraded, which is finally used for upgrade, namely a firmware upgrade package of a second upgrade, wherein the name, the size, the number of partitions and the like of each partition in a partition table of the firmware upgrade package of the second upgrade can be completely different from those of the partition table of the current device, but the last partition of the partition table is required to be a user data partition, and a guiding communication partition exists. The upgrade client stores the acquired firmware upgrade package of the second upgrade into a reserved package partition, deletes a partition table change mark file and a reserved partition success mark file under a reserved position appointed path, writes a cross-platform complete upgrade instruction and a path of the firmware upgrade package of the second upgrade in a position 1 of a guide communication partition, and restarts to enter an upgrade mode.
The second upgrade process is specifically as follows:
The step of performing the second upgrade, reading the firmware upgrade package of the second upgrade and storing the firmware upgrade package in the device Memory, and performing an upgrade operation based on the firmware upgrade package of the second upgrade in the device Memory, specifically further includes the steps of:
In the upgrade mode, the upgrade program reads the content of the position 1 of the guide communication partition, and triggers the second upgrade according to the second upgrade instruction, namely triggers the cross-platform complete upgrade flow according to the stored cross-platform complete upgrade instruction:
mounting a reserved packet partition, judging whether a firmware upgrade packet of the second upgrade in the reserved packet partition exists, if not, exiting the upgrade flow, and if so, judging whether a virtual partition exists through a device partition node;
If no virtual partition exists, calculating the size of the firmware upgrade package of the second upgrade, judging whether the size of the firmware upgrade package of the second upgrade is larger than an available Memory of the current equipment, if yes, exiting, otherwise, newly building a temporary file in the Memory, copying the content of the firmware upgrade package of the second upgrade to the temporary file, finally pointing the path of the firmware upgrade package of the second upgrade to the temporary file newly built in the Memory, upgrading a new partition table in a flash storage medium of the equipment according to the content of the firmware upgrade package of the second upgrade in the Memory, and updating all new firmware according to the firmware image in the firmware upgrade package of the second upgrade to complete the complete upgrade of the equipment firmware;
if the virtual partition exists, upgrading the new platform firmware to the virtual partition, and performing upgrading operation on the virtual partition through the firmware upgrading package upgraded for the second time, and specifically further comprising the steps of:
If the virtual partition exists, upgrading a part of flash storage media represented by the virtual partition according to a firmware upgrade package upgraded for the second time in the reserved package partition, wherein the upgrade process is as follows: extracting a partition table in a firmware upgrading package of the second upgrade, constructing a temporary partition table to be upgraded, setting the length of the last partition in the temporary partition table to be 0, upgrading the temporary partition table to a flash storage medium corresponding to a virtual partition, upgrading all new firmware to the flash storage medium corresponding to the virtual partition according to the firmware image in the firmware upgrading package of the second upgrade, extracting the partition table in the firmware upgrading package of the second upgrade again after the upgrading of all the new firmware is completed, directly upgrading the formal partition table without any modification to the extracted partition table, and completing the complete upgrading of the equipment firmware.
After the upgrade is completed, a new system contained in the firmware upgrade package of the second upgrade is entered, and the client restores the data backed up in the network to the user data area corresponding to the device according to the need.
The whole flow chart of the implementation of the method is shown in fig. 2, wherein the flow chart of the new partition table of the device is shown in fig. 3 according to the partition table configuration file in the firmware upgrade package of the first upgrade.
According to the method, under the condition that an external storage medium (SD/TF card or U disk) is not needed to be used in a two-time FOTA mode, the whole storage medium of the device is changed and upgraded, the partition table is supported to be changed randomly, dependence on the external storage medium is overcome, and therefore the FOTA firmware upgrading requirement of certain special scenes is met. The method solves the problem that in the FOTA upgrading process of supporting the random change of the partition table, the whole flash storage medium is invalid in the upgrading process and cannot store any form of firmware upgrading packet in the flash of the device, so that the firmware upgrading packet is required to be stored by means of the external storage medium.
Referring to fig. 4, in this embodiment, a specific embodiment of a storage device 400 is as follows:
A storage device 400 having stored therein a set of instructions for performing: any of the above mentioned firmware upgrade methods.
It should be noted that, although the foregoing embodiments have been described herein, the scope of the present invention is not limited thereby. Therefore, based on the innovative concepts of the present invention, alterations and modifications to the embodiments described herein, or equivalent structures or equivalent flow transformations made by the present description and drawings, apply the above technical solution, directly or indirectly, to other relevant technical fields, all of which are included in the scope of the invention.

Claims (9)

1. A firmware upgrade method, comprising the steps of:
acquiring a firmware upgrade package for first upgrade;
Performing a first upgrade, and adding a new partition at a preset position of the current device, wherein the new partition comprises: a reserved packet partition for: storing a firmware upgrade package of the second upgrade;
Performing a second upgrade, reading a firmware upgrade package of the second upgrade and storing the firmware upgrade package in a device Memory, performing an upgrade operation based on the firmware upgrade package of the second upgrade in the device Memory,
Wherein performing the first upgrade, adding a new partition at a preset location of the current device includes:
Updating a new partition table of the device according to the partition table configuration file in the firmware updating packet updated for the first time, wherein the new partition table comprises:
Analyzing the partition table configuration file to check whether a virtual partition mark exists;
If the virtual partition mark does not exist or is empty, updating an old partition table in the device according to the new partition table in the partition table configuration file;
if the virtual partition mark is not empty, 3 parameters in the virtual partition mark are further analyzed, and whether the value of the first parameter is in a mode 1 or a mode 2 is checked;
If the mode is not mode 1 or mode 2, updating the old partition table in the device according to the new partition table in the partition table configuration file;
When the first parameter is mode 1, checking whether a specific reserved packet partition exists in a new partition table in a partition table configuration file, if yes, updating an old partition table in equipment directly according to the new partition table in the partition table configuration file, if no reserved packet partition exists, firstly reading the old partition table in the current equipment, acquiring the starting address and the length of the last partition of the old partition table, if the sum of the starting address of the last partition and the second parameter is larger than the size of a flash space available to the equipment, exiting the upgrading, if the sum of the starting address of the last partition and the second parameter is not larger than the size of the flash space available to the equipment, inserting a reserved packet partition before the last partition of the partition table to be upgraded, wherein the starting address of the reserved packet partition is the starting address of the last partition of the old partition table acquired before, the length of the reserved packet partition is larger than the second parameter, and updating the starting address and the length of the last partition at the same time, and the new starting address is: the starting address of the reserved packet partition+the length of the reserved packet partition, and the new length is: the size of flash space available to the device- (the starting address of the reserved packet partition + the length of the reserved packet partition);
When the first parameter is mode 2, checking whether a new partition table in the partition table configuration file has a specific virtual partition and a reserved packet partition, and if the two partitions are all present, directly updating an old partition table in the device according to the new partition table in the partition table configuration file; otherwise, if the size sum of the third parameter and the second parameter is smaller than the available flash space size of the equipment, firstly reading an old partition table in the current equipment, obtaining the starting address and the length of the last partition of the old partition table, and then inserting two new partitions, namely a virtual partition and a reserved packet partition, before the last partition of the partition table to be upgraded, wherein the starting address of the virtual partition is 0, and the length is required to be larger than the maximum value between the third parameter and the starting address of the last partition of the old partition table obtained before; the starting address of the reserved packet partition is the starting address of the virtual partition plus the length of the virtual partition, and the length of the reserved packet partition is required to be larger than a second parameter; simultaneously updating the starting address and the length of the last partition, wherein the new starting address is as follows: the starting address of the reserved packet partition + the length of the reserved packet partition, the new length is: flash space size available to device-new starting address for the last partition;
If the third parameter+the second parameter > = the size of the flash space available to the device, reading an old partition table in the current device, acquiring the starting address and the length of the last partition of the old partition table, and if the starting address+the second parameter of the last partition > = the size of the flash space available to the device, exiting the upgrading; otherwise, before the last partition of the partition table to be upgraded, inserting a reserved packet partition, wherein the starting address of the reserved packet partition is the starting address of the last partition of the old partition table acquired before, the partition length is required to be larger than the second parameter, and updating the starting address and the length of the last partition, and the new starting address is as follows: the starting address of the reserved packet partition + the length of the reserved packet partition, the new length is: the size of flash space available to the device- (start address of reserved packet partition + length of reserved packet partition).
2. The firmware upgrade method of claim 1, further comprising the step of, before acquiring the firmware upgrade package for the first upgrade:
Making a first-time updated firmware upgrade package, wherein the content of the first-time updated firmware upgrade package comprises: a new upgrade mode complete mirror image file and a partition table configuration file;
The new upgrade mode complete image file includes a new instruction: before exiting the upgrade mode, checking whether a partition table change mark file exists in a reserved position, if so, reformatting a last user data partition of a partition table and re-establishing a file system, and meanwhile checking whether a device partition node has the reserved package partition node, and if so, formatting the reserved package partition to establish a readable and writable file system;
The partition table configuration file includes: the method comprises the steps that partition table information and a virtual partition mark are added, when the virtual partition mark is configured to be empty, a reserved packet partition is added in a partition table of current old firmware, the reserved packet partition is positioned after all firmware partitions of the current partition table and before the last user data partition, and the size of the reserved packet partition is larger than that of a firmware upgrading packet upgraded for the second time;
or when the virtual partition marker is not empty, the virtual partition marker includes: a first parameter, a second parameter, and a third parameter, the first parameter representing a virtual partition mode including, but not limited to: mode 1, mode 2, the second parameter represents the size of the firmware upgrade package of the second upgrade, and the third parameter represents the size of the memory space occupied by all partitions before the last user data area in the new platform firmware partition table to be upgraded.
3. The firmware upgrading method according to claim 2, wherein the firmware upgrading packet of the first upgrade is a complete packet or a differential packet, and when the virtual partition flag is configured to be empty, the old partition table is provided with a reserved position, the reserved position is a non-encrypted readable and writable user data area, and the size of the reserved position is not smaller than the size of the differential packet;
the old partition table is provided with a guide communication partition which is used for communication among firmware in different stages;
the last partition of the old partition table is a user data partition;
If the firmware upgrade package of the first upgrade is a complete package, the firmware upgrade package of the first upgrade includes: if the firmware upgrade package of the first upgrade is a difference package, the firmware upgrade package of the first upgrade includes: the content of the difference file of the firmware in the firmware upgrading opposite equipment comprises: and mounting the instruction of the reserved packet partition after entering the system.
4. A firmware upgrade method according to any one of claims 1 to 3, further comprising the step of, before performing the first upgrade:
Judging whether the size of the firmware upgrade package of the first upgrade is larger than the available size of the reserved position of the device, if so, exiting the upgrade process, if not, backing up the content of the user data area in the last partition of the partition table of the current device to a network server according to the need, storing the firmware upgrade package of the first upgrade in the reserved position of the current device, issuing a first upgrade instruction, writing the first upgrade instruction and the path of the firmware upgrade package of the first upgrade into the position 1 of the guiding communication partition, and entering an upgrade mode.
5. The firmware upgrade method of claim 4, wherein performing the first upgrade to add a new partition at a preset location of the current device comprises the steps of:
Step S1: upgrading the new upgrade mode complete image file of the first upgrade firmware upgrade package;
Step S2: reading the content of the position 2 of the guiding communication partition, judging whether a successful mark exists, jumping to a step S3, and if not, configuring a new partition table of the upgrading equipment according to the partition table configuration file in the firmware upgrading packet upgraded for the first time; after the updating of the partition table is completed, creating a specified path from the partition table change mark file to the reserved position, setting a successful mark to a position 2 for guiding the communication partition, restarting the equipment, re-entering the updating mode, and re-executing the step S1 and the step S2, wherein the position 2 for guiding the communication partition has the successful mark at the moment, so that the step S3 is directly executed;
step S3: executing other upgrading operations in the upgrading package, and updating the system partition;
Step S4: before exiting the upgrade mode, executing a new instruction of the complete image file of the new upgrade mode after upgrade in the step S1;
Step S5: and clearing the content of the position 1 of the guide communication partition and the position 2 of the communication partition, and restarting the system after the firmware upgrade package which enters the first upgrade is upgraded.
6. The firmware upgrade method of claim 5, further comprising the step of, before performing the second upgrade:
mounting a newly added reserved packet partition;
Judging whether a reserved partition success marking file exists in a designated path of the reserved position, if not, exiting the program, and if so, acquiring a firmware upgrade package updated for the second time and storing the firmware upgrade package into the reserved package partition;
Deleting the partition table change mark file and the reserved partition success mark file under the reserved position appointed path, writing a second upgrade instruction and a path of a second upgrade firmware upgrade package at a position 1 of the guiding communication partition, and entering the second upgrade.
7. The firmware upgrade method of claim 6, wherein the second upgrade is performed, a firmware upgrade package of the second upgrade is read and stored in a device Memory, and the upgrade operation based on the firmware upgrade package of the second upgrade in the device Memory comprises the steps of:
Reading the content of the position 1 of the guiding communication partition, and triggering a second upgrade according to the second upgrade instruction:
mounting a reserved packet partition, judging whether a firmware upgrade packet of the second upgrade in the reserved packet partition exists, if not, exiting the upgrade flow, and if so, judging whether a virtual partition exists through a device partition node;
If no virtual partition exists, calculating the size of the firmware upgrade package of the second upgrade, judging whether the size of the firmware upgrade package of the second upgrade is larger than the available Memory of the current equipment, if yes, exiting, otherwise, newly building a temporary file in the Memory, copying the content of the firmware upgrade package of the second upgrade to the temporary file, finally pointing the path of the firmware upgrade package of the second upgrade to the temporary file newly built in the Memory, upgrading a new partition table in a flash storage medium of the equipment according to the content of the firmware upgrade package of the second upgrade in the Memory, and updating all new firmware according to the firmware image in the firmware upgrade package of the second upgrade to complete the complete upgrade of the equipment firmware;
if the virtual partition exists, upgrading a part of flash storage media represented by the virtual partition according to a firmware upgrade package upgraded for the second time in the reserved package partition, wherein the upgrade process is as follows: extracting a partition table in a firmware upgrading packet of the second upgrade, constructing a temporary partition table to be upgraded, setting the length of the last partition in the temporary partition table to be 0, upgrading the temporary partition table to a flash storage medium corresponding to a virtual partition, upgrading all new firmware to the flash storage medium corresponding to the virtual partition according to the firmware image in the firmware upgrading packet of the second upgrade, extracting the partition table in the firmware upgrading packet of the second upgrade again after the upgrading of all the new firmware is completed, directly upgrading the partition table without any modification to the extracted partition table, and completing the complete upgrading of the equipment firmware;
After the upgrade is completed, a new system contained in the firmware upgrade package of the second upgrade is entered, and the client restores the data backed up in the network to the user data area corresponding to the device according to the need.
8. The firmware upgrade method according to any one of claims 1 to 3,5 to 7, wherein the first upgrade includes: a first FOTA upgrade, the second upgrade comprising: a second FOTA upgrade.
9. A storage device having stored therein a set of instructions for performing: the method according to any one of claims 1 to 8, comprising the steps of a firmware upgrade method.
CN202110881745.3A 2021-08-02 2021-08-02 Firmware upgrading method and storage device Active CN113791812B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110881745.3A CN113791812B (en) 2021-08-02 2021-08-02 Firmware upgrading method and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110881745.3A CN113791812B (en) 2021-08-02 2021-08-02 Firmware upgrading method and storage device

Publications (2)

Publication Number Publication Date
CN113791812A CN113791812A (en) 2021-12-14
CN113791812B true CN113791812B (en) 2024-06-18

Family

ID=78877078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110881745.3A Active CN113791812B (en) 2021-08-02 2021-08-02 Firmware upgrading method and storage device

Country Status (1)

Country Link
CN (1) CN113791812B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114706620A (en) * 2022-02-25 2022-07-05 瑞芯微电子股份有限公司 Parameter configuration method and device and computer readable medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106802813A (en) * 2016-12-06 2017-06-06 智车优行科技(北京)有限公司 Method, device and vehicle for aerial firmware upgrade
CN109358864A (en) * 2018-12-13 2019-02-19 晶晨半导体(上海)股份有限公司 Method for upgrading system and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106802813A (en) * 2016-12-06 2017-06-06 智车优行科技(北京)有限公司 Method, device and vehicle for aerial firmware upgrade
CN109358864A (en) * 2018-12-13 2019-02-19 晶晨半导体(上海)股份有限公司 Method for upgrading system and device

Also Published As

Publication number Publication date
CN113791812A (en) 2021-12-14

Similar Documents

Publication Publication Date Title
CN113064604B (en) Firmware upgrading method and device
CN107506221B (en) Application program upgrading method, device and equipment
CN106708543B (en) OTA (over the air) upgrading method and device of operating system
CN103970557B (en) The method and storage device of storage device activation system
CN110096300B (en) FPGA program file backup management system, operation method and upgrading method
JP2003216902A (en) Proximity communication system and method, data management device and method, storage medium, and computer program
CN113238771B (en) Android system-based FOTA firmware upgrading method and device
CN113791812B (en) Firmware upgrading method and storage device
CN107643898A (en) Terminal staging method and device
US20160085456A1 (en) Data read apparatus, data read method, and storage medium storing data read program
CN112667265A (en) Method and device for updating bootstrap program
CN106598576A (en) Equipment parameter updating method and device based on squashfs read-only file
CN116360831A (en) Application program upgrading method and device, electronic equipment and storage medium
CN113791811B (en) Firmware upgrading method and storage device
CN116028022A (en) Java technology-based zero code Excel data importing method, device and medium
CN106201584B (en) Version upgrading method and terminal device
US9588884B2 (en) Systems and methods for in-place reorganization of device storage
CN114780019A (en) Electronic device management method and device, electronic device and storage medium
CN109375953B (en) Operating system starting method and device
CN109298953B (en) Device and method for reading and writing shared memory data
US7861114B2 (en) System and method for recovery of memory transactions
WO2017071646A1 (en) Method and apparatus for delivering device partition information
CN114880008A (en) Software upgrading method and system
CN115469911A (en) Parameter configuration method, system and computer readable storage medium
CN114706608A (en) Method for upgrading firmware 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