Skip to content

TFTP: add host ip addr support

Ben Warren u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1Fix nfs command help to reflect that the serverip is optional+0 -05 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot-Users] [PATCH 0/1] TFTP: add host ip addr support

Jean-Christophe PLAGNIOL-VILLARD wrote:

<snip>

This doesn't work.
Baseline: (before patch applied):

=> tftp 100000 mpc8349emds/u-boot.bin.newnfs
Speed: 100, full duplex
Using TSEC0 device
TFTP from server 10.69.69.21; our IP address is 10.69.69.201 Filename 'mpc8349emds/u-boot.bin.newnfs'.
Load address: 0x100000
Loading: ####################################### done
Bytes transferred = 198116 (305e4 hex)

Problem #1. First time through, with patch. Doesn't use serverip, so no default server:

=> tftp 100000 mpc8349emds/u-boot.bin
Speed: 100, full duplex
Using TSEC0 device
TFTP from server 0.0.0.0; our IP address is 10.69.69.201; sending through gatew1 Filename '<NULL>'.
Load address: 0x100000
Loading: *
TFTP error: 'File not found' (1)
Starting again

Problem #2. Doesn't parse file name:

=> tftp 100000 10.69.69.21:mpc8349emds/u-boot.bin
Speed: 100, full duplex
Using TSEC0 device
TFTP from server 10.69.69.21; our IP address is 10.69.69.201 Filename '<NULL>'.
Load address: 0x100000
Loading: ##################################
done
Bytes transferred = 170996 (29bf4 hex)

Please fix these if you want the code included.

regards,
Ben