(eth_link_status == ETH_LINK_UNDEFINED)) return; phy_link_status = phy_link_detect(xemacp, phyaddrforemac); net0_link_state = phy_link_status; if ((eth_link_status == ETH_LINK_UP) && (!phy_link_status)) eth_link_status = ETH_LINK_DOWN; switch (eth_link_status) { case ETH_...
(eth_link_status == ETH_LINK_UNDEFINED)) return; phy_link_status = phy_link_detect(xemacp, phyaddrforemac); net0_link_state = phy_link_status; if ((eth_link_status == ETH_LINK_UP) && (!phy_link_status)) eth_link_status = ETH_LINK_DOWN; switch (eth_link_status) { case ETH_...
(eth_link_status == ETH_LINK_UNDEFINED)) return; phy_link_status = phy_link_detect(xemacp, phyaddrforemac); net0_link_state = phy_link_status; if ((eth_link_status == ETH_LINK_UP) && (!phy_link_status)) eth_link_status = ETH_LINK_DOWN; switch (eth_link_status) { case ETH_...
a) 定时执行DHCP协议相关的代码,实现动态地址分配,即调用dhcp_fine_tmr()和dhcp_coarse_tmr()函数; b) 定时检查网络连接状态,及时响应连接请求,即调用eth_link_detect()函数; c) 对TcpFastTmrFlag和TcpSlowTmrFlag赋值为1,在main函数中,当这些变量为1时执行新动作,然后在main函数将TcpFastTmrFlag和TcpSlowTmrF...
get_Realtek_phy_speed:autonegotiation complete link speed for phy address 1: 1000 init_emacps:ET...
eth0 Link encap:Ethernet HWaddr 00:0A:35:00:22:01 inet addr:191.168.1.20 Bcast:191.168.1.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0...
GEM: e000c000, phyaddr 1, interface rmii mdio_register: non unique device name 'eth0' , eth-...
eth0: ethernet@ff0e0000 Hit any key to stop autoboot: 0 Device: mmc@ff170000 Manufacturer ID: 3 OEM: 5344 Name: SB16G Bus Speed: 50000000 Mode : SD High Speed (50MHz) Rd Block Len: 512 SD version 3.0 High Capacity: Yes
For example, you can use “setenv ethact eth0” to set eth0 active. Here is an example of the device tree when using PS-GTR SGMI mode with a Marvell PHY. ethernet@ff0c0000 { phy-handle = <&phy0>; is-internal-pcspma; phy0: phy@1 { compatible = "marvell, 88E1518"; device-...
At power on a uboot starts to load the EchoServer application from a TFTP-Server over Eth0 port of the uboot and load the application into the memory. From this point, only one Ethernet port can activate to the same time. On the site [1] is described that, the Zynq-7000 AP SoC ...