WO2016112633A1 - 一种提高系统固件烧写速度的方法 - Google Patents
一种提高系统固件烧写速度的方法 Download PDFInfo
- Publication number
- WO2016112633A1 WO2016112633A1 PCT/CN2015/081408 CN2015081408W WO2016112633A1 WO 2016112633 A1 WO2016112633 A1 WO 2016112633A1 CN 2015081408 W CN2015081408 W CN 2015081408W WO 2016112633 A1 WO2016112633 A1 WO 2016112633A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file system
- image
- size
- firmware
- memory
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0643—Management of files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/654—Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
Definitions
- the invention belongs to the field of semiconductors, and in particular relates to a method for improving the programming speed of a system firmware.
- System firmware refers to firmware that writes a system program to flash memory in a particular hardware system.
- the phone firmware is equivalent to the phone's system, and refreshing the firmware is equivalent to brushing the system.
- the system program first generates a system image, and then transfers the system image to the device's memory to be programmed into the device's flash memory.
- the system program system in order to satisfy the user to add new data information during use, the system program system generates a system image size which is usually much larger than the system program system size.
- the system program of 500M may need to make 1G or even more.
- the large system mirrors system.img which causes the system firmware to be very large, making it time consuming to make the image and burning the finished image onto the hardware.
- the present invention proposes a method for improving the firmware burning speed of the system.
- the system is further The image is flashed to the device's flash device.
- the specific method is:
- a method for improving system firmware burning speed is applied to a terminal device provided with a file system and a flash memory, wherein the method comprises:
- Step S1 generating an intermediate file system according to program data that needs to be built in the file system
- Step S2 adjusting a size of the intermediate system file
- Step S3 generating the file system image according to the adjusted intermediate file system
- Step S4 burning the file system image into the flash memory
- the difference between the size of the file system image and the size of the program data to be built in the file system is D, and 0 ⁇ D ⁇ 16M.
- the method for improving the firmware burning speed of the system wherein the method further includes:
- Step S5 After the system image is burned into the device memory, when the system firmware is first run, the file system is adjusted to the size of the intermediate file system system before adjustment.
- the method for improving the firmware burning speed of the system wherein the terminal device is a mobile phone or a tablet computer.
- the present invention proposes a method for improving the firmware burning speed of the system, by adjusting the size of the intermediate file system, and then generating a corresponding system image according to the adjusted size of the intermediate file system, and then the system The image is transferred to memory and programmed into flash memory. It effectively reduces the size of the system image, saves the time to make the system image and the time to transfer the system image to the device memory device, and simultaneously burns the system image to the flash memory, which effectively improves the programming speed of the system firmware.
- FIG. 1 is a schematic diagram of a process of a system firmware burning method in the prior art
- FIG. 2 is a flow chart of a method for speeding up system firmware burning according to the present invention
- FIG. 3 is a schematic diagram of the process of the firmware burning method of the system of the present invention.
- the present invention discloses a method for improving the firmware burning speed of the system.
- a system image is generated according to the adjusted size of the intermediate file system, and then The system image is transferred to the memory and programmed into the device flash.
- This method effectively reduces the size of the system image, saves the time to make the system image and the time to transfer the system image to the memory, and the time to program the system image to the flash memory. It improves the programming speed of the system firmware, reduces the time for engineers to debug, and reduces the time for hardware production on the production line.
- the invention is further illustrated by the following figures and specific examples, but is not to be construed as limiting.
- the system firmware is a very large set of files, such as system.img, userdata.img, ccache.img, etc. in the Andriod system.
- This embodiment is only described by taking system.img as an example, and only in the system based on the principle of the present invention. Changes to other documents are also within the scope of the present invention.
- a 500M system/ directory is taken as an example, taking the data information of 500M as an example, because there is a 500M file system, preferably, generating 1024M intermediate file system, the so-called intermediate file system, its size contains the system file and the capacity of the data, and then according to the 1024M intermediate file system to generate 1024M system image file system.img, and then prepare the 1024M system image file system .img transfer to memory (implementation In the example, the smart device is taken as an example, that is, the 1G data is downloaded to the memory as shown in FIG.
- the 1G image file system.img transmitted to the memory is written to the flash memory of the smart device.
- the 500M file system needs to generate an intermediate file system containing a 500M file system and the size of the data to be stored, and then generate a system image according to the size of the intermediate file system, which undoubtedly leads to a problem of large system image, long transmission and programming time, and now
- the generated intermediate file system is first compressed, and the size of the intermediate system file is greatly reduced after compression, and then the compressed intermediate file system is transferred to the memory, and is required to be written to the device flash memory. After decompressing and burning, this will waste a lot of time.
- the devices here include mobile phones and tablets.
- the schematic diagram of the method of programming the firmware of the system of the present invention is also a preferred embodiment of a flash memory device capable of accommodating 500M data information with a 500M file system.
- the 500M file system generates an intermediate file system of 1024M, preferably, the file system ext3.
- the command file $resize2fs-M system.img is used to adjust the 1G (1024M) intermediate file system to include only the file system size, that is, 500M;
- select the ntfs system select the system image system.img.
- the system image system.img is located on the loop0 device, apply the command ntfsresize–b–s 516M/dev/sdf to adjust the intermediate file system to 516M.
- the mature file system in the prior art supports adjusting the size of the file system (such as Ext3/4, ntfs, fat).
- the generated system image is slightly larger than the intermediate file system, in order to accommodate some system necessary files, according to different system required files set different sizes, but All are within 16M, that is, a system image of no more than 516M is generated.
- the flash device includes but is not limited to mobile phones and tablets. It is important to note that the first time you start up, you need to adjust the system firmware programmed into the flash memory to the size of the pre-adjusted intermediate file system so that it can hold 500M of data information. The adjustment here is also well adjusted.
- the application command $resize2fs/dev/sdf can be used; when the file system is ntfs, the command ntfsresze– is applied.
- x/dev/sf restores the programmed system hardware to the intermediate file system size.
- This method improves the programming speed of the system firmware, and effectively shortens the time for system firmware burning. For example, if the intermediate file system of the 1.5G system image of the popular Andriod mobile phone currently on the market is adjusted to meet the file system 800M, the machine The programming time was reduced from 118s to 66s.
- the present invention reduces the size of the intermediate file system before generating the system image, and then generates a system image according to the size of the intermediate file system, thereby effectively reducing the time for generating the image and the time for transferring the system image to the memory and programming.
- the time that the system is mirrored to the device's flash memory effectively shortens the time it takes to burn the image to the hardware and improves the programming speed of the system firmware.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
- Testing Of Individual Semiconductor Devices (AREA)
- Read Only Memory (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
Claims (5)
- 一种提高系统固件烧写速度的方法,应用于设置有文件系统和闪存的终端设备中,其特征在于,所述方法包括:步骤S1,根据所述文件系统中需内置的程序数据生成中间文件系统;步骤S2,调整所述中间系统文件的大小;步骤S3,根据调整后的所述中间文件系统生成所述文件系统镜像;步骤S4,将所述文件系统镜像烧录到所述闪存中;其中,所述文件系统镜像的大小与所述文件系统中需内置程序数据的大小的差值为D,且0≤D≤16M。
- 如权利要求1所述提高系统固件烧写速度的方法,其特征在于:在生成文件系统镜像后且在将所述文件系统镜像烧录到所述终端设备的闪存中的步骤之前,还包括将所述文件系统镜像传输到所述终端设备的内存中的步骤。
- 如权利要求1所述提高系统固件烧写速度的方法,其特征在于,所述方法还包括:步骤S5,将所述系统镜像烧录到设备内存后,首次运行所述系统固件时,将所述文件系统调整至中间文件系统系统调整前大小。
- 如权利要求1所述提高系统固件烧写速度的方法,其特征在于,所述文件系统包括ext2、ext3、ext4、ntfs和fat。
- 如权利要求1所述提高系统固件烧写速度的方法,其特征在 于,所述终端设备为手机或平板电脑。
Priority Applications (8)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SG11201705716UA SG11201705716UA (en) | 2015-01-12 | 2015-06-12 | Method for improving system firmware programming speed |
CA2973489A CA2973489A1 (en) | 2015-01-12 | 2015-06-12 | A method for increasing programming speed of a system firmware |
EP15877549.4A EP3246816A4 (en) | 2015-01-12 | 2015-06-12 | Method for improving system firmware programming speed |
JP2017537991A JP2018502402A (ja) | 2015-01-12 | 2015-06-12 | システムファームウェアのプログラミングスピードを速める方法 |
KR1020177022279A KR102226379B1 (ko) | 2015-01-12 | 2015-06-12 | 일종의 시스템 펌웨어의 버닝 스피드 향상 방법 |
US14/763,911 US20160306548A1 (en) | 2015-01-12 | 2015-06-12 | A method for increasing burning speed of a system firmware |
AU2017101082A AU2017101082A4 (en) | 2015-01-12 | 2017-08-09 | A method for increasing programming speed of a system firmware |
ZA2017/05423A ZA201705423B (en) | 2015-01-12 | 2017-08-10 | Method for improving system firmware programming speed |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510015528.0A CN105843631B (zh) | 2015-01-12 | 2015-01-12 | 一种提高系统固件烧写速度的方法 |
CN201510015528.0 | 2015-01-12 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU2017101082A Division AU2017101082A4 (en) | 2015-01-12 | 2017-08-09 | A method for increasing programming speed of a system firmware |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016112633A1 true WO2016112633A1 (zh) | 2016-07-21 |
Family
ID=56405178
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/081408 WO2016112633A1 (zh) | 2015-01-12 | 2015-06-12 | 一种提高系统固件烧写速度的方法 |
Country Status (11)
Country | Link |
---|---|
US (1) | US20160306548A1 (zh) |
EP (1) | EP3246816A4 (zh) |
JP (1) | JP2018502402A (zh) |
KR (1) | KR102226379B1 (zh) |
CN (1) | CN105843631B (zh) |
CA (1) | CA2973489A1 (zh) |
HK (1) | HK1222245A1 (zh) |
SG (1) | SG11201705716UA (zh) |
TW (1) | TW201633120A (zh) |
WO (1) | WO2016112633A1 (zh) |
ZA (1) | ZA201705423B (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111290765B (zh) * | 2020-01-16 | 2023-06-09 | 深圳市千分一智能技术有限公司 | 一种固件快速烧录方法、系统及存储介质 |
CN112130873A (zh) * | 2020-10-10 | 2020-12-25 | 佛吉亚歌乐电子(佛山)有限公司 | 嵌入式开发调试分析方法、系统以及存储介质 |
CN113704180B (zh) * | 2021-07-10 | 2024-03-15 | 国网浙江省电力有限公司信息通信分公司 | 一种基于嵌入式设备固件文件信息特征库的无损化固件提取方法 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5623604A (en) * | 1992-11-18 | 1997-04-22 | Canon Information Systems, Inc. | Method and apparatus for remotely altering programmable firmware stored in an interactive network board coupled to a network peripheral |
CN101644992A (zh) * | 2008-08-04 | 2010-02-10 | 中兴通讯股份有限公司 | 文件系统数据重建的方法和系统 |
CN103324503A (zh) * | 2013-05-29 | 2013-09-25 | 京东方科技集团股份有限公司 | 一种数据烧录系统及方法 |
CN103999041A (zh) * | 2012-01-03 | 2014-08-20 | 惠普发展公司,有限责任合伙企业 | 在设备初始化期间备份固件 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3548529B2 (ja) * | 1997-08-20 | 2004-07-28 | パワークエスト・コーポレーション | イメージ形成中のコンピュータ・パーティション操作 |
US6418449B1 (en) * | 2000-01-06 | 2002-07-09 | Inventec Corporation | Method of cloning the file system of a window web operating system by using a bitmap file |
JP5265113B2 (ja) * | 2005-03-04 | 2013-08-14 | パナソニック株式会社 | データ処理装置 |
JP4782060B2 (ja) * | 2007-03-30 | 2011-09-28 | アイシン・エィ・ダブリュ株式会社 | データ更新システム及びコンピュータプログラム |
JP5559001B2 (ja) * | 2010-10-15 | 2014-07-23 | 株式会社日立ソリューションズ | 組込プログラム更新方法、組込プログラム更新プログラム、電子機器、ネットワークシステム |
-
2015
- 2015-01-12 CN CN201510015528.0A patent/CN105843631B/zh active Active
- 2015-06-12 US US14/763,911 patent/US20160306548A1/en not_active Abandoned
- 2015-06-12 JP JP2017537991A patent/JP2018502402A/ja active Pending
- 2015-06-12 WO PCT/CN2015/081408 patent/WO2016112633A1/zh active Application Filing
- 2015-06-12 CA CA2973489A patent/CA2973489A1/en not_active Abandoned
- 2015-06-12 KR KR1020177022279A patent/KR102226379B1/ko active IP Right Grant
- 2015-06-12 EP EP15877549.4A patent/EP3246816A4/en not_active Ceased
- 2015-06-12 SG SG11201705716UA patent/SG11201705716UA/en unknown
- 2015-12-29 TW TW104144160A patent/TW201633120A/zh unknown
-
2016
- 2016-09-01 HK HK16110420.1A patent/HK1222245A1/zh not_active IP Right Cessation
-
2017
- 2017-08-10 ZA ZA2017/05423A patent/ZA201705423B/en unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5623604A (en) * | 1992-11-18 | 1997-04-22 | Canon Information Systems, Inc. | Method and apparatus for remotely altering programmable firmware stored in an interactive network board coupled to a network peripheral |
CN101644992A (zh) * | 2008-08-04 | 2010-02-10 | 中兴通讯股份有限公司 | 文件系统数据重建的方法和系统 |
CN103999041A (zh) * | 2012-01-03 | 2014-08-20 | 惠普发展公司,有限责任合伙企业 | 在设备初始化期间备份固件 |
CN103324503A (zh) * | 2013-05-29 | 2013-09-25 | 京东方科技集团股份有限公司 | 一种数据烧录系统及方法 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3246816A4 * |
Also Published As
Publication number | Publication date |
---|---|
HK1222245A1 (zh) | 2017-06-23 |
CN105843631B (zh) | 2019-02-15 |
SG11201705716UA (en) | 2017-08-30 |
JP2018502402A (ja) | 2018-01-25 |
US20160306548A1 (en) | 2016-10-20 |
CN105843631A (zh) | 2016-08-10 |
EP3246816A4 (en) | 2018-09-26 |
KR20170103919A (ko) | 2017-09-13 |
KR102226379B1 (ko) | 2021-03-11 |
EP3246816A1 (en) | 2017-11-22 |
TW201633120A (zh) | 2016-09-16 |
CA2973489A1 (en) | 2016-07-21 |
ZA201705423B (en) | 2019-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106406935B (zh) | 一种蓝牙芯片ota升级的方法和蓝牙芯片 | |
WO2019192258A1 (zh) | 一种数据同步的方法、装置及设备 | |
WO2020224410A1 (zh) | 应用版本切换方法及装置、电子设备、存储介质 | |
WO2016112633A1 (zh) | 一种提高系统固件烧写速度的方法 | |
CN106970810A (zh) | 固件烧录方法和系统 | |
CN104750492B (zh) | 基于嵌入式操作系统的移动设备的开机控制方法及装置 | |
KR102187227B1 (ko) | 컨텐츠 생성 방법 및 그 전자 장치 | |
WO2016078263A1 (zh) | 升级控制设备、终端、终端升级方法及系统、存储介质 | |
US11232066B2 (en) | Method for data migration and terminal | |
KR102312672B1 (ko) | 데이터 처리 방법 및 전자 장치 | |
WO2018049939A1 (zh) | 数据迁移方法及相关产品 | |
CN104808953B (zh) | 控制数据存储的方法、装置及移动终端 | |
JP6404708B2 (ja) | 情報処理装置、bios設定情報変更方法、並びにコンピュータ・プログラム | |
CN112073240A (zh) | 一种基于注册中心组件的蓝绿部署系统、方法及存储介质 | |
CN105138604A (zh) | 一种终端数据处理方法和装置 | |
CN111294377B (zh) | 一种依赖关系的网络请求发送方法、终端装置及存储介质 | |
KR102343642B1 (ko) | 데이터 운용 방법 및 전자 장치 | |
CN108399076A (zh) | 一种基于uefi的固件更新方法与装置 | |
CN112181596B (zh) | 一种虚拟机克隆方法、装置、设备及存储介质 | |
WO2022083190A1 (zh) | 数据下载方法、装置、计算机设备和存储介质 | |
WO2022057567A1 (zh) | 一种数据库的修复方法和电子设备 | |
CN115495020A (zh) | 文件处理方法、装置、电子设备和可读存储介质 | |
CN104955026A (zh) | 一种PDA的蓝牙和WiFi的MAC地址的修改方法 | |
CN112860376B (zh) | 一种快照链的制作方法、装置、电子设备及存储介质 | |
CN106815024B (zh) | 一种优化移动终端开机时间的方法及系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 14763911 Country of ref document: US |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15877549 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2973489 Country of ref document: CA |
|
ENP | Entry into the national phase |
Ref document number: 2017537991 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 11201705716U Country of ref document: SG |
|
ENP | Entry into the national phase |
Ref document number: 20177022279 Country of ref document: KR Kind code of ref document: A |
|
REEP | Request for entry into the european phase |
Ref document number: 2015877549 Country of ref document: EP |