首页 > 系统服务 > 详细

linux里面撸zynq的一套操作

时间:2018-03-18 01:18:36      阅读:384      评论:0      收藏:0      [点我收藏+]

usb转串口驱动

cp210x 在这里下载源码 http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx#linux

make完之后

insmod cp210x.ko

 检查:

lsmod | grep usbserial

 如果有了,表明驱动装好了

插上板子,

dmesg | grep ttyUSB0

 如果有,表明连好了

 


 

拿cutecom连串口

device填名字,如/dev/ttyUSB0

会出 could not open

权限的锅

sudo chmod 777 /dev/ttyUSB0 

 就行了

 


 

nfs server的一套操作

板子和妹子连在一个局域网里

妹子装nfs server,板子装nfs common

妹子的操作:

先撸一个文件夹

之后改/etc/exports,加上撸的文件夹:

撸的文件夹 *(rw,sync,no_root_squash)

 启动nfs server

sudo /etc/init.d/nfs-kernel-server start

 显示

showmount -e

 

板子的操作:

mount -t nfs 妹子的ip:撸的文件夹 mount到的文件夹

 

 


 

交叉编译

arm-xilinx-linux-gnueabi-g++ helloworld.cpp -o helloworld -static

 

linux里面撸zynq的一套操作

原文:https://www.cnblogs.com/dreamingsheep/p/8593697.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!