Started with a working Octavo OSD3358-SM-RED reference board with Debian kernel linux-4.14.108-ti-r113.
After upgrading the kernel to either 4.19 or 5.4, eth0 does not receive Ethernet packets anymore (RX packets 0 bytes 0).
There are NO hardware changes. The reference board has a single AR8035 PHY on RGMII1 of the AM3358.
debian@beaglebone:~$ ping 192.168.100.3
PING 192.168.100.3 (192.168.100.3) 56(84) bytes of data.
From 192.168.100.2 icmp_seq=1 Destination Host Unreachable
From 192.168.100.2 icmp_seq=2 Destination Host Unreachable
From 192.168.100.2 icmp_seq=3 Destination Host Unreachable
From 192.168.100.2 icmp_seq=4 Destination Host Unreachable
From 192.168.100.2 icmp_seq=5 Destination Host Unreachable
From 192.168.100.2 icmp_seq=6 Destination Host Unreachable
--- 192.168.100.3 ping statistics ---
7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 144ms
pipe 4
eth0: flags=-28349<UP,BROADCAST,RUNNING,PROMISC,MULTICAST,DYNAMIC> mtu 1500
inet 192.168.100.2 netmask 255.255.255.0 broadcast 192.168.100.255
inet6 fe80::6264:5ff:fe23:8040 prefixlen 64 scopeid 0x20<link>
ether 60:64:05:23:80:40 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 118 bytes 20047 (19.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
debian@beaglebone:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.100.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth0
192.168.6.0 0.0.0.0 255.255.255.0 U 0 0 0 usb1
192.168.7.0 0.0.0.0 255.255.255.0 U 0 0 0 usb0
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
debian@beaglebone:~$ uname -a
Linux beaglebone 5.4.70-ti-r19 #1buster SMP PREEMPT Wed Oct 28 02:23:57 UTC 2020 armv7l GNU/Linux
debian@beaglebone:~$ dmesg | grep mdio
[ 2.089992] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 2.090017] libphy: 4a101000.mdio: probed
[ 2.108785] davinci_mdio 4a101000.mdio: phy[4]: device 4a101000.mdio:04, driver Atheros 8035 ethernet
[ 23.943371] Atheros 8035 ethernet 4a101000.mdio:04: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=4a101000.mdio:04, irq=POLL)
debian@beaglebone:~$ dmesg | grep cpsw
[ 2.108986] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[ 2.108997] cpsw 4a100000.ethernet: ALE Table size 1024
[ 2.109125] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies)
[ 2.109205] cpsw 4a100000.ethernet: Detected MACID = 60:64:05:23:80:40
[ 23.909017] cpsw 4a100000.ethernet: initializing cpsw version 1.12 (0)
[ 28.043511] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Did also perform the Ethernet Triage Checklist for AM3x/4x/5x CPSW:
debian@beaglebone:~$ ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
1000baseX/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
1000baseX/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 4
Transceiver: internal
Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x00000000 (0)
Link detected: yes
-------------------------------------
Nothing helps to get 'eth0' alive.