imx6 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);
标签:uboot,CONFIG,192.168,网卡,phy,imx,imx6,define 来源: https://www.cnblogs.com/liumin-txgt/p/15114321.html