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.

AM335x tftp (eth0 network) working in u-boot but not in kernel

Other Parts Discussed in Thread: AM3354

Hi Guys,

Please help. I must be missing something very small.


We developed a custom board using an AM3354 and giga-bit ETH PHY.

ETH0 is working very well in u-boot and we can download images from a Linux server via tftpboot - no time-outs or errors.

Once the kernel booted and ETH0 as been configured I can't even ping the server; tftp is also timing out.

I can't see any errors. What else must be running/configured for tftp (or basic networking) to work on the AM3354

See logs:

root@am335x-evm:/etc/network# ifconfig
eth0      Link encap:Ethernet  HWaddr EC:24:B8:ED:E6:3F  
          inet addr:192.168.2.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::ee24:b8ff:feed:e63f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1172 (1.1 KiB)  TX bytes:1908 (1.8 KiB)

The sever is 192.168.2.1

tftp times out and I can ping myself but not the server

root@am335x-evm:/# tftp -b 1468 -g -r zImage 192.168.2.1
tftp: timeout
root@am335x-evm:/# ping 192.168.2.3
PING 192.168.2.3 (192.168.2.3): 56 data bytes
64 bytes from 192.168.2.3: seq=0 ttl=64 time=0.436 ms
64 bytes from 192.168.2.3: seq=1 ttl=64 time=0.221 ms

--- 192.168.2.3 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.221/0.328/0.436 ms
root@am335x-evm:/# ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1): 56 data bytes

--- 192.168.2.1 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss

Please help. I can see activity on the port but it is not coming through to the higher application layers.

Thank you

Louis