AnsweredAssumed Answered

LS1046A: PHY register R/W failed

Question asked by Yoshihisa Morizumi on Aug 7, 2019
Latest reply on Aug 8, 2019 by ufedor

Hi,

 

I'm using linux-4.14.104 which is based on LSDK-19.03, on the LS1046ARDB.
I tried the following "mii-tool" command, for read/write phy register.

 

# mii-tool -vv eth0

 

However, the command returns "Invalid argument".

 

   Using SIOCGMIIPHY=0x8947
   SIOCGMIIPHY on 'eth0' failed: Invalid argument

 

I applied the attached patch, and fixed this issue.
If this patch is appropriate, could you apply to next LSDK release?

 

The following information is provided for your reference.

 

This patch is based on the following changes.
It supports only the "SIOCGMIIREG" operation.
https://source.codeaurora.org/external/qoriq/qoriq-components/linux/commit/?id=119d4a46b0d6fa82e645489c759bdac3a24aaa30 

 

Similar changes are proposed in the following threads.
https://community.nxp.com/thread/366062   

Attachments

Outcomes