Hi,
We are passing the MAC ID from u-boot to pru ethernet in linux on SDK 7.1.17 .
we are using eth1addr,eth2addr,eth3addr and eth4addr for passing the 4 MAC id for our 4 pru ethernets. below are the values.
eth1addr=aa:0a:bb:0b:ab:aa
eth2addr=aa:0a:bb:0b:ab:ab
eth3addr=aa:0a:bb:0b:ab:ac
eth4addr=aa:0a:bb:0b:ab:ad
But when the linux boots up we see that the MAC IDs are assigned in distorted order like the pair should be eth1 < - > eth1addr and so on but we can see that eth3 is getting eth1addr address and so on,
It is on our custom filesystem that we have created.
How can I change the mapping during boot time so that correct ethaddr is mapped to correct eth in Linux.
Below is the Linux ifconfig logs.
eth1 Link encap:Ethernet HWaddr AA:0A:BB:0B:AB:AC
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth2 Link encap:Ethernet HWaddr AA:0A:BB:0B:AB:AD
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth3 Link encap:Ethernet HWaddr AA:0A:BB:0B:AB:AA
inet addr:10.130.178.163 Bcast:10.130.179.255 Mask:255.255.254.0
inet6 addr: fe80::a80a:bbff:fe0b:abaa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:470 errors:0 dropped:0 overruns:0 frame:0
TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:44864 (43.8 KiB) TX bytes:6754 (6.5 KiB)
eth4 Link encap:Ethernet HWaddr AA:0A:BB:0B:AB:AB
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)