Skip to contentSkip to conversation

what's the function of 'load_addr' and 'BootFile' when downloading files with tftp?

U-Boot-Users sun 2 participants 2 messages Sep 20, 2007

lore
Share & tools
lore

sun

author
#0 lore raw

I know 'BootFile' is the file name which will be downloaded on tftpserver, 'load_addr' is the address of 'BootFile' downloaded. My question is how tftp get the value of 'BootFile' and 'load_addr' and complete the download,

a lots of thanks

---------------------------------
??????????
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070920/b2b128ef/attachment.htm

#1 lore raw
Quoted 2 lines · In message <[email protected]> you wrote:

I know 'BootFile' is the file name which will be downloaded on tftpserver, 'load_addr' is the address of 'BootFile' downloaded. My question is how tftp get the value of 'BootFile' and 'load_addr' and complete the download,

See net/tftp.c

Quoted 3 lines

--0-994754756-1190257869=:48443
Content-Type: text/html; charset=gb2312
Content-Transfer-Encoding: 8bit

And don't post HTML here.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The C-shell doesn't parse. It adhoculates.
    - Casper.Dik at Holland.Sun.COM in <[email protected]>