Install DHCP server on the PC, config the /etc/dhcp/dhcpd.conf
and assign the following IP:
CAEN1: 192.168.0.10
CAEN2: 192.168.0.11
ZTurn12: 192.168.0.12
ZTurn13: 192.168.0.13
ZTurn14: 192.168.0.14
ZTurn15: 192.168.0.15
ZTurn16: 192.168.0.16
ZTurn17: 192.168.0.17
ZTurn18: 192.168.0.18
ZTurn19: 192.168.0.19
Follow this Instructions to setup the NFS server on a CentOS system. Specifically, those are the commands:
sudo dnf install nfs-utils
sudo systemctl start nfs-server.service
sudo systemctl enable nfs-server.service
mkdir -p /storage
mkdir -p /storage/petalinux
/storage/petalinux 192.168.0.0/24(rw,sync,no_root_squash) 128.3.2.0/24(rw,sync,no_root_squash)
(note: change 128.3.2.0/24 to the IP range you want to allow access to from global network)
sudo exportfs -arv
sudo exportfs -s
firewall-cmd --permanent --add-service=nfs
firewall-cmd --permanent --add-service=mountd
firewall-cmd --permanent --add-service=rpc-bind
firewall-cmd --reload
Finally, put the RootFS in the NFS export directory. We create a directory /storage/petalinux/pbv3_mass_tester_2020.3
, download the rootfs.tar.gz
file from latest powertools
MR, and extract the tar ball in that directory.
Download the latest firmware from powertools
MR, and follow this instruction to prepare the SD card.
Connect the ZTurn to the local network switch.
Before the first boot, connect the ZTurn USB_UART port to a PC, and access the ZTurn via cu
or similar commands (e.g. screen
).
Interrupt the first boot of the ZTurn by pressing any key at the beginning. Change the ethaddr
and bootargs
like this:
Zynq> set ethaddr 00:0A:35:00:1E:12
Zynq> setenv bootargs console=ttyPS0,115200 earlyprintk root=/dev/nfs nfsroot=192.168.0.1:/storage/petalinux/pbv3_mass_tester_2020.3,v4,tcp ip=dhcp rw uio_pdrv_genirq.of_id=generic-uio
Zynq> saveenv
Saving Environment to SPI Flash... SF: Detected s25fl128s with page size 256 Bytes, erase size 64 KiB, total 16 MiB
Erasing SPI flash...Writing to SPI flash...done
OK
Zynq> boot
This will make the ZTurn boot from the NFS file system we just created through the local network.
After logging in as root user, add corresponding users in the ZTurn following instructions here.
During the DHCP server setup, we have assigned the IPs for the two CAEN PS crates to be 192.168.0.10
and 192.168.0.11
. Open a web browser in the PC that is connected to the same local network, and go to one of the IP addresses of the CAEN PS crate. From the web interface, download the java network launch protocal file (CAEN_HVPSS_ChannelsController.jnlp
). In order to open it, we need to install javaws
by sudo yum install icedtea-web
. Open the .jnlp
file and you you can have access to the CAEN PS system via that GUI.
Rack0 (IP: 192.168.0.10
):
Slot Model Descr Serial Num Firmware Rel.
0 A2519 8 CH 15V/5A 50W FLOATING 217 1.11
1 A2519 8 CH 15V/5A 50W FLOATING 253 1.11
2 A2519 8 CH 15V/5A 50W FLOATING 250 1.11
3 A1538D 12 Ch Neg. 1.5KV 10mA 19839 1.09
4 The board is not present
5 A1538D 12 Ch Neg. 1.5KV 10mA 456 1.08
Rack1 (IP: 192.168.0.11
):
Slot Model Descr Serial Num Firmware Rel.
0 The board is not present
1 A1538D 12 Ch Neg. 1.5KV 10mA 459 1.08
2 A1538D 12 Ch Neg. 1.5KV 10mA 19840 1.09
3 A2519 8 CH 15V/5A 50W FLOATING 19889 1.11
4 A2519 8 CH 15V/5A 50W FLOATING 19888 1.11
5 A2519 8 CH 15V/5A 50W FLOATING 252 1.11