Ethernet related no such file issue

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

Ethernet related no such file issue

1,092 Views
vineethhegde
Contributor II

i have a board based on i.MX6Q processor. while testing i got log as shown below.

cat: can't open '/sys/devices/platform/enet.0/net/eth0/operstate': No such file or directory

/root/ethernet.sh: line 9: [: ==: unary operator expected

cat: can't open '/sys/devices/platform/enet.0/net/eth0/operstate': No such file or directory

/root/ethernet.sh: line 9: [: ==: unary operator expected

cat: can't open '/sys/devices/platform/enet.0/net/eth0/operstate': No such file or directory

/root/ethernet.sh: line 9: [: ==: unary operator expected

cat: can't open '/sys/devices/platform/enet.0/net/eth0/operstate': No such file or directory

/root/ethernet.sh: line 9: [: ==: unary operator expected

cat: can't open '/sys/devices/platform/enet.0/net/eth0/operstate': No such file or directory

/root/ethernet.sh: line 9: [: ==: unary operator expected

cat: can't open '/sys/devices/platform/enet.0/net/eth0/operstate': No such file or directory

/root/ethernet.sh: line 9: [: ==: unary operator expected

cat: can't open '/sys/devices/platform/enet.0/net/eth0/operstate': No such file or directory

/root/ethernet.sh: line 9: [: ==: unary operator expected

i suspect issue is related to the ethernet.

Please suggest the solution

Labels (1)
0 Kudos
Reply
2 Replies

979 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello vineeth113 754,

This issue seems to be related to the Ethernet driver so I would suggest reviewing the driver implementation.

Are you using the same driver as the i.MX6 SABRE board? It may serve as a starting point but some modifications may be necessary for your custom board.

0 Kudos
Reply

979 Views
vineethhegde
Contributor II

we observed this issue in 8 boards out of 100.

>>Are you using the same driver as the i.MX6 SABRE board?

Ans: we are using ethernet phy chip from Micrel(KSZ9021RNI).

0 Kudos
Reply