About AG35 RMNet and SGMII Configuration

Hi,

I am trying to use understand Ethernet interface for AG35 and I am quite stuck.

When I try to connect ethernet (with AR8031) VDD_MDIO and EPHY_RST_N pins are both 0V. LED_ACT is blinking and LED_LINK is off. With a search in documents I saw RmNet but I am not experienced with this.

To use SGMII for data transmission like USB, do I need to make configurations (for RmNet or something different) ?

Or is it something about firmware?

Thanks for your help

AG35 currently only supports AR8033 PHY chipset,and you can refer to the following process to adapt the Ethernet driver:

//Start SGMII function
/etc/init.d/start_emac_le start

//Link PHY configuration chipset
echo 0x1 0x0065 > /sys/class/net/eth0/device/phy_regnum

//Debug from the module
echo 0xd 0x1 > /sys/class/net/eth0/device/phy_regnum
echo 0xe 0x0834 > /sys/class/net/eth0/device/phy_regnum
echo 0xd 0x4001 > /sys/class/net/eth0/device/phy_regnum
echo 0xe 0x8000> /sys/class/net/eth0/device/phy_regnum

//Debug Host/Slave mode
echo 0xd 0x1 > /sys/class/net/eth0/device/phy_regnum
echo 0xe 0x0834 > /sys/class/net/eth0/device/phy_regnum
echo 0xd 0x4001 > /sys/class/net/eth0/device/phy_regnum
echo 0xe 0xc000> /sys/class/net/eth0/device/phy_regnum
//The network card takes effect after writing in