Forums

tftp failed

This question is not answered
My new board could boot now.
But i could not ping tftp server successfully when i want to replace my kernel by uboot tftp. i check rx+,rx-,tx+,tx- of rj45,their signals always exist. rx+ is a little volts higher than rx-.tx+ is also higher than tx-.and rx+  tx+ are around 3v .rx- tx- are between 3.3 and 2v.I think my net hardware is ok.But I could not connect to tftp server.I set parameter as below in uboot
setenv ipaddr 192.168.1.10
setenv serverip 192.168.1.100
setenv ethaddr XXXX
and then ping 192.168.1.100,failed.I tftp as below
tftp 0x80700000 uImage
uart0 shows
TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
however,I could ping tftp server successfully by another PC,that is PC to PC.But my board could not.Why is it.
 Any light would be appreciated.thank you very much.
All Replies
  • You don't have tftpd configured correctly on 192.168.1.100  Please refer to

    www.ridgerun.com/.../Setting_Up_A_Tftp_Service

  • I am glad to see your answer and thank you.

    OS of my tftp server is ubuntu 9.I install tftpd-hpa recommended by ubuntu.So i will follow you advice to test.But I have a question that is why i could not ping tftp server successfully.If PC ping tftp server,it is ok,no problem.If leopard board ping tftp server,it failed.Why is it?Thank you.

  • I follow your suggestion and setup tftp service again according to www.ridgerun.com/.../Setting_Up_A_Tftp_Service

    ,the result of test is as below

    Hit any key to stop autoboot:  0

    Leopard 365 :>printenv

    bootargs=mem=116M console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0x82000000,8M

    ip=off

    bootcmd=nand read 0x82000000 0x600000 0x400000;nboot 0x80700000 0 0x400000; boot

    m 0x80700000

    bootdelay=4

    baudrate=115200

    bootfile="uImage"

    ipaddr=192.168.1.10

    serverip=192.168.1.103

    stdin=serial

    stdout=serial

    stderr=serial

    ethaddr=00:0C:0C:A0:02:b5

    ver=U-Boot 1.3.4-svn21 (Feb 24 2010 - 10:04:27)

    Environment size: 384/262140 bytes

    Leopard 365 :>tftp

    TFTP from server 192.168.1.103; our IP address is 192.168.1.10

    Filename 'uImage'.

    Load address: 0x80700000

    Loading: T T T T T T T T T T T T T T T T T T T T

    Retry count exceeded; starting again

    Also I could not ping tftp server successfully.Have any light?

  • Kevin,

    I misread your first post.

    > But i could not ping tftp server

    I thought you could ping the tftp server, thus I thought the problem was with tftpd.

    On leo365 in uboot, try

    ping 192.168.1.103

    where 192.168.1.103 is your ftp server.

    If you don't get a ping response, then on the Ubuntu host, try

    sudo arp -s 192.168.1.10  00:0C:0C:A0:02:b5

    ping -c 5  192.168.1.10

    My guess is address resolution protocol is working in both directions.

    Todd

  • Hi Todd

    thank you for your reply.i am appreciated.

    I follow your advice.But ping also failed.

    My RJ45 led blinks when host pings leopardboard.And my RJ45 led also blinks when leopardboard pings host.

    When i connect my leopard board 's RJ45 to host's RJ45,the net icon of host changes from unconnected to establised.

    rx+ rx- tx+ tx- of ksz8001l all have signal.

    However,I could not ping successfully.Why?

    Could you expert give me some light?

    Could anyone give me some light?