Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Automatic matching method of hardware board card

An automatic matching, hardware board technology, applied in special data processing applications, program control design, instruments, etc., can solve problems such as difficulties, achieve the effect of reducing requirements, reducing development and maintenance costs, and avoiding waste

Inactive Publication Date: 2014-10-29
WUHAN POST & TELECOMM RES INST CO LTD
View PDF5 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But in this case, it will be more difficult to customize the uboot or kernel of some boards

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
  • Automatic matching method of hardware board card
  • Automatic matching method of hardware board card
  • Automatic matching method of hardware board card

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0020] The technical solution of the present invention will be described in detail below with reference to the drawings and embodiments.

[0021] For this method of automatically matching hardware boards with software, the purpose is to achieve a software sharing platform, and the key to a software sharing platform is how to be compatible with multiple boards in a set of source code. In order to achieve compatibility, macro definitions can be used to distinguish hardware boards, but if the product software version is redundant, the gain is not worth the loss. In the Linux field, uboot startup, kernel loading, and file system startup are the three necessary processes for linux board startup. The present invention directly obtains hardware board information in uboot, and the board information runs through the entire device startup process, so that the device The hardware board can be distinguished regardless of the process.

[0022] As attached figure 1 As shown, the embodiment uses...

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

Provided is an automatic matching method of a hardware board card. In the uboot starting stage, board card information of current hardware is acquired and saved in the environment variable bootargs of linuxuboot in the mode of character strings; the character strings saved in the environment variable bootargs are copied to a heap address space to which a kernel pointer saved_command_line points by a kernel, and the copied and saved character strings are saved in a cmdline file by establishing a proc folder; a file system is started, the cmdline file in the proc folder is analyzed to obtain the edition type boardtype and the slot position identification slotid of the current hardware, corresponding software is loaded according to an analysis result, and configuration needed by different board cards is completed. Through the method, software can be configured on the same platform, different hardware board cards can be automatically matched, the requirement for hardware can be lowered, and manpower and resource waste can be avoided.

Description

technical field [0001] The present invention relates to an automatic matching method of hardware boards, in particular to a method of using linux uboot (a general boot program) environment variable to transfer board hardware information to the kernel for software to automatically match hardware boards, which can be applied to In the system design of multiple hardware boards and software platforms. Background technique [0002] In the embedded field, hardware boards with various functions emerge in an endless stream. For the same company, with the continuous development and growth of the company, there are more and more derivative or updated products with similar hardware and small software differences. How to achieve common software platform development for different hardware boards and avoid complicated multi-platform software management Problems such as work and software version release confusion are problems that many companies need to face. The multi-hardware and softw...

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): G06F17/30
CPCG06F9/4411
Inventor 肖飞杨小帅张汇
Owner WUHAN POST & TELECOMM RES INST 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
Eureka Blog
Learn More
PatSnap group products