ZYBO-z7-20开发板的pynqlinux移植
参考:https://blog.csdn.net/quhai1340/article/details/102799896
基本移植步骤都可以参考上面,只备注一下,如果是是用虚拟机,最好用ubuntu16.04系统,我的虚拟机配置如下,
在安装pynq组件包:
git clone 比较慢的方法:
用站长工具分别查github.global.ssl.fastly.net 和github.com,找TTL值最小的ip
sudo vim /etc/hosts 将ip地址添加进去wq保存退出
sudo /etc/init.d/networking restart 重启重新下载
sudo vim /etc/hosts
sudo /etc/init.d/networking restart
error:Package ‘docker-ce-cli’ has no installation candidate
key:
sudo add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable"
如果上面还是报错,就用下面这句清理一下进程
sudo fuser -vki /var/lib/apt/lists/lock
解决方法:
sudo vim /etc/apt/sources.list
# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse
然后
sudo apt-get update
以上就是遇到的移植的问题,祝您移植顺利!