本帖最后由 一只耳朵怪 于 2018-5-25 11:17 编辑
开发板用的网络芯片是RTL8201
uboot:
我在u-boot/drivers/net中没找到RTL8201的驱动文件,只看见
rtl8019.c
rtl8139.c
rtl8169.c
并且我对uboot重新编译后也没发现该文件夹下生成任何.o文件,
那么uboot是怎么把网络芯片的驱动编译进去的呢?
在u-boot/include/configs/seeddvs365.h发现网络配置如下:
/*==================================*/
/* Network & Ethernet Configura
tion */
/*==================================*/
#define CONFIG_DRIVER_TI_EMAC
#define CONFIG_MII
#define CONFIG_BOOTP_DEFAULT
#define CONFIG_BOOTP_DNS
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_NET_RETRY_COUNT 10
好像也跟RTL8201没关系?
内核:
在内核配置菜单中没看见选中任何phy芯片的驱动
Device Drivers/Network device support/PHY device support
--- PHY Device support and infrastructure
--- MII PHY device drivers
< > Drivers for Marvell PHYs
< > Drivers for Davicom PHYs
< > Drivers for Quality Semiconductor PHYs
< > Drivers for the Intel LXT PHYs
< > Drivers for the Cicada PHYs
< > Drivers for the Vitesse PHYs
< > Drivers for SMSC PHYs
< > Drivers for ICPlus PHYs
< > Drivers for Broadcom PHYs
< > Drivers for PHY emulation on fixed speed/link
在驱动的文件夹下也没找到RTL8201的驱动文件,内核又是怎么把驱动编译进去的呢?