Data partition storage method and system boot method of embedded system

An embedded system and data partitioning technology, which is applied in the direction of program loading/starting, electrical digital data processing, special data processing applications, etc., can solve the problems of inflexibility, partition cannot be located, etc., achieve system simplicity and reduce data loss risk, safety-enhancing effects

Active Publication Date: 2012-09-26
SHENZHEN GONGJIN ELECTRONICS CO LTD
View PDF5 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the partition table in this method is concentrated in a fixed location, the security of this partition table becomes very important, because once the partition table is destroyed, all partitions on the FLASH will not be able to be located
[0005] Another method is to allocate a fixed location for each partition, which is built into the Bootloader. When the Bootloader is powered on, it will locate each partition according to the specified location. Obviously, this method has no flexibility at all. If the partition size and When the location needs to be changed, the inherent partition positioning information in the Bootloader needs to be changed accordingly

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
  • Data partition storage method and system boot method of embedded system
  • Data partition storage method and system boot method of embedded system
  • Data partition storage method and system boot method of embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0045] The core idea of ​​the present invention is: divide the FLASH into a plurality of partitions with different functions, each functional partition is aligned according to the sectors of the FLASH chip, and store header information at the beginning position of each partition except the Bootloader partition to mark The attribute of this partition, so that in the subsequent system startup process, accurate positioning can be realized according to the header information of each partition. The solution of the present invention will be described in detail below.

[0046] (1) Define the partition...

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 provides a data partition storage method and a system boot method of an embedded system, wherein the data partition storage method comprises the following steps: packaging each partition files including a Bootloader partition file, one or two Image partition files containing kernels and root file systems, and other user data partition files; respectively adding header information to all the partition files except the Bootloader partition file, the header information being used for identifying attributes of a current partition file; and writing each partition files into a FLASH chip in a sector alignment manner. In embodiments according to the invention, a centralized partition table dose not need to be set, not requiring implementation of centralized management, thereby, enabling simple and convenient use and improved safety, avoiding a risk of incapability of positioning each partition after the centralized partition table being damaged; functions of each partition are independent from each other, rendering no effect on each other, thereby, reducing data loss risk; partition data is organized in a compact manner, which enables the system to be more concise.

Description

technical field [0001] The invention relates to the field of embedded network communication, in particular to a data partition storage method of an embedded system and a system booting and starting method. Background technique [0002] In the field of embedded devices, FLASH is widely used as a lightweight data storage solution due to its many advantages over traditional storage device disks. However, unlike disks, FLASH has some of its own characteristics due to its different working principles. For example, before writing data, the Erase (erase) operation must be performed on the target Sector (sector). When erasing, the sector is used as the minimum The unit is used for erasing, while the data is written in batches according to the maximum unit of Page (page). [0003] In embedded devices with Linux as the kernel, a piece of FLASH is often divided into several different logical Partitions (partitions), which are used to store various data with different functions and pro...

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): G06F17/30G06F9/445
Inventor 夏超仁董浩赖思敏周晓海
Owner SHENZHEN GONGJIN ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products