This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5716: PRx MII0 Not Working

Part Number: AM5716

Hello Guys,

I have custom AM5716AABCDA Base Board. There is Four Ethernet Connector connected in following Interface.

1) ETH0 :- RGMII0

2) ETH1 :- RGMII1

3) ETH2 :- PR1_MII0

4) ETH3 :- PR2_MII0

The problem is that we can not see "eth2" and "eth3" module in ifconfig command.

It shows :-

root@am57xx-evm:/etc/udev/rules.d# ifconfig
eth0      Link encap:Ethernet  HWaddr 98:5D:AD:98:B6:12
          inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::9a5d:adff:fe98:b612/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1427 errors:0 dropped:0 overruns:0 frame:0
          TX packets:91 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:98685 (96.3 KiB)  TX bytes:16940 (16.5 KiB)
          Interrupt:92

eth1      Link encap:Ethernet  HWaddr 98:5D:AD:98:B6:13
          inet addr:192.168.2.10  Bcast:192.168.2.255  Mask:255.255.255.0
          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)

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:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:140 (140.0 B)  TX bytes:140 (140.0 B)

So, I want to know how this is not coming. Is there any change occur in device driver level?? 

Actually I see boot log and i grep eth, it showos :-

root@am57xx-evm:/etc/udev/rules.d# dmesg | grep eth
[    2.774846] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/ethernet@48484000/mdio@48485000[0]'
[    2.774908] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/ethernet@48484000/mdio@48485000[0]'
[    2.878083] cpsw 48484000.ethernet: Detected MACID = 98:5d:ad:98:b6:12
[    2.885083] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
[    2.891713] cpsw 48484000.ethernet: ALE Table size 1024
[    2.897143] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
[    2.908260] cpsw 48484000.ethernet: cpsw: Detected MACID = 98:5d:ad:98:b6:13
[   33.461024] net eth0: initializing cpsw version 1.15 (0)
[   34.260227] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   35.061706] net eth1: initializing cpsw version 1.15 (0)
[   35.437123] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   38.417783] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   38.417923] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   46.255428] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/pruss-soc-bus@4b226004/pruss@4b200000/mdio@4b232400/ethernet-phy@6[0]'
[   46.663503] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/pruss-soc-bus@4b2a6004/pruss@4b280000/mdio@4b2b2400/ethernet-phy@7[0]'
[   46.986330] prueth pruss1_eth: port 1: using random MAC addr: e6:2b:2d:b8:4a:e5
[   47.164135] prueth pruss1_eth: port 2: using random MAC addr: fa:5c:1b:d6:96:96
[   47.164234] prueth pruss1_eth: freeing port 0
[   47.172595] prueth pruss2_eth: port 1: using random MAC addr: 5e:c1:40:9e:7a:93
[   47.313998] prueth pruss2_eth: port 2: using random MAC addr: 16:8a:56:75:99:21
[   47.314101] prueth pruss2_eth: freeing port 0
[   62.054705] prueth pruss1_eth: port 1: using random MAC addr: ea:ef:97:5b:15:10
[   62.175322] prueth pruss1_eth: port 2: using random MAC addr: 42:be:10:9d:0f:2d
[   62.175420] prueth pruss1_eth: freeing port 0
[   62.182179] prueth pruss2_eth: port 1: using random MAC addr: 26:da:60:0f:49:c9
[   62.348205] prueth pruss2_eth: port 2: using random MAC addr: 6e:f6:d1:5f:c7:f9
[   62.348306] prueth pruss2_eth: freeing port 0
[   62.363345] prueth pruss1_eth: port 1: using random MAC addr: 62:1c:86:86:f8:51
[   62.483585] prueth pruss1_eth: port 2: using random MAC addr: ba:cf:09:a0:7a:f9
[   62.483685] prueth pruss1_eth: freeing port 0
[   62.538745] prueth pruss2_eth: port 1: using random MAC addr: b2:32:67:cc:67:f0
[   62.662341] prueth pruss2_eth: port 2: using random MAC addr: 8e:aa:bb:3a:6a:b0
[   62.662440] prueth pruss2_eth: freeing port 0
[   62.940608] prueth pruss1_eth: port 1: using random MAC addr: 86:5c:ad:c2:c3:80
[   63.066733] prueth pruss1_eth: port 2: using random MAC addr: 52:0e:4c:84:cc:29
[   63.066834] prueth pruss1_eth: freeing port 0
[   63.073413] prueth pruss2_eth: port 1: using random MAC addr: 5e:87:99:df:8a:52
[   63.187113] prueth pruss2_eth: port 2: using random MAC addr: aa:a1:c4:eb:ff:53
[   63.187211] prueth pruss2_eth: freeing port 0
root@am57xx-evm:/etc/udev/rules.d#

So can you guys help me out this problem.