How to add Network Card driver to uboot under imx6q-plus-Android6.0
This article mainly explains "how to add network card driver to uboot under imx6q-plus-Android6.0". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to add a network card driver to uboot under imx6q-plus-Android6.0.
1. File:
ITOP-iMX6_android6.0.1/bootable/bootloader/uboot-imx/include/configs/mx6sabre_common.h
The modifications are as follows:
# 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
File:
ITOP-iMX6_android6.0.1/bootable/bootloader/uboot-imx/drivers/net/phy/phy.c
Add:
Mdelay (10)
At this point, I believe you have a deeper understanding of "how to add network card drivers to uboot under imx6q-plus-Android6.0". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!