Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for making system files of ubi format into factory burn image files

A system file and image file technology, applied in the storage field, can solve the problems of long time, error-prone, low production efficiency, etc., to achieve efficient and flexible wear leveling technology, increase data reliability, and improve service life.

Active Publication Date: 2014-02-19
宋易霄
View PDF5 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If you use a burner to directly burn and compile the original system files (bootstrap.bin, uboot.bin, uImage, rootfs), the system cannot run because there is no spare area information
[0005] Since nandflash has a certain probability of bad blocks when it leaves the factory, if you use a writer to directly burn the burning image with spare area information, the system still cannot run
Because, when the first partition of nandflash has 1 bad block, nandflash burns by skipping the bad block, and the burner will write the remaining data of the first partition to the first block of the second partition In the block, the data of the original second partition is burnt into the second block of the second partition, but the data is read from a fixed address when the system starts, that is, the system goes to the first Read data in a block, at this time, the first block of the second partition stores the remaining data of the first partition, and the system cannot run
[0006] There are two main methods for burning existing Linux embedded devices: one method is to use script commands to burn various system files (bootstrap, config, uboot1, uboot2, integrated image image1, integrated image image2), this method has two disadvantages Firstly, it needs to make the burning tooling, which requires a certain production cost; secondly, the time to burn the system files is long, and the production efficiency is low; another method is to manually make the partition table file partTable.bin and the merge file Merge.bin and burn To record the image, the programmer first manually enters commands to download each system file to the nandflash of the embedded device, removes the nandflash and reads out all the data with a burner, then saves the data of each partition of the nandflash, and then uses a third-party application software to manually create a partition table file partTable.bin and merged file Merge.bin, and finally use the burner to burn the created image file (partition table file partTable.bin and merged file Merge.bin). The disadvantage of this method is that there are many steps to make the image file, and the time Long, manual intervention, complex process, error-prone and other shortcomings

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for making system files of ubi format into factory burn image files
  • Method for making system files of ubi format into factory burn image files
  • Method for making system files of ubi format into factory burn image files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0039] It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.

[0040] Embodiments of the present invention provide a method for making a system file in the ubi file system format into a factory burn image file in a Linux embedded device, refer to figure 1 , including the following main steps:

[0041] First read the nandflash partition information of the li...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for making system files of ubi format into factory burn image files. The method includes the following steps that nandflash partition information of Linux embedded equipment is read from partition files; a uboot starting file is made through an mkimage tool; a kernel and a root file system are integrated into a mirror image file; the system files are converted; content in a spare region of the nandflash is appended, and ECC data of the files are calculated; the image files capable of being burned in a partition mode are made, and the image files comprise partition list files and combined files. According to the method, a burning tool is not needed, making cost is not needed, the time for making burnt images in a factory is short, manual participation is not needed, the totally correct image files can be automatically generated within several seconds, the burning time is shortened, and the efficiency of a production line of Linux embedded products is improved.

Description

technical field [0001] The invention relates to storage technology, in particular to a method for making a system file in ubi format into a factory burning image file used in a Linux embedded device. Background technique [0002] The nandflash structure can provide extremely high cell density, high storage density, fast writing and erasing speed, and low cost of storage media. It has gradually become the preferred storage device for embedded systems. However, considering cost and technology, nandflash allows the existence of A certain percentage of bad blocks. [0003] The lifespan of nandflash is limited. The number of erasing and writing times of a nandflash block is about 10^5-10^6 times. In order to keep the service life of nandflash long enough, it is necessary to avoid unbalanced areas of erasing and writing, otherwise the flash memory will be partially erased. The entire nandflash is scrapped due to the write limit, which is actually a waste, so Wear Balance technolo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
CPCG06F8/63
Inventor 邓兵
Owner 宋易霄
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products