2009-05-29 11:26:31     file transfer using tftp ix slow in BF527 ezkit H/W

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-05-29 11:26:31     file transfer using tftp ix slow in BF527 ezkit H/W

Appalayagari Sreedhar (INDIA)

Message: 74774   

 

Hi,

 

I am working with BF527 Ezkit board.

 

I have flashed the u-boot in the two ezkit boards and properly configured the SW1 ethernet settings.

 

when i try to do file transfer using tftp,

 

In First ezkit board, the transfer is fast and in the

 

second ezkit board it is very slow it took lot of time to transfer the file.

 

We used the same network cable to test the setup.

 

can you please help us what could be the problem and how to solve this issue.

 

Please let me know if you need more information.

 

Thanks, Sreedhar.

QuoteReplyEditDelete

 

 

2009-05-29 12:04:45     Re: file transfer using tftp ix slow in BF527 ezkit H/W

Robin Getz (UNITED STATES)

Message: 74776   

 

Sreedhar:

 

Are you tftp'ing in U-Boot or in the Linux OS?

 

-Robin

QuoteReplyEditDelete

 

 

2009-05-30 06:19:45     Re: file transfer using tftp ix slow in BF527 ezkit H/W

Appalayagari Sreedhar (INDIA)

Message: 74814   

 

Hi Robin,

 

We are doing tftp from u-boot.

 

please find the printenv settings below.

 

U-Boot 1.1.6 (ADI-2009R1-pre) (Apr 7 2009 - 16:57:02)

 

CPU: ADSP bf527-0.2 (Detected Rev: 0.2)

 

Board: ADI BF527 EZ-Kit board

 

Support: http://blackfin.uclinux.org/

 

Clock: VCO: 600 MHz, Core: 600 MHz, System: 120 MHz

 

RAM: 64 MB

 

Flash: 4 MB

 

In: serial

 

Out: serial

 

Err: serial

 

Net: Blackfin EMAC

 

MAC: 00:E0:22:FE:BD:F2

 

Hit any key to stop autoboot: 0

 

bfin> print

 

bootargs=root=/dev/mtdblock0 rw profile = 2 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600

 

bootdelay=5

 

baudrate=57600

 

loads_echo=1

 

autoload=no

 

rootpath=/romfs

 

hostname=bf527-ezkit

 

loadaddr=0x1000000

 

ubootfile=u-boot.ldr

 

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase 0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

 

addip=set bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

 

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600

 

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

 

nfsargs=set bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

 

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

 

flashboot=bootm 0x20100000

 

ethaddr=00:E0:22:FE:BD:F2

 

ethact=Blackfin EMAC

 

gatewayip=172.16.1.1

 

netmask=255.255.0.0

 

serverip=172.16.4.19

 

ipaddr=172.16.15.47

 

bootcmd=tftp 0x1200000 svnsankari/uImage ;bootm

 

stdin=serial

 

stdout=serial

 

stderr=serial

 

please let us know how to solve this problem.

 

Thanks.

QuoteReplyEditDelete

 

 

2009-05-30 07:13:18     Re: file transfer using tftp ix slow in BF527 ezkit H/W

Robin Getz (UNITED STATES)

Message: 74815   

 

Sreedhar:

 

The tftp client in U-Boot is known to be less than robust. There is nothing to do, except deal with it.

 

-Robin

Attachments

    Outcomes