Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

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.

am3517 evm ;U-Boot ; tftp

Other Parts Discussed in Thread: AM3517

I am using am3517 evm,in the past ,i can use tftp to load image,today i Flash U-Boot to

Micron NAND followed the docement of UserGuide-03.00.00.02

execute following commands at the U-Boot prompt:

OMAP3517EVM# mw.b 0x80000000 0xFF 0x100000
OMAP3517EVM# tftp 0x80000000 u-boot.bin
OMAP3517EVM# nand erase 0x80000 0x1C0000
OMAP3517EVM# nandecc sw
OMAP3517EVM# nand write.i 0x80000000 0x80000 0x1C0000

now ,whenever i use tftp to load image or u-boot.bin at the U-Boot prompt the result is

"TT##TT##TTT##" ,I do not know what is wrong whih that?

  • Hi Hongsen,

    I believe that you need to set the following variables per your network setup ...

    setenv netmask <network netmask>
    setenv gatewayip <network gateway/router ip addr>
    setenv serverip <nfs server ip addr>
    setenv ethaddr <MAC addr>

    Cheers
    Jon

  • The 'T' indicators mean u-boot is getting TFTP timeouts. Lots of people, including me, have seen this. I posted about my experience on the TI Linux forum.

    http://e2e.ti.com/support/embedded/linux/f/354/t/133522.aspx#479391

    In short, I concluded that u-boot's TFTP client is not fast enough to deal with fast TFTP servers. I based this on an experiment where I attached a network analyzer to observe the data going back and forth between u-boot and my server, and could see that it was when server responses came back quickly (although completely legally), that u-boot timed out. It appears that once u-boot sends a request, it does not quickly enough set itself up to handle a quick response.

    So, you might have success one day if your server runs on a slow computer, or with slow TFTP server software. That would result in slow responses coming back to u-boot, which u-boot can handle. But, if another day you have a faster TFTP server you may find the quick responses are too quick for u-boot to handle.

    In my case, I found that using Ubuntu's recommended tftpd-hpa server resulted in so many timeouts I couldn't get a transfer through. I switched to the older tftpd server, and it worked far better. There were still some timeouts, but few enough that a transfer would complete.

    Ron

  • the reason is that uboot has probolem,i use PSP 0305 uboot for a change ,tftp work well,so the problem is solved,many thanks