Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Project : MeerKAT
Type: AI – Assembly Instruction
Document Approval
Role Name Designation Affiliation Signature/Date
Document History
Revision Date of Issue ECP/ECN number Comments
Document Software
Function Package Version Filename
Company Details
Website www.ska.ac.za
a. Install Debian and update to the testing version (create a test user that everyone using the machine
for testing can access).
■ edit /etc/apt/sources.list:
h. Install UrJTAG
■ This file is available in the github repository under support_sw/
■ tar -zxvf urjtag_python.tar.gz
cd urjtag_python/urjtag
■ This may be needed: autoreconf -f -i -Wall,no-obsolete
./configure --without-ftd2xx --enable-python
libtoolize --force
autoreconf -i
sudo make install
j. Minicom Setup
■ The USB and serial Minicom configuration files must be created:
● become root "sudo -s"
run "minicom -s ttyS0"
select "Serial port setup"
press A
change to "/dev/ttyS0"
set hardware and software flow control to no
press "esc"
select "Modem and dialing"
clear init string and reset string
select "Save setup as ttyS0"
select "Exit from Minicom"
■ Do the same for ttyUSB2 and ttyUSB3 (replace ttyS0 with ttyUSB in above instructions).
■ Exit root
k. Network Interfaces
■ There should be 3 NICs in the test machine, one for network access, one for the PPC
network and one for the FPGA network.
■ The network interfaces are controlled in the following file: /etc/network/interfaces
■ The primary interface must be set up according to the network the machine will be
connected to, but the PPC and FPGA interfaces should be set as specified below.
■ Note in the sample file below the primary network interface is set to static, this may be a
dynamic (get’s ip address from a DHCP server) depending on the network.
■ Sample “interfaces” file (edit this file as sudo):
■ # This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
■ After editing the interfaces file each interface must be cycled for the new settings to take
effect:
■ sudo ifconfig ethX down
sudo ifconfig ethX up
■ Determine which interface is which and label accordingly (unplug all NICs except the
primary network):
■ run "/sbin/ifconfig -a"
Note that only one interface should say "RUNNING", this is the primary network
connection to the outside.
Plug a cable into a NIC and wait until the link lights come on
Run "/sbin/ifconfig -a" again
Another interface will now say "RUNNING".
Label eth0 as the primary network connection
Label eth1 as the PPC interface.
Label eth2 as the FPGA interface.
Optional:
q. Install Xilinx in /opt/Xilinx
■ Download Xilinx 12.4 Labtools. This can be downloaded from http://www.xilinx.com
■ Untar (tar -xvf Xilinx_LabTools_12.4_M.81d.2.0.tar) and install by running “sudo ./xsetup”
in the Xilinx directory.
■ Generate a webpack licence on the website, a lic file will be emailed to you. During
installation select the webpack licence and follow instructions.
■ To run Xilinx Impact type the following in a terminal (source runs a pearl script that sets up
the Xilinx paths):
■ source /opt/Xilinx/12.4/LabTools/settings64.sh
impact
r. Install ELDK
■ The ELDK iso is 2Gb so downloading it will take some time.
■ download the iso image: wget
ftp://ftp.sunet.se/pub/Linux/distributions/eldk/4.2/ppc-linux-x86/iso/ppc-2008-04-01.iso
To check whether its a 32-bit or 64-bit OS run "uname -a". If 32 bit no need to install
ia32-libs. Skip the next step.
As the ELDK is compiled for 32-bit host systems, a compatibility layer is required on 64-bit
systems: "sudo apt-get install ia32-libs"
Mount iso image: overruns:0 frame:0
TX packets:0 errors:0 dropped:0
sudo mkdir /mnt/cdrom 8 people have recommended Alec