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

Method for Upgrading Flash File System in Embedded System

An embedded system and file system technology, applied in the direction of program loading/starting, program control devices, etc., can solve problems such as prone to abnormalities

Active Publication Date: 2011-12-28
BEIJING HAN NETWORKS TECH CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When using this method of directly upgrading the flash memory, there is such a problem: because the original file system resources have not been released, some processes are still running, and the commands used in the upgrade are also stored in the file system, so if this When using the upgrade image file directly to overwrite the corresponding file in the original file system, abnormal situations are prone to occur

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 Upgrading Flash File System in Embedded System
  • Method for Upgrading Flash File System in Embedded System
  • Method for Upgrading Flash File System in Embedded System

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

[0015] The method for upgrading the flash memory in the embedded Linux system of the present invention first copies the upgrade image file and the application tool for upgrading to the memory directory, mounts the memory directory to the root directory of the system, and then uses the Linux The signaling mechanism to control flash upgrade processing.

[0016] In the Linux system, when the Linux kernel is initialized, the init program starts to run, and the inittab file is a file used to configure the init program. After the init program is running, it keeps running and does not allow it to terminate. But, the system reset signal of Linux can terminate the init program of current operation, and restart the new init program, the present invention has just utilized this signal mechanism, after the inittab file is carried out to be used for the modification of fl...

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 method for upgrading a flash memory file system in an embedded system. The method comprises the following steps of: downloading a mirror image file for upgrading to an internal memory directory, and copying an application tool required by the upgrading to the internal memory directory; stopping all application processes which are irrelevant to the upgrading; unloading a file system, and mounting the internal memory directory to a root directory of the embedded system; establishing an initialization file in a specified directory under the mounted root directory, and writing an instruction for executing the upgrading operation of the flash memory file system; and sending a system reset signal for starting an initialization program again, wherein the embedded system runs the initialization program again according to the sent system reset signal to upgrade the flash memory file system according to the instruction in the established initialization file.

Description

technical field [0001] The invention relates to a method for upgrading a flash memory file system in an embedded system, in particular to a method for using a signal mechanism of Linux to control and reset the system so as to perform an upgrade of the flash memory file system. Background technique [0002] The file system determines how the operating system's data and user data are organized on the storage device. In an embedded system, the file system is a functional module used by the embedded operating system to manage file operations, providing a series of powerful data input, output and management interfaces. The standardized interface guarantees the hierarchy of the program and increases the portability of the program. [0003] Embedded file systems generally use flash memory based on NOR technology. In addition to storing data, flash memory can also store code for direct execution. However, unlike general block devices, the flash memory used in embedded systems can...

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
IPC IPC(8): G06F9/445
Inventor 黄晓辉李际勇范成龙
Owner BEIJING HAN NETWORKS TECH CO LTD
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