你可以尝试关闭自动获取ip 试试
/etc/init.d/S40network
不是S开头就不会启动
启动的时候MDIO可以识别PHY ID,REFCLK也有50M的波形
下面是启动的log:
[ 1.572012] libphy: mdio: probed
[ 1.574580] mdio_bus mdio-bus@emac0: /soc/emac0/mdio-bus@emac0/ethernet-phy@0 has invalid PHY address
[ 1.584351] [emac_phy_connect][3204] connected mac emac0 to PHY at mdio-bus@emac0:00 [uid=11112222, driver=SStar 10/100 Ethernet Phy]
[ 1.596808] MSYS: DMEM request: [emac1_buff]:0x00060812
[ 1.601317] MSYS: DMEM request: [emac1_buff]:0x00060812 success, CPU phy:@0x23C50000, virt:@0xC3C50000
[ 1.610988] libphy: mdio: probed
[ 1.613573] mdio_bus mdio-bus@emac1: /soc/emac1/mdio-bus@emac1/ethernet-phy@1 has invalid PHY address
[ 1.715158] [PHY] Increased Tx CLK driving for daughter board... ip101a_g_config_init ## 186
[ 1.815153] [PHY] Increased Tx CLK driving for daughter board... ip101a_g_config_init ## 186
[ 1.842758] [emac_phy_connect][3204] connected mac emac1 to PHY at mdio-bus@emac1:01 [uid=02430c54, driver=ICPlus IP101A/G]
原理图(其中:R91 NC R93 NC):
REFCLK
启动到Linux rootfs后使用dhcp无法获取IP,该如何调试呢?
@BBelephant 关闭了网络启动脚本的,dhcp是进入到命令行后,我手动敲的:
dhcp -i eth1
敲了后就会,一直获取不到IP:
udhcpc: started, v1.31.1
udhcpc: sending discover
udhcpc: sending discover