Equipment tree configuration optimization method and device, computer equipment and storage medium

A configuration optimization and device tree technology, applied in the field of ARM-LINUX system, can solve the problem of high maintenance cost and achieve the effect of reducing maintenance cost

Pending Publication Date: 2021-10-15
深圳市广通远驰科技有限公司
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the traditional method of using device tree files to adapt hardware will use multiple ver

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
  • Equipment tree configuration optimization method and device, computer equipment and storage medium
  • Equipment tree configuration optimization method and device, computer equipment and storage medium
  • Equipment tree configuration optimization method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the purpose, technical solution and advantages of the present application clearer, the present application 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 application, and are not intended to limit the present application.

[0055] The device tree configuration optimization method provided by this application can be applied to such as figure 1shown in the application environment. Wherein, the communication between the terminal 102 and the target hardware device 104 is performed through a serial port wired or wirelessly, and the terminal 102 in this application specifically refers to an ARM-Linux embedded system. The terminal 102 includes a flash cache partition, and the flash cache partition includes a system startup partition (boot partition), a kernel partition, and a file system 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 relates to an equipment tree configuration optimization method and device, computer equipment and a storage medium. The method comprises the following steps: reading an original equipment tree file from a system startup partition, and loading an original equipment tree into a running memory; reading a target equipment tree file from a target configuration partition, loading the target equipment tree file into a running memory, wherein the target configuration partition is obtained by dividing a file system partition; according to the target equipment tree file, modifying child node information of the original equipment tree file to obtain an updated equipment tree file; loading a kernel driver, and obtaining the updated equipment tree file from the running memory; and realizing connection with the target hardware equipment according to the updated equipment tree file. By adopting the method, the maintenance cost of the equipment tree file adaptive hardware can be reduced.

Description

technical field [0001] The present application relates to the technical field of ARM-LINUX system, in particular to a device tree configuration optimization method, device, computer equipment and storage medium. Background technique [0002] With the development of ARM-LINUX system technology, in order to make the ARM-LINUX system adapt to hardware devices, a device tree configuration technology appears. [0003] In the traditional technology, the current ARM-LINUX system uses the device tree method. One software version can only adapt to one hardware configuration. If another hardware configuration is replaced, for example: the hardware configuration of A device is to open the serial port, and the hardware configuration of B device It is to close the serial port. If you want to make the software adapt to the hardware of device A and also adapt to the hardware of device B, you need to modify the device tree file first, compile and generate a software version to upgrade and a...

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): G06F8/65G06F8/71G06F9/445
CPCG06F8/65G06F8/71G06F9/44521
Inventor 何智泓白春荣王邵辉黄运利
Owner 深圳市广通远驰科技有限公司
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