Unlock instant, AI-driven research and patent intelligence for your innovation.

A way to reduce the size of multi-core firmware

A single-core firmware and firmware technology, which is applied in software engineering design, program code conversion, instruments, etc., can solve the problems of reducing the size of the firmware, not mentioning any existing technology, and the size of the firmware exceeds the size of the Flash space, etc., to achieve size reduction , the effect of reducing the upgrade time

Active Publication Date: 2020-06-05
GUANGZHOU HUIRUI SITONG INFORMATION SCI & TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, some startup methods of the chip limit the read and write range of the Flash size, and there is a problem that after multiple single-core firmwares are merged, the firmware size exceeds the Flash space size.
[0003] Among the existing methods, several patents provide some innovative methods for firmware modification, firmware customization, firmware expansion, etc. Patent 200910223312.8 "Firmware Extension Method and Firmware Generator" discloses a firmware extension and firmware generation method; patent 201410005343.7 "Firmware Customization Method and Hardware Devices with Customizable Firmware", which discloses a method of customizing firmware by modifying the content of the reserved space; all these patents have no mention of how to reduce the size of the firmware for the time being.

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
  • A way to reduce the size of multi-core firmware
  • A way to reduce the size of multi-core firmware

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0027] Two types of firmware are involved in the present invention. The present invention stipulates that the firmware corresponding to each core before merging is called single-core firmware; the firmware generated by merging the firmware of all cores is called merged firmware; the size of firmware A uses Size( Firmware A) said. Considering that in the firmware merging process, some state control information needs to be added as a boundary for distinguishing single-core firmware; if there are N single-core firmwares to synthesize one firmware, we get:

[0028] Size (combined firmware) = Size (single core firmware 1) +...+Size (single core firmware N) + Size (control status information) ≥ Size (single core firmware 1) +...+Size (single core firmware N).

[0029] The present invention uses multiple cores in the same chip to use M shared spaces during code design. These shared spaces are reflected in the single-core firmware as M segments, and each segment is called a segment; these ...

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 decreasing sizes of multicore firmware. The method comprises a repeated segment information collection step: analyzing an initial address and a length of a sharedspace in single-core firmware through analyzing a file structure of a firmware file, determining repeated segment information and forming a configuration file; and a firmware generation and combination step: before combining a plurality of pieces of single-core firmware, preferentially reading configuration information, obtaining initial addresses and lengths of repeated segments, during the combination of multi-core firmware, obtaining information of the repeated segments, for repeated fields of all the cores, only retaining the information of the repeated field in the first single-core firmware, and discarding data, falling in the repeated field, of the other single-core firmware. According to the method, the storage of repeated samples is avoided, the sizes of the combined firmware aredecreased, the problem that the firmware which exceeds the Flash sizes cannot be stored is solved, and the firmware upgrading time is shortened; and the configuration file can be flexibly changed according to code design, so that firmware generation tools do not need to be modified.

Description

Technical field [0001] The present invention relates to the technical field of embedded electronic equipment, in particular to a method for reducing the size of multi-core firmware. Background technique [0002] In the field of embedded devices, firmware is an important content, and it is the key for embedded devices to operate independently of the development simulation environment. With the popularity of multi-core chips, multiple single-core firmwares are merged into a single firmware, reducing the number of upgrades and improving upgrade efficiency is put on the agenda. Some startup methods of the chip limit the read and write range of the Flash size. After multiple single-core firmwares are merged, the firmware size exceeds the size of the Flash space. [0003] Among the existing methods, there are several patents that provide some innovative methods for firmware modification, firmware customization, firmware extension, etc. Patent 200910223312.8 "Firmware Extension Method an...

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 Patents(China)
IPC IPC(8): G06F8/41
CPCG06F8/4434
Inventor 窦小龙王敏
Owner GUANGZHOU HUIRUI SITONG INFORMATION SCI & TECH CO LTD