T4240RDB - on startup ethernet failed with error -22

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

T4240RDB - on startup ethernet failed with error -22

ソリューションへジャンプ
1,713件の閲覧回数
yaronkoler
Contributor I

Hello

we get new 

i connect LAN cable to ETH0

and on power up i get this error for all the ETH ports:

fsl_mac ffe4e0000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@e0000) failed
fsl_mac: probe of ffe4e0000.ethernet failed with error -22

 

and the ETH0 is not wakeup :

 

root@t4240rdb:~# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

sit0 Link encap:UNSPEC HWaddr 00-00-00-00-31-00-00-0A-00-00-00-00-00-00-00-00
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

tunl0 Link encap:IPIP Tunnel HWaddr
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

 

how can i connect the board to LAN ?

thanks

yaron

attach full log sequence

Original Attachment has been moved to: T4240RDB_wakeup_2.log.zip

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,362件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello yaron koler,

You didn't configure MAC address for Ethernet ports, please refer to the following u-boot environment setting.

eth1addr=00:e0:0c:00:7a:01
eth2addr=00:e0:0c:00:7a:02
eth3addr=00:e0:0c:00:7a:03
eth4addr=00:e0:0c:00:7a:04
eth5addr=00:e0:0c:00:7a:05
eth6addr=00:e0:0c:00:7a:06
eth7addr=00:e0:0c:00:7a:07
eth8addr=00:e0:0c:00:7a:08
eth9addr=00:e0:0c:00:7a:09

eth10addr=00:e0:0c:00:7a:0a
eth11addr=00:e0:0c:00:7a:0b
eth12addr=00:e0:0c:00:7a:0c
eth13addr=00:e0:0c:00:7a:0d
eth14addr=00:e0:0c:00:7a:0e
eth15addr=00:e0:0c:00:7a:0f

Here "Hit any key to stop autoboot:" please type "enter" quickly to get u-boot prompt "=>", then configure MAC address one by one as the following, then run "save" to save u-boot environment settings.

=> setenv eth1addr 00:e0:0c:00:7a:01


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

2 返答(返信)
1,363件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello yaron koler,

You didn't configure MAC address for Ethernet ports, please refer to the following u-boot environment setting.

eth1addr=00:e0:0c:00:7a:01
eth2addr=00:e0:0c:00:7a:02
eth3addr=00:e0:0c:00:7a:03
eth4addr=00:e0:0c:00:7a:04
eth5addr=00:e0:0c:00:7a:05
eth6addr=00:e0:0c:00:7a:06
eth7addr=00:e0:0c:00:7a:07
eth8addr=00:e0:0c:00:7a:08
eth9addr=00:e0:0c:00:7a:09

eth10addr=00:e0:0c:00:7a:0a
eth11addr=00:e0:0c:00:7a:0b
eth12addr=00:e0:0c:00:7a:0c
eth13addr=00:e0:0c:00:7a:0d
eth14addr=00:e0:0c:00:7a:0e
eth15addr=00:e0:0c:00:7a:0f

Here "Hit any key to stop autoboot:" please type "enter" quickly to get u-boot prompt "=>", then configure MAC address one by one as the following, then run "save" to save u-boot environment settings.

=> setenv eth1addr 00:e0:0c:00:7a:01


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,362件の閲覧回数
yaronkoler
Contributor I

Hello

thanks for  your help

we also needed to set ethaddr (for ETH0 -> FM1-mac1)

yaron

0 件の賞賛
返信