问题现象:
      PHY芯片用的IP101GR,kernel已经根据手册把phy 驱动icplus等都添加了。不知道是不是硬件有问题,量了PE10(ephy_25M)没有时钟信号。
原理图与全志开源社区V853的一致,
gmac_pins_a: gmac@0 {
                pins = "PE0", "PE1", "PE2", "PE3",
                       "PE4", "PE5", "PE6", "PE7",
                       "PE8", "PE9";
                function = "gmac0";
                drive-strength = <10>;
        };
开机与网络有关的只有这些,ifconfig -a是有eth0网卡的
[    0.863954] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[    0.875201] sunxi gmac driver's version: 1.0.0
[    0.880315] gmac-power0: NULL
[    0.883664] gmac-power1: NULL
[    0.886967] gmac-power2: NULL
root@TinaLinux:/# ifconfig eth0 192.168.2.1
[   34.543389] libphy: 4500000.eth: probed
[   34.547686] sunxi-gmac 4500000.eth eth0: No PHY found!
[   34.703390] libphy: 4500000.eth: probed
[   34.707685] sunxi-gmac 4500000.eth eth0: No PHY found!
[   34.716027] sunxi-gmac 4500000.eth eth0: phy init failed
ifconfig: SIOCSIFFLAGS: Invalid argument
离线