Check patentability & draft patents in minutes with Patsnap Eureka AI!

GPIO (General-Purpose Input/Output) interface configuration method, system and device, and readable storage medium

A technology of interface configuration and configuration method, which is applied in the computer field, can solve problems such as wasting time and delaying test progress, and achieve the effects of saving time, making significant progress, and highlighting substantive features

Active Publication Date: 2021-12-07
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although there is a table in the BIOS that can change different configurations, when performing clock synchronization tests, our BIOS provides dozens of versions. In order to cooperate with the hardware for different GPIO configurations, if a configuration needs to be changed, we need to provide a version to match Hardware work, wasting time and delaying testing progress

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
  • GPIO (General-Purpose Input/Output) interface configuration method, system and device, and readable storage medium
  • GPIO (General-Purpose Input/Output) interface configuration method, system and device, and readable storage medium
  • GPIO (General-Purpose Input/Output) interface configuration method, system and device, and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] Such as figure 1 As shown, the present embodiment provides a configuration method of a GPIO interface, including the following steps:

[0053] S1: Configure the interaction protocol between the BMC and the BIOS, and establish the interaction between the BMC and the BIOS.

[0054] S2: Obtain the GPIO interface configuration information required for the clock synchronization test.

[0055] S3: The BMC sets the GPIO interface required for the clock synchronization test through the platform management interface program, and sends it to the BIOS, and the BIOS fills the corresponding setting information into the GPIO interface configuration table.

[0056] This step specifically includes: firstly, obtaining the variables of the GPIO interface required for the clock synchronization test in the general interface configuration table of the BIOS, and establishing the GPIO interface configuration table according to the obtained variables. Then, the GPIO interface configuration inf...

Embodiment 2

[0060] Based on Embodiment 1, this embodiment also provides a configuration method of a GPIO interface, including the following steps:

[0061] 1. Install the IPMI driver in the current device, configure the IPMI protocol between BMC and BIOS, and establish the interaction between BMC and BIOS.

[0062] 2. Obtain the GPIO interface configuration information required for the clock synchronization test.

[0063] 3. Obtain the Variables of the GPIO interface required for the clock synchronization test in the BIOS table.

[0064] The specific script is as follows:

[0065]

[0066]

[0067] 4. Create a GPIO table according to Variables.

[0068] 5. Use ipmitool to send the GPIO interface configuration information required for the clock synchronization test to the BIOS. The specific script is as follows:

[0069]

[0070] 6. The BIOS fills the ResponseData into the GPIO table.

[0071] The configuration content of the GPIO table is shown in the following table:

[00...

Embodiment 3

[0077] Based on Example 1, such as figure 2 As shown, the present invention also discloses a configuration system of a GPIO interface, comprising: an interaction unit 1, an information acquisition unit 2, a configuration table generation unit 3, a test unit 4, a variable acquisition module 5, a table building module 6, and a configuration information transmission Module 7 and Form Filling Module 8.

[0078] The interaction unit 1 is configured to configure the interaction protocol between the BMC and the BIOS, and establish the interaction between the BMC and the BIOS.

[0079] The information acquisition unit 2 is configured to acquire GPIO interface configuration information required for the clock synchronization test.

[0080] The configuration table generation unit 3 is used to control the BMC to set the GPIO interface required for the clock synchronization test through the platform management interface program, and send it to the BIOS, and the BIOS fills in the GPIO int...

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 GPIO (General-Purpose Input / Output) interface configuration method, system and device, and a readable storage medium. The method comprises the following steps: an interaction protocol of a BMC and a BIOS is configured, and interaction between the BMC and the BIOS is established; GPIO interface configuration information required by a clock synchronization test is obtained; the BMC sets a GPIO interface required by the clock synchronization test through a platform management interface program and sends the GPIO interface to the BIOS, and the BIOS fills corresponding setting information into a GPIO interface configuration table; the BIOS performs GPIO interface configuration according to the GPIO interface configuration table, and performs clock synchronization test. According to the method, the system and the device, the GPIO interface can be quickly configured in an out-of-band mode according to requirements of a clock synchronization test, so that time and manpower are effectively saved.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically relates to a configuration method, system, device and readable storage medium of a GPIO interface. Background technique [0002] GPIO interface (General-purpose input / output), the abbreviation of general-purpose input and output interface, the function is similar to P0-P3 of 8051, its pins can be freely used by users through program control, and PIN pins can be used as general-purpose input (GPI) according to practical considerations. ) or general-purpose output (GPO) or general-purpose input and output (GPIO), such as when clk generator, chip select, etc. The GPIO interface has the advantages of low power consumption, small package, low cost, and simple wiring, and is widely used in computing devices. [0003] In computing devices such as servers and storage, in many cases, software and hardware need to cooperate to work together. Clock synchronization test is on...

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 Applications(China)
IPC IPC(8): G06F13/42G06F11/22
CPCG06F13/4291G06F13/4295G06F11/221Y02D10/00
Inventor 程聪聪
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More