Transferring file over network

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Transferring file over network

Transferring file over network

For more information verify the U-Boot User Manual[1].

 

First all configure your board IP, your host IP and the gateway IP:

 

=> setenv ipaddr 10.29.244.91

 

=> setenv serverip 10.29.244.27

 

=> setenv gatewayip 10.29.244.27

You don't need to set the gatewayip when using cross'cable!

Save this configuration to flash:

=> saveenv 

 

Download the file to board RAM:

=> tftp 0x80000000 zImage 

 

Where:

 

400000 is the memory position where the file will be placed;

 

zImage is the file that will be downloaded from TFTP server.

 


%3CLINGO-SUB%20id%3D%22lingo-sub-1108408%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E9%80%9A%E8%BF%87%E7%BD%91%E7%BB%9C%E4%BC%A0%E8%BE%93%E6%96%87%E4%BB%B6%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1108408%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CP%3E%E6%9C%89%E5%85%B3%E6%9B%B4%E5%A4%9A%E4%BF%A1%E6%81%AF%EF%BC%8C%E8%AF%B7%E6%9F%A5%E7%9C%8B%20U-Boot%20%E7%94%A8%E6%88%B7%E6%89%8B%E5%86%8C%3CA%20class%3D%22jive-link-external-small%22%20href%3D%22http%3A%2F%2Fwww.denx.de%2Fwiki%2Fview%2FDULG%2FUBootVersions%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%5B1%5D%3C%2FA%3E%20%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E9%A6%96%E5%85%88%E9%85%8D%E7%BD%AE%E4%BD%A0%E7%9A%84%E6%9D%BF%E5%AD%90IP%EF%BC%8C%E4%BD%A0%E7%9A%84%E4%B8%BB%E6%9C%BAIP%E5%92%8C%E7%BD%91%E5%85%B3IP%EF%BC%9A%3C%2FP%3E%3CBLOCKQUOTE%20class%3D%22jive-quote%22%3E%26nbsp%3B%20%3CP%3E%3D%26gt%3B%20setenv%20ipaddr%2010.29.244.91%3C%2FP%3E%26nbsp%3B%20%3CP%3E%3D%26gt%3B%20setenv%20serverip%2010.29.244.27%3C%2FP%3E%26nbsp%3B%20%3CP%3E%3D%26gt%3B%20setenv%20gatewayip%2010.29.244.27%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CDIV%20style%3D%22background-color%3A%20%23eeeeff%3B%20padding-left%3A%2030px%3B%20width%3A%2060%25%3B%20margin-left%3A%2020%25%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%E4%BD%BF%E7%94%A8cross'cable%E6%97%B6%E4%B8%8D%E9%9C%80%E8%A6%81%E8%AE%BE%E7%BD%AEgatewayip%EF%BC%81%3C%2FSPAN%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E5%B0%86%E6%AD%A4%E9%85%8D%E7%BD%AE%E4%BF%9D%E5%AD%98%E5%88%B0%E9%97%AA%E5%AD%98%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%3D%26gt%3B%20saveenv%20%3C%2FPRE%3E%3CBR%20%2F%3E%3CP%3E%E5%B0%86%E6%96%87%E4%BB%B6%E4%B8%8B%E8%BD%BD%E5%88%B0%E4%B8%BB%E6%9D%BF%20RAM%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%3D%26gt%3B%20tftp%200x80000000%20zImage%20%3C%2FPRE%3E%3CBR%20%2F%3E%3CP%3E%E5%85%B6%E4%B8%AD%EF%BC%9A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E400000%20%E6%98%AF%E6%96%87%E4%BB%B6%E5%B0%86%E8%A2%AB%E6%94%BE%E7%BD%AE%E7%9A%84%E5%86%85%E5%AD%98%E4%BD%8D%E7%BD%AE%EF%BC%9B%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EzImage%20%E6%98%AF%E5%B0%86%E4%BB%8E%20TFTP%20%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%8B%E8%BD%BD%E7%9A%84%E6%96%87%E4%BB%B6%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22mce_paste_marker%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
无评分
版本历史
最后更新:
‎09-10-2020 02:06 AM
更新人: