Petalinux12.12EDK安装

Petalinux12.12EDK安装

硬件平台:sp605

电脑:双系统win7 + ubuntu14.4

ubuntu平台下仅安装petalinuxSDK. ise安装在window平台下。

1.下载安装包文件

1petalinux-v12.12-final-full.tar.gz

2Xilinx-SP605-v12.12.bsp

3)安装手册UG976(v2012.12) December 17,

以上文件都可以在下面的网址找到http://china.xilinx.com/support/download/index.html/content/xilinx/zh/downloadNav/petalinux.htm

2.安装petalinux-v12.12-final-full.tar.gz

将安装文件petalinux-v12.12-final-full.tar.gz拷贝到ubuntu桌面。

(1)安装:tarzxvf petalinux-v12.12-final-full.tar.gz

(2)将安装后的文件移动到合适的位置:mvpetalinux-v12.12-final-full /home/shanekong/petalinux

3.安装liscense文件

参考文档:UG798获取liscense文件

对于仅安装petalinuxSDK的情形,只需在当前用户的主目录下建一个文件夹.Xilinx,将Xilinx.lic文件放在这个文件目录下面。

Cd /home/shanekong

mkdir.Xilinx

move/home/shanekong/桌面/home/shanekong

.Xilinx/ilinx.lic不是放在正确的位置时,或者没有修改好.Xilinx/ilinx.lic文件的权限时会出现下面的错误。

ERROR:No valid PetaLinux features! Typical causes for this error are

eitherthat there is no license file or that license files, which were

found,do not contain a valid license with the required feature.

4.设置petalinux的环境变量

cd/home/shanekong/petalinux

sourcesettings.sh

这时会出现一个liscenseagreement文件

enter键 进入, 按q退出

是否 支持agreement, y

LICENSEAGREEMENTS

PetaLinuxSDK contains software from a number of sources. Please review

thefollowing licenses and indicate your acceptance of each to continue.

Youdo not have to accept the licenses, however if you do not then youmay

notuse PetaLinux SDK.

UsePgUp/PgDn to navigate the license viewer, and press 'q' to close

PressEnter to display the license agreements

Doyou accept this license? [y/N] > y

Doyou accept this license? [y/N] > y


1)这时会报错,提示有开发工具和库文件没有安装,参考UG976文件的最后部分:Requiredtools and libraries. 安装需要的工具和库文件。

比如:sudoapt-get install -y zlib1g-dev

2)全部安装好后,重新设置petalinux的环境变量

5.安装BSP文件

(1)bsp文件移动到petalinux的安装目录下:mv/home/shanekong/Xilinx-SP605-v12.12.bsp /home/shanekong/petalinux/

(2)安装bsp文件

cd/home/shanekong/petalinux/

petalinux-install-bspXilinx-SP605-v12.12.bsp

shanekong@shanekong-Precision-WorkStation-390:~/petalinux$petalinux-install-bsp Xilinx-SP605-v12.12.bsp

INFO:Processing BSP package 'Xilinx-SP605-v12.12.bsp'

INFO: BSP package contents:

*Xilinx-SP605-AXI-full-14.4

*Xilinx-SP605-AXI-lite-14.4

*Xilinx-SP605-PLB-full-14.4

*Xilinx-SP605-PLB-lite-14.4

INFO: Extracting package...

* Xilinx-SP605-AXI-full-14.4

* Xilinx-SP605-AXI-lite-14.4

* Xilinx-SP605-PLB-full-14.4

* Xilinx-SP605-PLB-lite-14.4

INFO: Updating BSP

INFO:Default BSP settings restored

INFO:Default BSP settings restored

INFO:Default BSP settings restored

INFO:Default BSP settings restored

INFO:BSP successfully installed.

参考文档:ug976


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值