ubuntu-16.04.6-server-amd64 安装xilinx petalinux

news/2024/10/17 18:25:41/

最低电脑配置
Minimum workstation requirements:
° 8 GB RAM (recommended minimum for Xilinx tools)
° 2 GHz CPU clock or equivalent (minimum of 8 cores)
° 100 GB free HDD space
° Supported OS:

  • Red Hat Enterprise Workstation/Server 7.2, 7.3, 7.4 (64-bit)
  • CentOS 7.2, 7.3, 7.4 (64-bit)
  • Ubuntu Linux 16.04.3 (64-bit)

petalinux不支持ubuntu18.04版本,所以选择16.04版本安装
一般都选择虚拟机安装,从官网上下载petalinux-v2018.3-final-installer.run
下载ubuntu-16.04.6-server-amd64

magnet:?xt=urn:btih:EE55335F2ACDE309FA645FAB11C04750D7E45FA1

安装的时候硬盘选择100G
并安装OPENSSH
把虚拟机后台后用SSH登录
安装好后,更改dash

sudo dpkg-reconfigure dash

选择 否
安装vmtools
共享windows文件夹到 /mnt/hgfs/tmp/
把下载好的文件放到这个文件夹里面
安装UG1144手册中的库文件

sudo apt-get install -y gcc git make net-tools libncurses5-dev tftpd zlib1g-dev libssl-dev flex bison libselinux1 gnupg 
sudo apt-get install -y wget diffstat chrpath socat xterm autoconf libtool tar unzip texinfo zlib1g-dev gcc-multilib build-essential libsdl1.2-dev libglib2.0-dev zlib1g:i386 screen pax gzip

除了这些还要安装

sudo apt-get install -y gawk  xvfb

另外还要安装tftp

sudo apt-get install tftpd tftp
sudo apt-get install openbsd-inetd
vi /etc/inetd.conf

增加

tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /home/tftpboot

然后

/etc/init.d/openbsd-inetd restart

否则在安装过程中会提示tftp服务没有
都装成功后再

sudo apt-get update
sudo apt-get upgrage

然后在opt 下新建UG1144中建议的文件夹

sudo chmod 777 /opt 

这样普通用户在opt里面新建文件就不会提示权限问题了

/opt/pkg/petalinux/201803$

由于手册上说不要用root,

work@localhost:/opt/pkg/petalinux/201803$ /mnt/hgfs/tmp/petalinux-v2018.3-final-installer.run /opt/pkg/petalinux/201803/
INFO: Checking installation environment requirements...
INFO: Checking free disk space
INFO: Checking installed tools
INFO: Checking installed development libraries
INFO: Checking network and other services
INFO: Checking installer checksum...
INFO: Extracting PetaLinux installer...LICENSE AGREEMENTSPetaLinux SDK contains software from a number of sources.  Please review
the following licenses and indicate your acceptance of each to continue.You do not have to accept the licenses, however if you do not then you may
not use PetaLinux SDK.Use PgUp/PgDn to navigate the license viewer, and press 'q' to closePress Enter to display the license agreements
Do you accept Xilinx End User License Agreement? [y/N] > y
Do you accept Webtalk Terms and Conditions? [y/N] > y
Do you accept Third Party End User License Agreement? [y/N] > y
INFO: Installing PetaLinux...
*********************************************
WARNING: PetaLinux installation directory: /opt/pkg/petalinux/201803//. is not empty!
*********************************************
Please input "y" to continue to install PetaLinux in that directory?[n]y
INFO: Checking PetaLinux installer integrity...
INFO: Installing PetaLinux SDK to "/opt/pkg/petalinux/201803//."
INFO: Installing aarch64 Yocto SDK to "/opt/pkg/petalinux/201803//./components/yocto/source/aarch64"...
INFO: Installing arm Yocto SDK to "/opt/pkg/petalinux/201803//./components/yocto/source/arm"...
INFO: Installing microblaze_full Yocto SDK to "/opt/pkg/petalinux/201803//./components/yocto/source/microblaze_full"...
INFO: Installing microblaze_lite Yocto SDK to "/opt/pkg/petalinux/201803//./components/yocto/source/microblaze_lite"...
INFO: PetaLinux SDK has been installed to /opt/pkg/petalinux/201803//.
work@localhost:/opt/pkg/petalinux/201803$ ls
components  doc  etc  petalinux_installation_log  settings.csh  settings.sh  tools
work@localhost:/opt/pkg/petalinux/201803$
work@localhost:/opt/pkg/petalinux/201803$
work@localhost:/opt/pkg/petalinux/201803$ source settings.s
-bash: settings.s: No such file or directory
work@localhost:/opt/pkg/petalinux/201803$ source settings.sh
PetaLinux environment set to '/opt/pkg/petalinux/201803'
INFO: Checking free disk space
INFO: Checking installed tools
INFO: Checking installed development libraries
INFO: Checking network and other services

不如意外的话按上面提示安装就可以成功,

Verify that the working environment has been set:
$ echo $PETALINUX
/opt/pkg/petalinux

安装成功了,不要把系统升级到18.04,不支持


http://www.ppmy.cn/news/411566.html

相关文章

centos7安装AMD显卡驱动和AMD opencl SDK的过程

第一次写博客,不太会使用MarkDown编辑器,写这篇文章主要是给自己以后提个醒,不至于忘了没有地方找。是要测试Intel的显卡的性能但找的程序是只可以在Linux上运行的,这个程序只有opencl环境或CUDA环境就可以运行,所以就…

iptables 防火墙 SNAT、DNAT

一.SNAT策略及应用 1.SNAT策略 SNAT又称源地址转换。 源地址转换是内网地址向外访问时,发起访问的内网ip地址转换为指定的ip地址 就是把内网地址转成指定的IP地址,这个iP地址可以访问公网 2.SNAT实验 2.1 准备工作 (1)三台服…

Flash安装低版本方法

卸载新版本flash运行regedit打开注册表,搜索flash,找到flashplayer,打开safeversions,把里面高版本的项目删除安装低版本的flash

想安装老版本flash - 解决”正尝试安装的adobe flash player不是最新版本“的办法

安装低版本的Flash player时提示”正尝试安装的adobe flash player不是最新版本“,解决的办法是在运行中输入regedit,在注册表中找到 HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\FlashPlayer\SafeVersions SafeVersions里面存在的是Flash player的版本信息…

Adobe Flash Player 不是最新版本

最近几天我在自己刚买的电脑上安装了谷歌浏览器,但是去视频网站看视频的时候,谷歌浏览器却提示 Adobe Flash Player 不是最新版本(如下图所示)。经过一段时间的研究和琢磨,终于完美地解决了这个问题。 1.我们打开flash…

win10怎么更新flash到最新版本【系统天地】

Flash Player是一款轻量级浏览器插件,让用户在win10系统上浏览网页时能够享受到更广泛的多媒体体验,但是对于这样一款插件也需要对其进行及时的更新,以便用户使用过程中更好的体验,那么win10如何更新flash player呢?下面就来教大家…

Flash Player的版本

http://www.cnblogs.com/ddw1997/archive/2011/09/13/2175305.html 一、Flash Player的版本 1.独立版和插件版 Flash Player分为插件版和独立版,插件版安装后,让浏览器可以播放swf文件。独立版安装后,则可以直接在Windows中双击swf文件打开一…

如何下载有效的Flash离线安装包

flash离线安装包下载: 适用于Firefox的Flash下载方式: https://www.flash.cn/flashplayer/3200142/install_flash_player_cn.exe 其中3200142代表32.0.0.142版本,Firefox没有后缀,直接是_cn结尾,代表中国版 适用于Chro…