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

Ben Warren
2008-01-11T22:46:55Z

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