嵌入式常用工具

1.在设备上Mount nfs

  • 在PC机上配置nfs
/home/test/nfs *(rw,sync,no_root_squash,no_subtree_check)
  • 把PC机上的目录【/home/test/nfs】挂载到设备的【/test】目录上
mount -t nfs -o nolock -o tcp -o rsize=32768,wsize=32768 pcip:/home/test/nfs /test

2. tftp下载

  • 生成tgz包
tar zcvf test.tgz xx.so xx.sh
tar zcvf test.tgz *
  • 通过tftp下载.tgz包
tftp -r test.tgz -g pcip

3. PC访问嵌入式目录

  • 把设备目录映射到PC机
  • 192.168.1.235:设备IP
sshfs -o idmap=user [email protected]:/home/steve ~/device
  • PC Login设备
ssh [email protected]

猜你喜欢

转载自blog.csdn.net/MyArrow/article/details/84821577