Transferring file over network

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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%3ETransferring%20file%20over%20network%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1108408%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EFor%20more%20information%20verify%20the%20U-Boot%20User%20Manual%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.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EFirst%20all%20configure%20your%20board%20IP%2C%20your%20host%20IP%20and%20the%20gateway%20IP%3A%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%3EYou%20don't%20need%20to%20set%20the%20gatewayip%20when%20using%20cross'cable!%3C%2FSPAN%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ESave%20this%20configuration%20to%20flash%3A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%3D%26gt%3B%20saveenv%20%3C%2FPRE%3E%3CBR%20%2F%3E%3CP%3EDownload%20the%20file%20to%20board%20RAM%3A%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%3EWhere%3A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E400000%20is%20the%20memory%20position%20where%20the%20file%20will%20be%20placed%3B%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EzImage%20is%20the%20file%20that%20will%20be%20downloaded%20from%20TFTP%20server.%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
No ratings
Version history
Last update:
‎09-10-2020 02:06 AM
Updated by: