金牌会员
- 积分
- 1089
- 金钱
- 1089
- 注册时间
- 2017-11-12
- 在线时间
- 118 小时
|
2金钱
1.用正点原子出厂的源码,会自动打开两个网卡,eth0和eth1.
1.终端显示:
Configuring network interfaces... [ 12.253417] fec 20b4000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=20b4000.ethernet:01, irq=-1)
[ 12.292822] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
done.
Starting Xserver
Starting system message bus: dbus.
Starting Connection Manager
Starting Dropbear SSH server: Generating key, this may take a while...
[ 13.543319] fec 2188000.ethernet eth1: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=20b4000.ethernet:00, irq=-1)
[ 13.602835] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 15.333120] fec 20b4000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 15.341002] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 16.623140] fec 2188000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx
[ 16.631023] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
2.1自己跟着开发板教程的源码,网络挂载内核。
2.2用开发板教程的源码,自己把程序固化到sd卡上。
这两个操作都不会自动打开两个网口,还要自己在终端输入命令,配置ip地址。
2.1终端显示:
fec 20b4000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=20b4000.ethernet:01, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
fec 20b4000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
IP-Config: Complete:
device=eth0, hwaddr=00:04:9f:04:d2:35, ipaddr=192.168.16.79, mask=255.255.252.0, gw=192.168.16.1
host=192.168.16.79, domain=, nis-domain=(none)
bootserver=192.168.16.78, rootserver=192.168.16.78, rootpath=
2.2终端显示:
fec 20b4000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=20b4000.ethernet:01, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Please press Enter to activate this console.
/ #
/ # fec 20b4000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
看了开发指南,没有什么思路,请求网友帮助,讲下是啥原因?是在什么文件里有配置好还是啥?开发指南里暂时也没找到原因。
|
|