CN102520981A - Production method of INAND/NAND-based multi-partition storage device - Google Patents

Production method of INAND/NAND-based multi-partition storage device Download PDF

Info

Publication number
CN102520981A
CN102520981A CN201110378389XA CN201110378389A CN102520981A CN 102520981 A CN102520981 A CN 102520981A CN 201110378389X A CN201110378389X A CN 201110378389XA CN 201110378389 A CN201110378389 A CN 201110378389A CN 102520981 A CN102520981 A CN 102520981A
Authority
CN
China
Prior art keywords
internal storage
file
inand
nand
card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201110378389XA
Other languages
Chinese (zh)
Inventor
高来红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN ROADROVER TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN ROADROVER TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN ROADROVER TECHNOLOGY Co Ltd filed Critical SHENZHEN ROADROVER TECHNOLOGY Co Ltd
Priority to CN201110378389XA priority Critical patent/CN102520981A/en
Publication of CN102520981A publication Critical patent/CN102520981A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a production method of an INAND/NAND-based multi-partition storage device, which solves the technical problem of slow production speed of an INAND/NAND-based large internal memory due to that the conventional programmer does not support separate writing in the prior art. The technical scheme is that the method is realized through the programmer and a computer in which matched software programs are stored, a system file storage space for storing a system bootstrap module is divided in the internal memory, and the system bootstrap is written in the system file storage space through the programmer and the computer; a SD card slot and a matched SD card are added in an electronic device, wherein the SD card stores a system upgrading file, a system production file, and a shell script file for judging whether the storage device is partitioned. In the method, the internal memory is partitioned through an external memory, and the system file is separately written in the internal memory, thus, the production speed of the internal memory is improved greatly.

Description

A kind of working method of the multi partition memory device based on INAND/NAND
Technical field
The present invention relates to a kind of working method of the multi partition memory device based on INAND/NAND; Refer in particular to embedded system,, need carry out subregion it when the INAND/NAND capacity is very big based on Linux; During production, need carry out burning file or write multi partition.
Background technology
Traditional Software Production burning generally directly is burnt to whole recordable paper among the INAND/NAND through cd-rom recorder, but in recent years; Along with the development of memory technology, the memory capacity of INAND/NAND has obtained large increase, from 2GB to 4GB; Arrive 8GB/16GB again; Reached 32GB recently, the memory device through a 32GB of cd-rom recorder burning has become very consuming time, and the INAND of light burning 4GB just needs 10 ~ 20 minutes now; The embedded system function had also obtained very great development in recent years, and embedded device no longer only is satisfied with the application that provides single, and like IPAD, smart mobile phone, intelligent vehicle machine, what their function had can match in excellence or beauty with computer.So strong functions has had higher requirement to the storage medium capacity, the reason of while each side, and like reasons such as safety, after-sales service, software administrations, INAND/NAND need be divided into a plurality of subregions.The tradition cd-rom recorder is not supported multi partition, does not support to disperse to write, and this has put forward a very big difficult problem for the production burning.Although there is manufacturer to pass through remodeling, the cd-rom recorder of supporting the multi partition burning is provided, very powerless in the face of disperseing to write, and the modified cd-rom recorder, embedded device manufacturer need drop into a no small expense.Therefore embedded device manufacturer presses for a kind of INAND/NAND working method of supporting that the multi partition dispersion writes.
Summary of the invention
The present invention for solving in the prior art based on the high capacity internal storage of INAND/NAND since traditional cd-rom recorder do not support to disperse to write; Cause speed of production technical matters slowly; The present invention has designed the quick working method of the matching used internal storage based on INAND/NAND of a kind of and electronic equipment; Through external memory storage internal storage is carried out subregion, also disperses to write system file, improved the speed of production of internal storage greatly.
The present invention for realizing the technical scheme that goal of the invention adopts is; The quick working method of the matching used internal storage based on INAND/NAND of a kind of and electronic equipment; Above method is by cd-rom recorder and stores the computer implemented of software kit program, in internal storage, mark off the system file storage space that is used for the storage system bootstrap program module and by cd-rom recorder and computing machine in this system file storage space programming system boot; In electronic equipment, set up SD draw-in groove, and the supporting setting SD card that stores the system upgrade/production file based on same software version and store robotization subregion shell script, on this basis, described method may further comprise the steps:
A, unlocking electronic equipment power on and the operational system boot based on the internal storage of INAND/NAND, system bootstrap routine detect internal storage wait produce sign, if detect internal storage wait to produce sign, then execution in step B;
B, start the SD card, whether the kernel system of SD card reads partition table information in the internal storage, judges internal storage subregion, if do not read partition table information, represent internal storage not subregion, then execution in step C; If read partition table information, the expression internal storage is subregion, then jumps to step D;
The robotization subregion shell script of storing on C, the kernel system call SD card, to internal storage carry out subregion, and the format;
Specified file in system upgrade/production file of storing on D, the copy SD card or catalogue are accomplished the production of internal storage under the specified path of the specified partition of internal storage.
The present invention carries out subregion, also disperses to write system file internal storage through external memory storage, has improved the speed of production of internal storage greatly.
Embodiment
The quick working method of the matching used internal storage based on INAND/NAND of a kind of and electronic equipment; Above method is by cd-rom recorder and stores the computer implemented of software kit program, in internal storage, mark off the system file storage space that is used for the storage system bootstrap program module and by cd-rom recorder and computing machine in this system file storage space programming system boot; In electronic equipment, set up SD draw-in groove, and the supporting setting SD card that stores the system upgrade/production file based on same software version and store robotization subregion shell script, on this basis, described method may further comprise the steps:
A, unlocking electronic equipment power on and the operational system boot based on the internal storage of INAND/NAND, system bootstrap routine detect internal storage wait produce sign, if detect internal storage wait to produce sign, then execution in step B;
B, start the SD card, whether the kernel system of SD card reads partition table information in the internal storage, judges internal storage subregion, if do not read partition table information, represent internal storage not subregion, then execution in step C; If read partition table information, the expression internal storage is subregion, then jumps to step D;
The robotization subregion shell script of storing on C, the kernel system call SD card, to internal storage carry out subregion, and the format;
Specified file in system upgrade/production file of storing on D, the copy SD card or catalogue are accomplished the production of internal storage under the specified path of the specified partition of internal storage.
Among the above-mentioned step D, copy method is: in the SD card, store production burning script and script interpreter in advance, production burning script and script interpreter are under the specified path of the specified partition that on the internal storage that divides good district copies specified file to internal storage.
In the above-mentioned steps A; If system bootstrap routine does not detect treating in the internal storage and produces sign, further judge the sign of upgrading after sale of internal storage, if detect upgrading sign after sale; Then start the ROMPaq in the internal storage; If do not detect upgrading sign after sale, then directly start the operating system on the internal storage, get into normal mode of operation.
The present invention is in the specific implementation:
1) after software design was finished, the wrapper of operational system and digital signature program broke into a unified bag producing with file, production with recovery script file, recovery script explanation program.The interpretive routine of Recovery script is packaged in issue with the recovery script; Consider that from the angle of safety this interpretive routine only supports that limited function such as file copy, partitioned file burning, file delete, file decompress(ion), file packing, file permission modification, directory delete, directory permission modification, catalogue are packed, the catalogue decompress(ion).The recovery script file has defined each subregion and the corresponding source image filename thereof of producing the burning of wanting, has also defined file and the source filename that needs to disperse to be written to each subregion simultaneously in the script;
2) before the INAND/NAND paster is produced, the burned little boot in the system bootstrap position, file size is less than 300KB usually, and this boot judges automatically whether INAND/NAND is in occurrence attitude to be generated, and decision is from outside SD card start-up system;
3) make to start upgrade card, contain on it, and keep to produce at its data partition and use literature kit with the normal system entire run system under the upgrade mode after sale, this start on upgrade card file with upgrade after sale in full accord with file.When just moving, increased a Shell script, judged whether subregion of INAND/NAND automatically in system;
4) after machine assembles; Insert the startup upgrade card and power on then, carry out the program code in the INAND/NAND boot, when finding that INAND/NAND does not have subregion; Boot is loaded file system under LINUX kernel and the upgrade mode on the SD card automatically; Give linux kernel control then, after linux kernel has started, operation Linux-Shell shell script;
5) in the Shell shell script, search partition information,, carry out the subregion of INAND/NAND,, get into normal system upgrading flow process, directly got into for the 6th step if subregion exists if find that partition table does not exist;
6) master routine under the operation upgrade mode, this program is used literature kit with decompress(ion) production, confirms whether upgrade file is legal thereby carry out digital signature identification, if the legal recovery script explanation program that will carry out under the decompressing files bag of file;
7) Recovery script explanation program is resolved the recovery script and is carried out order wherein, just can be written among the INAND/NAND with each file that compresses in the literature kit producing;
8) through above each step, with regard to automatically INAND/NAND having been carried out subregion and burning or write the file that needs on each subregion, from actual property condition; Production efficiency has had the improvement of obviously showing; The INAND production time of 4GB only need 5 minutes less than, key is through this method, this not restriction of station base; Even can produce station to this and test combines, produce the time that time of software accounts in the whole production flow process and just can ignore basically.Owing to introduced the script explanation program, to disperseing write-in functions to play key effect, can realize very flexibly disperseing to write so simultaneously with control.

Claims (3)

1. quick working method with the matching used internal storage based on INAND/NAND of electronic equipment; Above method is by cd-rom recorder and stores the computer implemented of software kit program, it is characterized in that: in internal storage, mark off the system file storage space that is used for the storage system bootstrap program module and by cd-rom recorder and computing machine in this system file storage space programming system boot; In electronic equipment, set up SD draw-in groove, and the supporting setting SD card that stores the system upgrade/production file based on same software version and store robotization subregion shell script, on this basis, described method may further comprise the steps:
A, unlocking electronic equipment power on and the operational system boot based on the internal storage of INAND/NAND, system bootstrap routine detect internal storage wait produce sign, if detect internal storage wait to produce sign, then execution in step B;
B, start the SD card, whether the kernel system of SD card reads partition table information in the internal storage, judges internal storage subregion, if do not read partition table information, represent internal storage not subregion, then execution in step C; If read partition table information, the expression internal storage is subregion, then jumps to step D;
The robotization subregion shell script of storing on C, the kernel system call SD card, to internal storage carry out subregion, and the format;
Specified file in system upgrade/production file of storing on D, the copy SD card or catalogue are accomplished the production of internal storage under the specified path of the specified partition of internal storage.
2. the quick working method of the matching used internal storage based on INAND/NAND of a kind of and electronic equipment according to claim 1; It is characterized in that: among the described step D; Copy method is: in the SD card, store production burning script and script interpreter in advance, production burning script and script interpreter are under the specified path of the specified partition that on the internal storage that divides good district copies specified file to internal storage.
3. the quick working method of the matching used internal storage based on INAND/NAND of a kind of and electronic equipment according to claim 1; It is characterized in that: in the described steps A; If system bootstrap routine does not detect treating in the internal storage and produces sign, further judge the sign of upgrading after sale of internal storage, if detect upgrading sign after sale; Then start the ROMPaq in the internal storage; If do not detect upgrading sign after sale, then directly start the operating system on the internal storage, get into normal mode of operation.
CN201110378389XA 2011-11-24 2011-11-24 Production method of INAND/NAND-based multi-partition storage device Pending CN102520981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110378389XA CN102520981A (en) 2011-11-24 2011-11-24 Production method of INAND/NAND-based multi-partition storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110378389XA CN102520981A (en) 2011-11-24 2011-11-24 Production method of INAND/NAND-based multi-partition storage device

Publications (1)

Publication Number Publication Date
CN102520981A true CN102520981A (en) 2012-06-27

Family

ID=46291923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110378389XA Pending CN102520981A (en) 2011-11-24 2011-11-24 Production method of INAND/NAND-based multi-partition storage device

Country Status (1)

Country Link
CN (1) CN102520981A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092662A (en) * 2013-02-04 2013-05-08 烽火通信科技股份有限公司 Software module upgrading method for terminal device based on embedded operating system
CN103645992A (en) * 2013-12-19 2014-03-19 深圳市捷顺科技实业股份有限公司 Method and device for partition formatting of iNAND
CN104317618A (en) * 2014-10-24 2015-01-28 福州瑞芯微电子有限公司 Firmware partitioning method and device
CN104751881A (en) * 2013-12-27 2015-07-01 纬创资通股份有限公司 flash memory burning method
CN105516806A (en) * 2015-12-08 2016-04-20 广东长虹电子有限公司 Method for automatically making upgrade firmware for television chip
CN109117167A (en) * 2018-07-13 2019-01-01 武汉精测电子集团股份有限公司 A kind of starting Oftware updating method based on ZYNQ chip
CN109901847A (en) * 2019-01-22 2019-06-18 珠海亿智电子科技有限公司 A kind of volume production system firmware mass production method based on storage card

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020083427A1 (en) * 2000-12-26 2002-06-27 Chen-Pang Li Embedded system capable of rapidly updating software and method for rapidly updating software of embedded system
CN1455336A (en) * 2002-04-30 2003-11-12 联想(北京)有限公司 Method of automatic updating embedded device operating system using CF card
CN1470995A (en) * 2002-07-25 2004-01-28 联想(北京)有限公司 Method for storing system and application rpogramme in hand-held information device
CN101344854A (en) * 2008-08-22 2009-01-14 四川长虹电器股份有限公司 Method for upgrading embedded type Linux equipment through SD card
CN102063317A (en) * 2010-12-22 2011-05-18 Tcl集团股份有限公司 Method and system for renewedly burning application program by embedded equipment
CN102129375A (en) * 2010-01-12 2011-07-20 中国移动通信集团公司 Method and equipment for system upgrade of mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020083427A1 (en) * 2000-12-26 2002-06-27 Chen-Pang Li Embedded system capable of rapidly updating software and method for rapidly updating software of embedded system
CN1455336A (en) * 2002-04-30 2003-11-12 联想(北京)有限公司 Method of automatic updating embedded device operating system using CF card
CN1470995A (en) * 2002-07-25 2004-01-28 联想(北京)有限公司 Method for storing system and application rpogramme in hand-held information device
CN101344854A (en) * 2008-08-22 2009-01-14 四川长虹电器股份有限公司 Method for upgrading embedded type Linux equipment through SD card
CN102129375A (en) * 2010-01-12 2011-07-20 中国移动通信集团公司 Method and equipment for system upgrade of mobile terminal
CN102063317A (en) * 2010-12-22 2011-05-18 Tcl集团股份有限公司 Method and system for renewedly burning application program by embedded equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092662A (en) * 2013-02-04 2013-05-08 烽火通信科技股份有限公司 Software module upgrading method for terminal device based on embedded operating system
CN103645992A (en) * 2013-12-19 2014-03-19 深圳市捷顺科技实业股份有限公司 Method and device for partition formatting of iNAND
CN103645992B (en) * 2013-12-19 2016-09-28 深圳市捷顺科技实业股份有限公司 A kind of partition format method and apparatus of iNAND
CN104751881A (en) * 2013-12-27 2015-07-01 纬创资通股份有限公司 flash memory burning method
CN104751881B (en) * 2013-12-27 2018-01-05 纬创资通股份有限公司 flash memory burning method
CN104317618A (en) * 2014-10-24 2015-01-28 福州瑞芯微电子有限公司 Firmware partitioning method and device
CN104317618B (en) * 2014-10-24 2018-03-27 福州瑞芯微电子股份有限公司 A kind of firmware partition treating method and apparatus
CN105516806A (en) * 2015-12-08 2016-04-20 广东长虹电子有限公司 Method for automatically making upgrade firmware for television chip
CN109117167A (en) * 2018-07-13 2019-01-01 武汉精测电子集团股份有限公司 A kind of starting Oftware updating method based on ZYNQ chip
CN109901847A (en) * 2019-01-22 2019-06-18 珠海亿智电子科技有限公司 A kind of volume production system firmware mass production method based on storage card
CN109901847B (en) * 2019-01-22 2022-06-21 珠海亿智电子科技有限公司 Memory card based mass production system firmware mass production method

Similar Documents

Publication Publication Date Title
CN102520981A (en) Production method of INAND/NAND-based multi-partition storage device
CN101226477B (en) Method for implementing Linux operating system being suitable for mobile application
CN103605540A (en) Flash mirror fast writing method based on Android system
CN102880498B (en) The method of virtual SD card on the device of Android system
CN102141923B (en) Memory file system loading method and device
CN101188516B (en) A highly reliable and self-adapted remote update method for network device software system
CN101894028B (en) Realization method and device for Linux kernel mirror image data supporting various CPUs
CN101944129B (en) Diskless system, workstation thereof, and building method of local root file by workstation
CN101923473B (en) Embedded electronic device and method for updating firmware thereof
CN102799464A (en) Virtual machine creation method, virtual machine creation system, virtual machine resetting method and virtual machine resetting system
CN103577212A (en) System starting preloading method and device
CN102402446A (en) Method and device for installing application software
CN102819442B (en) A kind of method and system of embedded device program burn writing
CN105446772A (en) System upgrading method and apparatus
CN103970557A (en) Storage device and system starting method thereof
CN107870769A (en) The installation method and device of operating system
CN106484719B (en) Method and terminal for expanding mobile phone storage
CN103593281A (en) Test system and test method
CN105824678A (en) Method and device for installing operating system
CN102543193A (en) Flash memory recording method as well as recording equipment and system
CN105760191A (en) Embedded system equipment programming mass production method
CN103677915A (en) Automatic burning method of flash mirror image based on TF starting card
CN101872306B (en) Embedded system for realizing software updating and software backup and implementation method thereof
WO2017000637A1 (en) Method of programming flash memory, and single board, host computer and system utilizing same
CN102622281A (en) Intelligent terminal and method of data backup and restore thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 3, 01-10 building, 518000 / F, Changhong technology building, 18 South twelve Road, Nanshan District, Guangdong, Shenzhen

Applicant after: Shenzhen RoadRover Technology Co., Ltd.

Address before: Nineteen, 518000 building, Shuguang building, twelve South Road, Nanshan District hi tech Zone, Shenzhen, Guangdong

Applicant before: Shenzhen RoadRover Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN ROADROVER TECHNOLOGY CO., LTD. TO: SHENZHEN ROADROVER TECHNOLOGYCO., LTD.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120627