Embedded Connectivity
Intel network controllers, Firmware and drivers.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
616 Discussions

i210 KX image with mdio enabled

Sean_Li
Beginner
415 Views

Hi,

Now I am using I210 KX image (DEVID: 1537).

We want to use this MDIO do some configure since I210 is connect to a switch can be configured by MDIO. And seems it is disabled by default.

I've change the flash context as below based on Dev_Start_I210_Sgmii_NOMNG_8Mb_A2.hex v3.30, but  MDIO still does not work, and ethtool cannot recognize right PHYADD.

 

 
flash word 0x13 word 0x24

Intel KX

0x45: PHYAD: 2 0x0290
My KX

0x43: PHYAD:1

0x4294, MDIO enable, external

 

devmem3 0xf2900018
/dev/mem opened.
Memory mapped at address 0x7f4f58285000.
Value at address 0xF2900018 (0x7f4f58285018): 0x125400C0 

devmem3 0xf2900e04
/dev/mem opened.
Memory mapped at address 0x7f1d7bafa000.
Value at address 0xF2900E04 (0x7f1d7bafae04): 0x80200000

 

 ethtool eth1

Settings for eth1:
Supported ports: [ FIBRE ]
Supported link modes:
Supports auto-negotiation: Yes
Advertised link modes: Not reported
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: FIBRE
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes

 

Does somebody can figure out if I miss something? Thanks so much.

 

0 Kudos
5 Replies
CarlosAM_INTEL
Moderator
393 Views

Hello, @Sean_Li:

Thank you for contacting Intel Embedded Community.

We want to address the following questions to understand the reported situation:

Could you please clarify if the device related to this situation is an adding NIC or LAN card or it is a design using the cited Intel Ethernet Controller?

Could you please let us know the part number, name of the manufacturer, and where to find the information related to the NIC or LAN card or the project related to this situation?

Could you please list the source that you used to develop the design associated with the mentioned Ethernet Controller and if it has been verified by Intel?

We are waiting for your answer to these questions.

Best regards,

@CarlosAM_INTEL.  

Sean_Li
Beginner
357 Views

Hi Carlos,

Double confirmed  MDIO works. But igb driver will not drive MDIO in KX mode. Thanks.

CarlosAM_INTEL
Moderator
346 Views

Hello, @Sean_Li :

Thanks for your reply.

However, you did not answer our questions stated in our previous communication, could you please answer them?

By the way, could you please let us know the procedure followed to obtain the driver related to this situation and where do you acquire it?

We are waiting for your answer to these questions.

Best regards,

@CarlosAM_INTEL.

Sean_Li
Beginner
333 Views

Hi Carlos,

 

It is a design using the cited Intel Ethernet Controller.

A typo here,  in fact I am using  Dev_Start_I210_SerdesKX_NOMNG_8Mb_A2.hex v3.30. I download it from i210's spec's link. https://cdrdv2.intel.com/v1/dl/getContent/513655

and modified according to design as I list above.

 

I found reg 0x0020 works well by mmap.

But I cannot obtain right PHYAD through ethtool.

 

CarlosAM_INTEL
Moderator
315 Views

Hello, @Sean_Li:

Thanks for your clarification.

However, we want to address the following questions again:

Thank you for contacting Intel Embedded Community.

We want to address the following questions to understand the reported situation:

Could you please clarify if the device related to this situation is an adding NIC or LAN card or it is a design using the cited Intel Ethernet Controller?

Could you please let us know the part number, name of the manufacturer, and where to find the information related to the NIC or LAN card or the project related to this situation?

Could you please list the source that you used to develop the design associated with the mentioned Ethernet Controller and if it has been verified by Intel?

We are waiting for your answer to these questions.

Best regards,

@CarlosAM_INTEL.

Reply