1. 设置dropbear
petalinux-config -c rootfs and selected to install dropbear, dropbear-openssh-sftp-server and openssh-sftp-server.
2. 开启dropbear
Once PetaLinux is booted, set the IP address and then run the dropbear service manually on MicroBlaze as shown below.
1) Set the IP address of the target.
# ifconfig eth0 <ip_address> netmask <netmask_value>
2) Run the dropbear service.
# dropbear -F &
3. 在SDK中设置sftp ,参考 Xilinx ug1165 。