Multistage boot load method of embedded equipment

An embedded device and bootloading technology, which is applied in the direction of program loading/starting, program control devices, etc., can solve problems such as inability to run, change, incomplete writing, etc., and achieve the effect of meeting security requirements

Active Publication Date: 2013-01-30
SHENZHEN GONGJIN ELECTRONICS CO LTD
View PDF7 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embedded bootloader is usually stored in the flash, and the traditional bootloader upgrade method is: when upgrading the bootloader, it is necessary to erase the data on the corresponding block of the bootloader on the flash, and then write it from the ram. The upgrade is terminated due to power failure and other accidents, and the block whe

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
  • Multistage boot load method of embedded equipment
  • Multistage boot load method of embedded equipment
  • Multistage boot load method of embedded equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the object, technical solution and advantages of the present invention clearer, 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.

[0027] see figure 1 , the existing flash is sequentially divided into a bootloader partition, an image partition (actually it can also be multiple image partitions) and a data configuration area. The bootloader partition is used to store the bootloader program itself and the configuration parameters required by the bootloader; the image partition usually includes two parts: kernel and rootfs; the data configuration area is optional, including configuration parameters required for system operation and running record information, and sometimes may include in rootfs.

[0028] Different from the exis...

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 multistage boot load method of embedded equipment. Flash of the embedded equipment is sequentially divided into a boot loader 2 partition, an image partition and a data configuration partition. The multistage boot load method comprises the following steps of: adding a boot loader 1 partition in a storage area, wherein the boot loader 1 partition has the functions of upgrading, guiding and configuring the boot loader 2; after the equipment is electrified, starting the boot loader 1 firstly; checking whether a command for upgrading/configuring the boot loader 2 is input or not within an appointed time in a circulating way; if the command is not input, guiding the boot loader 2 to start by the boot loader 1, and finishing a start flow; and if the command is input, upgrading/configuring the boot loader 2 by the boot loader 1, and skipping to the boot loader 2 after the upgrading/configuring to execute equipment reboot or directly reboot the equipment. According to the multistage boot load method provided by the embodiment of the invention, the diversity of an image and the boot loader are supported, and the safety requirements during the embedded upgrading are also satisfied.

Description

technical field [0001] The invention relates to the field of embedded technology, in particular to a multi-level bootloading method for embedded devices. Background technique [0002] Embedded devices have two notable characteristics: one is to reduce the cost as much as possible, and redundant software and hardware functions need to be cut; the other is that it needs to be customized to meet diverse needs, and it is difficult to meet all the needs in a unified standard way. [0003] As the main part of the program, the image (program image, usually including kernel (kernel) and rootfs (root file system)) is also diversified. With the development of technology, the form of the image itself is constantly developing, and there are dual images, large and small images, etc. The appearance of the application form has caused the original bootloader (boot loader) to no longer meet the new requirements and is not compatible, so the bootloader itself also needs to be upgraded. Somet...

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 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