ManiS Posted January 5 Share Posted January 5 (edited) How to transfer files to Z7 board on network via tftp/sftp? what configurations have to be done on petalinux to enable remote file transfer to Z7 board from a remote ubuntu pc. Any reference to the steps which have to be followed? Edited January 5 by ManiS precise Link to comment Share on other sites More sharing options...
0 Ionel Posted January 5 Share Posted January 5 @ManiS Hi, TFTP Is used by u-boot to fetch files during boot. So you have to have a network access from board to your TFTP server. doc: https://docs.xilinx.com/r/en-US/ug1144-petalinux-tools-reference-guide/Booting-PetaLinux-Image-on-Hardware-with-TFTP In addition to this as long as u-boot is booted and you have ethernet available in u-boot you can boot from TFTP. It's not mandatory to boot form JTAG. SFTP: For sftp which I presume is what you are actually interested in, you usually need either scp or rsync on your host. If you can access the board with ssh you most likely can copy file to and from board In bash (eg. using scp): Copy from board to your host scp user@board_ip:/path/on/board/file . Copy from host to your board scp /path/to/file user@board_ip:/path/on/board/for/file/ man scp #for additional info To find board_ip use ip a command on UART over USB connection. In linux sftp can also be mounted as a volume by most file explorers and then you can copy files using a GUI. Link to comment Share on other sites More sharing options...
0 ManiS Posted January 6 Author Share Posted January 6 Thanks Lonel Link to comment Share on other sites More sharing options...
Question
ManiS
How to transfer files to Z7 board on network via tftp/sftp? what configurations have to be done on petalinux to enable remote file transfer to Z7 board from a remote ubuntu pc. Any reference to the steps which have to be followed?
Edited by ManiSprecise
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now