From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] TFTP load for file over 50MB fails
Date: Mon, 13 Sep 2010 13:27:31 +0200 [thread overview]
Message-ID: <201009131327.32002.marek.vasut@gmail.com> (raw)
In-Reply-To: <EC921D4B77C99B4EB3CEDAFFCF17D5F73DDED37360@CHN-HCLT-EVS07.HCLT.CORP.HCL.IN>
Could you possibly fix your mailer? I can't really figure out what's your part
of reply, what's the original message etc? Thanks
Dne Po 13. z??? 2010 13:13:49 StephenPaulraj Chinnadurai-ERS,HCLTech napsal(a):
> -----Original Message-----
> From: Wolfgang Denk [mailto:wd at denx.de]
> Sent: Thursday, September 02, 2010 1:51 PM
> To: StephenPaulraj Chinnadurai-ERS,HCLTech
> Cc: Marek Vasut; u-boot at lists.denx.de
> Subject: Re: [U-Boot] TFTP load for file over 50MB fails
>
> Dear "StephenPaulraj Chinnadurai-ERS,HCLTech",
>
> In message <EC921D4B77C99B4EB3CEDAFFCF17D5F73DDED37343@CHN-HCLT-
EVS07.HCLT.CORP.HCL.IN> you wrote:
> > 1. When the board is connected to network, through tftp the u-boot
> > is downloading only 9 MB size file. When tried to download 10 MB size
> > file, the u-boot is displaying "Retry count exceeded; starting again"
> > message and the file download is not getting completed.
>
> Sounds like a instability of your hardware and/or U-Boot support for
> this board and/or platform.
>
> > 2. When the board is connected to Linux machine directly using
> > cross cable, through tftp the u-boot is downloading 47 MB size file
> > without any retry, but when tried to download 53 MB size file, the
> > u-boot is displaying "Retry count exceeded; starting again" message
> > and download is not getting completed.
>
> Are you aware of the restrictions of the TFTP protocol? In standard
> configuration, you can only load up to 32767 blocks of 512 bytes,
> i. e. not quite 16 MiB of data.
>
> Most curent implementations treat the block number as unsigned, which
> shifts the limit to 32 MiB.
>
> And if your TFTP server supports it you can also increase the block
> size.
>
> Which exact settings are you using?
>
> Previously the TFTP_MTU_BLOCKSIZE macro is assigned with the value 1468.
>
> Now I changed the value of the TFTP_MTU_BLOCKSIZE macro to 512 in
> net/tftp.c file. #define TFTP_MTU_BLOCKSIZE 512
>
> I installed tftp server in the windows XP PC and connect my hardware to the
> window XP PC through cross Ethernet cable. Now I can able to download
> files which are more than 50MB size.
>
> But I can't download the files of 50MB size from the Linux PC with the same
> u-boot.bin image.
>
> Whether I need to upgrade the tftp server running in the Linux PC?
>
> Best regards,
>
> Wolfgang Denk
prev parent reply other threads:[~2010-09-13 11:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-30 6:53 [U-Boot] TFTP load for file over 50MB fails StephenPaulraj
2010-09-02 8:20 ` Wolfgang Denk
2010-09-13 11:13 ` StephenPaulraj
2010-09-13 11:27 ` Marek Vasut [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201009131327.32002.marek.vasut@gmail.com \
--to=marek.vasut@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.