Copy new SD card image.

Use hps_dpm.bin for DPM and DTM hps_dtm.bin

dd if=hps_dpm.bin of=/dev/disk2 bs=1000000

There should be multiple partitions available for mounting.

 

RTEMS
RTEMSAPP
LINUX
SCRATCH
BOOT

 

Mount the first "boot" partition. E.g.:

mount /dev/disk2s1 /mnt/sdcard

After it's content of first partition on sd card image:

boot.bin
fpga.bit
readme.bot
uboot.env
uboot_linux.env
uboot_ramdisk.env
uboot_rce.env (?)
version.txt 

To set the archLinux environment for a given dpm/dtm host overwrite two boot environment files. To create a boot card for e.g. dpm11: 

cp dpm11.env /mnt/sdcard/uboot.env 
cp dpm11.env /mnt/sdcard/uboot_linux.env 
 

Figure out which RCE the newly created SD card correspond to: see COB Layout.

 

COB Startup Checks

COB status:

  • When COB is inserted the blue light on the front panel should go away. May need to pull the side levers towards the middle so that they latch.
  • Identify RCEs from the front panel by noting the cycling patterns that are printed.
    We are looking for “not ready”, e.g. "dpmp1-rce2 - not ready".

RTM status:

  • When being inserted, there is a blue light intermittently when plugging it in. 
  • The RTM board when inserted, a green light should show up when it’s properly inserted. 

General:

  • Check that links are up for all dpm's and dtm's
  • Check that FEB links are up

 

System Setup after replacing SD Card

  • Check that links are up.
  • Check that host is pingable and ssh access is possible (JLab computing center might have block on host key changes).
  • Setup boot and networking scripts.
/usr/clas12/release/1.3.0/slac_svt/svtdaq/daq/rceScripts/setup_linux.sh 'hostname' 
  • NOTE: The first time you setup, the host name might still be e.g. shelf/2/1/1 or similar. You need to active the systemd script. As user "clasrun":
$ssh root@'hostname'
$systemctl enable rce_start
  • Next time logging in the hostname should be dpm0-15 or dtm0-1.
  • Load firmware if needed.

 

  • No labels