imx6q-plus-Android6.0下uboot添加网卡驱动
1、文件:
iTOP-iMX6_android6.0.1/bootable/bootloader/uboot-imx/include/configs/mx6sabre_common.h
修改如下:
#define CONFIG_FEC_MXC_PHYADDR 0
#define CONFIG_PHYLIB
/*#define CONFIG_PHY_ATHEROS*/
#define CONFIG_PHY_REALTEK
#define CONFIG_ETHADDR 0e:b4:00:52:24:0e
#define CONFIG_NETMASK 255.255.255.0
#define CONFIG_IPADDR 192.168.1.165
#define CONFIG_SERVERIP 192.168.1.164
#define CONFIG_GATEWAYIP 192.168.1.1
文件:
iTOP-iMX6_android6.0.1/bootable/bootloader/uboot-imx/drivers/net/phy/phy.c
添加:
mdelay(10);