config.ttl gains FAN_SPEED (30). Script A rebinds the two max31790 controllers (18-0020, 25-0020) and applies the speed with fan-speed-control.sh, answering its confirmation prompt, so a run starts from a known thermal state rather than whatever the last test left. Script A also clears /host/hw-eval/current/jobs before the run, and Script C copies that directory to /mnt/usb/jobs-<date>_<time> so the bgctl job logs leave the DUT with the run they belong to. Fix: 25-0020 was bound twice in a row -- the second bind can only fail, since the driver is already attached. Removed; the two controllers now have a matching unbind/sleep/bind each. Script A -> V1.0.7, history covering the config.ttl and Script C changes as well. Docs: fan control and the job-log archive added to Tech Stack, Key Features and Data Flow; the config.ttl example refreshed with FAN_SPEED and the SWB_UNIT flags. Three risks recorded in Future Extensions -- `rm` without -r cannot clear the job subdirectories that Script C copies with -r, the fan confirmation wait has no timeout and would hang silently if the prompt ever changes, and /mnt/usb is never checked for being mounted. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014RetWKFZFG1ZHcitQAyhwM
25 lines
1.1 KiB
Turtle
25 lines
1.1 KiB
Turtle
;================================================================
|
|
; User Configuration
|
|
;================================================================
|
|
project_name = "Blanton"
|
|
strTestcase="ENV" ;ENV,EMC,Margin...etc
|
|
|
|
EN_Margin = 0 ; 1: Enable Margin Test, 0: Disable Margin Test
|
|
EN_log = 1 ; 1: Enable log, 0: Disable log
|
|
|
|
;================================================================
|
|
; FAN_SPEED
|
|
;================================================================
|
|
FAN_SPEED = 30
|
|
;================================================================
|
|
; Switch Unit Population
|
|
;================================================================
|
|
SWB_UNIT0 = 1 ; 1 = this DUT has switch unit 0, wait for it ; 0 = skip
|
|
SWB_UNIT1 = 1 ; 1 = this DUT has switch unit 1, wait for it ; 0 = skip
|
|
|
|
;================================================================
|
|
; Prompt Definitions
|
|
;================================================================
|
|
prompt_login = "sonic login:"
|
|
prompt_sonic = "admin@sonic:~$"
|
|
prompt_sonic_root = "root@sonic:~#" |