I have enabled CONFIG_CMD_TFTPPUT in U-Boot, but I am not able to use it.I have set the serverip and ipaddr environment variables. When I use it as follows, it times out:u-boot# tftpput            link up on port 0, speed 100, full duplexUsing cpsw deviceTFTP to server 192.168.1.3; our IP address is 192.168.1.106Filename 'uImage'.Save address: 0x0Save size:    0x0Saving: ##T ###T ####  If I set the bootfile name to temp, it gives the following error:u-boot# tftpput          link up on port 0, speed 100, full duplexUsing cpsw deviceTFTP to server 192.168.1.3; our IP address is 192.168.1.106Filename 'temp'.Save address: 0x0Save size:    0x0Saving: *TFTP error: 'Access violation' (2)Not retrying...Wireshark capture:Any help/pointers/suggestion?
tftpput in U-Boot: error: 'Access violation' (2)
embedded;u boot;tftp
As wmill' rightly commented in his answer that most tftp servers will write to file only if it exists.In my case also it was the same problem. tftpput from u-boot works fine. I installed tftpd-hpa and configured it as follows to create a file.edit /etc/default/tftpd-hpa as follows,# /etc/default/tftpd-hpaTFTP_USERNAME=rootTFTP_DIRECTORY=/home/ankur/tftpbootTFTP_ADDRESS=0.0.0.0:69TFTP_OPTIONS=-c --secureAnd then tftp configuration in /etc/xinet.d/tftp should be as follows,service tftp{        protocol = udp port = 69        socket_type = dgram        wait = yes        user = root        server = /usr/sbin/in.tftpd        server_args = -c -s /home/ankur/tftpboot        disable = no}Withe above configuration when i ran commandtftpput 0x80200000 0x500000 192.168.1.3:uImageI am able to send file to host PC.