zhl232465 发表于 2018-7-9 18:44:13

px3se 以太网 ping不通网关和外网

# ifconfig
eth0      Link encap:EthernetHWaddr 0A:16:D4:D0:6D:97
          inet addr:192.168.0.189Bcast:192.168.0.255Mask:255.255.255.0
          inet6 addr: fe80::816:d4ff:fed0:6d97/64 Scope:Link
          UP BROADCAST MULTICASTMTU:1500Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:493 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)TX bytes:21138 (20.6 KiB)
          Interrupt:88 Base address:0x8000

lo      Link encap:Local Loopback
          inet addr:127.0.0.1Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNINGMTU:65536Metric:1
          RX packets:707 errors:0 dropped:0 overruns:0 frame:0
          TX packets:707 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:77273 (75.4 KiB)TX bytes:77273 (75.4 KiB)
RX packets为0字节,怎么解决麻烦大神指导下

zhl232465 发表于 2018-7-9 18:45:48

&gmac {
//power-gpio = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>;
//reset-gpio = <&gpio2 GPIO_D0 GPIO_ACTIVE_LOW>;
phyirq-gpio = <&gpio2 GPIO_D0 GPIO_ACTIVE_LOW>;
phy-mode = "rmii";
clock_in_out = "output";
tx_delay = <0x30>;
rx_delay = <0x10>;
phy-type = "external";
        status = "okay";//"disabled";
};这是gmac配置,芯片LAN8720A谢谢

大英 发表于 2018-7-19 09:36:53

楼主解决了吗,我用的RK3288+RTL8211E也遇到同样的问题,如何解决的呢?

zhl232465 发表于 2018-7-20 18:28:53

没有呢
页: [1]
查看完整版本: px3se 以太网 ping不通网关和外网