Query regarding KSZ9031 porting to imx6sx

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Query regarding KSZ9031 porting to imx6sx

Jump to solution
922 Views
rakesh_patel
Senior Contributor I

Hi,

I have query for porting KSZ9031 to imx6sx

Guide:

Porting KSZ9031 to i.MX BSP 

Query#1: As per above document, mentioned changes are in uboot and kernel level both. Does uboot changes required/must? Does only kernel changes works fine?

Query#2: Above document does not mentioned how many changes to enable in kernel configuration like CONFIG_MICREL_PHY=y. So does only CONFIG_MICREL_PHY enough to detect KSZ9031 phy?

I am getting KSZ9031 is detected as Generic PHY.

"fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)"

Any idea for the same?

Labels (1)
1 Solution
715 Views
igorpadykov
NXP Employee
NXP Employee

Hi Rakesh

>Query#1:

yes all these changes are needed.

>Query#2: 

CONFIG_MICREL_PHY=y adds some specific micrel initializations, like "Pad Skew".

Seems without them it can work fine too, as generic phy. One can try to debug it

also may be recommended to post issue on uboot mail list

U-Boot Info Page 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

1 Reply
716 Views
igorpadykov
NXP Employee
NXP Employee

Hi Rakesh

>Query#1:

yes all these changes are needed.

>Query#2: 

CONFIG_MICREL_PHY=y adds some specific micrel initializations, like "Pad Skew".

Seems without them it can work fine too, as generic phy. One can try to debug it

also may be recommended to post issue on uboot mail list

U-Boot Info Page 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------