Tool/software: Linux
Hello,
I have custom board based AM3352, and on my board I have two PHY of TI-DP83867 at address 0x0 and 0xF.
Ethernet is working at u-boot level, I can transfer files using tftp, hardware looks OK.
When I start linux, it boots-up successfully, but network interface is not up.
Please let me know what area I should look for so ethernet/phy comes up and networking works. I would like to get eth0, and eth1 both comes up with DHCP mode.
I am using TI-SDK 4.03.00.05
I am using am335x-evm.dtb file and i haven't made any changes in corresponding .dts file. It looks like I have to make some changes based on my hardware. unfortunately I am not much familiar with .dts file if someone can explain me what kind of changes are required, I really appreciate.
Thanks,
NU.
/ # uname -a
Linux 4.9.69-g9ce43c71ae #36 PREEMPT Mon Aug 20 21:24:03 PDT 2018 armv7l GNU/Linux
/ # ifconfig -a
eth0 Link encap:Ethernet HWaddr 98:5D:AD:45:49:58
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 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:174
lo Link encap:Local Loopback
LOOPBACK MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
/ # ifconfig eth0 up
[ 1291.439019] net eth0: initializing cpsw version 1.12 (0)
[ 1291.444400] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[ 1291.470223] cpsw 4a100000.ethernet: ALE Table size 1024
[ 1291.477963] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
[ 1291.484883] libphy: PHY 4a101000.mdio:01 not found
[ 1291.489826] net eth0: phy "4a101000.mdio:01" not found on slave 1, err -19
[ 1291.498947] cpts ptp bc clkid 0
[ 1291.509968] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
/ #