We used a customized version of imx8mp-evk to connect the eth1 eqos to port2 of the sja1105p via RGMII, and the other ports were also directly connected to the SoC's MAC address via RGMII. After downloading our bin configuration file using sja1105-tool, we were unable to ping the device. The Rx value on eth1 remained at 0 and did not increase, while the Tx value was increasing, as if the data was not reaching the switch.
eth1: flags=4163 mtu 1500
inet 172.24.172.100 netmask 255.255.255.0 broadcast 0.0.0.0
inet6 fe80::a4c1:7eff:feda:f448 prefixlen 64 scopeid 0x20
ether a6:c1:7e:da:f4:48 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 38 bytes 4332 (4.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 212 We placed the bin file in /lib/firmware, and the conf file also follows the official configuration. We used the command sja1105-tool config upload to download the file.
@JosephAtNXP Thank you for your reply. Sure, The attachment contains the DTS and schematic diagram. I've tried the configurations in lines 211-215 and 318-329 of the DTS file; lines 227-316 are the official EVK configuration.
Hi,
Thank you for your interest in NXP Semiconductor products,
Could you please share your schematics and DTS configuration?
Regards
The attachment is our configuration script.