Ethernet related no such file issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Ethernet related no such file issue

1,085 次查看
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

标签 (1)
0 项奖励
回复
2 回复数

972 次查看
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 项奖励
回复

972 次查看
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 项奖励
回复