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:

RTM status:

General:

 

System Setup after replacing SD Card

/usr/clas12/release/1.3.0/slac_svt/svtdaq/daq/rceScripts/setup_linux.sh 'hostname' 
$ssh root@'hostname'
$systemctl enable rce_start