基于petalinux2020.1的环境搭建及从QSPI启动流程

基于petalinux2020.1的QSPI启动流程

  1. 开发工具
    Vivado2020.1
    Petalinux2020.1
    Ubuntu18.04.4(64bit)
    虚拟机vmware-16.2.3
    开发板:XC7Z020-CLG400
  2. Petalinux坏境搭建
  1. 用虚拟机安装完ubuntu18.04.4后,更换阿里云下载源:
    cd /etc/apt
    sudo gedit sources.list
    输入密码
    基于petalinux2020.1的环境搭建及从QSPI启动流程_第1张图片

sources.list文件打开后,把内容更换如下,保存退出;
deb http://mirrors.aliyun.com/ubuntu/ $Codename main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ $Codename-backports main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ $Codename-proposed main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ $Codename-security main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ $Codename-updates main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ $Codename main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ $Codename-backports main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ $Codename-proposed main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ $Codename-security main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ $Codename-updates main multiverse restricted universe
执行更新:apt-get update
2) 安装petalinux依赖库
sudo apt-get install -y python tofrodos iproute2 gawk xvfb gcc git net-tools libncurses5-dev tftpd zlib1g-dev libssl-dev

你可能感兴趣的:(fpga开发,arm)