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

Realization method of I2C bus for multi-hardware platform FT server

An implementation method and technology of a hardware platform, applied in the direction of instruments, electrical digital data processing, etc., can solve the problems that the I2C bus cannot be universal, reduce the user experience of the Feiteng server, and the GPIO driver is not the same. Experience, the effect of low implementation costs

Active Publication Date: 2012-08-29
NAT UNIV OF DEFENSE TECH
View PDF3 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the different PCIe switching units used between different hardware platforms, the implementation of the I2C bus is also different in software. Specifically, the GPIO drivers are not the same. Different hardware The I2C bus between platforms cannot be used universally
Differences in the hardware design of different hardware platforms of Feiteng servers lead to differences in the implementation of I2C bus software on different platforms, but if different Feiteng server platforms use different software for realizing the I2C bus for their respective hardware platforms, especially the present invention The I2C bus function to be realized must be integrated into the operating system, which will lead to different operating systems deployed on different Feiteng server platforms, which will bring unnecessary trouble and inconvenience to users of Feiteng servers. Greatly reduce the user experience of Feiteng server, which is not conducive to the promotion of Feiteng server

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
  • Realization method of I2C bus for multi-hardware platform FT server
  • Realization method of I2C bus for multi-hardware platform FT server
  • Realization method of I2C bus for multi-hardware platform FT server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] Such as figure 1 As shown, the implementation steps of the implementation method for the I2C bus of the multi-hardware platform Feiteng server in this embodiment are as follows:

[0029] 1) Among the on-chip GPIO ports of the PCIe switching unit on the Feiteng server, the two idle GPIO ports are respectively connected with external pull-up resistors and used as the data line interface and clock line interface of the I2C bus interface;

[0030] 2) Map the PCI memory space of the PCIe switching unit to the CPU virtual address space when initializing the hardware;

[0031] 3) Obtain the type information of the PCIe switching unit, and obtain the mapping port addresses of the aforementioned two GPIO ports in the CPU virtual address space according to the type information of the PCIe switching unit;

[0032] 4) Establish and register the GPIO driver module for operating the aforementioned two GPIO ports corresponding to the mapped port address in the operating system;

[0...

Embodiment 2

[0047] Such as image 3 As shown, this embodiment is basically the same as Embodiment 1. The difference is that the PCIe switching unit of the Phytium server is implemented using the PEX8648 chip. By applying the I2C bus implementation method of this embodiment to the Phytium installed with the Galaxy Kylin Phytium version of the operating system On the server, the I2C bus interface simulated by the two GPIO ports is connected with a shutdown controller used to control the shutdown of the Phytium server. It has been verified that the I2C bus interface simulated by the two GPIO ports can output the correct shutdown control pulse timing, and the Phytium server has been successfully implemented. power off.

Embodiment 3

[0049] Such as Figure 4 As shown, this embodiment is basically the same as Embodiment 1. The difference is that the PCIe switching unit of the Phytium server is implemented using the PEX8632 chip. By applying the I2C bus implementation method of this embodiment to the Phytium installed with the Galaxy Kylin Phytium version of the operating system On the server, the I2C bus interface simulated by the two GPIO ports is connected with a shutdown controller used to control the shutdown of the Phytium server. It has been verified that the I2C bus interface simulated by the two GPIO ports can output the correct shutdown control pulse timing, and the Phytium server has been successfully implemented. power off.

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 realization method of an I2C bus for a multi-hardware platform FT server. The method comprises the following implementation steps of: 1) designating two spare general purpose input / output (GPIO) ports in a peripheral component interface express (PCIe) exchange unit as I2C bus interfaces, and connecting the GPIO ports to an upwards pulling resistor respectively; 2) when hardware is initialized, mapping a peripheral component interface (PCI) memory space of the PCIe exchange unit as a central processing unit (CPU) virtual address space; 3) acquiring mapping port addresses of the two GPIO ports in the CPU virtual address space according to the type information of the PCIe exchange unit; 4) establishing a GPIO driving program of the two GPIO ports; and 5) when I2C equipment is used, performing communication between an instruction of an I2C bus time sequence generated by an I2C bus controller driving program and the I2C equipment through the GPIO driving program. The method has the advantages of capability of utilizing the spare GPIO ports, low implementation cost, simpleness in implementation, convenience in use and high compatibility.

Description

technical field [0001] The invention relates to a computer hardware application platform of a Feiteng server, in particular to an implementation method of an I2C bus for a multi-hardware platform Feiteng server. Background technique [0002] Feiteng server (FT server) is a server computer platform developed by NUDT based on the FT1000 processor. The FT1000 processor is a general-purpose 64-bit processor developed by NUDT and compatible with the sparc instruction set. Phytium servers currently have a variety of different hardware platforms. Although these different hardware platforms have many differences in hardware design, they all have a common feature, that is, they all have a PCIe switching unit to provide PCIe devices for the system. Access point, currently all FT server platforms use one of the following three PCIe switching units, namely PEX8664, PEX8648 and PEX8632. Therefore, according to the different PCIe switching units used, the FT server platform can be divide...

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/20
Inventor 戴华东孙立明邵立松董攀张卫华李振钊魏彦斌李真能
Owner NAT UNIV OF DEFENSE TECH