dear all,
I make SD card from SDK 7.0, used pre build image and rootfs, when I boot from evmSK, ethernet can not get ip
address, when I set it, it can't ping. do you have this issue? thanks
EVMSK hw version: REV 1.1A
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
dear all,
I make SD card from SDK 7.0, used pre build image and rootfs, when I boot from evmSK, ethernet can not get ip
address, when I set it, it can't ping. do you have this issue? thanks
EVMSK hw version: REV 1.1A
Please provide more information. Boot log, commands you run, error messages.
Best regards,
Miroslav
Can it be issue D-1525:
(http://processors.wiki.ti.com/index.php/Sitara_Linux_SDK_Kernel_Release_Notes#Known_Issues)
"In Dual EMAC mode the device will fail to receive a DHCP address from some routers"
I've seen the same issue with my EVMSK: 3.2 had no problems, but 3.14 had. The problem is that some stations in the network don't answer to the ARP request, when using 3.14 kernel. I've compared such request from 3.2 and 3.14 kernel via Wireshark, but found no difference.
Miroslav, is there any progress with this issue?
Best regards,
rfc2217
thanks rfc2217 and Miroslav.
but when if don't use DHCP, I use ifconfig set to IP, it can't work also.why?
thanks rfc2217.
I test used patch, now eth0 can get IP(DHCP) and ping other, but eth1 can't get IP(DHCP) and can't ping.
am335x-evmsk:~# dmesg |grep cpsw
[ 0.316051] cpsw.1: No hwaddr in dt. Using 90:59:af:8d:f4:73 from efuse
[ 2.098194] cpsw: Detected MACID = 90:59:af:8d:f4:73
[ 13.819113] net eth0: initializing cpsw version 1.12 (0)
am335x-evmsk:~# dmesg |grep eth
[ 13.819113] net eth0: initializing cpsw version 1.12 (0)
[ 13.829004] net eth0: phy found : id is : 0x2000a211
[ 13.842213] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 15.838312] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
am335x-evmsk:~# ifconfig eth0 down
am335x-evmsk:~# ifconfig eth1 192.168.1.123
[ 348.814908] net eth1: initializing cpsw version 1.12 (0)
[ 348.825818] net eth1: phy found : id is : 0x2000a211
[ 348.839736] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
am335x-evmsk:~# [ 350.830179] libphy: 4a101000.mdio:03 - Link is Up - 100/Full
[ 350.836319] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
am335x-evmsk:~# ping 192.168.1.110
PING 192.168.1.110 (192.168.1.110): 56 data bytes
not response
I have no problem on my system. I configure both interfaces with different IP addresses and can use them simultaneously.
By the way, what's the system you're working with? My am335x-evmsk has different PHYs at different addresses:
net eth1: phy found : id is : 0x4dd074
libphy: 4a101000.mdio:01 - Link is Up - 100/Full
dear rfc2217,
yes, you are right.
I test on custom board before, now I use SK board to test, it is OK.
thanks very much!
My patch wasn't really correct, though it has fixed the issue. Please try the official patch (http://patchwork.ozlabs.org/patch/337769/), that was submitted today.