Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hello
A custom AM3358 board very similar to Beaglebone black but using DP83867ISRGZR as Ethernet phy.
Latest SDK (dr-download.ti.com/.../ti-processor-sdk-linux-am335x-evm-09.01.00.001-Linux-x86-Install.bin) was used for u-boot and kernel builds. Bootup was fine from a sd card on the board.
Here is part of the boot log showing ethernet startup:
[ 22.068642] cpsw-switch 4a100000.switch: starting ndev. mode: dual_mac
[ 22.163939] TI DP83867 4a101000.mdio:00: attached PHY driver (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
[ OK ] Created slice Slice /system/systemd-fsck.
Starting File System Check on /dev/mmcblk0p1...
Starting File System Check on /dev/mmcblk1p1...
Starting File System Check on /dev/mmcblk1p2...
Starting Network Name Resolution...
[ OK ] Finished File System Check on /dev/mmcblk1p1.
Mounting /run/media/mmcblk1p1...
[ OK ] Finished File System Check on /dev/mmcblk1p2.
[ OK ] Mounted /run/media/mmcblk1p1.
Mounting /run/media/mmcblk1p2...
[ OK ] Finished File System Check on /dev/mmcblk0p1.
[ 25.257829] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: disabled.
Mounting /run/media/boot-mmcblk0p1...
[ 25.369077] cpsw-switch 4a100000.switch eth0: Link is Up - 1Gbps/Full - flow control off
[ 25.395700] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ OK ] Mounted /run/media/mmcblk1p2.
[ OK ] Mounted /run/media/boot-mmcblk0p1.
[ OK ] Started Network Name Resolution.
[ OK ] Reached target Network.
[ OK ] Reached target Host and Network Name Lookups.
Starting Avahi mDNS/DNS-SD Stack...
Starting Enable and configure wl18xx bluetooth stack...
Starting containerd container runtime...
[ OK ] Started Netperf Benchmark Server.
[ OK ] Started NFS status monitor for NFSv2/3 locking..
Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
Starting Permit User Sessions...
The board ethernet port is connected to a switch and a laptop is connected to the same switch. And ip address is set by ifconfig to 192.168.0.25 and the pc is 192.168.0.200
ethtool is used to check the status showing link is fine.
Arago 2023.04 am335x-evm -
am335x-evm login: root
root@am335x-evm:~# ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::167f:fff:fec3:5fc7 prefixlen 64 scopeid 0x20<link>
ether 14:7f:0f:c3:5f:c7 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 24 bytes 3828 (3.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 90 bytes 7574 (7.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 90 bytes 7574 (7.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sit0: flags=128<NOARP> mtu 1480
unspec 00-00-00-00-02-00-BC-94-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@am335x-evm:~# ifconfig eth0 192.168.0.25
root@am335x-evm:~# ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.25 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::167f:fff:fec3:5fc7 prefixlen 64 scopeid 0x20<link>
ether 14:7f:0f:c3:5f:c7 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 32 bytes 5972 (5.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 90 bytes 7574 (7.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 90 bytes 7574 (7.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sit0: flags=128<NOARP> mtu 1480
unspec 00-00-00-00-02-00-BC-94-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@am335x-evm:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/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/Half 1000baseT/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
Link partner advertised pause frame use: Symmetric
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Auto-negotiation: on
master-slave cfg: preferred slave
master-slave status: slave
Port: Twisted Pair
PHYAD: 0
Transceiver: external
MDI-X: Unknown
Supports Wake-on: ubgs
Wake-on: d
SecureOn password: 00:00:00:00:00:00
Current message level: 0x00000000 (0)
Link detected: yes
However, when ping from PC to the board or the board to PC both showed not going through. Is there any other configurations I need to check?
Any comments or responses are greatly appreciated.