uTCA Crate Setup

General

The VadaTech 811 crate is configured with four modules:
When set up as described below, the cards will be mapped as follows:
The crate is accessed via the mu2etest.fnal.gov gateway, the setup of which is described here

Connections to Linux System

A gigabit ethernet router allows the secondary ethernet card in the the mu2etest node to be connected to both the Tektronix scope and the uTCA crate, via the GbE0 input of the UTC002 module.

The built-in RS-232 port is connected to the system port of AMC502A.  The first two ports of a 4-port USB->RS-232 hub are connected to the FPGA ports on AMC502A and AMC502B, recpectively. 

Two Digikey USB JTAG Xilinx programming modules are connected to the JTAG interfaces on the AMC502 modules, using the special cable provided by VadaTech.

UTC002 Setup

The default mapping is used.  No additional setup is required.

AMC502 Setup

Two things need to be fixed in order to use the AMC502s:
You can initially communicate with the AMC502 via one of the GbE ports on the UTC002 MCH module.  You'll need to use telnet because SSH isn't working yet.  Username: root, password: root.  You can also communicate via the "CPU"  RS-232 port, which doesn't have a username or password.

The disk is mounted READONLY by default, so in order to make changes, you'll need to type
> mount -o remount,rw /

Then use vi to edit the file /etc/rc.conf to change the IP address by changing the following lines to:
export HOSTNAME="AMC502A"                               (or AMC502B)
export IPADDR0="192.168.40.252"                              (or 192.168.40.253)
export NETMASK0="255.255.255.0"
export BROADCAST0="192.168.40.255"
export GATEWAY0="192.168.40.1"

Then type
>sync
to synchronize the file systems.

This will put the board on the same 192.168.40 subnet as the UTC002. 

Then edit the /etc/rc.d/init.d/hostname file to
export HOSTNAME=amc502A                                       (or amc502B)

>sync

Then start the ssh server by typing
> /etc/rc.d/init.d/dropbear

This will create the necessary /etc/dropbear subdirectory and host key.  Once this has been done, the SSH server will run correctly with no further intervention.

Sync the file system one last time and reboot
> sync
> reboot

AMC725 Setup

(coming soon)

(Last modified March 20,  2017 by Eric Prebys)