一种固件升级方法和装置
Published in 发明专利 Invention patent, 2022
Recommended citation: Dayao Ji. (2022). "Firmware upgrading method and device." China patent. CN113064604B. https://patents.google.com/patent/CN113064604B
一种固件升级方法和装置
摘要:本发明公开了一种固件升级方法和装置,所述方法包括:制定固件升级包,并将所述固件升级包存储于预设存储介质中;待升级设备进入升级模式,解析第一指令,开始固件升级;根据所述固件升级包在所述预设存储介质的路径信息读取所述固件升级包,根据所述分区表描述文件重新编程所述待升级设备的分区表,得到升级结果,并将所述升级结果和第二路径信息写入所述引导控制分区的第二位置;所述第二路径信息与所述第一路径信息相对应。通过本发明的固件升级方法可以将待升级设备中的旧平台固件完整升级为新平台固件,支持对待升级设备的物理分区表进行任意变更,有效满足了不同应用场景下的需求。
Firmware upgrading method and device
Abstract:The invention discloses a firmware upgrading method and a firmware upgrading device, wherein the method comprises the following steps: formulating a firmware upgrade package, and storing the firmware upgrade package in a preset storage medium; the equipment to be upgraded enters an upgrading mode, a first instruction is analyzed, and firmware upgrading is started; reading the firmware upgrading packet according to the path information of the firmware upgrading packet in the preset storage medium, reprogramming the partition table of the equipment to be upgraded according to the partition table description file to obtain an upgrading result, and writing the upgrading result and the second path information into a second position of the guide control partition; the second path information corresponds to the first path information. The firmware upgrading method can completely upgrade the old platform firmware in the equipment to be upgraded into the new platform firmware, supports the random change of the physical partition table of the equipment to be upgraded and effectively meets the requirements under different application scenes.
Recommended citation:
纪大峣. 一种固件升级方法和装置[P]. 中国:CN113064604B,2022-06-21.
D. Ji,”Firmware upgrading method and device,” China Patent CN113064604B, June 21,2022.
