#!/bin/bash # $1 = OPS json cd /root/psp && source ./env.sh >/dev/null 2>&1 rm -f /tmp/am_usb*.lock $PSP_PY work/atx_power.py cycle 16 >/dev/null 2>&1 cd /root/psp/hw echo "---- OPS=$1 ----" OPS="$1" timeout 150 $PSP_PY /root/psp/hw/gcp_rop_crypto.py 2>&1 | grep -E "self-test|load GCP|crypto op sequence|\[op |msg\[14\]|dump M|final FE07|Traceback|Error" | head -40 echo CRYPTO-OPS-DONE