UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor majestli
Visitor
2,379 Views
Registered: ‎12-01-2014

problem of ethernets order

hello: I have a encontered a problem recently on my board while has arranged 4 Ethernet ports, two ps Ethernet : ps7_ethernet_0: ps7-ethernet@e000b000 , ps7_ethernet_1: ps7-ethernet@e000c000 , two pl Ethernet : axi_ethernetlite_0: network@40e20000 , axi_ethernetlite_1: network@40e00000 , I hope that these four eths will be initialized one by one in order, like this: ps7_ethernet_0->eth0 , ps7_ethernet_1->eth1, axi_ethernetlite_0->eth2, axi_ethernetlite_1->eth3. unfortunately annoyingly they did not work in order . unfortunately , in my linux two pl Ethernets always correspond to eth0 and eth1(two Ethernets should be axi_ethernetlite_0->eth2, axi_ethernetlite_1->eth3). two ps Ethernets correspond to eth2 and eth3(should be ps7_ethernet_0->eth0,ps7_ethernet_1->eth1). how do I express this in the device-tree? Or do I have to make any changes in the linux drivers? any help was appreciative .
0 Kudos
2 Replies
Scholar trenz-al
Scholar
2,338 Views
Registered: ‎11-09-2013

Re: problem of ethernets order

did you try to add aliases for all 4 eth instances?

0 Kudos
Visitor majestli
Visitor
2,306 Views
Registered: ‎12-01-2014

Re: problem of ethernets order

Yes,I did,but it didn't work!
0 Kudos