Community
cancel
Showing results for 
Search instead for 
Did you mean: 
TSuzu6
Beginner
1,108 Views

Chip address for 82580 i2c interface with Linux

Hi! all

I use 82580EB whose i2c interface(SFP0_I2C_CLK,DATA) is connected to an i2c slave device.

I make igb driver as below,

[detail]

-Base ver:igb-5.2.9.4.tar.gz

-patches:add_i2cenable_parameter.patch

i2c_disables_oe_when_reading_scl_and_sda.patch

i2c_tristates_pins_for_high_value.patch

I try to check i2c interface as following steps,

(1)modprobe -r igb

(2)modprobe igb I2CBB=1

(3)modprobe i2c-dev

(4)i2cdetect - 0

-----------------------------result------------------------------------------

WARNING! This program can confuse your I2C bus, cause data loss and worse!

I will probe file /dev/i2c-0.

I will probe address range 0x03-0x77.

Continue? [Y/n] y

0 1 2 3 4 5 6 7 8 9 a b c d e f

00: -- -- -- -- -- 08 -- -- -- -- -- -- --

10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

20: -- -- -- -- 24 -- -- -- -- -- -- -- -- -- -- --

30: -- -- -- -- -- -- -- -- 38 -- -- -- -- -- -- --

40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- --

50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

70: -- -- -- -- -- -- -- --

------------------------------------------------------------------------------------

I guess that "i2cdetect -y 0" detects 4 i2c interface. Because 82580 has 4 i2c interface.

But the result means that 5 i2c interface are detected.

I would like to know that what device is maeached to each chip address.

How should I confrm the relation between chip address and actual device ?

Best Regards,

Taira

0 Kudos
5 Replies
CarlosAM_INTEL
Moderator
125 Views

Hello, taira:

Thank you for contacting Intel Embedded Community.

In order to be on the same page, we would like to address the following questions:

Could you please clarify us if the Intel(R) 82580EB implementation has been developed by you or it is a third party design?

Could you inform us if the requested information is related to a technical problem? In case that your answer is affirmative, please give us a detailed description of the issue.

Could you please tell us where you acquire the cited driver (igb-5.2.9.4.tar.gz)?

Could you please let us know the meaning of the term "maeached"?

We really appreciate the information that may answer the previous consultations.

Best regards,

Carlos_A .

TSuzu6
Beginner
125 Views

Hi! Carlos_A

Thank you for your reply.

My answers are as below,

(Q1)Could you please clarify us if the Intel(R) 82580EB implementation has been developed by you or it is a third party design?

(A1)Yes, the 82580EB is implemented on our design.

(Q2)Could you inform us if the requested information is related to a technical problem? In case that your answer is affirmative, please give us a detailed description of the issue.

(A2)Yes, I guess that this issue is related to our HW design or our Linux configuration.

[detail]

OS:Fedora 17(kernel:3.4.33.-1 rt47.1.fc17.ccrma.i686.rt)

OS works on general desktop computer(Intel corei-7)

HW:The board we designed is connected to this computer via pci-express slot.

The our board has a 82580EB with the EEPROM of the 82580EB.

One of 4 i2c interfaces on 82580EB is connected to the slave i2c device.

Others are connected to nothing.

I make and install igb driver with i2c patches and modified Makefile on the OS.

I perform the next steps,

(1)modprobe -r igb

(2)modprobe igb I2CBB=1

(3)modprobe i2c-dev

(4)i2cdetect - 0

As a result, i2c bus-0 detects 5 chip address(0x08,0x24,0x38,0x44,0x50)

(Q3)Could you please tell us where you acquire the cited driver (igb-5.2.9.4.tar.gz)?

(A3) I acquired it on https://sourceforge.net/projects/e1000/files/igb%20stable/ https://sourceforge.net/projects/e1000/files/igb%20stable/

The Patches are on https://sourceforge.net/p/e1000/patches/28/ https://sourceforge.net/p/e1000/patches/28/

(Q4)Could you please let us know the meaning of the term "maeached"?

Oh,,,sorry for my broken english. "maeached" is mistake. It means "matched".

I would like to know that which chip address correspond to which device.

Best Regards,

Taira

CarlosAM_INTEL
Moderator
125 Views

Hello, taira:

Thanks for your reply.

Based on your previous communication, you should address as a reference your consultations related to this driver to the https://sourceforge.net/projects/e1000/support support for Intel Ethernet Drivers and Utilities at its developer website.

We hope that this information may help you.

Best regards,

Carlos_A .

TSuzu6
Beginner
125 Views

Hi Carlos_A

Thank you for your reply.

I have visited to "https://sourceforge.net/projects/e1000/support Intel Ethernet Drivers and Utilities | Support for Intel Ethernet Drivers and Utilities at SourceForge.net ".

There is a link which is "Best Way to Get Help" is http://sourceforge.net/tracker/?func=add&group_id=42302&atid=447449 http://sourceforge.net/tracker/?func=add&group_id=42302&atid=447449

which is download page for ixgbe-5.1.3.tar.gz.

ixgbe-5.1.3.tar.gz is driver for Intel 82599 and 82598EB 10 Gigabit Ethernet Controllers.

(Refer to https://downloadcenter.intel.com/download/14687/Intel-Network-Adapter-Driver-for-PCIe-Intel-10-Gigab... https://downloadcenter.intel.com/download/14687/Intel-Network-Adapter-Driver-for-PCIe-Intel-10-Gigab...)

I recognize that driver for intel 82580 is igb driver, not ixgbe driver.

Does ixgbe driver work on Intel 82580 ?

If my understanding is incorrect, please advice.

Best Regards,

Taira

CarlosAM_INTEL
Moderator
125 Views

Hello, taira:

Thanks for your update.

Since the information stated in your last communication comes from a third party site, which is where you get the driver related to your original question, we suggest you request the clarification to them.

On the other hand, the downloads provided by Intel for the Intel(R) 82580 Gigabit Ethernet Controller can be found at:

https://downloadcenter.intel.com/product/40951/Intel-82580-Gigabit-Ethernet-Controller https://downloadcenter.intel.com/product/40951/Intel-82580-Gigabit-Ethernet-Controller

We hope that this information may help you.

Best regards,

Carlos_A.

Reply