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

A method of loading a device in a linux system

A system loading and equipment technology, applied in the direction of program control design, instrumentation, calculation, etc., can solve the problem that the expansion circuit board cannot integrate the device information into the device tree file, etc., and achieve the effect of reducing the requirements.

Active Publication Date: 2020-05-08
RTCHIP INFORMATION TECH SHANGHAI
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to solve the problem that the expansion circuit board cannot incorporate its device information into the device tree file because there is only one device tree file in the current Linux operating system, and to provide a method for loading devices in the Linux system, which makes the expansion circuit board The device information on the device can be integrated into the device tree, which makes it easier for users to develop their own expansion circuit boards, and at the same time reduces the requirements for the expansion circuit board software development

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 method of loading a device in a linux system
  • A method of loading a device in a linux system
  • A method of loading a device in a linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the technical means, creative features, goals and effects achieved by the present invention easy to understand, the present invention will be further described below in conjunction with specific embodiments.

[0028] Embodiments of the present invention provide a method for loading devices in a Linux system. The system startup is divided into two stages, see figure 1 As shown, in the system BOOT startup phase 10 and the Linux system startup phase 20, the main device tree file is stored in the NAND Flash memory of the main circuit board 12, in the system BOOT startup phase 10, the main device tree file is loaded into the internal memory 11, and then, enter Linux system start-up phase 20, the Linux system parses the main device tree file to form a device tree, and loads the auxiliary device tree file into the memory 12. In this step, the auxiliary device tree file 22 is stored in the SPI Flash of the expansion circuit board 1, and the expansion The data f...

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 Linux system equipment loading method, comprising the steps of step 1, loading the storage device of Linux system with files of the main device tree and the auxiliary device tree; step 2, loading the files of the main device tree and the auxiliary device tree into the internal storage of the storage device, and analyzing the device tree formed in the internal storage by the main device tree and the auxiliary device tree; and step 3, loading the equipment drive into the Linux system according to the analyzed device tree formed by the main device tree and the auxiliary device tree. The methodenables the integration of equipment information on the extended circuit board into the device tree, so that the self extension of circuit boards by the user can be easier and the cost for developing extending circuit boards are reduced at the same time.

Description

technical field [0001] The invention relates to the device driving field of an embedded Linux operating system, in particular to a method for loading a device in a Linux system. Background technique [0002] In the embedded Linux operating system, the device information is stored in the storage device using the device tree file. When the system starts, the device tree file is loaded and parsed, and the device driver is loaded according to the device information in the device tree file. If there is no device information in the device tree file, the Linux operating system will consider that the related device does not exist. The current Linux operating system has only one device tree file. [0003] In actual products, if the main circuit board and the expansion circuit board are assembled, the expansion circuit board is often developed by the user, and the main circuit board provider is often unable to determine which extended functions of the main circuit board are used by t...

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): G06F9/4401
CPCG06F9/4411
Inventor 张灿斌冯伟张津涛张峻
Owner RTCHIP INFORMATION TECH SHANGHAI
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