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.

tftp timeout

Other Parts Discussed in Thread: AM3715, AM3517

Hi,

I can tftp to my ubuntu host from Windows XP

but on AM3715 EVM there is a timeout

I can ping the server from the board

any suggestions would be appreciated

tftp -g -r file xxx.xxx.xx.xx

tftp: timeout

  • Hi,

    It seems that it may be the boards ip address

    How would I setup a static IP address with tftp?

    Thanks

     

  • Hi,

    I haven't used the  AM3517 EVM,

    you may have to check if the MAC address of the AM3517 EVM is set in the U-Boot as shown here.

    Before going to TFTP you may try if "ping" command works,(see this reference for OMAP35x EVM) .

    There are few other posts in this forum like this which could help you to solve the issue.

     

    Edit:

    Regarding Static IP there is an appl note saying "Using Static IP Between Linux Host and DVEVM".

     

    Regards.

    Prad

  • Hi

    I'm using the AM3715 EVM

    I can ping the remote host 

    I need to use a router so I can't use a static  IP address.

    I was trying to copy a file to the SD card with tftp, but it seems that tftp is used for booting from the remote host rather than transferring  individual files.

  • May be somebody else using AM3517 EVM would comment,

    meanwhile can you post more details of the Log and also the printenv output.

  • Please try to unlock firewell in host.


     

  • I think that the firewall is unlocked as I am able to transfer files with tftp from Windows XP.

    Printenv output:


    OMAP3_EVM # printenv
    bootcmd=if mmc init; then if run loadbootscript; then run bootscript; else if ru
    n loaduimage; then run mmcboot; else run nandboot; fi; fi; else run nandboot; fi
    baudrate=115200
    bootfile=uImage
    loadaddr=0x82000000
    usbtty=cdc_acm
    console=ttyS2,115200n8
    mmcargs=setenv bootargs console=${console} root=/dev/mmcblk0p2 rw rootfstype=ext
    3 rootwait
    nandargs=setenv bootargs console=${console} root=/dev/mtdblock4 rw rootfstype=jf
    fs2
    loadbootscript=fatload mmc 0 ${loadaddr} boot.scr
    bootscript=echo Running bootscript from mmc ...; source ${loadaddr}
    loaduimage=fatload mmc 0 ${loadaddr} uImage
    mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
    nandboot=echo Booting from nand ...; run nandargs; onenand read ${loadaddr} 2800
    00 400000; bootm ${loadaddr}
    dieid#=03680000061000000156166b0a00b021
    ethact=smc911x-0
    filesize=1A4
    bootdelay=3
    stdin=serial
    stdout=serial
    stderr=serial

    Environment size: 886/131068 bytes
    OMAP3_EVM #

  • I didn't see "serverip" set when you did the printenv. When you tftp from a server you have to make sure the serverip u-boot variable is set to the ip address of your tftp server.

    Steve K.