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.

AM3358: AM3358 eth0 packet not being received...

Part Number: AM3358


Hello Ti,

We are using the AM3358 custom board.

I am using the AR8035 Ethernet PHY connected to eth0/1.

If you continue to down/up eth0 after booting, you may not receive packets from eth0 from any moment.

In this state, you need to reboot to receive packets from eth0.

The kernel is using 4.4.19.

I know the latest kernel is 4.19.94.

What is the problem?

[root@(none) ~]# ifconfig

eth0 Link encap:Ethernet HWaddr 68:47:49:7E:30:37

inet addr:10.254.254.123 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::6a47:49ff:fe7e:3037/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4390441 errors:0 dropped:0 overruns:0 frame:0
TX packets:346 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1932274566 (1.7 GiB) TX bytes:29556 (28.8 KiB)
Interrupt:173

eth1 Link encap:Ethernet HWaddr 68:47:49:7E:30:39
inet addr:10.254.254.124 Bcast:0.0.0.0 Mask:255.255.0.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)

eth2 Link encap:Ethernet HWaddr B2:B9:86:C1:D6:2D
inet addr:192.168.0.145 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::b0b9:86ff:fec1:d62d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:71108 errors:0 dropped:12832 overruns:0 frame:0
TX packets:46181 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9903555 (9.4 MiB) TX bytes:13606551 (12.9 MiB)

[root@(none) ~]# ethtool eth0

Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: external
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Current message level: 0x00000000 (0)

Link detected: yes
[root@(none) ~]#

[root@(none) ~]# ethtool -c eth0
Coalesce parameters for eth0:
Adaptive RX: off TX: off
stats-block-usecs: 0
sample-interval: 0
pkt-rate-low: 0
pkt-rate-high: 0

rx-usecs: 0
rx-frames: 0
rx-usecs-irq: 0
rx-frames-irq: 0

tx-usecs: 0
tx-frames: 0
tx-usecs-irq: 0
tx-frames-irq: 0

rx-usecs-low: 0
rx-frame-low: 0
tx-usecs-low: 0
tx-frame-low: 0

rx-usecs-high: 0
rx-frame-high: 0
tx-usecs-high: 0
tx-frame-high: 0

[root@(none) ~]#

[root@(none) ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth2
default * 0.0.0.0 U 0 0 0 eth0
10.254.0.0 * 255.255.0.0 U 0 0 0 eth0
10.254.0.0 * 255.255.0.0 U 0 0 0 eth1
192.168.0.0 * 255.255.0.0 U 0 0 0 eth2
[root@(none) ~]#

Thank you,

Best regards.

Gyosun.