LS1046A: PHY register R/W failed

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

LS1046A: PHY register R/W failed

1,730 Views
yoshimorizumi
Contributor I

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=119d4a46b0d6fa82e6454... 

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

Labels (1)
2 Replies

1,501 Views
ufedor
NXP Employee
NXP Employee

The issue was escalated to the LSDK support.

0 Kudos

1,501 Views
1271792207
Contributor II

Where to find this LSDK support。 LSDK-18.09 also have this problem。

0 Kudos