当前位置: 技术问答>linux和unix
tftp 传文件到开发板
来源: 互联网 发布时间:2016-12-31
本文导语: 请问如何用 tftp 传输文件到开发板? | 然后就是配置好server ip 比如/tftpboot下有u-boot.bin setenv serverip 192.168.x.x setenv ipaddr 192.168.x.x setenv gatewayip 192.168.1.1 ....... tftp 30008000 u-boot.bin nand era...
请问如何用 tftp 传输文件到开发板?
|
然后就是配置好server ip
比如/tftpboot下有u-boot.bin
setenv serverip 192.168.x.x
setenv ipaddr 192.168.x.x
setenv gatewayip 192.168.1.1
.......
tftp 30008000 u-boot.bin
nand erase 0 30000
nand write 30008000 0 30000
比如/tftpboot下有u-boot.bin
setenv serverip 192.168.x.x
setenv ipaddr 192.168.x.x
setenv gatewayip 192.168.1.1
.......
tftp 30008000 u-boot.bin
nand erase 0 30000
nand write 30008000 0 30000
|
为什么不用NFS,
#mount -t nfs -o nolock NFS_server_IP:/full_directory /mnt/nfs
#mount -t nfs -o nolock NFS_server_IP:/full_directory /mnt/nfs
|
在pc 上安装tftp server, 并启动.
把文件放到tftp目录下.
默认的好像是/tftpboot
把文件放到tftp目录下.
默认的好像是/tftpboot
|
http://download.csdn.net/detail/liuqiqi677/3145778,这里有配置tftp所需的安装包及方法,lz可以看看哈。
|
非常详细
|
路过学习,不过根据我的经验,楼上答案之前还有不少工作要做.
|
呵呵 学习 !
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。