刷砖后,对比自定义和官方两个版本的uboot文件sbi数据区,数据比较少,但数值不一样的地方较多,第一感觉可疑的是1c2b0位置的代码,官方版是03010400,自定义版本03010040,猜测04是指端口序号,lan4是port0,wan是port4,立即改为00刷入,开机测试,网线插入lan4口灯不亮,wan灯亮,但路由界面显示wan口未连接,在ttl输出发现以下信息:
[ 0.692000] libphy: ag71xx_mdio: probed. phys=0x0000001f
[ 1.264000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[ 1.272000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 1.848000] ag71xx-mdio.1: Found an AR934X built-in switch
[ 1.888000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
ag71xx-mdio.0是phy,ag71xx-mdio.1是switch,connected to PHY at ag71xx-mdio.1:04是指绑定phy到交换机第5口,即wan口, 感觉有戏,立即连后面的00也改成40,刷入开机测试,lan4变成wan了,成功连接上网,但灯还是wan口的灯亮,不过目的已达到,竟然误打误撞解决了