Ethernet related no such file issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Ethernet related no such file issue

1,117件の閲覧回数
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 返答(返信)

1,004件の閲覧回数
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 件の賞賛
返信

1,004件の閲覧回数
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 件の賞賛
返信