Saturday, May 30, 2015

Setting up a Linux-only CentOS linux computer with Vivado/SDK

Install instructions for 64 bit computers:  CentOS 6.6, Vivado 2014.4, SDK 2014.4, cairo-1.10.2-3.el6.x86_64.rpm, cairo-devel-1.10.2-3.el6.x86_64.rpm, gtkterm-0.99.5-11.el6.x86_64.rpm

1.  CD of bootable CentOS disk.  find an image here:
http://centos.mirrors.hoobly.com/6.6/isos/x86_64/
Select CentOS-6.6-x86_64-bin-DVD1.iso

1a. add zynquser as root: 
login as root:  $ su
password: sphysics

Type visudo
add this line
zynquser ALL=(ALL)   ALL

1b. To switch the primary display monitor, type
xranr --current
This will tell you about the connected monitors.  Identify the monitor that is NOT listed as current.  Then type
xrandr --output XXXX --primary
Replace XXXX with the monitor that isn't current.

1c. Install missing libraries
https://sites.google.com/a/cs.ship.edu/fpga/centos-xilinx-14-x

We used the following two commands

  • sudo yum install libusb-devel autoconf automake dos2unix git kernel-headers kernel-devel ncurses-term
  • sudo yum install glibc.i686 ncurses-libs.i686 compat-libstdc++-33.i686


2.  Download latest version of Vivado and SDK

3.  Download cairo
http://fr2.rpmfind.net/linux/rpm2html/search.php?query=cairo&submit=Search+...

cairo-1.10.2-3.el6.x86_64.rpm

http://fr2.rpmfind.net/linux/rpm2html/search.php?query=cairo-devel&submit=Search+...&system=&arch=

cairo-devel-1.10.2-3.el6.x86_64.rpm

4.  Download gtkterm for CentOS 6.6

http://rpmfind.net/linux/rpm2html/search.php?query=gtkterm

gtkterm-0.99.5-11.el6.x86_64.rpm

5.  Download Zedboard Drivers from Digilent (instructions from Svenand blog:  http://svenand.blogdrive.com/archive/172.html#.VWoTqEQRGlM)
http://www.digilentinc.com/Products/Catalog.cfm?NavPath=2,66&Cat=12

Follow the instructions on the blog for the correct files and how to install and copy files to the right places.

6.  Download the zynqbook_tutorials and the zynqbook_tutorial_sources.
http://www.zynqbook.com/downloads.html

7.  If permissions become a problem, change the permissions of the following folders:
a.  If you are saving your projects in workspace, cd to the folder that holds workspace, then type:
chmod -R 777 workspace/
b.  Go to ~   type:  chmod -R 777 .Xil/
c.  cd to opt and type:
chmod -R 777 Xilinx/

No comments:

Post a Comment