问题描述:uboot 中使用命令 tftp
=> tftp 80800000 zImage
Using FEC1 device
TFTP from server 192.168.3.63; our IP address is 192.168.3.195
Filename 'zImage'.
Load address: 0x80800000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
原来的文件/etc/xinetd.d/tftp
service tftp
{ socket_type =dgram
protocol =udp
wait =yes
user =root
server =/usr/sbin/in.tftpd
server_args =-s /home/lqm/tftpboot -c
disable =no
per_source =11
cps =100 2
flags =IPv4
}
解决办法: 在第六行 增加-c 参数:
server_args =-c -s /home/vincent/linux/tftpboot/
问题解决。
分析: -c指定 可创建新文件