Hello everyone,
we are using the RZ/G2L for our product, however there is a problem with the Ethernet connection. As a phy we are using the Microchip KSZ9131.
We have setup our device tree according to this documentation:
https://renesas.info/wiki/RZ-G/RZG_DeviceTree#Ethernet
In dmesg the phy gets detected:
[ 120.049083] Microchip KSZ9131 Gigabit PHY 11c30000.ethernet-ffffffff:07: attached PHY driver [Microchip KSZ9131 Gigabit PHY] (mii_bus:phy_addr=11c30000.ethernet-ffffffff:07, irq=196)
[ 122.900711] ravb 11c30000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 122.900835] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
and, as far as I understand, ethtools also looks fine.
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: 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
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: Symmetric
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
master-slave cfg: preferred slave
master-slave status: slave
Port: Twisted Pair
PHYAD: 7
Transceiver: external
MDI-X: Unknown
Supports Wake-on: g
Wake-on: d
Current message level: 0x000000cc (204)
link timer rx_err tx_err
Link detected: yes
However, we do not get any connection. DHCPCD fails to get an IP address, and setting IP address and gateway manually also does not allow us to ping or access other devices in the network.
Any help would be greatly appreciated.
Best
Christian